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
dc626dba
Commit
dc626dba
authored
Jul 27, 2021
by
Damon
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev-v1.0.0' of git.banshouhui.com:wuzhenzhe/study into dev-v1.0.0
parents
5a1f711d
c644d949
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
35 additions
and
24 deletions
+35
-24
index.vue
src/components/daily-pop/index.vue
+1
-1
index.vue
src/components/notice-bar/index.vue
+2
-2
index.vue
src/pages/index/index.vue
+11
-9
examSetting.vue
src/pages/learn/examSetting.vue
+21
-12
No files found.
src/components/daily-pop/index.vue
View file @
dc626dba
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
v-model=
"visible"
v-model=
"visible"
safe-area-inset-bottom
safe-area-inset-bottom
mode=
"center"
mode=
"center"
width=
"6
54
rpx"
width=
"6
22
rpx"
:mask-close-able=
"false"
:mask-close-able=
"false"
>
>
<view
class=
"pop-view"
>
<view
class=
"pop-view"
>
...
...
src/components/notice-bar/index.vue
View file @
dc626dba
...
@@ -137,7 +137,7 @@ export default {
...
@@ -137,7 +137,7 @@ export default {
this
.
defaultUrl
+
(
a3
>
9
?
'a'
:
'a0'
)
+
String
(
a3
)
+
'.jpeg'
,
this
.
defaultUrl
+
(
a3
>
9
?
'a'
:
'a0'
)
+
String
(
a3
)
+
'.jpeg'
,
]
]
this
.
list
=
[
this
.
noticeText
]
//
this.list = [this.noticeText]
setInterval
(()
=>
{
setInterval
(()
=>
{
this
.
produceTime
+=
this
.
duration
this
.
produceTime
+=
this
.
duration
},
this
.
duration
)
},
this
.
duration
)
...
@@ -164,7 +164,7 @@ export default {
...
@@ -164,7 +164,7 @@ export default {
}
}
this
.
avatars
=
[...
array
,
this
.
defaultUrl
+
str
]
this
.
avatars
=
[...
array
,
this
.
defaultUrl
+
str
]
this
.
list
=
[
this
.
noticeText
]
//
this.list = [this.noticeText]
},
},
},
},
}
}
...
...
src/pages/index/index.vue
View file @
dc626dba
...
@@ -68,7 +68,7 @@
...
@@ -68,7 +68,7 @@
<view
class=
"right-view"
>
<view
class=
"right-view"
>
<view>
{{
item
.
name
}}
</view>
<view>
{{
item
.
name
}}
</view>
<view
class=
"label-view"
<view
class=
"label-view"
><text
class=
"left-label"
v-if=
"i
tem.leftLabel
"
>
{{
><text
class=
"left-label"
v-if=
"i
nfo.cardId
"
>
{{
item
.
leftLabel
item
.
leftLabel
}}
</text
}}
</text
><text>
{{
item
.
label
}}
</text></view
><text>
{{
item
.
label
}}
</text></view
...
@@ -381,9 +381,10 @@ export default {
...
@@ -381,9 +381,10 @@ export default {
})
})
}
}
}
else
{
}
else
{
this
.
$u
.
route
({
this
.
show
=
true
url
:
'pages/learn/selectCategory'
,
// this.$u.route({
})
// url: 'pages/learn/selectCategory',
// })
}
}
},
},
handleClickLeftTop
()
{
handleClickLeftTop
()
{
...
@@ -392,10 +393,10 @@ export default {
...
@@ -392,10 +393,10 @@ export default {
})
})
},
},
handleClickToast
(
type
)
{
handleClickToast
(
type
)
{
var
str
=
type
==
'select'
?
'addExam
'
:
'detail'
// var str = type == 'select' ? 'selectCategory
' : 'detail'
this
.
$u
.
route
({
this
.
$u
.
route
({
url
:
'pages/learn/
'
+
str
,
url
:
'pages/learn/
selectCategory'
,
params
:
{
params
:
{
// relationId: this.relationId,
// relationId: this.relationId,
id
:
this
.
info
.
id
,
id
:
this
.
info
.
id
,
...
@@ -463,9 +464,10 @@ export default {
...
@@ -463,9 +464,10 @@ export default {
})
})
}
else
{
}
else
{
// 未选题库
// 未选题库
this
.
$u
.
route
({
this
.
show
=
true
url
:
'pages/learn/selectCategory'
,
// this.$u.route({
})
// url: 'pages/learn/selectCategory',
// })
}
}
},
},
handleClick
(
path
,
params
)
{
handleClick
(
path
,
params
)
{
...
...
src/pages/learn/examSetting.vue
View file @
dc626dba
...
@@ -33,7 +33,7 @@
...
@@ -33,7 +33,7 @@
</view>
</view>
<view
class=
"exam-area"
>
<view
class=
"exam-area"
>
<view
class=
"area-title-view"
>
<view
class=
"area-title-view"
>
<text
class=
"rea-title-view"
>
包括
区域
</text>
<text
class=
"rea-title-view"
>
报考
区域
</text>
<text>
请确认与所在考试省份一致
</text>
<text>
请确认与所在考试省份一致
</text>
</view>
</view>
<picker
<picker
...
@@ -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