|
|
@@ -24,25 +24,31 @@
|
|
|
</view>
|
|
|
</uni-col>
|
|
|
<uni-col :xs="24" :sm="24" :md="16" :lg="16" :xl="16">
|
|
|
+ <view class="actions">
|
|
|
<view class="bank-actions">
|
|
|
- <view class="action-btn bg-secondary" v-if="item.authStatus == 0"
|
|
|
+ <view class="action-btn bg-secondary" v-if="item.authStatus == 0"
|
|
|
type="primary" v-t="'State.ToCertified'"
|
|
|
@click="doReady(item.id, item)" />
|
|
|
- <view class="action-btn bg-secondary" v-if="item.authStatus == 0"
|
|
|
+ <view class="action-btn bg-secondary" v-if="item.authStatus == 0"
|
|
|
type="primary" @click="openCardDialog(item.id, item)"
|
|
|
v-t="'PersonalManagement.CardVerify.Title'" />
|
|
|
- <view class="action-btn bg-secondary"
|
|
|
+
|
|
|
+ </view>
|
|
|
+ <view class="bank-actions">
|
|
|
+ <view class="action-btn bg-secondary"
|
|
|
v-if="!editingId && item.authStatus !== 1" @tap="startEdit(item)"
|
|
|
v-t="'Btn.Editor'" />
|
|
|
- <template v-if="editingId === item.id">
|
|
|
- <view class="action-btn bg-secondary" @tap="saveBank(item)"
|
|
|
- v-t="'Btn.Save'" />
|
|
|
- <view class="action-btn bg-secondary" @tap="cancelEdit()"
|
|
|
- v-t="'Btn.Cancel'" />
|
|
|
- </template>
|
|
|
- <view class="action-btn delete" @tap="confirmDelete(item)"
|
|
|
+ <template v-if="editingId === item.id">
|
|
|
+ <view class="action-btn bg-secondary" @tap="saveBank(item)"
|
|
|
+ v-t="'Btn.Save'" />
|
|
|
+ <view class="action-btn bg-secondary" @tap="cancelEdit()"
|
|
|
+ v-t="'Btn.Cancel'" />
|
|
|
+ </template>
|
|
|
+ <view class="action-btn delete" @tap="confirmDelete(item)"
|
|
|
v-t="'Btn.Delete'" />
|
|
|
</view>
|
|
|
+ </view>
|
|
|
+
|
|
|
</uni-col>
|
|
|
</uni-row>
|
|
|
</view>
|
|
|
@@ -833,11 +839,17 @@ onMounted(() => {
|
|
|
color: #1f2937;
|
|
|
margin-bottom: px2rpx(20);
|
|
|
}
|
|
|
+ .actions{
|
|
|
+ display: flex;
|
|
|
+ flex-direction: column;
|
|
|
+ }
|
|
|
|
|
|
.bank-actions {
|
|
|
display: flex;
|
|
|
- gap: px2rpx(12);
|
|
|
+ gap: px2rpx(20);
|
|
|
align-items: center;
|
|
|
+ flex-wrap: wrap;
|
|
|
+ margin-bottom: px2rpx(10);
|
|
|
justify-content: flex-end;
|
|
|
|
|
|
.action-btn {
|