@@ -190,7 +190,7 @@ App({ | |||
}, this, "POST"); | |||
}, | |||
fail: res => { | |||
this.getOpenid(res.code); | |||
this.wxLogin(); | |||
} | |||
}) | |||
} |
@@ -21,7 +21,7 @@ | |||
</view> | |||
<view class="msgGroup addressDetail"> | |||
<view class="msgTitle">详细地址:</view> | |||
<textarea class="msgInput addressTextarea" style="margin:0;padding:0;" bindinput="getAddressDetail" value="{{submitData.addressDetail}}"></textarea> | |||
<textarea class="msgInput addressTextarea" style="margin:-1rpx;padding:1rpx;" bindinput="getAddressDetail" value="{{submitData.addressDetail}}"></textarea> | |||
</view> | |||
</view> | |||
<view class="saveAddress" bindtap="submitAddress">保存</view> |
@@ -7,7 +7,7 @@ Page({ | |||
*/ | |||
data: { | |||
imgUrl: app.globalData.urlStatic,//图片路径 | |||
ruleShow: false,//是否显示游戏玩法 | |||
ruleShow: true,//是否显示游戏玩法 | |||
ruleCloseShow: false,//是否显示游戏玩法关闭按钮 | |||
clawTop:95,//爪子的top值 | |||
clawLeft: 293,//爪子的left值 |
@@ -215,12 +215,15 @@ Page({ | |||
ctx.drawImage(this.data.rankNum[2], scale * 236, scale * 602, scale * 32, scale * 40); | |||
ctx.drawImage(this.data.rankNum[3], scale * 270, scale * 602, scale * 32, scale * 40); | |||
//二维码 | |||
ctx.drawImage(this.data.qrCodeUrl, scale * 282, scale * 672, scale * 105, scale* 106); | |||
ctx.drawImage(this.data.qrCodeUrl, scale * 282, scale * 672, scale * 105, scale* 105); | |||
//绘制 | |||
ctx.draw(false, setTimeout(() => { | |||
console.log(); | |||
wx.canvasToTempFilePath({ | |||
width:scale*444, | |||
height: scale * 817, | |||
// width: scale*this.data.windowW, | |||
// height: scale *this.data.windowH, | |||
canvasId: 'myCanvas', | |||
success: res => { | |||
this.data.posterUrl.push(res.tempFilePath); | |||
@@ -285,7 +288,9 @@ Page({ | |||
createQrcode: function () {//获取个人小程序分享码 | |||
app.wxRequest(app.globalData.urlRoot + "wxInfo/getQrcode", {}, res => { | |||
if (res.code = 200) { | |||
this.data.qrCodeUrl = res.data.qrcodeUrl; | |||
this.setData({ | |||
qrCodeUrl: res.data.qrcodeUrl | |||
}) | |||
} | |||
this.cacheFun(); | |||
}, this) |
@@ -71,8 +71,10 @@ view{ | |||
z-index: 2; | |||
} | |||
.canvasDraw{ | |||
width:1776rpx; | |||
height:3268rpx; | |||
/* width:1776rpx; | |||
height:3268rpx; */ | |||
width:400%; | |||
height:400%; | |||
position: fixed; | |||
top: 0; | |||
left: -1776rpx; |
@@ -108,12 +108,12 @@ | |||
"pathName": "pages/mobileVerification/mobileVerification", | |||
"query": "" | |||
}, | |||
{ | |||
"id": -1, | |||
"name": "用户协议与隐私政策", | |||
"pathName": "pages/agreement/agreement", | |||
"query": "" | |||
} | |||
{ | |||
"id": -1, | |||
"name": "用户协议与隐私政策", | |||
"pathName": "pages/agreement/agreement", | |||
"query": "" | |||
} | |||
] | |||
} | |||
} |