Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
H
h5-base
Project
Project
Details
Activity
Releases
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
new-sing
h5-base
Commits
6a629ff1
Commit
6a629ff1
authored
Sep 27, 2019
by
IvyXia123
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dd
parent
122e0753
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
11 additions
and
4 deletions
+11
-4
growthRecord.vue
src/components/growthRecord.vue
+0
-1
index.vue
src/components/map/index.vue
+2
-1
index.vue
src/components/punchTheClock/index.vue
+1
-1
index.js
src/router/index.js
+1
-1
index.js
src/service/index.js
+2
-0
common.js
src/util/common.js
+5
-0
No files found.
src/components/growthRecord.vue
View file @
6a629ff1
...
...
@@ -124,7 +124,6 @@
},
},
mounted
()
{
this
.
introduce
=
'拥有财富、名声、权力,这世界上的一切的男人--哥尔·D·罗杰,在被行刑受死之前说了一句话,让全世界的人都涌向了大海。“想要我的宝藏吗?如果想要的话,那就到海上去找吧,我全部都放在那里。”,世界开始迎接“大海贼时代”的来临。拥有财富、名声、权力,这世界上的一切的男人 “海贼王”哥尔·D·罗杰,在被行刑受死之前说了一句话,让全世界的人都涌向了大海。“想要我的宝藏吗?如果想要的话,那就到海上去找吧,我全部都放在那里。”,世界开始迎接“大海贼时代”的来临。'
;
window
.
addEventListener
(
'scroll'
,
this
.
scrollEvent
,
false
)
this
.
userGrowthRecordList
()
...
...
src/components/map/index.vue
View file @
6a629ff1
...
...
@@ -347,7 +347,7 @@
localStorage
.
setItem
(
'promp'
,
1
)
this
.
promp
=
true
}
this
.
judgeActivity
(
this
.
secActions
.
id
)
// 判断活动
//
this.judgeActivity(this.secActions.id) // 判断活动
},
methods
:{
/**
...
...
@@ -798,6 +798,7 @@
}
})
// 加载课程
this
.
judgeActivity
(
this
.
secActions
.
id
)
// 判断活动
// console.log(this.secActions)
this
.
shopType
=
this
.
secActions
.
course_type
if
(
this
.
secActions
.
is_start_course
){
...
...
src/components/punchTheClock/index.vue
View file @
6a629ff1
...
...
@@ -517,7 +517,7 @@
.rule {
width: 54 * @toVw;
height: 30 * @toVw;
line-height:
30 * @toV
w;
line-height:
7.666667v
w;
background: rgba(0, 0, 0, .5);
border-radius: 50px 0 0 50px;
position: fixed;
...
...
src/router/index.js
View file @
6a629ff1
...
...
@@ -634,7 +634,7 @@ router.beforeEach((to, from, next) => {
// extensionV1Shop
// extensionV1
if
(
to
.
name
===
'guidelines'
||
to
.
name
===
'spcShop'
||
to
.
name
===
'mpShop'
||
to
.
name
===
'extensionV1Shop'
||
to
.
name
===
'extensionV1'
||
to
.
name
===
'author'
||
to
.
name
===
'bindMobile'
||
to
.
name
===
'noWechat'
||
to
.
name
===
'inspectorActivit'
||
to
.
name
===
'buyDetail'
||
to
.
name
===
'passShop'
||
to
.
name
===
'ybIndex'
)
{
if
(
to
.
name
===
'
order'
||
to
.
name
===
'
guidelines'
||
to
.
name
===
'spcShop'
||
to
.
name
===
'mpShop'
||
to
.
name
===
'extensionV1Shop'
||
to
.
name
===
'extensionV1'
||
to
.
name
===
'author'
||
to
.
name
===
'bindMobile'
||
to
.
name
===
'noWechat'
||
to
.
name
===
'inspectorActivit'
||
to
.
name
===
'buyDetail'
||
to
.
name
===
'passShop'
||
to
.
name
===
'ybIndex'
)
{
// 无需登录的页面
console
.
log
(
488
)
next
()
...
...
src/service/index.js
View file @
6a629ff1
...
...
@@ -16,6 +16,7 @@ axios.interceptors.request.use(
// 获取token
// process.env.versionTime
let
versiontime
=
'09021400'
console
.
log
(
common
.
getParamByName
(
'token'
))
const
token
=
localStorage
.
getItem
(
'cc_token'
);
// 设置参数格式
if
(
!
config
.
headers
[
'Content-Type'
])
{
...
...
@@ -31,6 +32,7 @@ axios.interceptors.request.use(
if
(
config
.
method
===
'get'
&&
config
.
url
!==
'/api/admin/login'
)
{
config
.
params
=
config
.
params
||
{};
config
.
params
.
v
=
versiontime
;
let
json
=
JSON
.
parse
(
JSON
.
stringify
(
config
.
params
));
for
(
let
k
in
json
)
{
if
(
json
[
k
]
===
null
)
{
...
...
src/util/common.js
View file @
6a629ff1
...
...
@@ -129,5 +129,10 @@ export default {
ui
=
1
}
return
ui
;
},
getParamByName
(
name
,
url
)
{
url
=
url
||
window
.
location
;
var
match
=
RegExp
(
'[?&]'
+
name
+
'=([^&]*)'
).
exec
(
url
);
return
match
&&
decodeURIComponent
(
match
[
1
].
replace
(
/
\+
/g
,
' '
))
}
}
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