调整样式

This commit is contained in:
2025-02-26 13:41:44 +08:00
parent 71194fbf1c
commit 902b4726c6
15 changed files with 250 additions and 219 deletions

View File

@@ -28,6 +28,25 @@
</van-field>
<view>
<view wx:if="{{list.length}}">
<view class="operate" wx:if="{{status === 2}}">
<view style="margin-top: 60rpx; margin-bottom: 60rpx;display: flex; justify-content: center; align-items: center;">
<van-button
type="info"
size="small"
style="margin-right: 30rpx;"
bind:click="handleApprove"
data-status="0"
disabled="{{!record}}"
> 同意 </van-button>
<van-button
size="small"
bind:click="handleClear"
disabled="{{!record}}"
bind:click="handleApprove"
data-status="1"
> 拒绝 </van-button>
</view>
</view>
<view class="tableWrapper">
<view class="table">
<view class="thead">
@@ -65,25 +84,7 @@
</view>
<empty bind:refresh="init" wx:else />
<view class="operate" wx:if="{{status === 2}}">
<view style="margin-top: 60rpx; margin-bottom: 60rpx;display: flex; justify-content: center; align-items: center;">
<van-button
type="info"
size="small"
style="margin-right: 30rpx;"
bind:click="handleApprove"
data-status="0"
disabled="{{!record}}"
> 同意 </van-button>
<van-button
size="small"
bind:click="handleClear"
disabled="{{!record}}"
bind:click="handleApprove"
data-status="1"
> 拒绝 </van-button>
</view>
</view>
</view>

View File

@@ -1,9 +1,11 @@
<!--pages/workBench/components/recharge/index.wxml-->
<segmented
list="{{segmentedList}}"
active="{{active}}"
bind:change="handleChange"
/>
<view style="margin-top: 20rpx;">
<segmented
list="{{segmentedList}}"
active="{{active}}"
bind:change="handleChange"
/>
</view>
<approve status="{{2}}" wx:if="{{active === 0}}" />
<approve status="{{1}}" wx:if="{{active === 1}}" />