工作台 -> 充值审核 -> 已审核列表标签字体缩小

This commit is contained in:
2025-07-22 08:58:30 +08:00
parent fccaee5f2b
commit 886a03cf16
10 changed files with 154 additions and 105 deletions

View File

@@ -88,7 +88,7 @@
<van-cell title="退出登录" icon="revoke" value="" is-link bind:tap="logout" />
</view>
<!-- <van-dialog id="van-dialog" /> -->
<van-dialog id="van-dialog" />
</view>
<van-dialog

View File

@@ -11,8 +11,8 @@
border="{{ false }}"
/>
<van-field
value="{{detail.meter.code}}"
label="电表Sn"
value="{{detail.meter.sn}}(SN)"
label="电表编号"
readonly
autosize="{{true}}"
type="textarea"

View File

@@ -120,7 +120,7 @@ Component({
}
this.setData({
list: data.map(item => {
item.topTime = dayjs(item.topTime).format("MM-DD HH:mm:ss")
item.topTime = dayjs(item.topTime).format("MM-DD")
return item
}),
total: total,

View File

@@ -13,33 +13,34 @@
<view class="tableWrapper">
<view class="table">
<view class="thead">
<view class="th" style="flex: 0 0 100rpx;"> </view>
<view class="th" style="flex: 0 0 200rpx;"> 商户名字 </view>
<view class="th" style="flex: 0 0 250rpx;"> 充值金额 </view>
<view class="th" style="flex: 0 0 350rpx; display: {{status === 1 ? 'block' : 'none'}};">状态</view>
<view class="th" style="flex: 0 0 250rpx;">提交时间</view>
<view class="th"style="flex: 1; justify-content: flex-end; display: flex; align-items: center;"> 操作 </view>
<view class="th" style="flex: 0 0 80rpx; display: {{status === 2 ? 'block' : 'none'}};"> </view>
<!-- <view class="th" style="flex: 0 0 0rpx; display: {{status === 1 ? 'block' : 'none'}};"> </view> -->
<view class="th" style="flex: 0 0 130rpx;"> 商户名字</view>
<view class="th" style="flex: 0 0 150rpx;"> 充值金额 </view>
<view class="th" style="flex: 0 0 150rpx; display: {{status === 1 ? 'block' : 'none'}};">状态</view>
<view class="th" style="flex: 0 0 150rpx;">提交时间</view>
<view class="th"style="flex: 0 0 120rpx; justify-content: flex-end; display: flex; align-items: center;"> 操作 </view>
</view>
<view class="tbody">
<van-radio-group value="{{ record }}" bind:change="onChangeSelectRecharge">
<block wx:for="{{list}}" wx:for-index="itemIndex" wx:key="item">
<view class="tr" style="display: flex; align-items: center;">
<view class="th" style="flex: 0 0 100rpx;">
<view class="tr" style="display: flex; align-items: center; ">
<view class="th" style="flex: 0 0 80rpx; ; display: {{status === 2 ? 'block' : 'none'}};">
<van-radio wx:if="{{status === 2}}" name="{{item.id}}"></van-radio>
</view>
<view class="th" style="flex: 0 0 200rpx;">
<view class="th" style="flex: 0 0 130rpx;">
{{ item.tenement.shortName }}
</view>
<view class="th" style="flex: 0 0 250rpx;">
<view class="th" style="flex: 0 0 150rpx;">
{{ item.money }}
</view>
<view class="th" style="flex: 0 0 350rpx; display: {{status === 1 ? 'block' : 'none'}};">
<view class="th" style="flex: 0 0 150rpx; display: {{status === 1 ? 'block' : 'none'}};">
<view class="tag">{{item.orderStatus}}</view>
</view>
<view class="th" style="flex: 0 0 250rpx; font-size: 30rpx;">
<view class="th" style="flex: 0 0 150rpx; font-size: 30rpx;">
{{item.topTime}}
</view>
<view class="th" style="flex: 1; justify-content: flex-end; display: flex; align-items: center;">
<view class="th" style="flex: 0 0 120rpx; justify-content: flex-end; display: flex; align-items: center;">
<van-icon name="ellipsis" size="24px" bind:tap="showActionMenu" data-id="{{item.id}}" class="more-icon" />
<van-action-sheet show="{{ currentActionSheet === item.id }}" actions="{{ actionItems }}" bind:close="hideActionMenu" bind:select="onMenuSelect" data-id="{{item.id}}" close-on-click-action />
</view>

View File

@@ -1,6 +1,6 @@
/* pages/workBench/components/recharge/components/waitApprove/index.wxss */
.table {
width: 810rpx;
width: 500rpx;
}
@@ -17,7 +17,7 @@
}
.thead .th {
padding: 20rpx;
padding: 10rpx;
white-space: nowrap;
text-align: center;
box-sizing: border-box;
@@ -28,11 +28,11 @@
}
.tbody {
width: 810rpx;
width: 500rpx;
}
.tbody .tr {
padding: 20rpx;
padding: 10rpx;
border-bottom: 1rpx solid #EEEEEE;
display: flex;
align-items: center;
@@ -55,11 +55,12 @@
/* 基础标签样式 */
.tag {
display: inline-block;
padding: 8px 16px;
margin-right: 12px;
padding: 4px 5px;
margin-right: 0px;
border-radius: 16px;
background: #07c160;
color: white;
font-size: 25rpx;
}
/* 激活状态样式 */