Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
study
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
Damon
study
Commits
670ae7af
Commit
670ae7af
authored
Jul 24, 2021
by
Facius
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
improvement: 首页跳转
parent
96ab3b90
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
6 deletions
+11
-6
index.vue
src/components/notice-bar/index.vue
+1
-1
index.vue
src/pages/index/index.vue
+10
-5
No files found.
src/components/notice-bar/index.vue
View file @
670ae7af
...
@@ -77,7 +77,7 @@ export default {
...
@@ -77,7 +77,7 @@ export default {
'金属非金属矿山支柱作业'
,
'金属非金属矿山支柱作业'
,
'金属非金属矿山井下电气作业'
,
'金属非金属矿山井下电气作业'
,
'金属非金属矿山排水作业'
,
'金属非金属矿山排水作业'
,
'金属非金属矿山爆破作业
,
'
,
'金属非金属矿山爆破作业'
,
'金属非金属矿山安全检查作业(地下矿山)'
,
'金属非金属矿山安全检查作业(地下矿山)'
,
'司钻作业(井下作业)'
,
'司钻作业(井下作业)'
,
'司钻作业(钻井作业)'
,
'司钻作业(钻井作业)'
,
...
...
src/pages/index/index.vue
View file @
670ae7af
...
@@ -292,8 +292,11 @@ export default {
...
@@ -292,8 +292,11 @@ export default {
})
})
}
else
{
}
else
{
// 绑卡提示
// 绑卡提示
this
.
type
=
'bound'
// this.type = 'bound'
this
.
show
=
true
// this.show = true
this
.
$u
.
route
({
url
:
'pages/learn/detail'
,
})
}
}
}
else
{
}
else
{
this
.
$u
.
route
({
this
.
$u
.
route
({
...
@@ -371,7 +374,6 @@ export default {
...
@@ -371,7 +374,6 @@ export default {
}
}
},
},
handleClick
(
path
,
params
)
{
handleClick
(
path
,
params
)
{
debugger
if
(
this
.
info
.
cardId
)
{
if
(
this
.
info
.
cardId
)
{
if
(
params
)
{
if
(
params
)
{
this
.
setPageInfo
(
params
)
this
.
setPageInfo
(
params
)
...
@@ -383,8 +385,11 @@ export default {
...
@@ -383,8 +385,11 @@ export default {
}
else
if
(
this
.
info
.
id
)
{
}
else
if
(
this
.
info
.
id
)
{
// 已选题库未绑卡
// 已选题库未绑卡
// 绑卡
// 绑卡
this
.
type
=
'bound'
// this.type = 'bound'
this
.
show
=
true
// this.show = true
this
.
$u
.
route
({
url
:
'pages/learn/detail'
,
})
}
else
{
}
else
{
this
.
$u
.
route
({
this
.
$u
.
route
({
url
:
'pages/learn/selectCategory'
,
url
:
'pages/learn/selectCategory'
,
...
...
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