style: replace legacy padding classes with inline pixel values
Remove the unused padding.scss stylesheet and its import from the main SCSS entrypoint. Update all legacy padding utility class names across every Vue component to use inline pixel-based utility classes (such as replacing `pl-12` with `pl-[12px]`). Also clean up extraneous whitespace and line breaks in component templates for improved readability.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<view class="card bg-white border-box p-8 rounded-12 flex flex-items-start m-12" @click.stop="handleClick(item)">
|
||||
<view class="card bg-white border-box 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="right border-box flex-full pl-12">
|
||||
<view class="right border-box flex-full pl-[12px]">
|
||||
<view class="font-size-16 line-height-24 color-171717 mb-4">
|
||||
{{ item.commodityName }}
|
||||
</view>
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
<!-- 选择入住、离店日期 0:是酒店 -->
|
||||
<view v-if="didSelectedTabItem && didSelectedTabItem.orderType == 0"
|
||||
class="bg-white border-box flex flex-items-center p-12">
|
||||
class="bg-white border-box flex flex-items-center p-[12px]">
|
||||
<view class="in flex flex-items-center">
|
||||
<text class="font-size-11 font-500 color-99A0AE mr-4">入住</text>
|
||||
<text class="font-size-14 font-500 color-171717">
|
||||
|
||||
Reference in New Issue
Block a user