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
c644d949
Commit
c644d949
authored
Jul 27, 2021
by
Facius
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 【ID1001298】 【小程序-首页-选择题库确认弹窗】:缺少备考类型和报考区域
parent
af4c98c5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
11 deletions
+20
-11
examSetting.vue
src/pages/learn/examSetting.vue
+20
-11
No files found.
src/pages/learn/examSetting.vue
View file @
c644d949
...
@@ -91,9 +91,14 @@
...
@@ -91,9 +91,14 @@
@
submit=
"handleClickSubmit"
@
submit=
"handleClickSubmit"
>
>
<view
v-for=
"(value, key) in selected"
:key=
"key"
class=
"pop-content"
>
<view
v-for=
"(value, key) in selected"
:key=
"key"
class=
"pop-content"
>
<view
:class=
"['pop-content-text',
{ last: key == thirdKey }]">
{{
<view
:class=
"['pop-content-text',
{ last: key == thirdKey }]"
value
.
label
>
{{
value
.
label
}}
</view>
}}
<text
v-if=
"key != secondKey"
>
(
{{
key
==
firstKey
?
selectedTypeText
:
currentProvince
.
label
}}
)
</text
></view
>
<u-icon
v-if=
"key != thirdKey"
name=
"arrow-downward"
></u-icon>
<u-icon
v-if=
"key != thirdKey"
name=
"arrow-downward"
></u-icon>
</view>
</view>
</PopView>
</PopView>
...
@@ -162,16 +167,20 @@ export default {
...
@@ -162,16 +167,20 @@ export default {
buttonDisabled
()
{
buttonDisabled
()
{
return
!
(
this
.
currentProvince
.
label
&&
this
.
selectedTypeId
)
return
!
(
this
.
currentProvince
.
label
&&
this
.
selectedTypeId
)
},
},
selectedType
()
{
typeTexts
()
{
for
(
var
item
of
this
.
types
)
{
return
{
'1'
:
'初训'
,
'2'
:
'复训'
}
if
(
item
.
selected
==
true
)
{
},
return
true
selectedTypeText
()
{
}
return
this
.
typeTexts
[
this
.
selectedTypeId
]
}
return
false
},
},
thirdKey
()
{
thirdKey
()
{
return
key3
||
key2
||
key1
return
key3
},
firstKey
()
{
return
key1
},
secondKey
()
{
return
key2
},
},
selectedTypeId
()
{
selectedTypeId
()
{
for
(
var
item
of
this
.
types
)
{
for
(
var
item
of
this
.
types
)
{
...
...
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