From 9a3485345178c5e96db68c6a67d1abc860379dd4 Mon Sep 17 00:00:00 2001 From: meo <18801474720@163.com> Date: Thu, 27 Dec 2018 10:45:26 +0800 Subject: [PATCH] =?UTF-8?q?[=E4=BC=9A=E5=91=98=E6=9D=83=E7=9B=8A=E5=AE=8C?= =?UTF-8?q?=E5=96=84]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/index/index.js | 10 +++++++++- pages/index/index.wxml | 6 +++--- pages/index/index.wxss | 16 +++++++++++++--- 3 files changed, 25 insertions(+), 7 deletions(-) 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