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
2640a093
Commit
2640a093
authored
Jul 23, 2021
by
Facius
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
improvement: 我的页面未选题库状态
parent
3b5381ed
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
24 additions
and
11 deletions
+24
-11
index.vue
src/components/experience-pop/index.vue
+1
-1
index.vue
src/components/subject-statistics/index.vue
+1
-1
index.vue
src/pages/index/index.vue
+22
-9
No files found.
src/components/experience-pop/index.vue
View file @
2640a093
...
...
@@ -16,7 +16,7 @@
</view>
</view>
<view
class=
"pop-content"
>
<view>
您已获得
1次答题体验
机会
</view>
<view>
您已获得
免费体验10道题
机会
</view>
<view
class=
"label-view"
>
每日一练,轻松完成课程练习
</view>
</view>
<u-button
...
...
src/components/subject-statistics/index.vue
View file @
2640a093
...
...
@@ -83,7 +83,7 @@ export default {
return
{
today
:
'今日做题'
,
total
:
'累计做题'
,
days
:
'
累计
天数'
,
days
:
'
打卡
天数'
,
}
},
meiriyilianImage
()
{
...
...
src/pages/index/index.vue
View file @
2640a093
...
...
@@ -80,7 +80,7 @@
</view>
</view>
<view
class=
"experience-pop-view"
>
<ExperiencePop
:visible
.
sync=
"visible"
/>
<ExperiencePop
:visible
.
sync=
"visible"
@
click=
"handleClickExperience"
/>
</view>
<ToastPop
:visible
.
sync=
"show"
:type=
"type"
@
click=
"handleClickToast"
/>
<view>
...
...
@@ -151,13 +151,15 @@ export default {
info
()
{
return
{
id
:
this
.
selected
.
id
,
cardId
:
this
.
detail
.
questionWarehouse
&&
this
.
detail
.
questionWarehouse
.
cardId
,
provinceName
:
this
.
provinceName
,
experience
:
this
.
selected
.
state
,
pass
:
this
.
selected
.
pass
,
number
:
this
.
selected
.
number
,
days
:
this
.
detail
.
totalDayCount
,
today
:
this
.
detail
.
todayCount
,
total
:
this
.
detail
.
totalCount
,
days
:
this
.
detail
.
totalDayCount
||
0
,
today
:
this
.
detail
.
todayCount
||
0
,
total
:
this
.
detail
.
totalCount
||
0
,
// selected: this.selected,
}
},
...
...
@@ -247,14 +249,10 @@ export default {
},
handleSelect
()
{
// if (this.vuex_token) {
var
str
=
this
.
selected
?
'selectedList'
:
'addExam'
var
str
=
this
.
selected
.
id
?
'selectedList'
:
'selectCategory'
this
.
$u
.
route
({
url
:
'pages/learn/'
+
str
,
})
// } else {
// this.$u.route({ url: 'pages/login/index' })
// }
},
// 每日一练
handleAnswer
()
{
...
...
@@ -289,11 +287,26 @@ export default {
})
}
},
handleClickExperience
()
{
this
.
selected
.
state
=
false
// 体验
// ...
},
handleClickExam
(
index
)
{
if
(
index
==
0
)
{
// 点击了全部试题
if
(
!
this
.
info
.
cardId
&&
this
.
info
.
experience
)
{
this
.
selected
.
state
=
false
// 体验
// ...
}
else
{
// 正常做题
// ...
}
}
else
{
// 点击了模拟考试
this
.
$u
.
route
({
url
:
'pages/learn/beginAnswer'
,
})
...
...
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