道馆页面
Showing
10 changed files
with
319 additions
and
56 deletions
| ... | @@ -3,7 +3,9 @@ | ... | @@ -3,7 +3,9 @@ |
| 3 | "allow": [ | 3 | "allow": [ |
| 4 | "Bash(ls D:/ltt/ztx_wx_gzt/views/*/index.vue)", | 4 | "Bash(ls D:/ltt/ztx_wx_gzt/views/*/index.vue)", |
| 5 | "WebFetch(domain:minimax-algeng-chat-tts.oss-cn-wulanchabu.aliyuncs.com)", | 5 | "WebFetch(domain:minimax-algeng-chat-tts.oss-cn-wulanchabu.aliyuncs.com)", |
| 6 | "Bash(node -c pages/index/perfect.vue)" | 6 | "Bash(node -c pages/index/perfect.vue)", |
| 7 | "Bash(git checkout:*)", | ||
| 8 | "Bash(git restore:*)" | ||
| 7 | ] | 9 | ] |
| 8 | } | 10 | } |
| 9 | } | 11 | } | ... | ... |
| ... | @@ -114,20 +114,16 @@ function getInfo() { | ... | @@ -114,20 +114,16 @@ function getInfo() { |
| 114 | app.globalData.deptType = user.dept.deptType | 114 | app.globalData.deptType = user.dept.deptType |
| 115 | app.globalData.genFlag = user.dept.genFlag | 115 | app.globalData.genFlag = user.dept.genFlag |
| 116 | app.globalData.changePassFlag = user.changePassFlag | 116 | app.globalData.changePassFlag = user.changePassFlag |
| 117 | switch (user.dept.deptType) { | 117 | // deptType: 1=中跆协, 2/3=省, 6=道馆, 其他=市区 |
| 118 | case '1': // 中跆协 | 118 | const deptType = user.dept.deptType |
| 119 | app.globalData.userType = '1' | 119 | if (deptType == '1' || deptType == 1) { |
| 120 | break | 120 | app.globalData.userType = '1' |
| 121 | case '2': // 省 | 121 | } else if (deptType == '2' || deptType == '3' || deptType == 2 || deptType == 3) { |
| 122 | case '3': | 122 | app.globalData.userType = '2' |
| 123 | app.globalData.userType = '2' | 123 | } else if (deptType == '6' || deptType == 6) { |
| 124 | break | 124 | app.globalData.userType = '4' |
| 125 | case '6': // 道馆 | 125 | } else { |
| 126 | app.globalData.userType = '4' | 126 | app.globalData.userType = '3' |
| 127 | break | ||
| 128 | default: // 市、区 | ||
| 129 | app.globalData.userType = '3' | ||
| 130 | break | ||
| 131 | } | 127 | } |
| 132 | }) | 128 | }) |
| 133 | } | 129 | } | ... | ... |
| ... | @@ -25,6 +25,7 @@ page { | ... | @@ -25,6 +25,7 @@ page { |
| 25 | .w100{width: 100%!important;} | 25 | .w100{width: 100%!important;} |
| 26 | .mt0{margin-top: 0 !important;} | 26 | .mt0{margin-top: 0 !important;} |
| 27 | .mt10{margin-top: 10rpx !important;} | 27 | .mt10{margin-top: 10rpx !important;} |
| 28 | .ml10{margin-left: 10rpx !important;} | ||
| 28 | .mt20{margin-top: 20px !important;} | 29 | .mt20{margin-top: 20px !important;} |
| 29 | .must{color: #AD181F;font-size: 24rpx;} | 30 | .must{color: #AD181F;font-size: 24rpx;} |
| 30 | .vipData .w50{width: 45%;} | 31 | .vipData .w50{width: 45%;} | ... | ... |
| ... | @@ -11,7 +11,7 @@ | ... | @@ -11,7 +11,7 @@ |
| 11 | <view class="stat-value">{{ form.allFee || '0.00' }}<text class="stat-unit">元</text></view> | 11 | <view class="stat-value">{{ form.allFee || '0.00' }}<text class="stat-unit">元</text></view> |
| 12 | </view> | 12 | </view> |
| 13 | <view class="stat-card"> | 13 | <view class="stat-card"> |
| 14 | <view class="stat-label">结算费用</view> | 14 | <view class="stat-label">服务费用</view> |
| 15 | <view class="stat-value text-red">{{ form.fee || '0.00' }}<text class="stat-unit">元</text></view> | 15 | <view class="stat-value text-red">{{ form.fee || '0.00' }}<text class="stat-unit">元</text></view> |
| 16 | </view> | 16 | </view> |
| 17 | </view> | 17 | </view> | ... | ... |
| 1 | <template> | 1 | <template> |
| 2 | <view class="role-entry-page"> | 2 | <view class="role-entry-page"> |
| 3 | <!-- 全屏背景图 --> | 3 | <!-- 全屏背景图 --> |
| 4 | <image :src="config.loginImage_api + '/fs/static/bg.png'" class="page-bg" mode="aspectFill"></image> | 4 | <image :src="config.loginImage_api + '/fs/static/dg/bg@3x.png'" class="page-bg" mode="aspectFill"></image> |
| 5 | 5 | ||
| 6 | <!-- 顶部 Logo 区域 --> | 6 | <!-- 顶部 Logo 区域 --> |
| 7 | <view class="header-wrapper"> | 7 | <view class="header-wrapper"> |
| 8 | <view class="logo-box"> | 8 | <view class="logo-box"> |
| 9 | <image :src="config.loginImage_api + '/fs/static/wx_logo.png'" class="logo" mode="aspectFit"></image> | 9 | <image :src="config.loginImage_api + '/fs/static/dg/ztx_b.svg'" class="logo" mode="aspectFit"></image> |
| 10 | </view> | 10 | </view> |
| 11 | </view> | 11 | </view> |
| 12 | 12 | ||
| 13 | <!-- 功能按钮区域 --> | 13 | <!-- 功能按钮区域 --> |
| 14 | <view class="btn-container"> | 14 | <view class="btn-container"> |
| 15 | <view @click="goToPage('/personal/addVip_per')"> | 15 | <view @click="goToPage('/personal/addVip_per')"> |
| 16 | <image :src="config.loginImage_api + '/fs/static/btn01.png'" class="btn-item"></image> | 16 | <image :src="config.loginImage_api + '/fs/static/dg/btn01@3x.png'" class="btn-item"></image> |
| 17 | </view> | 17 | </view> |
| 18 | <view @click="goToPage('/personal/home')"> | 18 | <view @click="goToPage('/personal/home')"> |
| 19 | <image :src="config.loginImage_api + '/fs/static/btn02.png'" class="btn-item"></image> | 19 | <image :src="config.loginImage_api + '/fs/static/dg/btn02@3x.png'" class="btn-item"></image> |
| 20 | </view> | 20 | </view> |
| 21 | <view @click="goToPage('/login/loginC')"> | 21 | <view @click="goToPage('/login/loginC')"> |
| 22 | <image :src="config.loginImage_api + '/fs/static/btn03.png'" class="btn-item"></image> | 22 | <image :src="config.loginImage_api + '/fs/static/dg/btn03@3x.png'" class="btn-item"></image> |
| 23 | </view> | 23 | </view> |
| 24 | </view> | 24 | </view> |
| 25 | 25 | ||
| ... | @@ -61,18 +61,22 @@ const goToPage = (url) => { | ... | @@ -61,18 +61,22 @@ const goToPage = (url) => { |
| 61 | 61 | ||
| 62 | .header-wrapper { | 62 | .header-wrapper { |
| 63 | text-align: center; | 63 | text-align: center; |
| 64 | padding: 40rpx 0; | 64 | // padding: 40rpx 0; |
| 65 | border-radius: 16rpx; | 65 | border-radius: 16rpx; |
| 66 | margin-bottom: 40rpx; | 66 | margin-top: 100rpx; |
| 67 | } | 67 | } |
| 68 | 68 | ||
| 69 | .btn-container { | 69 | .btn-container { |
| 70 | display: flex; | 70 | display: flex; |
| 71 | justify-content: space-between; | 71 | flex-direction: column; |
| 72 | padding: 0 40rpx; | 72 | align-items: center; |
| 73 | 73 | margin: 0 auto; | |
| 74 | |||
| 74 | img, image { | 75 | img, image { |
| 75 | width: 90px; | 76 | width: 509rpx; |
| 77 | height: 117rpx; | ||
| 78 | margin: 40rpx 0; | ||
| 79 | |||
| 76 | } | 80 | } |
| 77 | } | 81 | } |
| 78 | 82 | ... | ... |
| ... | @@ -92,12 +92,12 @@ | ... | @@ -92,12 +92,12 @@ |
| 92 | <view class="popup-content"> | 92 | <view class="popup-content"> |
| 93 | <view class="popup-text">尊敬的用户,您好!</view> | 93 | <view class="popup-text">尊敬的用户,您好!</view> |
| 94 | <view class="popup-text">在开始注册团体会员前,请您提前准备好以下材料,以便顺利完成申请:</view> | 94 | <view class="popup-text">在开始注册团体会员前,请您提前准备好以下材料,以便顺利完成申请:</view> |
| 95 | <view class="popup-item">1. 单位营业执照</view> | 95 | <view class="popup-item"><text class="popup-num ml10">1.</text>单位营业执照</view> |
| 96 | <view class="popup-desc">请提供清晰的营业执照原件照片或扫描件(加盖公章更佳)</view> | 96 | <view class="popup-desc">请提供清晰的营业执照原件照片或扫描件(加盖公章更佳)</view> |
| 97 | <view class="popup-item">2. 法人身份证正反面照片</view> | 97 | <view class="popup-item"><text class="popup-tip">! </text><text class="popup-num"> 2.</text>法人身份证正反面照片</view> |
| 98 | <view class="popup-desc">请分别上传身份证正面及反面清晰照片</view> | 98 | <view class="popup-desc">请分别上传身份证正面及反面清晰照片</view> |
| 99 | <view class="popup-desc">确保信息完整、无遮挡、无模糊</view> | 99 | <view class="popup-desc">确保信息完整、无遮挡、无模糊</view> |
| 100 | <view class="popup-item">3. 机构照片</view> | 100 | <view class="popup-item"><text class="popup-num ml10">3.</text>机构照片</view> |
| 101 | <view class="popup-desc">请提供体现单位实际经营或办公环境的照片1-2张</view> | 101 | <view class="popup-desc">请提供体现单位实际经营或办公环境的照片1-2张</view> |
| 102 | <view class="popup-desc">如门头、办公场所、活动场地等(能展示机构真实存在即可)</view> | 102 | <view class="popup-desc">如门头、办公场所、活动场地等(能展示机构真实存在即可)</view> |
| 103 | </view> | 103 | </view> |
| ... | @@ -609,6 +609,13 @@ function call(num) { | ... | @@ -609,6 +609,13 @@ function call(num) { |
| 609 | margin-bottom: 10rpx; | 609 | margin-bottom: 10rpx; |
| 610 | } | 610 | } |
| 611 | 611 | ||
| 612 | .popup-tip { | ||
| 613 | color: #C4121B; | ||
| 614 | font-weight: bold; | ||
| 615 | font-size: 32rpx; | ||
| 616 | width: 6rpx; | ||
| 617 | } | ||
| 618 | |||
| 612 | .popup-desc { | 619 | .popup-desc { |
| 613 | font-size: 24rpx; | 620 | font-size: 24rpx; |
| 614 | color: #888; | 621 | color: #888; | ... | ... |
| 1 | <template> | 1 | <template> |
| 2 | <view v-if="isInit" class="page"> | 2 | <view v-if="isInit" class="page"> |
| 3 | <!-- ==================== 道馆用户显示 ==================== --> | ||
| 4 | <view v-if="isDaoGuan" class="dao-guan-page"> | ||
| 5 | <image :src="config.loginImage_api + '/fs/static/dg/home_bg.png'" class="bg-image" mode="aspectFill"></image> | ||
| 6 | <view class="header-bg"> | ||
| 7 | <view class="loginOutIcon2" @click="goPath('/myCenter/index')"> | ||
| 8 | <image :src="config.loginImage_api + '/fs/static/dg/icon01@3x.png'" class="switch-icon"></image> | ||
| 9 | </view> | ||
| 10 | <view class="welcome1" @click="goPath('/myCenter/index')"> | ||
| 11 | <view class="flex f-a-c"> | ||
| 12 | <!-- <view> --> | ||
| 13 | <text class="title-border"></text> | ||
| 14 | <text class="section-title">单位会员</text> | ||
| 15 | <!-- </view> --> | ||
| 16 | <!-- <image :src="config.loginImage_api + '/fs/static/dg/icon013@x.png'" class="switch-icon"></image> --> | ||
| 17 | </view> | ||
| 18 | <view class="sub-title"> | ||
| 19 | <view class="mt10">会员名称 会员所属道馆</view> | ||
| 20 | <view class="mt10">欢迎使用中跆协会员管理系统!</view> | ||
| 21 | </view> | ||
| 22 | </view> | ||
| 23 | <view class="unit-member-box"> | ||
| 24 | <view class="unit-btn" @click="goPath('/myCenter/auth')"> | ||
| 25 | <image :src="config.loginImage_api + '/fs/static/dg/icon02@3x.png'" class="btn-icon"></image><text>基本信息</text> | ||
| 26 | </view> | ||
| 27 | <view class="unit-btn" @click="goPath('/personalVip/payment')"> | ||
| 28 | <image :src="config.loginImage_api + '/fs/static/dg/icon03@3x.png'" class="btn-icon"></image><text>认证缴费</text> | ||
| 29 | </view> | ||
| 30 | <view class="unit-btn" @click="goPath('/myCenter/reviewList')"> | ||
| 31 | <image :src="config.loginImage_api + '/fs/static/dg/icon04@3x.png'" class="btn-icon"></image><text>认证详情</text> | ||
| 32 | </view> | ||
| 33 | <view class="unit-btn " @click="goPath('/myCenter/examPointApplyList')"> | ||
| 34 | <image :src="config.loginImage_api + '/fs/static/dg/icon05@3x.png'" class="btn-icon"></image><text>考点申请</text> | ||
| 35 | </view> | ||
| 36 | <!-- <view class="unit-btn mt-20" @click="goPath('/myCenter/examPointApplyList')"> | ||
| 37 | <image :src="config.loginImage_api + '/fs/static/dg/icon06@3x.png'" class="btn-icon"></image><text>考点详情</text> | ||
| 38 | </view> --> | ||
| 39 | <!-- <view class="unit-btn unit-btn-right" @click="switchAccount"> | ||
| 40 | <image :src="config.loginImage_api + '/fs/static/dg/icon01@3x.png'" class="btn-icon"></image><text>切换账号</text> | ||
| 41 | </view> --> | ||
| 42 | </view> | ||
| 43 | </view> | ||
| 44 | <view class="section personal-section"> | ||
| 45 | <view class="flex f-a-c"><text class="title-border"></text> | ||
| 46 | <text class="section-title">个人会员</text></view> | ||
| 47 | <view class="personal-member-box"> | ||
| 48 | <view class="personal-btn" @click="goPath('/personalVip/addVip')"> | ||
| 49 | <image :src="config.loginImage_api + '/fs/static/dg/home_btn01@3x.png'" class="circle-icon"></image><text>添加会员</text> | ||
| 50 | </view> | ||
| 51 | <view class="personal-btn" @click="goPath('/personalVip/payment')"> | ||
| 52 | <image :src="config.loginImage_api + '/fs/static/dg/home_btn02@3x.png'" class="circle-icon"></image><text>会员缴费</text> | ||
| 53 | </view> | ||
| 54 | <view class="personal-btn" @click="goPath('/personalVip/list')"> | ||
| 55 | <image :src="config.loginImage_api + '/fs/static/dg/home_btn03@3x.png'" class="circle-icon"></image><text>会员查询</text> | ||
| 56 | </view> | ||
| 57 | <view class="personal-btn" @click="goPath('/personalVip/mobilize')"> | ||
| 58 | <image :src="config.loginImage_api + '/fs/static/dg/btn04@3x.png'" class="circle-icon"></image><text>会员调动</text> | ||
| 59 | </view> | ||
| 60 | </view> | ||
| 61 | </view> | ||
| 62 | <view class="section level-section"> | ||
| 63 | <view class="flex f-a-c"><text class="title-border"></text> | ||
| 64 | <text class="section-title">级位管理</text></view> | ||
| 65 | <view class="level-list"> | ||
| 66 | <view class="level-item" @click="goPath('/level/apply')"> | ||
| 67 | <image :src="config.loginImage_api + '/fs/static/dg/icon07@3x.png'" class="level-icon"></image><text>级位考试</text><view class="arrow"></view> | ||
| 68 | </view> | ||
| 69 | <view class="level-item" @click="goPath('/personalVip/changeLevel')"> | ||
| 70 | <image :src="config.loginImage_api + '/fs/static/dg/icon08@3x.png'" class="level-icon"></image><text>级位变更</text><view class="arrow"></view> | ||
| 71 | </view> | ||
| 72 | <view class="level-item" @click="goPath('/pages/index/msgList')"> | ||
| 73 | <image :src="config.loginImage_api + '/fs/static/dg/icon09@3x.png'" class="level-icon"></image><text>通知公告</text><view class="arrow"></view> | ||
| 74 | </view> | ||
| 75 | <view class="level-item" @click="goPath('/myCenter/order?type=2')"> | ||
| 76 | <image :src="config.loginImage_api + '/fs/static/dg/icon10@3x.png'" class="level-icon"></image><text>我的订单</text><view class="arrow"></view> | ||
| 77 | </view> | ||
| 78 | </view> | ||
| 79 | </view> | ||
| 80 | </view> | ||
| 81 | |||
| 82 | <!-- ==================== 非道馆用户显示原有内容 ==================== --> | ||
| 83 | <view v-else> | ||
| 3 | <view class="bgbg"> | 84 | <view class="bgbg"> |
| 4 | <view class="loginOutIcon" @click="loginOut"> | 85 | <view class="loginOutIcon" @click="loginOut"> |
| 5 | <image :src="config.baseUrl_api + '/fs/static/switch.png'"></image> | 86 | <image :src="config.baseUrl_api + '/fs/static/switch.png'"></image> |
| ... | @@ -406,6 +487,7 @@ | ... | @@ -406,6 +487,7 @@ |
| 406 | </view> | 487 | </view> |
| 407 | </view> | 488 | </view> |
| 408 | </uni-section> | 489 | </uni-section> |
| 490 | </view> | ||
| 409 | </view> | 491 | </view> |
| 410 | </template> | 492 | </template> |
| 411 | 493 | ||
| ... | @@ -423,6 +505,7 @@ import {imag1, imag2, imag3, imag4, imag5, imag6} from '@/pages/index/image' | ... | @@ -423,6 +505,7 @@ import {imag1, imag2, imag3, imag4, imag5, imag6} from '@/pages/index/image' |
| 423 | 505 | ||
| 424 | import { | 506 | import { |
| 425 | ref, | 507 | ref, |
| 508 | computed, | ||
| 426 | getCurrentInstance | 509 | getCurrentInstance |
| 427 | } from 'vue'; | 510 | } from 'vue'; |
| 428 | 511 | ||
| ... | @@ -438,6 +521,11 @@ let proId; | ... | @@ -438,6 +521,11 @@ let proId; |
| 438 | const svId = ref(null); | 521 | const svId = ref(null); |
| 439 | const numData = ref({}); | 522 | const numData = ref({}); |
| 440 | 523 | ||
| 524 | // 是否是道馆用户 | ||
| 525 | const isDaoGuan = computed(() => { | ||
| 526 | return userType.value == '4' || app.globalData.deptType == '6' | ||
| 527 | }) | ||
| 528 | |||
| 441 | const messageList = ref([]) | 529 | const messageList = ref([]) |
| 442 | const newsList = ref([]) | 530 | const newsList = ref([]) |
| 443 | const isInit = ref(false) | 531 | const isInit = ref(false) |
| ... | @@ -490,6 +578,21 @@ onLoad(option => { | ... | @@ -490,6 +578,21 @@ onLoad(option => { |
| 490 | }); | 578 | }); |
| 491 | 579 | ||
| 492 | 580 | ||
| 581 | // 切换账号 | ||
| 582 | function switchAccount() { | ||
| 583 | uni.showModal({ | ||
| 584 | title: '提示', | ||
| 585 | content: '确定要切换账号吗?', | ||
| 586 | success: function (res) { | ||
| 587 | if (res.confirm) { | ||
| 588 | uni.reLaunch({ | ||
| 589 | url: '/login/login' | ||
| 590 | }); | ||
| 591 | } | ||
| 592 | } | ||
| 593 | }) | ||
| 594 | } | ||
| 595 | |||
| 493 | function loginOut() { | 596 | function loginOut() { |
| 494 | uni.showModal({ | 597 | uni.showModal({ |
| 495 | content: `确认退出吗?`, | 598 | content: `确认退出吗?`, |
| ... | @@ -654,7 +757,9 @@ function goNewsDetail(n) { | ... | @@ -654,7 +757,9 @@ function goNewsDetail(n) { |
| 654 | :deep(.uni-section) { | 757 | :deep(.uni-section) { |
| 655 | background-color: transparent !important; | 758 | background-color: transparent !important; |
| 656 | } | 759 | } |
| 657 | 760 | .mt-20{ | |
| 761 | margin-top: -20rpx; | ||
| 762 | } | ||
| 658 | .page { | 763 | .page { |
| 659 | width: 100vw; | 764 | width: 100vw; |
| 660 | overflow: hidden; | 765 | overflow: hidden; |
| ... | @@ -672,13 +777,11 @@ function goNewsDetail(n) { | ... | @@ -672,13 +777,11 @@ function goNewsDetail(n) { |
| 672 | } | 777 | } |
| 673 | 778 | ||
| 674 | .welcome { | 779 | .welcome { |
| 675 | padding: 30rpx 55rpx; | 780 | padding: 30rpx ; |
| 676 | line-height: 48rpx; | 781 | line-height: 48rpx; |
| 677 | font-size: 30rpx; | 782 | font-size: 32rpx; |
| 678 | 783 | ||
| 679 | text { | 784 | |
| 680 | font-size: 28rpx; | ||
| 681 | } | ||
| 682 | } | 785 | } |
| 683 | 786 | ||
| 684 | .flexbox { | 787 | .flexbox { |
| ... | @@ -756,17 +859,165 @@ function goNewsDetail(n) { | ... | @@ -756,17 +859,165 @@ function goNewsDetail(n) { |
| 756 | padding: 1rpx 0 0; | 859 | padding: 1rpx 0 0; |
| 757 | border-radius: 20rpx 20rpx 0rpx 0rpx; | 860 | border-radius: 20rpx 20rpx 0rpx 0rpx; |
| 758 | box-sizing: border-box; | 861 | box-sizing: border-box; |
| 759 | 862 | ||
| 760 | .girdBox { | 863 | .girdBox { |
| 761 | top: 0; | 864 | top: 0; |
| 762 | padding: 0 0 15rpx; | 865 | padding: 0 0 15rpx; |
| 763 | border-bottom: 20rpx solid #ecf0f6 | 866 | border-bottom: 20rpx solid #ecf0f6 |
| 764 | } | 867 | } |
| 765 | 868 | ||
| 766 | .ttt { | 869 | .ttt { |
| 767 | margin: 30rpx 0 20rpx; | 870 | margin: 30rpx 0 20rpx; |
| 768 | padding: 0 20rpx 0; | 871 | padding: 0 20rpx 0; |
| 769 | } | 872 | } |
| 770 | } | 873 | } |
| 874 | |||
| 875 | /* ==================== 道馆用户样式 ==================== */ | ||
| 876 | .dao-guan-page { | ||
| 877 | min-height: 100vh; | ||
| 878 | position: relative; | ||
| 879 | } | ||
| 880 | |||
| 881 | .bg-image { | ||
| 882 | position: fixed; | ||
| 883 | top: 0; | ||
| 884 | left: 0; | ||
| 885 | width: 100%; | ||
| 886 | height: 100%; | ||
| 887 | z-index: -1; | ||
| 888 | } | ||
| 889 | |||
| 890 | .title-border { | ||
| 891 | width: 10rpx; | ||
| 892 | height: 34rpx; | ||
| 893 | background: #FFDEE0; | ||
| 894 | border-radius: 5rpx; | ||
| 895 | margin-right: 16rpx; | ||
| 896 | margin-top: 6rpx; | ||
| 897 | } | ||
| 898 | |||
| 899 | .header-bg { | ||
| 900 | width: 100%; | ||
| 901 | padding: 60rpx 40rpx 40rpx; | ||
| 902 | color: #fff; | ||
| 903 | position: relative; | ||
| 904 | box-sizing: border-box; | ||
| 905 | |||
| 906 | .loginOutIcon2 { | ||
| 907 | position: absolute; | ||
| 908 | top: 150rpx; | ||
| 909 | right: 40rpx; | ||
| 910 | z-index: 10; | ||
| 911 | |||
| 912 | .switch-icon { | ||
| 913 | width: 50rpx; | ||
| 914 | height: 50rpx; | ||
| 915 | } | ||
| 916 | } | ||
| 917 | |||
| 918 | .welcome1 { | ||
| 919 | margin-top: 40rpx; | ||
| 920 | |||
| 921 | |||
| 922 | .sub-title { | ||
| 923 | font-size: 30rpx; | ||
| 924 | line-height: 48rpx; | ||
| 925 | } | ||
| 926 | } | ||
| 927 | |||
| 928 | |||
| 929 | .unit-member-box { | ||
| 930 | display: flex; | ||
| 931 | flex-wrap: wrap; | ||
| 932 | justify-content: center; | ||
| 933 | gap: 24rpx; | ||
| 934 | margin-top: 40rpx; | ||
| 935 | |||
| 936 | .unit-btn { | ||
| 937 | width: 150rpx; | ||
| 938 | height: 130rpx; | ||
| 939 | background-color: #fff; | ||
| 940 | border-radius: 20rpx; | ||
| 941 | display: flex; | ||
| 942 | flex-direction: column; | ||
| 943 | align-items: center; | ||
| 944 | justify-content: center; | ||
| 945 | color: #1A1A1A; | ||
| 946 | font-size: 28rpx; | ||
| 947 | |||
| 948 | .btn-icon { | ||
| 949 | width: 50rpx; | ||
| 950 | height: 50rpx; | ||
| 951 | margin-bottom: 8rpx; | ||
| 952 | } | ||
| 953 | } | ||
| 954 | } | ||
| 955 | } | ||
| 956 | |||
| 957 | .section { | ||
| 958 | padding: 40rpx; | ||
| 959 | |||
| 960 | |||
| 961 | } | ||
| 962 | .section-title { | ||
| 963 | font-size: 32rpx; | ||
| 964 | font-weight: bold; | ||
| 965 | color: #fff; | ||
| 966 | margin-bottom: 20rpx; | ||
| 967 | } | ||
| 968 | .personal-section { | ||
| 969 | .personal-member-box { | ||
| 970 | display: flex; | ||
| 971 | justify-content: space-around; | ||
| 972 | |||
| 973 | .personal-btn { | ||
| 974 | display: flex; | ||
| 975 | flex-direction: column; | ||
| 976 | align-items: center; | ||
| 977 | color: #fff; | ||
| 978 | font-size: 28rpx; | ||
| 979 | |||
| 980 | .circle-icon { | ||
| 981 | width: 100rpx; | ||
| 982 | height: 100rpx; | ||
| 983 | margin-bottom: 12rpx; | ||
| 984 | } | ||
| 985 | } | ||
| 986 | } | ||
| 987 | } | ||
| 988 | |||
| 989 | .level-section { | ||
| 990 | .level-list { | ||
| 991 | display: flex; | ||
| 992 | flex-direction: column; | ||
| 993 | gap: 20rpx; | ||
| 994 | |||
| 995 | .level-item { | ||
| 996 | height: 90rpx; | ||
| 997 | border-radius: 45rpx; | ||
| 998 | display: flex; | ||
| 999 | align-items: center; | ||
| 1000 | padding: 0 30rpx; | ||
| 1001 | color: #fff; | ||
| 1002 | font-size: 28rpx; | ||
| 1003 | border: 1rpx solid #fff; | ||
| 1004 | |||
| 1005 | .level-icon { | ||
| 1006 | width: 50rpx; | ||
| 1007 | height: 50rpx; | ||
| 1008 | margin-right: 20rpx; | ||
| 1009 | } | ||
| 1010 | |||
| 1011 | .arrow { | ||
| 1012 | margin-left: auto; | ||
| 1013 | width: 16rpx; | ||
| 1014 | height: 16rpx; | ||
| 1015 | border-top: 2rpx solid #fff; | ||
| 1016 | border-right: 2rpx solid #fff; | ||
| 1017 | transform: rotate(45deg); | ||
| 1018 | } | ||
| 1019 | } | ||
| 1020 | } | ||
| 1021 | } | ||
| 771 | </style> | 1022 | </style> |
| 772 | 1023 | ... | ... |
| ... | @@ -17,7 +17,7 @@ | ... | @@ -17,7 +17,7 @@ |
| 17 | <view class="step-text">审核详情</view> | 17 | <view class="step-text">审核详情</view> |
| 18 | </view> | 18 | </view> |
| 19 | </view> | 19 | </view> |
| 20 | <view class="tips-box"> | 20 | <!-- <view class="tips-box"> |
| 21 | <view class="tips-title">注意</view> | 21 | <view class="tips-title">注意</view> |
| 22 | <view class="tips-content"> | 22 | <view class="tips-content"> |
| 23 | <view class="tips-line">尊敬的用户,您好!</view> | 23 | <view class="tips-line">尊敬的用户,您好!</view> |
| ... | @@ -31,7 +31,7 @@ | ... | @@ -31,7 +31,7 @@ |
| 31 | <view class="tips-desc">请提供体现单位实际经营或办公环境的照片1-2张</view> | 31 | <view class="tips-desc">请提供体现单位实际经营或办公环境的照片1-2张</view> |
| 32 | <view class="tips-desc">如门头、办公场所、活动场地等(能展示机构真实存在即可)</view> | 32 | <view class="tips-desc">如门头、办公场所、活动场地等(能展示机构真实存在即可)</view> |
| 33 | </view> | 33 | </view> |
| 34 | </view> | 34 | </view> --> |
| 35 | 35 | ||
| 36 | <view class="page-content" style="padding: 0rpx 30rpx 30rpx;"> | 36 | <view class="page-content" style="padding: 0rpx 30rpx 30rpx;"> |
| 37 | <!-- 步骤1:完善信息 --> | 37 | <!-- 步骤1:完善信息 --> |
| ... | @@ -467,8 +467,8 @@ | ... | @@ -467,8 +467,8 @@ |
| 467 | 467 | ||
| 468 | // 审核状态样式 | 468 | // 审核状态样式 |
| 469 | function getAuditStatusClass(status) { | 469 | function getAuditStatusClass(status) { |
| 470 | if (status === 1) return 'status-pass' | 470 | if (status == 1) return 'status-pass' |
| 471 | if (status === 2) return 'status-reject' | 471 | if (status == 2) return 'status-reject' |
| 472 | return 'status-pending' | 472 | return 'status-pending' |
| 473 | } | 473 | } |
| 474 | 474 | ... | ... |
| ... | @@ -263,15 +263,17 @@ const showConfirm = ref(false) | ... | @@ -263,15 +263,17 @@ const showConfirm = ref(false) |
| 263 | } | 263 | } |
| 264 | }) | 264 | }) |
| 265 | 265 | ||
| 266 | watch(() => perInfo.value?.perCode, (val) => { | 266 | // 标记是否已经弹出过绑定框(避免重复弹出) |
| 267 | if (val === undefined || val === null || val === '') { | 267 | let hasOpenedBindPopup = false |
| 268 | |||
| 269 | watch(() => perInfo.value, (newVal, oldVal) => { | ||
| 270 | console.log(444, newVal?.perCode) | ||
| 271 | |||
| 272 | // 只有当 perInfo 数据存在且 perCode 为空时才弹出 | ||
| 273 | if (newVal && !newVal.perCode && !hasOpenedBindPopup) { | ||
| 274 | hasOpenedBindPopup = true | ||
| 268 | nextTick(() => { | 275 | nextTick(() => { |
| 269 | // 延迟检查,确保数据已完全同步 | 276 | openBindPopup() |
| 270 | setTimeout(() => { | ||
| 271 | if (!isBound.value) { | ||
| 272 | openBindPopup() | ||
| 273 | } | ||
| 274 | }, 500) | ||
| 275 | }) | 277 | }) |
| 276 | } | 278 | } |
| 277 | }, { | 279 | }, { |
| ... | @@ -623,19 +625,22 @@ const showConfirm = ref(false) | ... | @@ -623,19 +625,22 @@ const showConfirm = ref(false) |
| 623 | .card-btns { | 625 | .card-btns { |
| 624 | position: absolute; | 626 | position: absolute; |
| 625 | right: 30rpx; | 627 | right: 30rpx; |
| 626 | bottom: 73rpx; | 628 | bottom: 80rpx; |
| 627 | z-index: 10; | 629 | z-index: 10; |
| 628 | display: flex; | 630 | display: flex; |
| 629 | gap: 16rpx; | 631 | gap: 16rpx; |
| 630 | } | 632 | } |
| 631 | 633 | ||
| 632 | .card-btn { | 634 | .card-btn { |
| 633 | // background: rgba(255, 255, 255, 0.9); | 635 | background: rgba(255, 255, 255, 0.9); |
| 634 | border-radius: 30rpx; | 636 | border-radius: 30rpx; |
| 635 | padding: 12rpx 20rpx; | 637 | padding: 0rpx 20rpx; |
| 638 | padding-bottom: 5rpx; | ||
| 636 | } | 639 | } |
| 637 | 640 | ||
| 638 | .card-btn text { | 641 | .card-btn text { |
| 642 | height: 24rpx; | ||
| 643 | line-height: 24rpx; | ||
| 639 | font-size: 24rpx; | 644 | font-size: 24rpx; |
| 640 | color: #C40F18; | 645 | color: #C40F18; |
| 641 | } | 646 | } | ... | ... |
| ... | @@ -261,9 +261,6 @@ function previewImage(url) { | ... | @@ -261,9 +261,6 @@ function previewImage(url) { |
| 261 | margin-bottom: 20rpx; | 261 | margin-bottom: 20rpx; |
| 262 | } | 262 | } |
| 263 | 263 | ||
| 264 | .list-item.success-row { | ||
| 265 | border-left: 6rpx solid #19be6b; | ||
| 266 | } | ||
| 267 | 264 | ||
| 268 | .item-header { | 265 | .item-header { |
| 269 | display: flex; | 266 | display: flex; | ... | ... |
-
Please register or sign in to post a comment