From 45237a5746e794060e48bd172161c08660621d5c Mon Sep 17 00:00:00 2001 From: zhouwenxuan <1175765986@qq.com> Date: 星期二, 08 八月 2023 17:21:18 +0800 Subject: [PATCH] 登陆缓存 样式调整 --- pages/tabBar/notice/measures.vue | 22 +++++++++++++++++----- 1 files changed, 17 insertions(+), 5 deletions(-) diff --git a/pages/tabBar/notice/measures.vue b/pages/tabBar/notice/measures.vue index dedf4ce..7aee752 100644 --- a/pages/tabBar/notice/measures.vue +++ b/pages/tabBar/notice/measures.vue @@ -12,7 +12,7 @@ </view> <view class="measureCard"> <view class="first"> - <text style="font-size: 16px;margin-bottom: 20px;">基础措施</text> + <text style="font-size: 16px;margin-bottom: 20px;"><text style="color: red;">*</text>基础措施</text> <u-checkbox-group v-model="checkboxValue1" placement="column" @@ -43,8 +43,11 @@ :maxCount="10" style="margin-top: -10px;" ></u-upload> - <view class="pic" v-for="(item,index) in nameList" :key="index"> - {{item.name}} + <view :class="{pic: nameList.length>0}"> + <view class="picItem" v-for="(item,index) in nameList" :key="index"> + <image src="../../../static/pic.png"> + {{item.name}} + </view> </view> </view> </view> @@ -244,7 +247,7 @@ .second{ display: flex; flex-direction: column; - margin-top: 50px; + margin-top: 30px; } .third{ display: flex; @@ -259,10 +262,19 @@ display: flex; flex-direction: column; background-color: rgb(242,242,242); + padding: 5px 8px; +} +.picItem{ + font-weight: 500; margin-top: 5px; font-size: 14px; + display: flex; + image{ + width: 20px; + height: 20px; + margin-right:3px; + } } - .measures{ margin-top: 50px 12px 0; padding: 0 12px; -- Gitblit v1.9.2