fix: 储蓄卡信用,新增调额记录功能。
This commit is contained in:
@@ -84,6 +84,10 @@
|
||||
</view>
|
||||
|
||||
<view class="operate" @click.stop>
|
||||
<view class="btn-limit" @click="handleLimitHistory(item)">
|
||||
<uni-icons type="list" size="16" color="#fa8c16"></uni-icons>
|
||||
<text>调额记录</text>
|
||||
</view>
|
||||
<view class="btn-edit" @click="handleEdit(item)">
|
||||
<uni-icons type="compose" size="16" color="#667eea"></uni-icons>
|
||||
<text>修改</text>
|
||||
@@ -254,6 +258,10 @@ function selectStatus(item) {
|
||||
uni.navigateTo({ url: `/pages/work/base/debitCard/addEdit` })
|
||||
isShow.value = true
|
||||
}
|
||||
function handleLimitHistory(item) {
|
||||
uni.navigateTo({ url: `/pages/work/base/debitCard/limitHistory?bankCardLendId=${item.id}&name=${item.name}` })
|
||||
isShow.value = true
|
||||
}
|
||||
function handleDelete(item) {
|
||||
uni.showModal({
|
||||
title: '确认删除',
|
||||
@@ -640,6 +648,7 @@ page {
|
||||
gap: 16rpx;
|
||||
|
||||
.btn-edit,
|
||||
.btn-limit,
|
||||
.btn-delete {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
@@ -663,6 +672,12 @@ page {
|
||||
border: 1rpx solid rgba(102, 126, 234, 0.3);
|
||||
}
|
||||
|
||||
.btn-limit {
|
||||
background: rgba(250, 140, 22, 0.1);
|
||||
color: #fa8c16;
|
||||
border: 1rpx solid rgba(250, 140, 22, 0.3);
|
||||
}
|
||||
|
||||
.btn-delete {
|
||||
background: rgba(245, 87, 108, 0.1);
|
||||
color: #f5576c;
|
||||
|
||||
Reference in New Issue
Block a user