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
107a830b
Commit
107a830b
authored
Apr 17, 2020
by
谢中龙
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
去除空格
parent
4db5b92d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
7 deletions
+18
-7
adDialog.js
src/component/adDialog/adDialog.js
+18
-7
No files found.
src/component/adDialog/adDialog.js
View file @
107a830b
...
...
@@ -84,13 +84,19 @@ Component({
dialogInfo
.
link
.
newPath
=
`/
${
currentPath
.
route
}
`
}
}
else
if
(
dialogInfo
.
row
)
{
newRow
=
JSON
.
parse
(
dialogInfo
.
row
)
if
(
newRow
.
type
==
8
)
{
newRow
.
newPath
=
'/pages/productDetail/productDetail'
}
else
if
(
newRow
.
type
==
9
)
{
newRow
.
newPath
=
'/subPackage/page/pages/categoryPro/categoryPro'
let
newRow
=
JSON
.
parse
(
dialogInfo
.
row
)
if
(
Object
.
keys
(
newRow
).
length
>
0
){
if
(
newRow
.
type
==
8
)
{
newRow
.
newPath
=
'/pages/productDetail/productDetail'
}
else
if
(
newRow
.
type
==
9
)
{
newRow
.
newPath
=
'/subPackage/page/pages/categoryPro/categoryPro'
}
dialogInfo
.
row
=
newRow
}
else
{
delete
dialogInfo
.
row
;
}
dialogInfo
.
row
=
newRow
}
let
checkUrl
=
''
;
...
...
@@ -124,7 +130,12 @@ Component({
if
(
!
this
.
data
.
pageInfo
.
hasDialog
){
return
;
}
if
(
!
this
.
data
.
dialogInfo
.
redirectId
&&
!
this
.
data
.
dialogInfo
.
row
&&
!
this
.
data
.
dialogInfo
.
link
){
return
;
}
this
.
onTapClose
();
utilLink
.
currentLinkRouter
(
event
,
this
);
},
//设置弹出框本地弹出状态 //每天都弹出
...
...
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