refactor: replace rounded utility classes and clean up unused scss files
Removed unused text-align.scss, position.scss, and rounded.scss utility files along with their imports from scss/index.scss. Updated all existing uses of the rounded-* utility classes in vue components to use inline border-radius syntax like rounded-[10px] instead.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<template>
|
||||
<view class="card bg-white p-[8px] rounded-12 flex flex-items-start m-12" @click.stop="handleClick(item)">
|
||||
<image class="left rounded-10" :src="item.commodityPhoto" mode="aspectFill" />
|
||||
<view class="card bg-white p-[8px] rounded-[12px] flex flex-items-start m-12" @click.stop="handleClick(item)">
|
||||
<image class="left rounded-[10px]" :src="item.commodityPhoto" mode="aspectFill" />
|
||||
<view class="right flex-full pl-[12px]">
|
||||
<view class="font-size-16 leading-[24px] text-[#171717] mb-4">
|
||||
{{ item.commodityName }}
|
||||
@@ -19,7 +19,7 @@
|
||||
<text v-if="item.stockUnitLabel" class="font-size-12 leading-[16px] text-[#99a0ae]">
|
||||
/{{ item.stockUnitLabel }}
|
||||
</text>
|
||||
<text class="btn rounded-10 text-white ml-16">订</text>
|
||||
<text class="btn rounded-[10px] text-white ml-16">订</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
</view>
|
||||
|
||||
<!-- 几晚 -->
|
||||
<text class="nights bg-[#e5e8ee] font-size-11 font-500 text-[#525866] rounded-50 ml-8 mr-8">
|
||||
<text class="nights bg-[#e5e8ee] font-size-11 font-500 text-[#525866] rounded-[50px] ml-8 mr-8">
|
||||
{{ selectedDate.totalDays }}晚
|
||||
</text>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user