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
3776d164
Commit
3776d164
authored
Aug 04, 2021
by
Facius
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 需求变更
parent
46eb4745
Changes
10
Show whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
48 additions
and
48 deletions
+48
-48
index.vue
src/components/experience-pop/index.vue
+0
-1
index.vue
src/components/notice-bar/index.vue
+18
-18
index.vue
src/components/question-bank-cell/index.vue
+3
-1
index.vue
src/components/subject-statistics/index.vue
+1
-1
index.vue
src/pages/index/index.vue
+10
-14
boundQuestions.vue
src/pages/learn/boundQuestions.vue
+1
-1
manualBinding.vue
src/pages/learn/manualBinding.vue
+1
-1
record.vue
src/pages/learn/record.vue
+0
-1
selectCategory.vue
src/pages/learn/selectCategory.vue
+14
-3
selectedList.vue
src/pages/learn/selectedList.vue
+0
-7
No files found.
src/components/experience-pop/index.vue
View file @
3776d164
...
@@ -6,7 +6,6 @@
...
@@ -6,7 +6,6 @@
width=
"650rpx"
width=
"650rpx"
:mask-close-able=
"flase"
:mask-close-able=
"flase"
close-icon-color=
"#FFFFFF"
close-icon-color=
"#FFFFFF"
height=
"86%"
>
>
<view
class=
"pop-view"
>
<view
class=
"pop-view"
>
<image
mode=
"widthFix"
class=
"image-view"
:src=
"backgroundImage"
></image>
<image
mode=
"widthFix"
class=
"image-view"
:src=
"backgroundImage"
></image>
...
...
src/components/notice-bar/index.vue
View file @
3776d164
...
@@ -10,7 +10,7 @@
...
@@ -10,7 +10,7 @@
<u-notice-bar
<u-notice-bar
mode=
"vertical"
mode=
"vertical"
type=
"none"
type=
"none"
font-size=
"2
6
"
font-size=
"2
4
"
:list=
"[noticeText]"
:list=
"[noticeText]"
color=
"#FFFFFF"
color=
"#FFFFFF"
:volume-icon=
"false"
:volume-icon=
"false"
...
@@ -175,32 +175,32 @@ export default {
...
@@ -175,32 +175,32 @@ export default {
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
.top
{
.top
{
width
:
100%
;
width
:
100%
;
margin-left
:
15rpx
;
display
:
flex
;
display
:
flex
;
align-items
:
center
;
align-items
:
center
;
.notice-image
{
.notice-image
{
width
:
48rpx
;
width
:
48rpx
;
height
:
48rpx
;
height
:
48rpx
;
}
}
.avatar
{
//
.avatar {
.avatar-list
{
//
.avatar-list {
margin-left
:
-15rpx
;
//
margin-left: -15rpx;
display
:
flex
;
//
display: flex;
justify-content
:
flex-start
;
//
justify-content: flex-start;
align-items
:
center
;
//
align-items: center;
image
{
//
image {
width
:
44rpx
;
//
width: 44rpx;
height
:
44rpx
;
//
height: 44rpx;
border
:
2rpx
solid
#ccc
;
//
border: 2rpx solid #ccc;
background
:
#fff
;
//
background: #fff;
border-radius
:
50%
;
//
border-radius: 50%;
margin-right
:
1px
;
//
margin-right: 1px;
}
//
}
}
//
}
}
//
}
.notice
{
.notice
{
flex
:
1
;
flex
:
1
;
width
:
100%
;
width
:
100%
;
margin-left
:
-6rpx
;
}
}
}
}
</
style
>
</
style
>
src/components/question-bank-cell/index.vue
View file @
3776d164
...
@@ -9,7 +9,9 @@
...
@@ -9,7 +9,9 @@
共
共
<text
class=
"label-blue"
>
{{
info
.
number
||
0
}}
</text
<text
class=
"label-blue"
>
{{
info
.
number
||
0
}}
</text
>
道精编试题,通过率
>
道精编试题,通过率
<text
class=
"label-blue"
>
{{
info
.
pass
||
$u
.
random
(
95
,
99
)
}}
%
</text>
<text
class=
"label-blue"
>
{{
info
.
version
||
info
.
key
||
$u
.
random
(
95
,
99
)
+
'%'
}}
</text>
</view>
</view>
</view>
</view>
<u-button
<u-button
...
...
src/components/subject-statistics/index.vue
View file @
3776d164
...
@@ -178,7 +178,7 @@ export default {
...
@@ -178,7 +178,7 @@ export default {
}
}
.line-view
{
.line-view
{
width
:
2rpx
;
width
:
2rpx
;
background-color
:
#
ffff
ff
;
background-color
:
#
7993
ff
;
height
:
70rpx
;
height
:
70rpx
;
}
}
}
}
...
...
src/pages/index/index.vue
View file @
3776d164
...
@@ -92,10 +92,10 @@
...
@@ -92,10 +92,10 @@
<view
class=
"bottom-view"
>
<view
class=
"bottom-view"
>
<image
<image
class=
"bottom-image"
class=
"bottom-image"
:src=
"
mokaodashi
Image"
:src=
"
slogn
Image"
@
click=
"handleClickBlank"
@
click=
"handleClickBlank"
></image>
></image>
<
view>
想要轻松考过,首选模考大师
</view
>
<
!--
<view>
想要轻松考过,首选模考大师
</view>
--
>
</view>
</view>
</view>
</view>
<view
class=
"experience-pop-view"
>
<view
class=
"experience-pop-view"
>
...
@@ -154,7 +154,7 @@ export default {
...
@@ -154,7 +154,7 @@ export default {
return
process
.
uniEnv
.
qn_base_url
+
'quanbutiku.png'
return
process
.
uniEnv
.
qn_base_url
+
'quanbutiku.png'
},
},
slognImage
()
{
slognImage
()
{
return
process
.
uniEnv
.
qn_base_url
+
'slogn.png'
return
process
.
uniEnv
.
qn_base_url
+
'slogn
-h
.png'
},
},
marks
()
{
marks
()
{
return
[
return
[
...
@@ -184,7 +184,7 @@ export default {
...
@@ -184,7 +184,7 @@ export default {
this
.
data
.
questionWarehouse
.
echoMap
.
provinceId
&&
this
.
data
.
questionWarehouse
.
echoMap
.
provinceId
&&
this
.
data
.
questionWarehouse
.
echoMap
.
provinceId
.
fullName
,
this
.
data
.
questionWarehouse
.
echoMap
.
provinceId
.
fullName
,
experience
:
this
.
canExperience
,
experience
:
this
.
canExperience
,
pass
:
this
.
pass
+
'%'
,
pass
:
this
.
data
.
questionWarehouse
.
version
,
days
:
this
.
detail
.
totalDayCount
||
0
,
days
:
this
.
detail
.
totalDayCount
||
0
,
today
:
this
.
detail
.
todayCount
||
0
,
today
:
this
.
detail
.
todayCount
||
0
,
total
:
this
.
detail
.
totalCount
||
0
,
total
:
this
.
detail
.
totalCount
||
0
,
...
@@ -276,7 +276,6 @@ export default {
...
@@ -276,7 +276,6 @@ export default {
this
.
selected
=
info
this
.
selected
=
info
page
.
info
=
null
page
.
info
=
null
this
.
isAdd
=
this
.
selected
.
isAdd
this
.
isAdd
=
this
.
selected
.
isAdd
this
.
pass
=
this
.
$u
.
random
(
95
,
99
)
this
.
queryMyQuestionWarehouseDetail
(
this
.
selected
.
id
)
this
.
queryMyQuestionWarehouseDetail
(
this
.
selected
.
id
)
}
else
{
}
else
{
this
.
queryMyQuestionWarehouseDetail
(
this
.
info
.
id
||
0
)
this
.
queryMyQuestionWarehouseDetail
(
this
.
info
.
id
||
0
)
...
@@ -365,9 +364,6 @@ export default {
...
@@ -365,9 +364,6 @@ export default {
var
str
=
this
.
info
.
id
?
'selectedList'
:
'selectCategory'
var
str
=
this
.
info
.
id
?
'selectedList'
:
'selectCategory'
this
.
$u
.
route
({
this
.
$u
.
route
({
url
:
'pages/learn/'
+
str
,
url
:
'pages/learn/'
+
str
,
params
:
{
pass
:
this
.
pass
,
},
})
})
},
},
// 每日一练
// 每日一练
...
@@ -666,8 +662,8 @@ export default {
...
@@ -666,8 +662,8 @@ export default {
.detail-view
{
.detail-view
{
display
:
flex
;
display
:
flex
;
align-items
:
flex-start
;
align-items
:
flex-start
;
margin-top
:
14
rpx
;
margin-top
:
22
rpx
;
margin-bottom
:
36
rpx
;
margin-bottom
:
40
rpx
;
.detail-item
{
.detail-item
{
color
:
#9ea5bb
;
color
:
#9ea5bb
;
font-size
:
28rpx
;
font-size
:
28rpx
;
...
@@ -694,7 +690,7 @@ export default {
...
@@ -694,7 +690,7 @@ export default {
display
:
flex
;
display
:
flex
;
justify-content
:
space-between
;
justify-content
:
space-between
;
align-items
:
center
;
align-items
:
center
;
margin
:
30rpx
0
1
6
0rpx
0
;
margin
:
30rpx
0
1
4
0rpx
0
;
.sub-content-item
{
.sub-content-item
{
color
:
#5a6073
;
color
:
#5a6073
;
font-size
:
26rpx
;
font-size
:
26rpx
;
...
@@ -759,9 +755,9 @@ export default {
...
@@ -759,9 +755,9 @@ export default {
font-size
:
26rpx
;
font-size
:
26rpx
;
color
:
#adbdd4
;
color
:
#adbdd4
;
.bottom-image
{
.bottom-image
{
width
:
5
6
rpx
;
width
:
5
20
rpx
;
height
:
56
rpx
;
height
:
28
rpx
;
margin-right
:
14rpx
;
//
margin-right: 14rpx;
}
}
}
}
}
}
...
...
src/pages/learn/boundQuestions.vue
View file @
3776d164
...
@@ -61,7 +61,7 @@ export default {
...
@@ -61,7 +61,7 @@ export default {
computed
:
{
computed
:
{
kapianImage
()
{
kapianImage
()
{
return
process
.
uniEnv
.
qn_base_url
+
'kapian.png'
return
process
.
uniEnv
.
qn_base_url
+
'kapian
lizi
.png'
},
},
customStyle
()
{
customStyle
()
{
return
{
return
{
...
...
src/pages/learn/manualBinding.vue
View file @
3776d164
...
@@ -103,7 +103,7 @@ export default {
...
@@ -103,7 +103,7 @@ export default {
}
}
},
},
kapianImage
()
{
kapianImage
()
{
return
process
.
uniEnv
.
qn_base_url
+
'kapian.png'
return
process
.
uniEnv
.
qn_base_url
+
'kapian
lizi
.png'
},
},
placeplaceholderStyle
()
{
placeplaceholderStyle
()
{
return
'color:#9EA5BB;font-size:28rpx'
return
'color:#9EA5BB;font-size:28rpx'
...
...
src/pages/learn/record.vue
View file @
3776d164
...
@@ -260,7 +260,6 @@ export default {
...
@@ -260,7 +260,6 @@ export default {
keys
.
sort
()
keys
.
sort
()
for
(
let
index
=
0
;
index
<
keys
.
length
;
index
++
)
{
for
(
let
index
=
0
;
index
<
keys
.
length
;
index
++
)
{
const
ele
=
keys
[
index
]
const
ele
=
keys
[
index
]
console
.
log
(
'ele'
,
ele
)
this
.
chartData
.
categories
.
push
(
ele
.
replace
(
/
\-
/g
,
'.'
))
this
.
chartData
.
categories
.
push
(
ele
.
replace
(
/
\-
/g
,
'.'
))
this
.
chartData
.
series
[
0
].
data
.
push
(
res
[
ele
].
totalCount
||
''
)
this
.
chartData
.
series
[
0
].
data
.
push
(
res
[
ele
].
totalCount
||
''
)
this
.
chartData
.
series
[
1
].
data
.
push
(
res
[
ele
].
rightCount
||
''
)
this
.
chartData
.
series
[
1
].
data
.
push
(
res
[
ele
].
rightCount
||
''
)
...
...
src/pages/learn/selectCategory.vue
View file @
3776d164
...
@@ -18,7 +18,7 @@
...
@@ -18,7 +18,7 @@
<view
<view
v-for=
"(list, index) in items"
v-for=
"(list, index) in items"
:key=
"index"
:key=
"index"
class=
"label-list"
class=
"label-list
-content
"
:style=
"
{
:style=
"
{
'min-height':
'min-height':
key == secondKey
&&
index + 1 == list.length
key == secondKey
&&
index + 1 == list.length
...
@@ -190,13 +190,22 @@ export default {
...
@@ -190,13 +190,22 @@ export default {
background-size
:
100%
520rpx
;
background-size
:
100%
520rpx
;
background-repeat
:
no-repeat
;
background-repeat
:
no-repeat
;
.select-category-content
{
.select-category-content
{
padding
:
0
0
24rpx
24rpx
;
::-webkit-scrollbar
{
width
:
0
;
height
:
0
;
color
:
transparent
;
display
:
none
;
}
padding-bottom
:
24rpx
;
height
:
100%
;
height
:
100%
;
overflow
:
auto
;
overflow
:
auto
;
position
:
relative
;
position
:
relative
;
.label-list
{
.label-list
{
margin-bottom
:
20rpx
;
margin-bottom
:
20rpx
;
.label-list-content
{
margin
:
0
24rpx
;
}
.label-title
{
.label-title
{
font-size
:
32rpx
;
font-size
:
32rpx
;
font-weight
:
bold
;
font-weight
:
bold
;
...
@@ -208,8 +217,10 @@ export default {
...
@@ -208,8 +217,10 @@ export default {
}
}
.label-content
{
.label-content
{
flex-wrap
:
wrap
;
display
:
flex
;
justify-content
:
space-between
;
.label-item
{
.label-item
{
padding-right
:
22rpx
;
padding-bottom
:
24rpx
;
padding-bottom
:
24rpx
;
flex-shrink
:
0
;
flex-shrink
:
0
;
display
:
inline-block
;
display
:
inline-block
;
...
...
src/pages/learn/selectedList.vue
View file @
3776d164
...
@@ -51,7 +51,6 @@ export default {
...
@@ -51,7 +51,6 @@ export default {
return
{
return
{
list
:
[],
// 已选题库列表
list
:
[],
// 已选题库列表
loading
:
true
,
loading
:
true
,
currentPass
:
null
,
}
}
},
},
computed
:
{
computed
:
{
...
@@ -69,9 +68,6 @@ export default {
...
@@ -69,9 +68,6 @@ export default {
},
},
},
},
onLoad
(
e
)
{
onLoad
(
e
)
{
if
(
e
&&
e
.
pass
)
{
this
.
currentPass
=
e
.
pass
}
this
.
loadList
()
// 获取已选题库列表
this
.
loadList
()
// 获取已选题库列表
},
},
methods
:
{
methods
:
{
...
@@ -99,9 +95,6 @@ export default {
...
@@ -99,9 +95,6 @@ export default {
for
(
var
item
of
res
)
{
for
(
var
item
of
res
)
{
if
(
item
&&
item
.
echoMap
&&
item
.
echoMap
.
questionWarehouseId
)
{
if
(
item
&&
item
.
echoMap
&&
item
.
echoMap
.
questionWarehouseId
)
{
item
.
echoMap
.
questionWarehouseId
.
number
=
item
.
number
item
.
echoMap
.
questionWarehouseId
.
number
=
item
.
number
if
(
item
.
questionWarehouseId
==
this
.
questionWarehouseId
)
{
item
.
echoMap
.
questionWarehouseId
.
pass
=
this
.
currentPass
}
}
}
}
}
this
.
list
=
res
this
.
list
=
res
...
...
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