refactor: remove margin utils, use inline pixel spacing
Delete the src/static/scss/margin.scss utility file, update all component templates to replace pre-defined margin classes with inline arbitrary pixel values (e.g. mb-[4px] instead of mb-4), and clean up long template lines for better readability.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<view class="bg-white rounded-[10px] p-[12px] mb-12" v-if="hasConsumerData">
|
||||
<view class="bg-white rounded-[10px] p-[12px] mb-[12px]" v-if="hasConsumerData">
|
||||
<view v-for="(item, index) in consumerList" :key="index">
|
||||
<view class="flex mb-8 font-size-12">
|
||||
<view class="flex mb-[8px] font-size-12">
|
||||
<text class="w-60 text-[#99a0ae]">住客姓名</text>
|
||||
<text class="text-[#525866]">{{ item.visitorName }}</text>
|
||||
</view>
|
||||
|
||||
Reference in New Issue
Block a user