26/4/18 wyx 同步本地代码

This commit is contained in:
wangyuxin
2026-04-18 09:39:09 +08:00
parent eeb09abc04
commit 5dad83c168
3 changed files with 58 additions and 53 deletions

View File

@@ -1,8 +1,8 @@
<template>
<view class="contentStyle" style="">
<view class="status-bar"></view>
<uni-nav-bar :title="'新增'+paymentType+'缴费'" left-icon="left" @clickLeft="goBack" backgroundColor="transparent"
:border="false">
<uni-nav-bar :title="'新增'+paymentType+'缴费'" left-icon="left" @clickLeft="goBack" backgroundColor="transparent"
:border="false">
</uni-nav-bar>
<Loading mask="true" click="true" ref="loading"></Loading>
@@ -79,7 +79,7 @@
</view>
</view>
</scroll-view>
</view>
@@ -126,14 +126,10 @@
userNo: '',
isAgree: false,
showPopup: false, // 控制弹窗显示
}
},
methods: {
handleAgreeChange(e) {
// e.detail.value 是数组,有值 = 选中,空 = 未选中
this.isAgree = e.detail.value.length > 0
@@ -141,7 +137,7 @@
// 处理协议链接点击
handleProtocol() {
uni.navigateTo({
})
},
// 处理提交
@@ -165,23 +161,23 @@
content: '确认要提交吗?',
success: (res) => {
if (res.confirm) {
uni.showLoading({
title: '提交中...',
mask: true
});
setTimeout(() => {
uni.showToast({
title: '提交成功',
icon: 'success'
});
}, 1000);
setTimeout(() => {
// 提交成功后跳转列表页
uni.hideLoading();
uni.showLoading({
title: '提交中...',
mask: true
});
setTimeout(() => {
uni.showToast({
title: '提交成功',
icon: 'success'
});
}, 1000);
setTimeout(() => {
// 提交成功后跳转列表页
uni.hideLoading();
this.goNext()
}, 3000);
}, 3000);
}
}
})
@@ -223,7 +219,7 @@
/* 关键:占满屏幕高度 */
background-color: #f9f9f9;
}
.page {
flex: 1;
overflow-y: auto;
@@ -529,8 +525,10 @@
.toast-text {
color: #fff;
font-size: 28rpx;
}.status-bar{
width: 100vw;
height: 46px;
}
}
.status-bar {
width: 100vw;
height: 46px;
}
</style>