Commit daeb220b by 穆启卓

1

parent ecd7cf68
......@@ -682,6 +682,18 @@ Page({
});
},
bindAdError() {
this.setData({
bottomAdId: ''
});
},
bindAdClose() {
this.setData({
bottomAdId: ''
});
},
// 初始化仪表盘
initCanvas() {
const rate = wx.getSystemInfoSync().screenWidth / 750,
......
......@@ -56,7 +56,7 @@
</view>
</view>
<view class="ad-container" wx:if="{{bottomAdId}}">
<ad unit-id="{{bottomAdId}}" bindload="bindAdLoad" binderror="bindAdError" bindclose="bindAdClose"></ad>
<ad unit-id="{{bottomAdId}}" binderror="bindAdError" bindclose="bindAdClose"></ad>
</view>
<!-- 活动说明弹窗 -->
<view class="activity-explain-popup-bg" catchtouchmove wx:if="{{activityExplainShow}}">
......
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