diff --git a/pages/index/index.js b/pages/index/index.js index a5d89a8..18e7b5a 100644 --- a/pages/index/index.js +++ b/pages/index/index.js @@ -133,7 +133,12 @@ Page({ } }) }, - + mySpecial:function(){ + console.log("special"); + wx.navigateTo({ + url: '/pages/specialcourtesy/specialcourtesy', + }) + }, /** * 生命周期函数--监听页面初次渲染完成 */ @@ -204,6 +209,9 @@ Page({ } }).then(res => { console.log(res) + that.setData({ + levelName: res.data.levelName + }) if (res.data.nickName) { that.setData({ ismember: true, diff --git a/pages/index/index.wxml b/pages/index/index.wxml index ae4406b..c00a843 100644 --- a/pages/index/index.wxml +++ b/pages/index/index.wxml @@ -27,8 +27,8 @@ - diff --git a/pages/index/index.wxss b/pages/index/index.wxss index 95b4cf9..8b8a822 100644 --- a/pages/index/index.wxss +++ b/pages/index/index.wxss @@ -84,7 +84,7 @@ page { .canvas-box { position: fixed; width: 500rpx; - height: 587rpx; + height: 671rpx; overflow: hidden; left: 0; top: 0; @@ -93,6 +93,7 @@ page { margin: auto; background: #fff; border-radius: 16rpx; + z-index:100; } .showQrcode text { @@ -102,10 +103,19 @@ page { } .button { - width: 680rpx; - height: 91rpx; + width: 414rpx; + text-align: center; + margin: 0 auto; + height: 80rpx; + line-height: 80rpx; background: rgba(255, 255, 255, 1); border-radius: 10rpx; font-size: 32rpx; color: rgba(2, 192, 255, 1); + overflow: hidden; + margin-top: 38rpx; } +.memberIds{ + padding-top: 30rpx; + font-size: 30rpx; +} \ No newline at end of file