提交 436722d8 编写于 作者: L linju

12

上级 159d9bcc
......@@ -21,27 +21,21 @@
"path": "uni_modules/uni-login-page/pages/index/index",
"style": {
"navigationBarTitleText": "",
"navigationStyle":"custom",
"backgroundColor": "transparent",
"app-plus": {
"animationType": "fade-in",
"background": "transparent",
"animationType": "none",
"popGesture": "none",
"titleNView": false
"titleNView": {
"buttons": [{
"text": "帮助",
"type": "none",
"fontSize": "16px",
"width": "60px"
}]
}
}
}
// "navigationBarTitleText": "",
// "navigationBarBackgroundColor": "#FFFFFF",
// "app-plus": {
// "titleNView": {
// "buttons": [{
// "text": "帮助",
// "type": "none",
// "fontSize": "16px",
// "width": "60px"
// }]
// }
}, {
"path": "pages/search/search",
"style": {
......
<template>
<view class="wrap" v-show="isShow">
<uni-nav-bar left-icon="back" @clickLeft="back" right-text="帮助" :statusBar="true" :border="false"></uni-nav-bar>
<view class="wrap">
<view class="wrap-content">
<view class="content">
<!-- 顶部文字 -->
......@@ -38,11 +37,11 @@
</view>
</template>
<script>
<script>
var currentPage;
export default {
data() {
return {
isShow: false,
link: [{
text: '用户协议',
to: '/baidu.com'
......@@ -73,10 +72,19 @@
}
}
},
onReady() {
setTimeout(() => {
this.isShow = true;
}, 1500);
onLoad() {
let pages = getCurrentPages();
currentPage = pages[pages.length - 1];
currentPage.$getAppWebview().setStyle({
top:"1000px"
})
},
onReady() {
setTimeout(() => {
currentPage.$getAppWebview().setStyle({
top:"0"
})
}, 1500);
},
computed: {
canGetShortMsg() {
......@@ -118,7 +126,8 @@
icon: 'none'
});
uni.navigateTo({
url:'./phone-code?phoneNumber='+this.formData.phone+'&phoneArea='+this.currenPhoneArea,
url: './phone-code?phoneNumber=' + this.formData.phone + '&phoneArea=' +
this.currenPhoneArea,
success: res => {},
fail: () => {},
complete: () => {}
......@@ -142,9 +151,9 @@
},
openLoginList() {
this.$refs.loginActionSheet.open();
},
back(){
uni.navigateBack()
},
back() {
uni.navigateBack()
}
}
}
......@@ -170,4 +179,4 @@
border-right: 1rpx solid #d7d9d8;
/* #endif */
}
</style>
</style>
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册