Commit 828de6db by 高淑倩

敬请期待_bgc

parent a721f584
...@@ -39,7 +39,7 @@ ...@@ -39,7 +39,7 @@
"list": [] "list": []
}, },
"miniprogram": { "miniprogram": {
"current": 18, "current": 19,
"list": [ "list": [
{ {
"id": -1, "id": -1,
...@@ -158,7 +158,13 @@ ...@@ -158,7 +158,13 @@
"id": -1, "id": -1,
"name": "subPackage/page/pages/pointGoodsList/pointGoodsList", "name": "subPackage/page/pages/pointGoodsList/pointGoodsList",
"pathName": "subPackage/page/pages/goToHome/goToHome", "pathName": "subPackage/page/pages/goToHome/goToHome",
"query": "",
"scene": null "scene": null
},
{
"id": -1,
"name": "敬请期待",
"pathName": "subPackage/page/pages/goToHome/goToHome"
} }
] ]
} }
......
...@@ -10,7 +10,7 @@ wxService.page({ ...@@ -10,7 +10,7 @@ wxService.page({
* 页面的初始数据 * 页面的初始数据
*/ */
data: { data: {
curHeight: ''
}, },
/** /**
...@@ -35,7 +35,11 @@ wxService.page({ ...@@ -35,7 +35,11 @@ wxService.page({
* 生命周期函数--监听页面显示 * 生命周期函数--监听页面显示
*/ */
onShow: function () { onShow: function () {
wxService.getSystemInfo().then(res => {
this.setData({
curHeight: res.windowHeight
})
})
}, },
/** /**
......
<!--subPackage/page/pages/goToHome/goToHome.wxml--> <!--subPackage/page/pages/goToHome/goToHome.wxml-->
<view class="go-tips">敬请期待</view> <view class="go-home" style="height:{{curHeight}}px" bindtap="handelGoHome"></view>
<!--<view class="go-tips">敬请期待</view>
<view class="btn-wrap"> <view class="btn-wrap">
<view class="btn-home" bindtap="handelGoHome"> <view class="btn-home" bindtap="handelGoHome">
<button type='primary' class='btn-primary'>回到首页</button> <button type='primary' class='btn-primary'>回到首页</button>
</view> </view>
</view> </view-->
This source diff could not be displayed because it is too large. You can view the blob instead.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment