调整个人中心页面,会议中心页面,充值页面

This commit is contained in:
2025-09-26 17:57:14 +08:00
parent a39c9f4d72
commit 905d5404f6
20 changed files with 1397 additions and 230 deletions

View File

@@ -8,15 +8,18 @@
<view class="text">获取手机号</view>
</button>
</view> -->
<view class="u-flex">
<view class="u-p-r-40">
<view class="color-333 font-16 font-700">密码支付</view>
<view class="font-12 color-999 u-m-t-4">关闭时使用余额支付将会直接扣除不再进行确认</view>
</view>
<up-switch v-model="form.isOpen" active-color="#FFD158" :inactive-value="0"
:active-value="1"></up-switch>
</view>
<view class="color-333 font-16 font-700" style="margin-top: 60rpx;">密码支付</view>
<view class="box_item flex-between">
<text class="top_box_one_text">当前账号</text>
<input type="number" v-model="form.mobile" placeholder="请输入手机号" maxlength="11" :disabled="true" />
</view>
<view class="box_item flex-between" style="position:relative;">
<text class="top_box_one_text"></text>
<input type="number" v-model="form.checkCode" placeholder="请输入验证码"
style="padding-right: 140rpx;color: #333" />
<input type="number" v-model="form.mobile" placeholder="请输入手机号" maxlength="11" :disabled="true" />
<view class="top_box_one_texts">
<view v-if="datalist.showText == true" class="yzm" @click="CodeRegister">{{ datalist.Recapture }}
</view>
@@ -25,6 +28,12 @@
</view>
</view>
</view>
<view class="box_item flex-between" style="position:relative;">
<text class="top_box_one_text"></text>
<input type="number" v-model="form.checkCode" placeholder="请输入验证码"
style="padding-right: 140rpx;color: #333" />
</view>
<view class="box_item flex-between">
<text class="top_box_one_text">新密码</text>
<input type="number" v-model="form.password" placeholder="请输入6位数字交易密码" maxlength="6"
@@ -56,7 +65,7 @@
import {
APIshopUserInfo
} from '@/common/api/member.js'
import {
productStore
} from '@/stores/user.js';
@@ -70,7 +79,8 @@
mobile: uni.cache.get('orderVIP').phone,
password: '',
payPassword: '',
checkCode: ''
checkCode: '',
isOpen: 1
})
const datalist = reactive({
@@ -193,34 +203,12 @@
uni.navigateBack()
}
}
onMounted(async () => {
// 获取当前页面栈
const pages = getCurrentPages();
// 获取当前页面实例
const currentPage = pages[pages.length - 1];
// 获取页面参数
const options = currentPage.options;
// if (options.shopId) {
// let res = await APIshopUserInfo({F
// shopId: options.shopId
// })
// uni.cache.set('shopId', options.shopId, 30)
// uni.cache.set('orderVIP', res)
// uni.cache.set('ordershopUserInfo', res.shopInfo)
// } else {
// shopUserInfo.shopInfo = JSON.parse(decodeURIComponent(options.shopInfo))
// }
})
</script>
<style lang="scss">
page {
background: #f9f9f9;
}
<style lang="scss" scoped>
.Box {
padding: 0 28rpx;
padding: 80rpx 28rpx 28rpx;
.box_one {
margin-top: 26rpx;
@@ -232,10 +220,9 @@
.box_box {
background: #fff;
padding: 0 32rpx;
.box_item {
border-bottom: 1rpx solid #E5E5E5;
// border-bottom: 1rpx solid #E5E5E5;
position: relative;
.top_box_one_text {
@@ -321,4 +308,13 @@
z-index: 2;
}
}
.Box .box_box .box_item uni-input{
border-bottom: 1rpx solid #E5E5E5;
}
.Box .box_box .box_item input{
border-bottom: 1rpx solid #E5E5E5;
}
:deep(.Box .box_box .box_item uni-input){
border-bottom: 1rpx solid #E5E5E5;
}
</style>