134cad71 by 张猛

会员认证

1 parent d71abcc3
<template>
<view class="success-container">
<!-- 成功图标(渐变圆形+动效) -->
<view class="success-icon">
<view class="icon-circle">
<text class="check-icon"></text>
</view>
</view>
<!-- 支付成功标题(动画) -->
<view class="success-title">支付成功</view>
<view class="success-subtitle">支付成功,请等待审核</view>
<!-- 订单信息卡片(带阴影) -->
<!-- <view class="info-card">
<view class="info-item">
<text class="label">交易流水号</text>
<text class="value">{{ orderInfo.tradeNo || '--' }}</text>
</view>
<view class="info-item">
<text class="label">商户名称</text>
<text class="value">{{ orderInfo.merchantName|| '中国跆拳道协会' }}</text>
</view>
<view class="info-item">
<text class="label">订单金额</text>
<text class="value amount">{{ orderInfo.price ? orderInfo.price + '元' : '--' }}</text>
</view>
</view> -->
<!-- 确定按钮(渐变+动效) -->
<view class="confirm-btn-area">
<button class="confirm-btn" @click="goBack">确定</button>
</view>
</view>
<view class="success-container">
<!-- 成功图标(渐变圆形+动效) -->
<view class="success-icon">
<view class="icon-circle">
<text class="check-icon"></text>
</view>
</view>
<!-- 支付成功标题(动画) -->
<view class="success-title">支付成功</view>
<view class="success-subtitle">支付成功,请等待审核</view>
<!-- 订单信息卡片(带阴影) -->
<!-- <view class="info-card">
<view class="info-item">
<text class="label">交易流水号</text>
<text class="value">{{ orderInfo.tradeNo || '--' }}</text>
</view>
<view class="info-item">
<text class="label">商户名称</text>
<text class="value">{{ orderInfo.merchantName|| '中国跆拳道协会' }}</text>
</view>
<view class="info-item">
<text class="label">订单金额</text>
<text class="value amount">{{ orderInfo.price ? orderInfo.price + '元' : '--' }}</text>
</view>
</view> -->
<!-- 确定按钮(渐变+动效) -->
<view class="confirm-btn-area">
<button class="confirm-btn" @click="goBack">确定</button>
</view>
</view>
</template>
<script setup>
import {
ref
} from 'vue'
import {
onLoad
} from '@dcloudio/uni-app'
import to from 'await-to-js'
import * as api from '@/common/api.js'
const orderInfo = ref({
orderId: '',
tradeNo: '',
merchantName: '中国跆拳道协会',
price: ''
})
const goBack = () => {
uni.reLaunch({
url: '/myCenter/auth'
})
}
onLoad(async (option) => {
// if (option.orderId) {
// const [err, res] = await to(api.getOrderInfo(option.orderId))
// if (!err && res.data) {
// orderInfo.value = res.data
// } else {
// orderInfo.value.orderId = option.orderId
// }
// }
})
import {
ref
} from 'vue'
import {
onLoad
} from '@dcloudio/uni-app'
import to from 'await-to-js'
import * as api from '@/common/api.js'
const orderInfo = ref({
orderId: '',
tradeNo: '',
merchantName: '中国跆拳道协会',
price: ''
})
const goBack = () => {
uni.reLaunch({
url: '/pages/index/home'
})
}
onLoad(async (option) => {
// if (option.orderId) {
// const [err, res] = await to(api.getOrderInfo(option.orderId))
// if (!err && res.data) {
// orderInfo.value = res.data
// } else {
// orderInfo.value.orderId = option.orderId
// }
// }
})
</script>
<style scoped>
/* 全局容器 */
.success-container {
display: flex;
flex-direction: column;
align-items: center;
padding: 100rpx 40rpx 60rpx;
min-height: 100vh;
background-color: #f8f9fa;
box-sizing: border-box;
}
/* 成功图标容器 */
.success-icon {
margin-bottom: 40rpx;
animation: fadeIn 0.6s ease-out;
}
/* 渐变圆形背景 */
.icon-circle {
width: 180rpx;
height: 180rpx;
border-radius: 50%;
/* 青绿色渐变 */
background: linear-gradient(135deg, #06c1ae, #04a896);
display: flex;
align-items: center;
justify-content: center;
box-shadow: 0 8rpx 30rpx rgba(6, 193, 174, 0.3);
/* 轻微上浮动效 */
animation: scaleIn 0.8s ease-out;
}
/* 对勾图标 */
.check-icon {
font-size: 90rpx;
color: #ffffff;
font-weight: bold;
}
/* 支付成功标题 */
.success-title {
font-size: 48rpx;
font-weight: 700;
color: #333333;
margin-bottom: 12rpx;
animation: slideUp 0.6s ease-out;
}
/* 副标题 */
.success-subtitle {
font-size: 28rpx;
color: #666666;
margin-bottom: 60rpx;
animation: slideUp 0.8s ease-out;
}
/* 订单信息卡片 */
.info-card {
width: 100%;
background: #ffffff;
border-radius: 20rpx;
padding: 40rpx 30rpx;
box-shadow: 0 6rpx 20rpx rgba(0, 0, 0, 0.05);
margin-bottom: 80rpx;
animation: fadeIn 1s ease-out;
}
/* 单个信息项 */
.info-item {
display: flex;
justify-content: space-between;
align-items: center;
padding: 24rpx 0;
border-bottom: 1rpx solid #f5f5f5;
}
/* 最后一项去掉下划线 */
.info-item:last-child {
border-bottom: none;
}
/* 标签样式 */
.label {
font-size: 32rpx;
color: #666666;
white-space: nowrap;
margin-right: 20rpx;
flex-shrink: 0;
}
/* 值样式 */
.value {
font-size: 32rpx;
color: #333333;
text-align: right;
word-break: break-all;
word-wrap: break-word;
}
/* 金额特殊样式 */
.amount {
color: #cd1e27;
font-weight: 600;
}
/* 确定按钮区域 */
.confirm-btn-area {
width: 100%;
padding: 0 20rpx;
box-sizing: border-box;
}
/* 确定按钮(渐变+动效) */
.confirm-btn {
width: 100%;
height: 90rpx;
line-height: 90rpx;
/* 按钮渐变背景 */
background: #fff;
color: #C4121B;
font-size: 36rpx;
font-weight: 600;
border-radius: 45rpx;
border: 1px solid #C4121B;
animation: slideUp 1s ease-out;
/* 禁止默认样式 */
position: relative;
overflow: hidden;
}
/* 按钮点击反馈 */
.confirm-btn::after {
border: none;
}
.confirm-btn:active {
transform: scale(0.98);
box-shadow: 0 4rpx 10rpx rgba(6, 193, 174, 0.2);
}
/* 动画定义 */
@keyframes fadeIn {
0% {
opacity: 0;
}
100% {
opacity: 1;
}
}
@keyframes scaleIn {
0% {
transform: scale(0);
}
70% {
transform: scale(1.1);
}
100% {
transform: scale(1);
}
}
@keyframes slideUp {
0% {
opacity: 0;
transform: translateY(30rpx);
}
100% {
opacity: 1;
transform: translateY(0);
}
}
</style>
\ No newline at end of file
/* 全局容器 */
.success-container {
display: flex;
flex-direction: column;
align-items: center;
padding: 100rpx 40rpx 60rpx;
min-height: 100vh;
background-color: #f8f9fa;
box-sizing: border-box;
}
/* 成功图标容器 */
.success-icon {
margin-bottom: 40rpx;
animation: fadeIn 0.6s ease-out;
}
/* 渐变圆形背景 */
.icon-circle {
width: 180rpx;
height: 180rpx;
border-radius: 50%;
/* 青绿色渐变 */
background: linear-gradient(135deg, #06c1ae, #04a896);
display: flex;
align-items: center;
justify-content: center;
box-shadow: 0 8rpx 30rpx rgba(6, 193, 174, 0.3);
/* 轻微上浮动效 */
animation: scaleIn 0.8s ease-out;
}
/* 对勾图标 */
.check-icon {
font-size: 90rpx;
color: #ffffff;
font-weight: bold;
}
/* 支付成功标题 */
.success-title {
font-size: 48rpx;
font-weight: 700;
color: #333333;
margin-bottom: 12rpx;
animation: slideUp 0.6s ease-out;
}
/* 副标题 */
.success-subtitle {
font-size: 28rpx;
color: #666666;
margin-bottom: 60rpx;
animation: slideUp 0.8s ease-out;
}
/* 订单信息卡片 */
.info-card {
width: 100%;
background: #ffffff;
border-radius: 20rpx;
padding: 40rpx 30rpx;
box-shadow: 0 6rpx 20rpx rgba(0, 0, 0, 0.05);
margin-bottom: 80rpx;
animation: fadeIn 1s ease-out;
}
/* 单个信息项 */
.info-item {
display: flex;
justify-content: space-between;
align-items: center;
padding: 24rpx 0;
border-bottom: 1rpx solid #f5f5f5;
}
/* 最后一项去掉下划线 */
.info-item:last-child {
border-bottom: none;
}
/* 标签样式 */
.label {
font-size: 32rpx;
color: #666666;
white-space: nowrap;
margin-right: 20rpx;
flex-shrink: 0;
}
/* 值样式 */
.value {
font-size: 32rpx;
color: #333333;
text-align: right;
word-break: break-all;
word-wrap: break-word;
}
/* 金额特殊样式 */
.amount {
color: #cd1e27;
font-weight: 600;
}
/* 确定按钮区域 */
.confirm-btn-area {
width: 100%;
padding: 0 20rpx;
box-sizing: border-box;
}
/* 确定按钮(渐变+动效) */
.confirm-btn {
width: 100%;
height: 90rpx;
line-height: 90rpx;
/* 按钮渐变背景 */
background: #fff;
color: #C4121B;
font-size: 36rpx;
font-weight: 600;
border-radius: 45rpx;
border: 1px solid #C4121B;
animation: slideUp 1s ease-out;
/* 禁止默认样式 */
position: relative;
overflow: hidden;
}
/* 按钮点击反馈 */
.confirm-btn::after {
border: none;
}
.confirm-btn:active {
transform: scale(0.98);
box-shadow: 0 4rpx 10rpx rgba(6, 193, 174, 0.2);
}
/* 动画定义 */
@keyframes fadeIn {
0% {
opacity: 0;
}
100% {
opacity: 1;
}
}
@keyframes scaleIn {
0% {
transform: scale(0);
}
70% {
transform: scale(1.1);
}
100% {
transform: scale(1);
}
}
@keyframes slideUp {
0% {
opacity: 0;
transform: translateY(30rpx);
}
100% {
opacity: 1;
transform: translateY(0);
}
}
</style>
......
......@@ -4,14 +4,14 @@
<view v-if="isDaoGuan" class="dao-guan-page">
<image :src="config.loginImage_api + '/fs/static/dg/home_bg.png'" class="bg-image" mode="aspectFill"></image>
<view class="header-bg">
<view class="loginOutIcon2" @click="goPath('/myCenter/index')">
<view class="loginOutIcon2" @click="goPath('/myCenter/index')">
<image :src="config.loginImage_api + '/fs/static/dg/icon01@3x.png'" class="switch-icon"></image>
</view>
<view class="welcome1 mt30" @click="goPath('/myCenter/index')">
<view class="flex f-a-c">
<!-- <view> -->
<text class="title-border"></text>
<text class="section-title">单位会员</text>
<text class="title-border"></text>
<text class="section-title">单位会员</text>
<!-- </view> -->
<!-- <image :src="config.loginImage_api + '/fs/static/dg/icon013@x.png'" class="switch-icon"></image> -->
</view>
......@@ -22,16 +22,20 @@
</view>
<view class="unit-member-box">
<view class="unit-btn" @click="goPath('/myCenter/auth')">
<image :src="config.loginImage_api + '/fs/static/dg/icon02@3x.png'" class="btn-icon"></image><text>基本信息</text>
<image :src="config.loginImage_api + '/fs/static/dg/icon02@3x.png'" class="btn-icon"></image>
<text>基本信息</text>
</view>
<view class="unit-btn" @click="goPath('/myCenter/perfect')">
<image :src="config.loginImage_api + '/fs/static/dg/icon03@3x.png'" class="btn-icon"></image><text>认证缴费</text>
<image :src="config.loginImage_api + '/fs/static/dg/icon03@3x.png'" class="btn-icon"></image>
<text>认证缴费</text>
</view>
<view class="unit-btn" @click="goPath('/myCenter/reviewList')">
<image :src="config.loginImage_api + '/fs/static/dg/icon04@3x.png'" class="btn-icon"></image><text>认证详情</text>
<image :src="config.loginImage_api + '/fs/static/dg/icon04@3x.png'" class="btn-icon"></image>
<text>认证详情</text>
</view>
<view class="unit-btn " @click="goPath('/myCenter/examPointApplyList')">
<image :src="config.loginImage_api + '/fs/static/dg/icon05@3x.png'" class="btn-icon"></image><text>考点申请</text>
<image :src="config.loginImage_api + '/fs/static/dg/icon05@3x.png'" class="btn-icon"></image>
<text>考点申请</text>
</view>
<!-- <view class="unit-btn mt-20" @click="goPath('/myCenter/examPointApplyList')">
<image :src="config.loginImage_api + '/fs/static/dg/icon06@3x.png'" class="btn-icon"></image><text>考点详情</text>
......@@ -42,472 +46,491 @@
</view>
</view>
<view class="section personal-section">
<view class="flex f-a-c"><text class="title-border"></text>
<text class="section-title">个人会员</text></view>
<view class="flex f-a-c">
<text class="title-border"></text>
<text class="section-title">个人会员</text>
</view>
<view class="personal-member-box">
<view class="personal-btn" @click="goPath('/personalVip/addVip')">
<image :src="config.loginImage_api + '/fs/static/dg/home_btn01@3x.png'" class="circle-icon"></image><text>添加会员</text>
<image :src="config.loginImage_api + '/fs/static/dg/home_btn01@3x.png'" class="circle-icon"></image>
<text>添加会员</text>
</view>
<view class="personal-btn" @click="goPath('/personalVip/payment')">
<image :src="config.loginImage_api + '/fs/static/dg/home_btn02@3x.png'" class="circle-icon"></image><text>会员缴费</text>
<image :src="config.loginImage_api + '/fs/static/dg/home_btn02@3x.png'" class="circle-icon"></image>
<text>会员缴费</text>
</view>
<view class="personal-btn" @click="goPath('/personalVip/list')">
<image :src="config.loginImage_api + '/fs/static/dg/home_btn03@3x.png'" class="circle-icon"></image><text>会员查询</text>
<image :src="config.loginImage_api + '/fs/static/dg/home_btn03@3x.png'" class="circle-icon"></image>
<text>会员查询</text>
</view>
<view class="personal-btn" @click="goPath('/personalVip/mobilize')">
<image :src="config.loginImage_api + '/fs/static/dg/btn04@3x.png'" class="circle-icon"></image><text>会员调动</text>
<image :src="config.loginImage_api + '/fs/static/dg/btn04@3x.png'" class="circle-icon"></image>
<text>会员调动</text>
</view>
</view>
</view>
<view class="section level-section">
<view class="flex f-a-c"><text class="title-border"></text>
<text class="section-title">级位管理</text></view>
<view class="flex f-a-c">
<text class="title-border"></text>
<text class="section-title">级位管理</text>
</view>
<view class="level-list">
<view class="level-item" @click="goPath('/level/apply')">
<image :src="config.loginImage_api + '/fs/static/dg/icon07@3x.png'" class="level-icon"></image><text>级位考试</text><view class="arrow"></view>
<image :src="config.loginImage_api + '/fs/static/dg/icon07@3x.png'" class="level-icon"></image>
<text>级位考试</text>
<view class="arrow"></view>
</view>
<view class="level-item" @click="goPath('/personalVip/changeLevel')">
<image :src="config.loginImage_api + '/fs/static/dg/icon08@3x.png'" class="level-icon"></image><text>级位变更</text><view class="arrow"></view>
<image :src="config.loginImage_api + '/fs/static/dg/icon08@3x.png'" class="level-icon"></image>
<text>级位变更</text>
<view class="arrow"></view>
</view>
<view class="level-item" @click="goPath('/pages/index/msgList')">
<image :src="config.loginImage_api + '/fs/static/dg/icon09@3x.png'" class="level-icon"></image><text>通知公告</text><view class="arrow"></view>
<image :src="config.loginImage_api + '/fs/static/dg/icon09@3x.png'" class="level-icon"></image>
<text>通知公告</text>
<view class="arrow"></view>
</view>
<view class="level-item" @click="goPath('/myCenter/order?type=2')">
<image :src="config.loginImage_api + '/fs/static/dg/icon10@3x.png'" class="level-icon"></image><text>我的订单</text><view class="arrow"></view>
<image :src="config.loginImage_api + '/fs/static/dg/icon10@3x.png'" class="level-icon"></image>
<text>我的订单</text>
<view class="arrow"></view>
</view>
</view>
</view>
</view>
<!-- ==================== 非道馆用户显示原有内容 ==================== -->
<view v-else>
<view class="bgbg">
<view class="loginOutIcon" @click="loginOut">
<image :src="config.baseUrl_api + '/fs/static/switch.png'"></image>
</view>
<view class="welcome" @click="goPath('/myCenter/index')">
<text>您好!{{ memberInfo.name }}</text>
<br/>欢迎使用中跆协会员管理系统
</view>
<view class="flexbox" style="margin: 25rpx 0 0;">
<!-- userType 1:中跆协 2:省 3:市区 4:道馆-->
<!-- 4 -->
<view v-if="userType=='4'" @click="goPath('/personalVip/addVip')">
<image :src="imag1"/>
添加会员
</view>
<view v-if="userType=='4'" @click="goPath('/personalVip/payment')">
<image :src="imag2"/>
会员缴费
</view>
<!-- 个人会员审核-->
<view v-if="userType==1" @click="goPath('/personalVip/audit')">
<image :src="imag3"/>
会员审核
</view>
<!-- 团体会员审核-->
<view v-if="userType==2" @click="goPath('/level/ztx/memberAudit')">
<image :src="imag3"/>
会员审核
</view>
<!-- 都有 -->
<view @click="goPath('/personalVip/list')">
<image :src="imag5"/>
会员查询
</view>
<view v-if="userType!='4'" @click="goPath('/group/list')">
<image :src="imag6"/>
单位会员
</view>
<view @click="goPath('/myCenter/index')">
<image :src="config.baseUrl_api+'/fs/static/icon/btn_center.png'"></image>
个人中心
<view class="bgbg">
<view class="loginOutIcon" @click="loginOut">
<image :src="config.baseUrl_api + '/fs/static/switch.png'"></image>
</view>
<view class="welcome" @click="goPath('/myCenter/index')">
<text>您好!{{ memberInfo.name }}</text>
<br/>欢迎使用中跆协会员管理系统
</view>
<view class="flexbox" style="margin: 25rpx 0 0;">
<!-- userType 1:中跆协 2:省 3:市区 4:道馆-->
<!-- 4 -->
<view v-if="userType=='4'" @click="goPath('/personalVip/addVip')">
<image :src="imag1"/>
添加会员
</view>
<view v-if="userType=='4'" @click="goPath('/personalVip/payment')">
<image :src="imag2"/>
会员缴费
</view>
<!-- 个人会员审核-->
<view v-if="userType==1" @click="goPath('/personalVip/audit')">
<image :src="imag3"/>
会员审核
</view>
<!-- 团体会员审核-->
<view v-if="userType==2" @click="goPath('/level/ztx/memberAudit')">
<image :src="imag3"/>
会员审核
</view>
<!-- 都有 -->
<view @click="goPath('/personalVip/list')">
<image :src="imag5"/>
会员查询
</view>
<view v-if="userType!='4'" @click="goPath('/group/list')">
<image :src="imag6"/>
单位会员
</view>
<view @click="goPath('/myCenter/index')">
<image :src="config.baseUrl_api+'/fs/static/icon/btn_center.png'"></image>
个人中心
</view>
</view>
</view>
</view>
<!-- 道馆 -->
<view v-if="userType=='4'" class="girdBox">
<view @click="goPath('/personalVip/mobilize')">
<uni-badge :text="numData.personTransferCount" class="potag"/>
<image :src="config.baseUrl_api+'/fs/static/icon/1.png'"/>
会员调动
</view>
<view @click="goPath('/level/apply')">
<uni-badge :text="numData.jiCount" class="potag"/>
<image :src="config.baseUrl_api+'/fs/static/icon/3.png'"/>
级位考试申请
</view>
<view @click="goPath('/personalVip/changeLevel')">
<image :src="config.baseUrl_api+'/fs/static/icon/26.png'"/>
级位变更
</view>
</view>
<view v-if="userType=='4'" class="girdFather">
<view class="ttt">个人会员</view>
<view class="girdBox">
<view @click="goPath('/personalVip/addVip')">
<uni-badge :text="numData.personTransferCount" class="potag"/>
<image :src="config.baseUrl_api+'/fs/static/icon/2.png'"/>
添加会员
</view>
<view @click="goPath('/personalVip/list')">
<image :src="config.baseUrl_api+'/fs/static/icon/25.png'"/>
会员列表
</view>
<!-- 道馆 -->
<view v-if="userType=='4'" class="girdBox">
<view @click="goPath('/personalVip/mobilize')">
<image :src="config.baseUrl_api+'/fs/static/icon/28.png'"/>
<uni-badge :text="numData.personTransferCount" class="potag"/>
<image :src="config.baseUrl_api+'/fs/static/icon/1.png'"/>
会员调动
</view>
<view @click="goPath('/personalVip/payment')">
<image :src="config.baseUrl_api+'/fs/static/icon/28.png'"/>
会员缴费
</view>
<view @click="goPath('/personal/memberAuditRecord')">
<image :src="config.baseUrl_api+'/fs/static/icon/28.png'"/>
会员审核记录
</view>
<view @click="goPath('/myCenter/order?type=0')">
<image :src="config.baseUrl_api+'/fs/static/icon/28.png'"/>
订单列表
</view>
</view>
<view class="ttt">单位会员</view>
<view class="girdBox">
<view @click="goPath('/myCenter/auth')">
<uni-badge :text="numData.memberJiaofeiCount" class="potag"/>
<image :src="config.baseUrl_api+'/fs/static/icon/4.png'"/>
会员认证
</view>
<view @click="goPath('/myCenter/reviewList')">
<image :src="config.baseUrl_api+'/fs/static/icon/27.png'"/>
认证详情
</view>
<view @click="goPath('/myCenter/examPointApplyList')">
<image :src="config.baseUrl_api+'/fs/static/icon/17.png'"/>
考点申请
</view>
<view @click="goPath('/myCenter/order?type=1')">
<image :src="config.baseUrl_api+'/fs/static/icon/9.png'"/>
订单列表
</view>
</view>
<view class="ttt">级位管理</view>
<view class="girdBox">
<view @click="goPath('/level/apply')">
<uni-badge :text="numData.jiCount" class="potag"/>
<image :src="config.baseUrl_api+'/fs/static/icon/3.png'"/>
考试申请
</view>
<view @click="goPath('/level/ztx/mail')">
<image :src="config.baseUrl_api+'/fs/static/icon/25.png'"/>
证书邮寄
级位考试申请
</view>
<!-- <view @click="goPath('/level/ztx/costSettlement')">
<image :src="config.baseUrl_api+'/fs/static/icon/10.png'"/>
证书下载
</view> -->
<view @click="goPath('/personalVip/changeLevel')">
<image :src="config.baseUrl_api+'/fs/static/icon/26.png'"/>
级位变更
</view>
<view @click="goPath('/level/chooseExaminer?pageType=1')">
<image :src="config.baseUrl_api+'/fs/static/icon/10.png'"/>
考官库
</view>
<view @click="goPath('/myCenter/order?type=2')">
<image :src="config.baseUrl_api+'/fs/static/icon/10.png'"/>
订单列表
</view>
</view>
</view>
<view v-if="userType=='3'" class="girdBox">
<view @click="goPath('/group/apply/applyList')">
<uni-badge :text="numData.memberJiaofeiCount" class="potag"/>
<image :src="config.baseUrl_api+'/fs/static/icon/4.png'"/>
单位会员审核
</view>
<view @click="goPath('/level/approval')">
<uni-badge :text="numData.jiCount" class="potag"/>
<image :src="config.baseUrl_api+'/fs/static/icon/3.png'"/>
级位考试审核
</view>
</view>
<view v-if="userType=='2'" class="girdFather">
<view class="ttt">个人会员</view>
<view class="girdBox">
<view @click="goPath('/personalVip/mobilize')">
<uni-badge :text="numData.personTransferCount" class="potag"/>
<image :src="config.baseUrl_api+'/fs/static/icon/2.png'"/>
会员调动
</view>
<!-- <view @click="goPath('/personalVip/feeBill')">
<image :src="config.baseUrl_api+'/fs/static/icon/6.png'" />
缴费单
</view>
<view @click="goPath('/personalVip/monthFee')">
<image :src="config.baseUrl_api+'/fs/static/icon/30.png'" />
月结缴费
</view> -->
<view @click="goPath('/personalVip/changeVip')">
<image :src="config.baseUrl_api+'/fs/static/icon/25.png'"/>
会员变更
</view>
<view @click="goPath('/personalVip/mergeVip')">
<image :src="config.baseUrl_api+'/fs/static/icon/28.png'"/>
信息合并
</view>
</view>
<view class="ttt">单位会员</view>
<view class="girdBox">
<!-- <view @click="goPath('/group/pay')">
<image :src="config.baseUrl_api+'/fs/static/icon/9.png'" />
会员缴费
</view> -->
<view @click="goPath('/level/ztx/memberAudit')">
<uni-badge :text="numData.memberJiaofeiCount" class="potag"/>
<image :src="config.baseUrl_api+'/fs/static/icon/4.png'"/>
会员审核
</view>
<!-- <view @click="goPath('/group/feeBill')">
<image :src="config.baseUrl_api+'/fs/static/icon/17.png'" />会员缴费单
</view> -->
<view @click="goPath('/group/changeGroupInfo')">
<image :src="config.baseUrl_api+'/fs/static/icon/27.png'"/>
信息变更
</view>
<view @click="goPath('/group/auditRecord1')">
<image :src="config.baseUrl_api+'/fs/static/icon/17.png'"/>
审核记录
</view>
<view @click="goPath('/level/ztx/examinationVerification')">
<image :src="config.baseUrl_api+'/fs/static/icon/9.png'"/>
考点审核
</view>
</view>
<view class="ttt">级位管理</view>
<view class="girdBox">
<!-- <view @click="goPath('/level/approval')">-->
<!-- <uni-badge class="potag" :text="numData.jiCount" />-->
<!-- <image :src="config.baseUrl_api+'/fs/static/icon/3.png'" />考试审核-->
<!-- </view>-->
<!-- <view @click="goPath('/pages/exam/payment?type=1')">
<image :src="config.baseUrl_api+'/fs/static/icon/10.png'" />考试缴费单
</view> -->
<!-- <view @click="goPath('/personalVip/changeLevel')">-->
<!-- <image :src="config.baseUrl_api+'/fs/static/icon/26.png'"/>-->
<!-- 级位变更-->
<!-- </view>-->
<view @click="goPath('/personalVip/changeLevelAudit')">
<image :src="config.baseUrl_api+'/fs/static/icon/26.png'"/>
变更审核
</view>
<view @click="goPath('/level/auditRecord2')">
<image :src="config.baseUrl_api+'/fs/static/icon/17.png'"/>
审核记录
</view>
<view @click="goPath('/level/ztx/costSettlement')">
<image :src="config.baseUrl_api+'/fs/static/icon/10.png'"/>
费用结算
</view>
</view>
<!-- <view class="ttt">段位管理</view>
<view class="girdBox">
<view @click="goPath('/pages/rank/apply?type=2')">
<image :src="config.baseUrl_api+'/fs/static/icon/11.png'" />考试申请
<view v-if="userType=='4'" class="girdFather">
<view class="ttt">个人会员</view>
<view class="girdBox">
<view @click="goPath('/personalVip/addVip')">
<uni-badge :text="numData.personTransferCount" class="potag"/>
<image :src="config.baseUrl_api+'/fs/static/icon/2.png'"/>
添加会员
</view>
<view @click="goPath('/personalVip/list')">
<image :src="config.baseUrl_api+'/fs/static/icon/25.png'"/>
会员列表
</view>
<view @click="goPath('/personalVip/mobilize')">
<image :src="config.baseUrl_api+'/fs/static/icon/28.png'"/>
会员调动
</view>
<view @click="goPath('/personalVip/payment')">
<image :src="config.baseUrl_api+'/fs/static/icon/28.png'"/>
会员缴费
</view>
<view @click="goPath('/personal/memberAuditRecord')">
<image :src="config.baseUrl_api+'/fs/static/icon/28.png'"/>
会员审核记录
</view>
<view @click="goPath('/myCenter/order?type=0')">
<image :src="config.baseUrl_api+'/fs/static/icon/28.png'"/>
订单列表
</view>
</view>
<view @click="goPath('/pages/exam/payment?type=2')">
<image :src="config.baseUrl_api+'/fs/static/icon/13.png'" />缴费单
<view class="ttt">单位会员</view>
<view class="girdBox">
<view @click="goPath('/myCenter/auth')">
<uni-badge :text="numData.memberJiaofeiCount" class="potag"/>
<image :src="config.baseUrl_api+'/fs/static/icon/4.png'"/>
会员认证
</view>
<view @click="goPath('/myCenter/reviewList')">
<image :src="config.baseUrl_api+'/fs/static/icon/27.png'"/>
认证详情
</view>
<view @click="goPath('/myCenter/examPointApplyList')">
<image :src="config.baseUrl_api+'/fs/static/icon/17.png'"/>
考点申请
</view>
<view @click="goPath('/myCenter/order?type=1')">
<image :src="config.baseUrl_api+'/fs/static/icon/9.png'"/>
订单列表
</view>
</view>
<view @click="goPath('/pages/exam/score?type=2')">
<image :src="config.baseUrl_api+'/fs/static/icon/12.png'" />成绩录入
<view class="ttt">级位管理</view>
<view class="girdBox">
<view @click="goPath('/level/apply')">
<image :src="config.baseUrl_api+'/fs/static/icon/3.png'"/>
考试申请
</view>
<view @click="goPath('/level/ztx/mail')">
<image :src="config.baseUrl_api+'/fs/static/icon/25.png'"/>
证书邮寄
</view>
<!-- <view @click="goPath('/level/ztx/costSettlement')">
<image :src="config.baseUrl_api+'/fs/static/icon/10.png'"/>
证书下载
</view> -->
<view @click="goPath('/personalVip/changeLevel')">
<image :src="config.baseUrl_api+'/fs/static/icon/26.png'"/>
级位变更
</view>
<view @click="goPath('/level/chooseExaminer?pageType=1')">
<image :src="config.baseUrl_api+'/fs/static/icon/10.png'"/>
考官库
</view>
<view @click="goPath('/myCenter/order?type=2')">
<image :src="config.baseUrl_api+'/fs/static/icon/10.png'"/>
订单列表
</view>
</view>
</view> -->
<!-- <view class="ttt">越段考试</view>
<view class="girdBox">
<view @click="goPath('/pages/rank/apply?type=3')">
<image :src="config.baseUrl_api+'/fs/static/icon/14.png'" />考试申请
</view>
<view @click="goPath('/pages/exam/payment?type=3')">
<image :src="config.baseUrl_api+'/fs/static/icon/16.png'" />缴费单
</view>
<view @click="goPath('/pages/exam/score?type=3')">
<image :src="config.baseUrl_api+'/fs/static/icon/15.png'" />成绩录入
</view>
</view> -->
</view>
<view v-if="userType=='1'" class="girdFather">
<view class="ttt">个人会员</view>
<view class="girdBox">
<view @click="goPath('/personalVip/mobilize')">
<uni-badge :text="numData.personTransferCount" class="potag"/>
<image :src="config.baseUrl_api+'/fs/static/icon/8.png'"/>
会员调动
</view>
<view @click="goPath('/personalVip/changeVipAudit')">
<image :src="config.baseUrl_api+'/fs/static/icon/25.png'"/>
变更审核
</view>
<view @click="goPath('/personalVip/mergeVipAudit')">
<image :src="config.baseUrl_api+'/fs/static/icon/28.png'"/>
合并审核
</view>
<view @click="goPath('/personalVip/order?type=0')">
<image :src="config.baseUrl_api+'/fs/static/icon/6.png'"/>
订单列表
</view>
</view>
<view class="ttt">单位会员</view>
<view class="girdBox">
<view v-if="userType=='3'" class="girdBox">
<view @click="goPath('/group/apply/applyList')">
<uni-badge :text="numData.memberJiaofeiCount" class="potag"/>
<image :src="config.baseUrl_api+'/fs/static/icon/4.png'"/>
会员审核
</view>
<view @click="goPath('/group/changeGroupAudit')">
<image :src="config.baseUrl_api+'/fs/static/icon/27.png'"/>
变更审核
单位会员审核
</view>
<view @click="goPath('/level/ztx/examinationVerification')">
<image :src="config.baseUrl_api+'/fs/static/icon/9.png'"/>
考点审核
</view>
<view @click="goPath('/personalVip/order?type=1')">
<image :src="config.baseUrl_api+'/fs/static/icon/6.png'"/>
订单列表
</view>
</view>
<view class="ttt">级位管理</view>
<view class="girdBox">
<view @click="goPath('/level/ztx/approval')">
<view @click="goPath('/level/approval')">
<uni-badge :text="numData.jiCount" class="potag"/>
<image :src="config.baseUrl_api+'/fs/static/icon/2.png'"/>
考试审核
</view>
<view @click="goPath('/level/ztx/mail')">
<image :src="config.baseUrl_api+'/fs/static/icon/3.png'"/>
证书邮寄
</view>
<view @click="goPath('/level/ztx/cert?type=1')">
<image :src="config.baseUrl_api+'/fs/static/icon/18.png'"/>
证书发布
级位考试审核
</view>
<view @click="goPath('/personalVip/changeLevelAudit')">
<image :src="config.baseUrl_api+'/fs/static/icon/26.png'"/>
变更审核
</view>
<view v-if="userType=='2'" class="girdFather">
<view class="ttt">个人会员</view>
<view class="girdBox">
<view @click="goPath('/personalVip/mobilize')">
<uni-badge :text="numData.personTransferCount" class="potag"/>
<image :src="config.baseUrl_api+'/fs/static/icon/2.png'"/>
会员调动
</view>
<!-- <view @click="goPath('/personalVip/feeBill')">
<image :src="config.baseUrl_api+'/fs/static/icon/6.png'" />
缴费单
</view>
<view @click="goPath('/personalVip/monthFee')">
<image :src="config.baseUrl_api+'/fs/static/icon/30.png'" />
月结缴费
</view> -->
<view @click="goPath('/personalVip/changeVip')">
<image :src="config.baseUrl_api+'/fs/static/icon/25.png'"/>
会员变更
</view>
<view @click="goPath('/personalVip/mergeVip')">
<image :src="config.baseUrl_api+'/fs/static/icon/28.png'"/>
信息合并
</view>
</view>
<view @click="goPath('/level/settlementAudit')">
<image :src="config.baseUrl_api+'/fs/static/icon/10.png'"/>
结算审核
<view class="ttt">单位会员</view>
<view class="girdBox">
<!-- <view @click="goPath('/group/pay')">
<image :src="config.baseUrl_api+'/fs/static/icon/9.png'" />
会员缴费
</view> -->
<view @click="goPath('/level/ztx/memberAudit')">
<uni-badge :text="numData.memberJiaofeiCount" class="potag"/>
<image :src="config.baseUrl_api+'/fs/static/icon/4.png'"/>
会员审核
</view>
<!-- <view @click="goPath('/group/feeBill')">
<image :src="config.baseUrl_api+'/fs/static/icon/17.png'" />会员缴费单
</view> -->
<view @click="goPath('/group/changeGroupInfo')">
<image :src="config.baseUrl_api+'/fs/static/icon/27.png'"/>
信息变更
</view>
<view @click="goPath('/group/auditRecord1')">
<image :src="config.baseUrl_api+'/fs/static/icon/17.png'"/>
审核记录
</view>
<view @click="goPath('/level/ztx/examinationVerification')">
<image :src="config.baseUrl_api+'/fs/static/icon/9.png'"/>
考点审核
</view>
</view>
<view @click="goPath('/personalVip/order?type=2')">
<image :src="config.baseUrl_api+'/fs/static/icon/6.png'"/>
订单列表
<view class="ttt">级位管理</view>
<view class="girdBox">
<!-- <view @click="goPath('/level/approval')">-->
<!-- <uni-badge class="potag" :text="numData.jiCount" />-->
<!-- <image :src="config.baseUrl_api+'/fs/static/icon/3.png'" />考试审核-->
<!-- </view>-->
<!-- <view @click="goPath('/pages/exam/payment?type=1')">
<image :src="config.baseUrl_api+'/fs/static/icon/10.png'" />考试缴费单
</view> -->
<!-- <view @click="goPath('/personalVip/changeLevel')">-->
<!-- <image :src="config.baseUrl_api+'/fs/static/icon/26.png'"/>-->
<!-- 级位变更-->
<!-- </view>-->
<view @click="goPath('/personalVip/changeLevelAudit')">
<image :src="config.baseUrl_api+'/fs/static/icon/26.png'"/>
变更审核
</view>
<view @click="goPath('/level/auditRecord2')">
<image :src="config.baseUrl_api+'/fs/static/icon/17.png'"/>
审核记录
</view>
<view @click="goPath('/level/ztx/costSettlement')">
<image :src="config.baseUrl_api+'/fs/static/icon/10.png'"/>
费用结算
</view>
</view>
<!-- <view class="ttt">段位管理</view>
<view class="girdBox">
<view @click="goPath('/pages/rank/apply?type=2')">
<image :src="config.baseUrl_api+'/fs/static/icon/11.png'" />考试申请
</view>
<view @click="goPath('/pages/exam/payment?type=2')">
<image :src="config.baseUrl_api+'/fs/static/icon/13.png'" />缴费单
</view>
<view @click="goPath('/pages/exam/score?type=2')">
<image :src="config.baseUrl_api+'/fs/static/icon/12.png'" />成绩录入
</view>
</view> -->
<!-- <view class="ttt">越段考试</view>
<view class="girdBox">
<view @click="goPath('/pages/rank/apply?type=3')">
<image :src="config.baseUrl_api+'/fs/static/icon/14.png'" />考试申请
</view>
<view @click="goPath('/pages/exam/payment?type=3')">
<image :src="config.baseUrl_api+'/fs/static/icon/16.png'" />缴费单
</view>
<view @click="goPath('/pages/exam/score?type=3')">
<image :src="config.baseUrl_api+'/fs/static/icon/15.png'" />成绩录入
</view>
</view> -->
</view>
<view class="ttt">段位管理</view>
<view class="girdBox">
<view @click="goPath('/pages/rank/approval?type=2')">
<uni-badge :text="numData.duanCount" class="potag"/>
<image :src="config.baseUrl_api+'/fs/static/icon/19.png'"/>
考试审核
<view v-if="userType=='1'" class="girdFather">
<view class="ttt">个人会员</view>
<view class="girdBox">
<view @click="goPath('/personalVip/mobilize')">
<uni-badge :text="numData.personTransferCount" class="potag"/>
<image :src="config.baseUrl_api+'/fs/static/icon/8.png'"/>
会员调动
</view>
<view @click="goPath('/personalVip/changeVipAudit')">
<image :src="config.baseUrl_api+'/fs/static/icon/25.png'"/>
变更审核
</view>
<view @click="goPath('/personalVip/mergeVipAudit')">
<image :src="config.baseUrl_api+'/fs/static/icon/28.png'"/>
合并审核
</view>
<view @click="goPath('/personalVip/order?type=0')">
<image :src="config.baseUrl_api+'/fs/static/icon/6.png'"/>
订单列表
</view>
</view>
<view class="ttt">单位会员</view>
<view class="girdBox">
<view @click="goPath('/group/apply/applyList')">
<uni-badge :text="numData.memberJiaofeiCount" class="potag"/>
<image :src="config.baseUrl_api+'/fs/static/icon/4.png'"/>
会员审核
</view>
<view @click="goPath('/group/changeGroupAudit')">
<image :src="config.baseUrl_api+'/fs/static/icon/27.png'"/>
变更审核
</view>
<view @click="goPath('/level/ztx/examinationVerification')">
<image :src="config.baseUrl_api+'/fs/static/icon/9.png'"/>
考点审核
</view>
<view @click="goPath('/personalVip/order?type=1')">
<image :src="config.baseUrl_api+'/fs/static/icon/6.png'"/>
订单列表
</view>
</view>
<view @click="goPath('/pages/rank/scoreApproval?type=3')">
<uni-badge :text="numData.duanCjCount" class="potag"/>
<image :src="config.baseUrl_api+'/fs/static/icon/19.png'"/>
成绩审核
<view class="ttt">级位管理</view>
<view class="girdBox">
<view @click="goPath('/level/ztx/approval')">
<uni-badge :text="numData.jiCount" class="potag"/>
<image :src="config.baseUrl_api+'/fs/static/icon/2.png'"/>
考试审核
</view>
<view @click="goPath('/level/ztx/mail')">
<image :src="config.baseUrl_api+'/fs/static/icon/3.png'"/>
证书邮寄
</view>
<view @click="goPath('/level/ztx/cert?type=1')">
<image :src="config.baseUrl_api+'/fs/static/icon/18.png'"/>
证书发布
</view>
<view @click="goPath('/personalVip/changeLevelAudit')">
<image :src="config.baseUrl_api+'/fs/static/icon/26.png'"/>
变更审核
</view>
<view @click="goPath('/level/settlementAudit')">
<image :src="config.baseUrl_api+'/fs/static/icon/10.png'"/>
结算审核
</view>
<view @click="goPath('/personalVip/order?type=2')">
<image :src="config.baseUrl_api+'/fs/static/icon/6.png'"/>
订单列表
</view>
</view>
<view @click="goPath('/level/ztx/cert?type=2')">
<image :src="config.baseUrl_api+'/fs/static/icon/20.png'"/>
证书发布
<view class="ttt">段位管理</view>
<view class="girdBox">
<view @click="goPath('/pages/rank/approval?type=2')">
<uni-badge :text="numData.duanCount" class="potag"/>
<image :src="config.baseUrl_api+'/fs/static/icon/19.png'"/>
考试审核
</view>
<view @click="goPath('/pages/rank/scoreApproval?type=3')">
<uni-badge :text="numData.duanCjCount" class="potag"/>
<image :src="config.baseUrl_api+'/fs/static/icon/19.png'"/>
成绩审核
</view>
<view @click="goPath('/level/ztx/cert?type=2')">
<image :src="config.baseUrl_api+'/fs/static/icon/20.png'"/>
证书发布
</view>
<view @click="goPath('/personalVip/order?type=4')">
<image :src="config.baseUrl_api+'/fs/static/icon/6.png'"/>
订单列表
</view>
</view>
<view @click="goPath('/personalVip/order?type=4')">
<image :src="config.baseUrl_api+'/fs/static/icon/6.png'"/>
订单列表
<view class="ttt">越段考试</view>
<view class="girdBox">
<view @click="goPath('/pages/rank/approval?type=4')">
<uni-badge :text="numData.yueduanCount" class="potag"/>
<image :src="config.baseUrl_api+'/fs/static/icon/21.png'"/>
考试审核
</view>
<view @click="goPath('/pages/rank/scoreApproval?type=5')">
<uni-badge :text="numData.yueduanCjCount" class="potag"/>
<image :src="config.baseUrl_api+'/fs/static/icon/22.png'"/>
成绩审核
</view>
<view @click="goPath('/level/ztx/cert?type=3')">
<image :src="config.baseUrl_api+'/fs/static/icon/23.png'"/>
证书发布
</view>
<view @click="goPath('/personalVip/order?type=4')">
<image :src="config.baseUrl_api+'/fs/static/icon/6.png'"/>
订单列表
</view>
</view>
</view>
<view class="ttt">越段考试</view>
<view class="girdBox">
<view @click="goPath('/pages/rank/approval?type=4')">
<uni-badge :text="numData.yueduanCount" class="potag"/>
<image :src="config.baseUrl_api+'/fs/static/icon/21.png'"/>
考试审核
</view>
<view @click="goPath('/pages/rank/scoreApproval?type=5')">
<uni-badge :text="numData.yueduanCjCount" class="potag"/>
<image :src="config.baseUrl_api+'/fs/static/icon/22.png'"/>
成绩审核
</view>
<view @click="goPath('/level/ztx/cert?type=3')">
<image :src="config.baseUrl_api+'/fs/static/icon/23.png'"/>
证书发布
</view>
<view @click="goPath('/personalVip/order?type=4')">
<image :src="config.baseUrl_api+'/fs/static/icon/6.png'"/>
订单列表
<uni-section padding title="通知公告">
<template v-slot:right>
<text class="more" @click="goPath('/pages/index/msgList')">{{ '更多>' }}</text>
</template>
<view class="msglist">
<view v-for="n in newsList" :key="n.id" class="msgitem" @click="goNewsDetail(n)">
<!-- <text class="dot" :class="n.readFlag=='1'?'done':''"></text> -->
<view class="tt esp">{{ n.name }}</view>
<view class="date">{{ n.belongTime }}</view>
</view>
<view v-if="newsList.length==0" class="nodata">
<image :src="config.baseUrl_api + '/fs/static/nodata.png'" mode="aspectFit"></image>
<text>暂无数据</text>
</view>
</view>
</view>
</uni-section>
</view>
<uni-section padding title="通知公告">
<template v-slot:right>
<text class="more" @click="goPath('/pages/index/msgList')">{{ '更多>' }}</text>
</template>
<view class="msglist">
<view v-for="n in newsList" :key="n.id" class="msgitem" @click="goNewsDetail(n)">
<!-- <text class="dot" :class="n.readFlag=='1'?'done':''"></text> -->
<view class="tt esp">{{ n.name }}</view>
<view class="date">{{ n.belongTime }}</view>
</view>
<view v-if="newsList.length==0" class="nodata">
<image :src="config.baseUrl_api + '/fs/static/nodata.png'" mode="aspectFit"></image>
<text>暂无数据</text>
</view>
</view>
</uni-section>
</view>
<!-- 绑定手机号弹框 -->
<uni-popup ref="bindingPhonePopup" type="center" :mask-click="false">
<uni-popup ref="bindingPhonePopup" :mask-click="false" type="center">
<view class="dialog-wrapper">
<view class="dialog-close" @click="closeBindingPhoneDialog"></view>
<view class="dialog-icon">
<uni-icons type="phone" size="48" color="#AD181F"></uni-icons>
<uni-icons color="#AD181F" size="48" type="phone"></uni-icons>
</view>
<view class="dialog-title">绑定手机号</view>
<view class="dialog-content">
<view class="form-item">
<input class="form-input" v-model="bindingForm.phone" placeholder="请输入手机号" maxlength="11" type="number" />
<input v-model="bindingForm.phone" class="form-input" maxlength="11" placeholder="请输入手机号"
type="number"/>
</view>
<view class="form-item captcha-row">
<input class="form-input captcha-input" v-model="bindingForm.captcha" placeholder="图形验证码" maxlength="4" />
<image class="captcha-img" :src="captchaUrl" @click="refreshCaptcha" mode="aspectFit"></image>
<input v-model="bindingForm.captcha" class="form-input captcha-input" maxlength="4"
placeholder="图形验证码"/>
<image :src="captchaUrl" class="captcha-img" mode="aspectFit" @click="refreshCaptcha"></image>
</view>
<view class="form-item captcha-row">
<input class="form-input sms-input" v-model="bindingForm.code" placeholder="短信验证码" maxlength="6" type="number" />
<button class="sms-btn" :disabled="smsCountdown > 0" @click="sendSmsCode">
<input v-model="bindingForm.code" class="form-input sms-input" maxlength="6" placeholder="短信验证码"
type="number"/>
<button :disabled="smsCountdown > 0" class="sms-btn" @click="sendSmsCode">
{{ smsCountdown > 0 ? smsCountdown + 's' : '获取验证码' }}
</button>
</view>
......@@ -518,13 +541,13 @@
</view>
</view>
</uni-popup>
<!-- 申请成为考点弹框 -->
<uni-popup ref="examPointPopup" type="center" :mask-click="false">
<uni-popup ref="examPointPopup" :mask-click="false" type="center">
<view class="dialog-wrapper exam-dialog">
<view class="dialog-close" @click="closeExamPointDialog"></view>
<view class="dialog-icon success-icon">
<uni-icons type="checkmark" size="48" color="#29c490"></uni-icons>
<uni-icons color="#29c490" size="48" type="checkmark"></uni-icons>
</view>
<view class="dialog-title">申请成为考点</view>
<view class="dialog-message">
......@@ -547,6 +570,7 @@
import * as api from '@/common/api.js';
import * as loginServer from '@/common/login.js';
import config from '@/config.js'
import {getInfo} from '@/common/login'
import {
onLoad,
onShow,
......@@ -789,7 +813,7 @@ function init() {
}
})
}
checkDialogs()
uni.hideLoading();
})
......@@ -830,15 +854,15 @@ function sendSmsCode() {
const phone = bindingForm.value.phone
const strTemp = /^1[2|3|4|5|6|7|8|9][0-9]{9}$/
if (!phone) {
uni.showToast({ title: '请输入手机号', icon: 'none' })
uni.showToast({title: '请输入手机号', icon: 'none'})
return
}
if (!strTemp.test(phone)) {
uni.showToast({ title: '请输入正确的手机号', icon: 'none' })
uni.showToast({title: '请输入正确的手机号', icon: 'none'})
return
}
if (!bindingForm.value.captcha) {
uni.showToast({ title: '请输入图形验证码', icon: 'none' })
uni.showToast({title: '请输入图形验证码', icon: 'none'})
return
}
api.getSmsCode({
......@@ -846,7 +870,7 @@ function sendSmsCode() {
telNo: phone,
captcha: bindingForm.value.captcha
}).then(res => {
uni.showToast({ title: '发送成功', icon: 'success' })
uni.showToast({title: '发送成功', icon: 'success'})
smsCountdown.value = 60
smsTimer = setInterval(() => {
smsCountdown.value--
......@@ -865,25 +889,25 @@ function closeBindingPhoneDialog() {
}
async function submitBindingPhone() {
const { phone, captcha, code, uuid } = bindingForm.value
const {phone, captcha, code, uuid} = bindingForm.value
if (!phone) {
uni.showToast({ title: '请输入手机号', icon: 'none' })
uni.showToast({title: '请输入手机号', icon: 'none'})
return
}
if (!captcha) {
uni.showToast({ title: '请输入图形验证码', icon: 'none' })
uni.showToast({title: '请输入图形验证码', icon: 'none'})
return
}
if (!code) {
uni.showToast({ title: '请输入短信验证码', icon: 'none' })
uni.showToast({title: '请输入短信验证码', icon: 'none'})
return
}
try {
await api.editPhone({ phone, captcha, code, uuid })
uni.showToast({ title: '修改成功', icon: 'success' })
await api.editPhone({phone, captcha, code, uuid})
uni.showToast({title: '修改成功', icon: 'success'})
closeBindingPhoneDialog()
setTimeout(() => {
uni.reLaunch({ url: '/pages/index/home' })
uni.reLaunch({url: '/pages/index/home'})
}, 1500)
} catch (e) {
// 错误已由 request.js 处理
......@@ -897,11 +921,12 @@ function closeExamPointDialog() {
function goExamPointApply() {
closeExamPointDialog()
uni.navigateTo({ url: '/myCenter/examPointApplyList' })
uni.navigateTo({url: '/myCenter/examPointApplyList'})
}
async function handleNoDisplay() {
await api.noDisplay()
await getInfo()
closeExamPointDialog()
}
......@@ -909,23 +934,23 @@ async function handleNoDisplay() {
function checkDialogs() {
const user = app.globalData.userInfo || {}
const memberInfoData = app.globalData.memberInfo || {}
// 绑定手机号条件: changePassFlag='1' && activeStatus=1 && authenticationStatus=2 && phonenumber为空 && checkFlag=1
if (app.globalData.changePassFlag === '1' &&
memberInfoData.activeStatus == 1 &&
app.globalData.authenticationStatus == 2 &&
!user.phonenumber &&
user.checkFlag == 1) {
memberInfoData.activeStatus == 1 &&
app.globalData.authenticationStatus == 2 &&
!user.phonenumber &&
user.checkFlag == 1) {
refreshCaptcha()
bindingPhonePopup.value.open()
}
// 申请考点条件: activeStatus=1 && authenticationStatus=2 && hintFlag=1 && deptType=6 && isPoints=1
if (memberInfoData.activeStatus == 1 &&
app.globalData.authenticationStatus == 2 &&
user.hintFlag == 1 &&
app.globalData.deptType == 6 &&
memberInfoData.isPoints == 1) {
app.globalData.authenticationStatus == 2 &&
user.hintFlag == 1 &&
app.globalData.deptType == 6 &&
memberInfoData.isPoints == 1) {
examPointPopup.value.open()
}
}
......@@ -934,9 +959,11 @@ function checkDialogs() {
:deep(.uni-section) {
background-color: transparent !important;
}
.mt-20{
.mt-20 {
margin-top: -20rpx;
}
.page {
width: 100vw;
overflow: hidden;
......@@ -954,11 +981,11 @@ function checkDialogs() {
}
.welcome {
padding: 30rpx ;
padding: 30rpx;
line-height: 48rpx;
font-size: 32rpx;
}
.flexbox {
......@@ -1036,13 +1063,13 @@ function checkDialogs() {
padding: 1rpx 0 0;
border-radius: 20rpx 20rpx 0rpx 0rpx;
box-sizing: border-box;
.girdBox {
top: 0;
padding: 0 0 15rpx;
border-bottom: 20rpx solid #ecf0f6
}
.ttt {
margin: 30rpx 0 20rpx;
padding: 0 20rpx 0;
......@@ -1065,12 +1092,12 @@ function checkDialogs() {
}
.title-border {
width: 10rpx;
height: 34rpx;
background: #FFDEE0;
border-radius: 5rpx;
margin-right: 16rpx;
margin-top: 6rpx;
width: 10rpx;
height: 34rpx;
background: #FFDEE0;
border-radius: 5rpx;
margin-right: 16rpx;
margin-top: 6rpx;
}
.header-bg {
......@@ -1079,37 +1106,37 @@ function checkDialogs() {
color: #fff;
position: relative;
box-sizing: border-box;
.loginOutIcon2 {
position: absolute;
top: 150rpx;
right: 40rpx;
z-index: 10;
.switch-icon {
width: 50rpx;
height: 50rpx;
}
}
.welcome1 {
margin-top: 40rpx;
.sub-title {
font-size: 30rpx;
line-height: 48rpx;
}
}
.unit-member-box {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 24rpx;
margin-top: 40rpx;
.unit-btn {
width: 150rpx;
height: 130rpx;
......@@ -1121,7 +1148,7 @@ function checkDialogs() {
justify-content: center;
color: #1A1A1A;
font-size: 28rpx;
.btn-icon {
width: 50rpx;
height: 50rpx;
......@@ -1130,30 +1157,32 @@ function checkDialogs() {
}
}
}
.section {
padding: 40rpx;
}
.section-title {
font-size: 32rpx;
font-weight: bold;
color: #fff;
margin-bottom: 20rpx;
}
.section-title {
font-size: 32rpx;
font-weight: bold;
color: #fff;
margin-bottom: 20rpx;
}
.personal-section {
.personal-member-box {
display: flex;
justify-content: space-around;
.personal-btn {
display: flex;
flex-direction: column;
align-items: center;
color: #fff;
font-size: 28rpx;
.circle-icon {
width: 100rpx;
height: 100rpx;
......@@ -1168,7 +1197,7 @@ function checkDialogs() {
display: flex;
flex-direction: column;
gap: 20rpx;
.level-item {
height: 90rpx;
border-radius: 45rpx;
......@@ -1178,13 +1207,13 @@ function checkDialogs() {
color: #fff;
font-size: 28rpx;
border: 1rpx solid #fff;
.level-icon {
width: 50rpx;
height: 50rpx;
margin-right: 20rpx;
}
.arrow {
margin-left: auto;
width: 16rpx;
......@@ -1281,6 +1310,7 @@ function checkDialogs() {
border-radius: 16rpx;
padding: 0;
margin: 0;
&::after {
border: none;
}
......@@ -1306,6 +1336,7 @@ function checkDialogs() {
font-weight: 500;
padding: 0;
margin: 0;
&::after {
border: none;
}
......
This diff could not be displayed because it is too large.
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!