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
b0510cf0
Commit
b0510cf0
authored
Jan 10, 2022
by
Mac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改一些样式
parent
f2b6bc8d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
55 additions
and
5 deletions
+55
-5
index.vue
src/pages/study/index.vue
+55
-5
No files found.
src/pages/study/index.vue
View file @
b0510cf0
...
...
@@ -202,6 +202,21 @@
color
:
#FFF
;
margin
:
20px
0
;
}
.status-blue
{
color
:
#00acf9
;
}
.status-green
{
color
:
#00df9f
;
}
.status-black
{
color
:
#111111
;
}
.status-red
{
color
:
#ff3816
;
}
</
style
>
<
template
>
<view
class=
"studyindex"
>
...
...
@@ -227,7 +242,7 @@
<view
style=
"margin-left: 5px;"
>
80
</view>
<image
style=
"width: 17px;height: 16px;margin-left: 10px;"
src=
"../../static/image/xingxing.png"
></image>
</view>
<view
style=
"font-size: 11px;color: #4C50E7;"
>
所有单词
</view>
<view
style=
"font-size: 11px;color: #4C50E7;"
@
click=
"gourl()"
>
所有单词
</view>
</view>
<view
class=
"row"
style=
"justify-content: space-around;"
>
<view
class=
"box_tb_c"
>
...
...
@@ -257,7 +272,7 @@
<view
>
课程回顾
</view>
<view
style=
"font-size: 10px;color: #999999;"
>
(最近7天课程)
</view>
</view>
<view
style=
"font-size: 11px;color: #4C50E7;"
>
所有课程
</view>
<view
style=
"font-size: 11px;color: #4C50E7;"
@
click=
"gourl()"
>
所有课程
</view>
</view>
<view
class=
"box_review_date row"
style=
"margin-top: 40rpx;"
v-if=
'InfoData.Review'
>
<view
v-for=
"(x,y) in InfoData.Review"
:key=
'y'
>
...
...
@@ -292,7 +307,7 @@
<view
class=
"row"
style=
"color: #111111;font-size: 23px;font-weight: bold;"
>
考试
</view>
<view
style=
"font-size: 14px;color: #4C50E7;"
>
更多试题
</view>
<view
style=
"font-size: 14px;color: #4C50E7;"
@
click=
"gourlkaoshilist()"
>
更多试题
</view>
</view>
</view>
...
...
@@ -337,8 +352,14 @@
<div
class=
'examination-boxb'
>
<view
class=
"examination-box-c-item"
>
<text
class=
"item_o"
>
考试状态
</text>
<text
class=
"item_t"
style=
"font-size: 14px;"
>
{{x.ExamStatusStr}}
</text>
<text
class=
""
style=
"opacity: 0;height: 34rpx;"
>
.
</text>
<text
style=
"font-size: 14px;font-weight: bold"
:class=
"{
'status-blue': x.ExamStatusStr == '未开始',
'status-green': x.ExamStatusStr == '已开始',
'status-black': x.ExamStatusStr == '完成',
'status-red': x.ExamStatusStr == '缺考',
}"
>
{{x.ExamStatusStr}}
</text>
</view>
</div>
<view
class=
"shuxian"
>
...
...
@@ -374,7 +395,7 @@
</view>
</view>
<view
class=
"examination-box-btnbox"
>
<view
class=
"examination-btn"
>
<view
class=
"examination-btn"
@
click=
"gourlkaoshixq(x)"
>
开始测试
</view>
</view>
...
...
@@ -499,6 +520,35 @@
}
},
gourl
(){
//学习列表
uni
.
navigateTo
({
url
:
'/pages/study/courseList'
})
},
gourlkaoshilist
(){
let
indexData
=
uni
.
getStorageSync
(
"indexData"
)
uni
.
navigateTo
({
url
:
`/pages/exam/examPaperList?Id=
${
indexData
.
GuestId
}
`
})
},
jumpPage
(
url
)
{
uni
.
navigateTo
({
url
:
url
,
});
},
gourlkaoshixq
(
item
){
let
indexData
=
uni
.
getStorageSync
(
"indexData"
)
//ExamStatus 1未开始 2已开始 3已考试 4缺考 5已阅卷
if
(
item
.
ExamStatus
==
5
)
{
this
.
jumpPage
(
`/pages/exam/examScore?GuestId=
${
indexData
.
GuestId
}
&&PaperId=
${
item
.
PaperId
}
&&Id=
${
item
.
Id
}
&&Exam_Student_Id=
${
item
.
Exam_Student_Id
}
&&ExamStatus=
${
item
.
ExamStatus
}
`
);
}
else
{
this
.
jumpPage
(
`/pages/exam/examPaper?GuestId=
${
indexData
.
GuestId
}
&&PaperId=
${
item
.
PaperId
}
&&Id=
${
item
.
Id
}
&&Exam_Student_Id=
${
item
.
Exam_Student_Id
}
&&ExamStatus=
${
item
.
ExamStatus
}
`
);
}
},
getdate
(
x
,
type
){
//获取月和天
let
day
=
''
,
month
=
''
;
if
(
type
==
1
){
...
...
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