Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Hooke
/
tswj
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
hookehuyr
2022-05-20 22:39:32 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
72503e6c99f90b076f21275d0c115bcab6bf2a95
72503e6c
1 parent
435ec5a1
fix
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
15 additions
and
14 deletions
.env.development
src/components/AuditVideoCard/index.vue
src/views/client/index.vue
src/views/me/verifyUser.vue
.env.development
View file @
72503e6
...
...
@@ -2,7 +2,8 @@
VITE_BASE = /
# 测试open-id
VITE_OPENID = api-test-openid
# VITE_OPENID = api-test-openid
VITE_OPENID = o8BRf1gLDWieH3Y3JvbrI_4IjaME
# B端账号
VITE_ID = 13761653761
...
...
src/components/AuditVideoCard/index.vue
View file @
72503e6
<template>
<div class="video-wrapper" style="position: relative;">
<!-- FIXME: 反馈意见:需要更改图片 -->
<div v-if="mp && detail.showStatus" class="status">
<van-image v-if="item.status === 'ENABLE'" round width="6rem" height="6rem" style="vertical-align: bottom;" :src="icon_enable" />
<van-image v-if="item.status === 'DISABLE'" round width="6rem" height="6rem" style="vertical-align: bottom;" :src="icon_refuse" />
...
...
src/views/client/index.vue
View file @
72503e6
...
...
@@ -50,17 +50,18 @@ function hasScrollbar() {
return document.body.scrollHeight > (window.innerHeight || document.documentElement.clientHeight);
}
// onMounted(() => {
// 因为微信第一次进入默认全屏,之后产生的导航栏会影响位置
// if (hasScrollbar()) {
// if (wxInfo().isiOS || wxInfo().isAndroid) {
// location.reload()
// $router.go(0)
// }
// }
// 背景颜色全屏
// $('.client-index-page').height($(document).height());
// })
onMounted(() => {
// 判断微信授权状态,进入页面时未授权需要授权跳转
if (!Cookies.get('PHPSESSID')) {
$router.replace({
path: '/auth',
query: {
href: location.hash,
userType: 'c'
}
});
}
})
// 自定义按钮颜色样式
const styleObject1 = reactive({
...
...
src/views/me/verifyUser.vue
View file @
72503e6
...
...
@@ -16,7 +16,7 @@
:rules="[{ validator, message: '请输入正确手机号' }]" />
</div>
<div class="van-hairline--bottom">
<van-field v-model="pin" center clearable name="pin" label="短信验证码" placeholder="请输入短信验证码"
<van-field v-model="pin" center clearable name="pin"
type="digit"
label="短信验证码" placeholder="请输入短信验证码"
:formatter="formatter" :rules="[{ required: true, message: '请填写验证码' }]">
<template #button>
<van-button @click="sendCode" size="small" type="primary" :disabled="disabled">
...
...
Please
register
or
login
to post a comment