From 45cf1b9bcc95408c2bae52f096e07d0fb58eb820 Mon Sep 17 00:00:00 2001 From: meo <18801474720@163.com> Date: Thu, 18 Apr 2019 11:18:16 +0800 Subject: [PATCH] =?UTF-8?q?[=E9=A6=96=E9=A1=B5][=E4=BF=AE=E6=94=B9]:[?= =?UTF-8?q?=E9=A6=96=E9=A1=B5=E7=94=9F=E6=88=90=E4=BC=9A=E5=91=98=E7=A0=81?= =?UTF-8?q?]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/main/index.js | 1 + pages/main/index.wxml | 2 +- pages/main/index.wxss | 4 +++- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/pages/main/index.js b/pages/main/index.js index 8dbd4c0..5fcbc13 100644 --- a/pages/main/index.js +++ b/pages/main/index.js @@ -95,6 +95,7 @@ Page({ var st = setTimeout(function() { wx.hideToast() var size = that.setCanvasSize(); + console.log(size) var url = JSON.stringify({ END: "C", TYPE: "memberCode", diff --git a/pages/main/index.wxml b/pages/main/index.wxml index f141ef2..a4f68e2 100644 --- a/pages/main/index.wxml +++ b/pages/main/index.wxml @@ -42,7 +42,7 @@ {{levelName}} - + diff --git a/pages/main/index.wxss b/pages/main/index.wxss index f3358ae..f1d69f2 100644 --- a/pages/main/index.wxss +++ b/pages/main/index.wxss @@ -12,6 +12,9 @@ line-height: 88rpx; overflow: hidden; } +#mycanvas2{ + height: 500rpx; +} .red{ position:absolute; width:13rpx; @@ -151,7 +154,6 @@ border-radius:16rpx; font-size: 32rpx; color: rgba(2, 192, 255, 1); overflow: hidden; - margin-top: 38rpx; } .memberIds{ padding-top: 30rpx;