首页调整
Showing
2 changed files
with
15 additions
and
13 deletions
| 1 | <template> | 1 | <template> |
| 2 | <view class="exam-point-list"> | 2 | <view class="exam-point-list"> |
| 3 | <!-- 顶部申请按钮 --> | 3 | <!-- 顶部申请按钮 --> |
| 4 | <view class="apply-btn-box"> | 4 | <view v-if="status==0" class="apply-btn-box"> |
| 5 | <button :disabled="memberInfo.isPoints==0||formInfo.auditStatus==2||formInfo.auditStatus==1" class="apply-btn" | 5 | <button :disabled="memberInfo.isPoints==0||formInfo.auditStatus==2||formInfo.auditStatus==1" class="apply-btn" |
| 6 | @click="goApply">申请考点 | 6 | @click="goApply">申请考点 |
| 7 | </button> | 7 | </button> |
| ... | @@ -63,12 +63,13 @@ const pageNum = ref(1) | ... | @@ -63,12 +63,13 @@ const pageNum = ref(1) |
| 63 | const pageSize = ref(10) | 63 | const pageSize = ref(10) |
| 64 | const memberInfo = app.globalData.memberInfo | 64 | const memberInfo = app.globalData.memberInfo |
| 65 | const formInfo = ref({}) | 65 | const formInfo = ref({}) |
| 66 | 66 | const status = ref(0) | |
| 67 | onShow(() => { | 67 | onShow(() => { |
| 68 | loadData() | 68 | loadData() |
| 69 | }) | 69 | }) |
| 70 | 70 | ||
| 71 | onLoad(() => { | 71 | onLoad((option) => { |
| 72 | status.value = option.status ?? 0 | ||
| 72 | loadData() | 73 | loadData() |
| 73 | }) | 74 | }) |
| 74 | 75 | ... | ... |
| ... | @@ -21,10 +21,10 @@ | ... | @@ -21,10 +21,10 @@ |
| 21 | </view> | 21 | </view> |
| 22 | </view> | 22 | </view> |
| 23 | <view class="unit-member-box"> | 23 | <view class="unit-member-box"> |
| 24 | <view class="unit-btn" @click="goPath('/myCenter/auth')"> | 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> | 25 | <!-- <image :src="config.loginImage_api + '/fs/static/dg/icon02@3x.png'" class="btn-icon"></image>--> |
| 26 | <text>基本信息</text> | 26 | <!-- <text>基本信息</text>--> |
| 27 | </view> | 27 | <!-- </view>--> |
| 28 | <view class="unit-btn" @click="goPath('/myCenter/perfect')"> | 28 | <view class="unit-btn" @click="goPath('/myCenter/perfect')"> |
| 29 | <image :src="config.loginImage_api + '/fs/static/dg/icon03@3x.png'" class="btn-icon"></image> | 29 | <image :src="config.loginImage_api + '/fs/static/dg/icon03@3x.png'" class="btn-icon"></image> |
| 30 | <text>认证缴费</text> | 30 | <text>认证缴费</text> |
| ... | @@ -37,9 +37,10 @@ | ... | @@ -37,9 +37,10 @@ |
| 37 | <image :src="config.loginImage_api + '/fs/static/dg/icon05@3x.png'" class="btn-icon"></image> | 37 | <image :src="config.loginImage_api + '/fs/static/dg/icon05@3x.png'" class="btn-icon"></image> |
| 38 | <text>考点申请</text> | 38 | <text>考点申请</text> |
| 39 | </view> | 39 | </view> |
| 40 | <!-- <view class="unit-btn mt-20" @click="goPath('/myCenter/examPointApplyList')"> | 40 | <view class="unit-btn" @click="goPath(`/myCenter/examPointApplyList?status=1}`)"> |
| 41 | <image :src="config.loginImage_api + '/fs/static/dg/icon06@3x.png'" class="btn-icon"></image><text>考点详情</text> | 41 | <image :src="config.loginImage_api + '/fs/static/dg/icon06@3x.png'" class="btn-icon"></image> |
| 42 | </view> --> | 42 | <text>考点详情</text> |
| 43 | </view> | ||
| 43 | <!-- <view class="unit-btn unit-btn-right" @click="switchAccount"> | 44 | <!-- <view class="unit-btn unit-btn-right" @click="switchAccount"> |
| 44 | <image :src="config.loginImage_api + '/fs/static/dg/icon01@3x.png'" class="btn-icon"></image><text>切换账号</text> | 45 | <image :src="config.loginImage_api + '/fs/static/dg/icon01@3x.png'" class="btn-icon"></image><text>切换账号</text> |
| 45 | </view> --> | 46 | </view> --> |
| ... | @@ -1109,13 +1110,13 @@ function checkDialogs() { | ... | @@ -1109,13 +1110,13 @@ function checkDialogs() { |
| 1109 | 1110 | ||
| 1110 | .loginOutIcon2 { | 1111 | .loginOutIcon2 { |
| 1111 | position: absolute; | 1112 | position: absolute; |
| 1112 | top: 150rpx; | 1113 | top: 170rpx; |
| 1113 | right: 40rpx; | 1114 | right: 40rpx; |
| 1114 | z-index: 10; | 1115 | z-index: 10; |
| 1115 | 1116 | ||
| 1116 | .switch-icon { | 1117 | .switch-icon { |
| 1117 | width: 50rpx; | 1118 | width: 60rpx; |
| 1118 | height: 50rpx; | 1119 | height: 60rpx; |
| 1119 | } | 1120 | } |
| 1120 | } | 1121 | } |
| 1121 | 1122 | ... | ... |
-
Please register or sign in to post a comment