hookehuyr

fix

...@@ -2,7 +2,8 @@ ...@@ -2,7 +2,8 @@
2 VITE_BASE = / 2 VITE_BASE = /
3 3
4 # 测试open-id 4 # 测试open-id
5 -VITE_OPENID = api-test-openid 5 +# VITE_OPENID = api-test-openid
6 +VITE_OPENID = o8BRf1gLDWieH3Y3JvbrI_4IjaME
6 7
7 # B端账号 8 # B端账号
8 VITE_ID = 13761653761 9 VITE_ID = 13761653761
......
1 <template> 1 <template>
2 <div class="video-wrapper" style="position: relative;"> 2 <div class="video-wrapper" style="position: relative;">
3 - <!-- FIXME: 反馈意见:需要更改图片 -->
4 <div v-if="mp && detail.showStatus" class="status"> 3 <div v-if="mp && detail.showStatus" class="status">
5 <van-image v-if="item.status === 'ENABLE'" round width="6rem" height="6rem" style="vertical-align: bottom;" :src="icon_enable" /> 4 <van-image v-if="item.status === 'ENABLE'" round width="6rem" height="6rem" style="vertical-align: bottom;" :src="icon_enable" />
6 <van-image v-if="item.status === 'DISABLE'" round width="6rem" height="6rem" style="vertical-align: bottom;" :src="icon_refuse" /> 5 <van-image v-if="item.status === 'DISABLE'" round width="6rem" height="6rem" style="vertical-align: bottom;" :src="icon_refuse" />
......
...@@ -50,17 +50,18 @@ function hasScrollbar() { ...@@ -50,17 +50,18 @@ function hasScrollbar() {
50 return document.body.scrollHeight > (window.innerHeight || document.documentElement.clientHeight); 50 return document.body.scrollHeight > (window.innerHeight || document.documentElement.clientHeight);
51 } 51 }
52 52
53 -// onMounted(() => { 53 +onMounted(() => {
54 - // 因为微信第一次进入默认全屏,之后产生的导航栏会影响位置 54 + // 判断微信授权状态,进入页面时未授权需要授权跳转
55 - // if (hasScrollbar()) { 55 + if (!Cookies.get('PHPSESSID')) {
56 - // if (wxInfo().isiOS || wxInfo().isAndroid) { 56 + $router.replace({
57 - // location.reload() 57 + path: '/auth',
58 - // $router.go(0) 58 + query: {
59 - // } 59 + href: location.hash,
60 - // } 60 + userType: 'c'
61 - // 背景颜色全屏 61 + }
62 - // $('.client-index-page').height($(document).height()); 62 + });
63 -// }) 63 + }
64 +})
64 65
65 // 自定义按钮颜色样式 66 // 自定义按钮颜色样式
66 const styleObject1 = reactive({ 67 const styleObject1 = reactive({
......
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
16 :rules="[{ validator, message: '请输入正确手机号' }]" /> 16 :rules="[{ validator, message: '请输入正确手机号' }]" />
17 </div> 17 </div>
18 <div class="van-hairline--bottom"> 18 <div class="van-hairline--bottom">
19 - <van-field v-model="pin" center clearable name="pin" label="短信验证码" placeholder="请输入短信验证码" 19 + <van-field v-model="pin" center clearable name="pin" type="digit" label="短信验证码" placeholder="请输入短信验证码"
20 :formatter="formatter" :rules="[{ required: true, message: '请填写验证码' }]"> 20 :formatter="formatter" :rules="[{ required: true, message: '请填写验证码' }]">
21 <template #button> 21 <template #button>
22 <van-button @click="sendCode" size="small" type="primary" :disabled="disabled"> 22 <van-button @click="sendCode" size="small" type="primary" :disabled="disabled">
......