Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
walk_daka_wx
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
穆启卓
walk_daka_wx
Commits
daeb220b
Commit
daeb220b
authored
May 22, 2019
by
穆启卓
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
ecd7cf68
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
1 deletions
+13
-1
index.js
pages/index/index.js
+12
-0
index.wxml
pages/index/index.wxml
+1
-1
No files found.
pages/index/index.js
View file @
daeb220b
...
...
@@ -682,6 +682,18 @@ Page({
});
},
bindAdError
()
{
this
.
setData
({
bottomAdId
:
''
});
},
bindAdClose
()
{
this
.
setData
({
bottomAdId
:
''
});
},
// 初始化仪表盘
initCanvas
()
{
const
rate
=
wx
.
getSystemInfoSync
().
screenWidth
/
750
,
...
...
pages/index/index.wxml
View file @
daeb220b
...
...
@@ -56,7 +56,7 @@
</view>
</view>
<view class="ad-container" wx:if="{{bottomAdId}}">
<ad unit-id="{{bottomAdId}}" bind
load="bindAdLoad" bind
error="bindAdError" bindclose="bindAdClose"></ad>
<ad unit-id="{{bottomAdId}}" binderror="bindAdError" bindclose="bindAdClose"></ad>
</view>
<!-- 活动说明弹窗 -->
<view class="activity-explain-popup-bg" catchtouchmove wx:if="{{activityExplainShow}}">
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment