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:
@@ -8,24 +8,26 @@
|
||||
<image class="header-icon" src="https://oss.nianxx.cn/mp/static/version_101/home/feedback.png" />
|
||||
</view>
|
||||
|
||||
<view v-if="!isCallSuccess" class="border-box p-12">
|
||||
<view class="bg-[#f5f7fa] border-box flex flex-items-center p-12 rounded-10 font-size-14 color-171717 mb-12">
|
||||
<view v-if="!isCallSuccess" class="border-box p-[12px]">
|
||||
<view
|
||||
class="bg-[#f5f7fa] border-box flex flex-items-center p-[12px] rounded-10 font-size-14 color-171717 mb-12">
|
||||
<text class="font-500 line-height-22 mr-20">所在位置</text>
|
||||
<input placeholder="请填写所在位置" v-model="roomId" />
|
||||
</view>
|
||||
|
||||
<view class="bg-[#f5f7fa] border-box flex flex-items-center p-12 rounded-10 font-size-14 color-171717 mb-12">
|
||||
<view
|
||||
class="bg-[#f5f7fa] border-box flex flex-items-center p-[12px] rounded-10 font-size-14 color-171717 mb-12">
|
||||
<text class="font-500 line-height-22 mr-20">联系电话</text>
|
||||
<input placeholder="请填写联系电话" v-model="contactPhone" @input="handleContactPhoneInput" />
|
||||
</view>
|
||||
|
||||
<view class="bg-[#f5f7fa] border-box p-12 rounded-10 font-size-14 font-500 color-171717 mb-12">
|
||||
<view class="bg-[#f5f7fa] border-box p-[12px] rounded-10 font-size-14 font-500 color-171717 mb-12">
|
||||
<view class="font-500 line-height-22 mb-12">需求信息描述</view>
|
||||
<textarea class="h-80" placeholder="请输入需求信息描述" placeholder-class="font-size-14 font-400" maxlength="100"
|
||||
v-model="contactText" />
|
||||
</view>
|
||||
|
||||
<view class="bg-[#f5f7fa] border-box p-12 rounded-10 font-size-14 font-500 color-171717 mb-12">
|
||||
<view class="bg-[#f5f7fa] border-box p-[12px] rounded-10 font-size-14 font-500 color-171717 mb-12">
|
||||
<view class="font-500 line-height-22 mb-12">照片上传</view>
|
||||
|
||||
<view class="w-80 h-80 bg-white rounded-8 overflow-hidden flex flex-items-center flex-justify-center">
|
||||
@@ -45,8 +47,8 @@
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<view v-else class="border-box card-content flex flex-items-center p-12">
|
||||
<view class="border-box left flex-full pr-20">
|
||||
<view v-else class="border-box card-content flex flex-items-center p-[12px]">
|
||||
<view class="border-box left flex-full pr-[20px]">
|
||||
<view class="font-size-12 color-525866 line-height-20 mb-4">所在位置:{{ roomId }}</view>
|
||||
<view class="font-size-12 color-525866 line-height-20 mb-4">联系方式: {{ contactPhone }}</view>
|
||||
<view class="font-size-12 color-525866 line-height-20 ellipsis-2">需求描述: {{ contactText }}</view>
|
||||
|
||||
Reference in New Issue
Block a user