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

12

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