Browse Source

修改列表布局

master
zq 1 month ago
parent
commit
bcad6b108d
  1. 30
      pages/home/index.vue

30
pages/home/index.vue

@ -30,15 +30,18 @@
<view class="bed-sex">{{ item.year }}</view>
<view :class="'bed-desc'">
{{ item.rating_code }}
{{ item.rating_department }}
</view>
</view>
<view class="bed-wait-time flex-between">
<view class="bed-visit-time">{{ item.operate_time }}</view>
<view class="bed-checkin-time">{{ item.rating_department }}</view>
</view>
<view class="bed-left">
<view class="bed-visit-format" v-if="item.format">{{ item.format }}</view>
<view class="bed-visit-time">{{ item.operate_time }}</view>
</view>
<view class="bed-checkin-time">{{ item.rating_code }}</view>
</view>
</view>
</view>
@ -194,6 +197,7 @@ export default {
// #ifdef MP-WEIXIN
uni.scanCode({
scanType: ['barCode','qrCode'],
success: (res) => {
this.getScanQrcode(res.result)
},
@ -508,11 +512,29 @@ export default {
display: flex;
column-gap: 24rpx;
margin-top: 16rpx;
align-items: stretch;
view {
font-size: 24rpx;
color: #999999;
}
.bed-visit-format{
border-radius: 6rpx;
background: #EBEBEB;
padding: 2rpx 16rpx;
font-family: PingFang SC;
font-size: 26rpx;
font-weight: normal;
line-height: normal;
letter-spacing: normal;
color: #666666;
width: fit-content;
}
.bed-left{
display: flex;
gap: 16rpx;
flex-direction: column;
}
}
}

Loading…
Cancel
Save