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
578f5b37
Commit
578f5b37
authored
Aug 12, 2019
by
高淑倩
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add: 跳转type=7
parent
08f208c6
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
21 additions
and
2 deletions
+21
-2
bottom.js
src/component/bottom/bottom.js
+6
-0
imageSwiper.js
src/component/imageSwiper/imageSwiper.js
+6
-0
picNav.js
src/component/picNav/picNav.js
+6
-2
common.js
src/utils/common.js
+3
-0
No files found.
src/component/bottom/bottom.js
View file @
578f5b37
...
@@ -89,6 +89,12 @@ Component({
...
@@ -89,6 +89,12 @@ Component({
}
}
}
else
if
(
link
.
type
==
6
){
}
else
if
(
link
.
type
==
6
){
wxService
.
router
(
`
${
currentClickType
}
`
)
wxService
.
router
(
`
${
currentClickType
}
`
)
}
else
if
(
link
.
type
==
7
){
// 集点详情
let
pointPath
=
currentClickType
&&
currentClickType
.
split
(
'?'
)[
0
]
let
pointIdParams
=
currentClickType
&&
currentClickType
.
split
(
'?'
)[
1
]
let
pointId
=
pointIdParams
.
split
(
'='
)[
1
]
wxService
.
router
(
`
${
pointPath
}
`
).
search
({
id
:
pointId
})
}
}
}
}
}
}
...
...
src/component/imageSwiper/imageSwiper.js
View file @
578f5b37
...
@@ -80,6 +80,12 @@ Component({
...
@@ -80,6 +80,12 @@ Component({
}
}
}
else
if
(
link
.
type
==
6
){
}
else
if
(
link
.
type
==
6
){
wxService
.
router
(
`
${
currentClickType
}
`
)
wxService
.
router
(
`
${
currentClickType
}
`
)
}
else
if
(
link
.
type
==
7
){
// 集点详情
let
pointPath
=
currentClickType
&&
currentClickType
.
split
(
'?'
)[
0
]
let
pointIdParams
=
currentClickType
&&
currentClickType
.
split
(
'?'
)[
1
]
let
pointId
=
pointIdParams
.
split
(
'='
)[
1
]
wxService
.
router
(
`
${
pointPath
}
`
).
search
({
id
:
pointId
})
}
}
}
}
}
}
...
...
src/component/picNav/picNav.js
View file @
578f5b37
...
@@ -79,8 +79,6 @@ Component({
...
@@ -79,8 +79,6 @@ Component({
}
else
if
(
link
.
type
==
4
)
{
}
else
if
(
link
.
type
==
4
)
{
wxService
.
router
(
`
${
currentClickType
}
`
)
wxService
.
router
(
`
${
currentClickType
}
`
)
}
else
if
(
link
.
type
==
5
)
{
}
else
if
(
link
.
type
==
5
)
{
console
.
log
(
'currentClickType'
,
currentClickType
)
if
(
currentClickType
==
1
)
{
if
(
currentClickType
==
1
)
{
wxService
.
openCard
()
wxService
.
openCard
()
}
else
if
(
currentClickType
==
2
)
{
}
else
if
(
currentClickType
==
2
)
{
...
@@ -100,6 +98,12 @@ Component({
...
@@ -100,6 +98,12 @@ Component({
}
}
}
else
if
(
link
.
type
==
6
){
}
else
if
(
link
.
type
==
6
){
wxService
.
router
(
`
${
currentClickType
}
`
)
wxService
.
router
(
`
${
currentClickType
}
`
)
}
else
if
(
link
.
type
==
7
){
// 集点详情
let
pointPath
=
currentClickType
&&
currentClickType
.
split
(
'?'
)[
0
]
let
pointIdParams
=
currentClickType
&&
currentClickType
.
split
(
'?'
)[
1
]
let
pointId
=
pointIdParams
.
split
(
'='
)[
1
]
wxService
.
router
(
`
${
pointPath
}
`
).
search
({
id
:
pointId
})
}
}
},
},
activeTocard
(
e
)
{
activeTocard
(
e
)
{
...
...
src/utils/common.js
View file @
578f5b37
...
@@ -72,6 +72,9 @@ HandlerLink.prototype = {
...
@@ -72,6 +72,9 @@ HandlerLink.prototype = {
return
`/subPackage/page/pages/h5/h5page?url=
${
enCodeUrl
}
`
return
`/subPackage/page/pages/h5/h5page?url=
${
enCodeUrl
}
`
}
}
return
`/
${
item
.
link
.
url
}
`
return
`/
${
item
.
link
.
url
}
`
}
else
if
(
type
==
7
){
// 集点详情 /pages/pointDetail/pointDetail?id=610415394393559040
return
item
.
link
.
url
}
}
}
}
}
}
...
...
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