Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
educationStu
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
向伟
educationStu
Commits
608412c1
Commit
608412c1
authored
Jan 13, 2022
by
罗超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2
parent
59c94bb5
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
24 additions
and
26 deletions
+24
-26
examPaperList.vue
src/pages/exam/examPaperList.vue
+7
-9
index.vue
src/pages/study/index.vue
+17
-17
No files found.
src/pages/exam/examPaperList.vue
View file @
608412c1
...
...
@@ -47,15 +47,8 @@
<view
class=
"teacherInfo-bg"
></view>
<view
class=
"teacherInfo flex flex_between_center"
>
<view
class=
"flex flex_start_center"
>
<!--
<van-image
round
width=
"45rpx"
height=
"45rpx"
fit=
"cover"
src=
"https://img.yzcdn.cn/vant/cat.jpeg"
/>
-->
<!--
<view
class=
"teacherName"
>
{{
item
.
teacherName
}}
</view>
-->
<text
class=
"rank"
style=
"margin-right: 20rpx;"
v-if=
"item.MyRank>0"
>
排名:#
{{
item
.
MyRank
}}
</text>
<text
class=
"rank"
v-if=
"item.TotalScore>0"
>
得分:
{{
item
.
TotalScore
}}
</text>
</view>
<view
class=
"exam-status"
...
...
@@ -287,4 +280,9 @@ export default {
.status-red
{
color
:
#ff3816
;
}
.rank
{
font-size
:
26
rpx
;
font-weight
:
500
;
color
:
#111
;
}
</
style
>
src/pages/study/index.vue
View file @
608412c1
...
...
@@ -46,7 +46,7 @@
color
:
#666666
;
}
.box_tb_c
text
{
font-size
:
11
px
;
font-size
:
22
r
px
;
color
:
#111111
;
font-weight
:
bold
;
}
...
...
@@ -62,7 +62,7 @@
display
:
flex
;
align-items
:
center
;
justify-content
:
center
;
font-size
:
11
px
;
font-size
:
22
r
px
;
border-radius
:
26
rpx
;
background
:
#4C50E7
;
color
:
#FFFFFF
;
...
...
@@ -111,7 +111,7 @@
display
:
flex
;
align-items
:
center
;
justify-content
:
center
;
font-size
:
14
px
;
font-size
:
28
r
px
;
color
:
#FFF
;
height
:
100%
;
border-radius
:
12px
;
...
...
@@ -247,11 +247,11 @@
<view
class=
"box_t"
>
<view
class=
"box_tb"
>
<view
class=
"row"
style=
"justify-content: space-between;"
>
<view
class=
"row"
style=
"color: #111111;font-size:
14
px;font-weight: bold;"
>
<view
class=
"row"
style=
"color: #111111;font-size:
28r
px;font-weight: bold;"
>
<view
>
单词练习
</view>
<view
style=
"margin-left: 5px;"
>
{{
InfoData
.
TotalScore
}}
</view>
</view>
<view
style=
"font-size:
11
px;color: #4C50E7;"
@
click=
"gourl()"
>
所有单词
</view>
<view
style=
"font-size:
22r
px;color: #4C50E7;"
@
click=
"gourl()"
>
所有单词
</view>
</view>
<view
class=
"row"
style=
"justify-content: space-around;"
>
<view
class=
"box_tb_c"
>
...
...
@@ -270,7 +270,7 @@
</view>
</view>
<view
class=
"box_tb_b"
>
<view
style=
"font-size:
11
px;color: #999999;visibility: hidden;"
>
预计用时10分钟
</view>
<view
style=
"font-size:
22r
px;color: #999999;visibility: hidden;"
>
预计用时10分钟
</view>
<view
class=
"btn"
@
click=
"jumpStudyPage()"
>
立即学习
</view>
</view>
</view>
...
...
@@ -278,21 +278,21 @@
<view
class=
"box_review"
v-if=
'InfoData'
:style=
"
{height:InfoData.Review
&&
InfoData.Review.length>0?'660rpx':'300rpx'}">
<view
class=
"row"
style=
"justify-content: space-between;height: 50rpx;"
>
<view
class=
"row"
style=
"color: #111111;font-size:
14
px;font-weight: bold;"
>
<view
class=
"row"
style=
"color: #111111;font-size:
28r
px;font-weight: bold;"
>
<view
>
课程回顾
</view>
<view
style=
"font-size:
10
px;color: #999999;"
>
(最近7天课程)
</view>
<view
style=
"font-size:
20r
px;color: #999999;"
>
(最近7天课程)
</view>
</view>
<view
style=
"font-size:
11
px;color: #4C50E7;"
@
click=
"gourl()"
>
所有课程
</view>
<view
style=
"font-size:
22r
px;color: #4C50E7;"
@
click=
"gourl()"
>
所有课程
</view>
</view>
<view
class=
"reviewcenter"
v-if=
'InfoData.Review && InfoData.Review.length==0'
>
<view
style=
"font-size:
13
px;font-family: PingFang SC;font-weight: bold;color: #111111;"
>
暂无课程
</view>
<view
style=
"font-size:
10
px;font-family: PingFang SC;font-weight: 400;color: #888888;margin-top: 10px;"
>
购买课程后可回顾
</view>
<view
style=
"font-size:
26r
px;font-family: PingFang SC;font-weight: bold;color: #111111;"
>
暂无课程
</view>
<view
style=
"font-size:
20r
px;font-family: PingFang SC;font-weight: 400;color: #888888;margin-top: 10px;"
>
购买课程后可回顾
</view>
</view>
<view
class=
"box_review_date row"
style=
"margin-top: 40rpx;"
v-if=
'InfoData.Review && InfoData.Review.length>0'
>
<view
v-for=
"(x,y) in InfoData.Review"
:key=
'y'
>
<view
:class=
"
{'box_review_date_item2':current==y}" class="box_review_date_item" @click="goreview(x,y)">
<text>
{{
getdate
(
x
,
1
)
}}
</text>
<text
style=
"font-size:
11
px;margin-top: 5px;"
>
{{
getdate
(
x
,
2
)
}}
</text>
<text
style=
"font-size:
22r
px;margin-top: 5px;"
>
{{
getdate
(
x
,
2
)
}}
</text>
</view>
</view>
...
...
@@ -325,12 +325,12 @@
</view>
</view>
<view
class=
"reviewcenter"
style=
"height: 300rpx;margin-top: 0;align-items: center;justify-content: center;"
v-if=
"InfoData.ExamList.length==0"
>
<view
style=
"font-size:
13
px;
<view
style=
"font-size:
26r
px;
font-family: PingFang SC;
font-weight: bold;
color: #111111;
line-height: 35px;"
>
暂无记录
</view>
<view
style=
"font-size:
10
px;margin-top: 10px;
<view
style=
"font-size:
20r
px;margin-top: 10px;
font-family: PingFang SC;
font-weight: 500;
color: #999999;"
>
参与考试后可查看
</view>
...
...
@@ -339,8 +339,8 @@
<view
v-for=
"(x,y) in InfoData.ExamList"
:key=
'y'
>
<view
class=
"examination-box"
>
<view
style=
"padding: 20px;"
>
<view
style=
"font-size:
18
px;font-weight: bold;color: #111111;"
>
{{x.PaperName}}
</view>
<view
style=
"font-size:
12
px;font-weight: 500;color: #999999;margin-top: 9px;"
>
<view
style=
"font-size:
36r
px;font-weight: bold;color: #111111;"
>
{{x.PaperName}}
</view>
<view
style=
"font-size:
24r
px;font-weight: 500;color: #999999;margin-top: 9px;"
>
测评次数:
<text
v-if=
"x.ExamStatus==1||x.ExamStatus==2||x.ExamStatus==4"
>
0
</text>
<text
v-if=
"x.ExamStatus==3||x.ExamStatus==5"
>
1
</text>
次
</view>
...
...
@@ -382,7 +382,7 @@
<view
class=
"examination-box-c-item"
>
<text
class=
"item_o"
>
考试状态
</text>
<text
class=
""
style=
"opacity: 0;height: 34rpx;"
>
.
</text>
<text
style=
"font-size:
14
px;font-weight: bold"
:class=
"{
<text
style=
"font-size:
28r
px;font-weight: bold"
:class=
"{
'status-blue': x.ExamStatus==1,
'status-green': x.ExamStatus==2,
'status-black': x.ExamStatus==3,
...
...
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