提交 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">
<!-- 顶部文字 -->
......@@ -39,10 +38,10 @@
</template>
<script>
var currentPage;
export default {
data() {
return {
isShow: false,
link: [{
text: '用户协议',
to: '/baidu.com'
......@@ -73,9 +72,18 @@
}
}
},
onLoad() {
let pages = getCurrentPages();
currentPage = pages[pages.length - 1];
currentPage.$getAppWebview().setStyle({
top:"1000px"
})
},
onReady() {
setTimeout(() => {
this.isShow = true;
currentPage.$getAppWebview().setStyle({
top:"0"
})
}, 1500);
},
computed: {
......@@ -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: () => {}
......@@ -143,7 +152,7 @@
openLoginList() {
this.$refs.loginActionSheet.open();
},
back(){
back() {
uni.navigateBack()
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册