Commit 5c5b4991 by 李嘉林

修改

parent 89bf3baa
...@@ -98,7 +98,7 @@ export default { ...@@ -98,7 +98,7 @@ export default {
ctx.fillText(info.livedTitle, 10 * bili, 500 * bili); ctx.fillText(info.livedTitle, 10 * bili, 500 * bili);
//圆形头像框 //圆形头像框
ctx.setStrokeStyle("rgba(0,0,0,0)"); ctx.setStrokeStyle("rgba(0,0,0,0)");
ctx.arc(40 * bili, 400 * bili, 25 * bili, 0, 2 * Math.PI); ctx.arc(36 * bili, 400 * bili, 25 * bili, 0, 2 * Math.PI);
ctx.fill(); ctx.fill();
this.saveThe(info.qrCode, path => { this.saveThe(info.qrCode, path => {
ctx.drawImage(path, 200 * bili, 390 * bili, 100 * bili, 100 * bili); ctx.drawImage(path, 200 * bili, 390 * bili, 100 * bili, 100 * bili);
......
...@@ -55,7 +55,8 @@ export default { ...@@ -55,7 +55,8 @@ export default {
wx.requestSubscribeMessage({ wx.requestSubscribeMessage({
tmplIds: tmplIds, tmplIds: tmplIds,
success:(res)=> { success:(res)=> {
if(res.tmplIds[0]=="accept"){ console.log(res,res[tmplIds[0]],'---------------------58')
if(res[tmplIds[0]]=="accept"){
wx.showToast({ wx.showToast({
title: "您已成功订阅~", title: "您已成功订阅~",
icon: "success" icon: "success"
......
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