Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
h5_activity
Project
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
谭新宇
h5_activity
Commits
dfab4fb7
Commit
dfab4fb7
authored
Jul 15, 2019
by
txy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
'路径修改'
parent
6ff80b70
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
+6
-5
common.js
showPhotos/js/page/common.js
+6
-5
No files found.
showPhotos/js/page/common.js
View file @
dfab4fb7
...
...
@@ -39,15 +39,16 @@ function getToken() {
function
transPage
(
_pageNumber
,
_activityCode
,
_token
,
_addParam
)
{
var
url
=
''
;
var
_base
=
''
;
var
pathname
=
window
.
location
.
pathname
;
var
_origin
=
window
.
location
.
origin
;
var
_pathname
=
window
.
location
.
pathname
;
var
_urlParam
=
window
.
location
.
search
;
var
index
=
pathname
.
indexOf
(
'/ACTIVITY'
);
var
secondFolder
=
''
;
var
index
=
_
pathname
.
indexOf
(
'/ACTIVITY'
);
var
_
secondFolder
=
''
;
if
(
index
!==
0
){
secondFolder
=
pathname
.
slice
(
0
,
index
);
secondFolder
=
_
pathname
.
slice
(
0
,
index
);
}
_base
=
pathname
+
secondFolder
;
_base
=
_origin
+
_
secondFolder
;
if
(
typeof
_urlParam
!==
'undefined'
&&
_urlParam
!==
''
)
{
url
=
_base
+
"/ACTIVITY/view/"
+
_activityCode
+
"/"
+
_pageNumber
+
_urlParam
+
(
_addParam
!==
undefined
?
(
'&'
+
_addParam
)
:
''
);
...
...
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