提交 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">
<!-- 顶部文字 --> <!-- 顶部文字 -->
...@@ -38,11 +37,11 @@ ...@@ -38,11 +37,11 @@
</view> </view>
</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,10 +72,19 @@ ...@@ -73,10 +72,19 @@
} }
} }
}, },
onReady() { onLoad() {
setTimeout(() => { let pages = getCurrentPages();
this.isShow = true; currentPage = pages[pages.length - 1];
}, 1500); currentPage.$getAppWebview().setStyle({
top:"1000px"
})
},
onReady() {
setTimeout(() => {
currentPage.$getAppWebview().setStyle({
top:"0"
})
}, 1500);
}, },
computed: { computed: {
canGetShortMsg() { canGetShortMsg() {
...@@ -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: () => {}
...@@ -142,9 +151,9 @@ ...@@ -142,9 +151,9 @@
}, },
openLoginList() { openLoginList() {
this.$refs.loginActionSheet.open(); this.$refs.loginActionSheet.open();
}, },
back(){ back() {
uni.navigateBack() uni.navigateBack()
} }
} }
} }
...@@ -170,4 +179,4 @@ ...@@ -170,4 +179,4 @@
border-right: 1rpx solid #d7d9d8; border-right: 1rpx solid #d7d9d8;
/* #endif */ /* #endif */
} }
</style> </style>
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册