Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
7
7-Eleven
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
高淑倩
7-Eleven
Commits
7f87cfa7
Commit
7f87cfa7
authored
Apr 24, 2020
by
谢中龙
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改彈出曾點擊時間
parent
342b986f
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
6 deletions
+4
-6
app.json
src/app.json
+0
-4
adDialog.js
src/component/adDialog/adDialog.js
+3
-1
userCenter.wxml
src/pages/userCenter/userCenter.wxml
+1
-1
No files found.
src/app.json
View file @
7f87cfa7
...
...
@@ -141,10 +141,6 @@
"contactPlugin"
:
{
"version"
:
"1.3.0"
,
"provider"
:
"wx104a1a20c3f81ec2"
},
"live-player-plugin"
:
{
"version"
:
"1.0.7"
,
"provider"
:
"wx2b03c6e691cd7370"
}
},
"permission"
:
{
...
...
src/component/adDialog/adDialog.js
View file @
7f87cfa7
...
...
@@ -69,7 +69,7 @@ Component({
});
return
;
}
//有弹框
this
.
data
.
showDialog
=
true
;
let
dialogInfo
=
page
.
dialogInfo
?
JSON
.
parse
(
page
.
dialogInfo
)
:
null
;
...
...
@@ -80,8 +80,10 @@ Component({
// 父组件 更新
const
urls
=
getCurrentPages
()
const
currentPath
=
urls
[
0
]
// const currentPath = '/subPackage/page/pages/subPage/subPage'
const
pageId
=
dialogInfo
.
link
.
url
dialogInfo
.
link
.
newPath
=
`/
${
currentPath
.
route
}
`
dialogInfo
.
link
.
newPath
=
`/
${
currentPath
.
route
}
`
}
}
else
if
(
dialogInfo
.
row
)
{
let
newRow
=
JSON
.
parse
(
dialogInfo
.
row
)
...
...
src/pages/userCenter/userCenter.wxml
View file @
7f87cfa7
...
...
@@ -81,4 +81,4 @@
<exception wx:if="{{!apiIsOk}}" bind:reCall="onTapReCall"/>
<!-- 广告 -->
<ad-dialog pageInfo="{{pageInfo}}" currentHasUserInfo="{{currentHasUserInfo}}" bind:getAuth="_getUserInfo"/>
<ad-dialog pageInfo="{{pageInfo}}"
bind:updatePage="updatePage"
currentHasUserInfo="{{currentHasUserInfo}}" bind:getAuth="_getUserInfo"/>
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