Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
thinkApp
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
游洁
thinkApp
Commits
7d21f9fe
Commit
7d21f9fe
authored
May 27, 2022
by
liudong1993
Browse files
Options
Browse Files
Download
Plain Diff
1
parents
4f2dd5ec
34783ecf
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
1135 additions
and
582 deletions
+1135
-582
JobComponents.vue
src/components/index/JobComponents.vue
+260
-212
commentsComponents.vue
src/components/index/commentsComponents.vue
+129
-122
course-card.vue
src/components/index/course-card.vue
+22
-6
examComponents.vue
src/components/index/examComponents.vue
+222
-196
courseCard.vue
src/components/index/workSituation/courseCard.vue
+361
-0
examList.vue
src/components/index/workSituation/examList.vue
+68
-1
index.vue
src/pages/index/index.vue
+59
-31
workSituation.vue
src/pages/index/workSituation.vue
+4
-4
accountLogin.vue
src/pages/login/accountLogin.vue
+2
-2
index.vue
src/utils/wxcomponents/vant/search/index.vue
+2
-2
index.wxss
src/utils/wxcomponents/vant/search/index.wxss
+2
-2
index.vue
src/wxcomponents/vant/search/index.vue
+2
-2
index.wxss
src/wxcomponents/vant/search/index.wxss
+2
-2
No files found.
src/components/index/JobComponents.vue
View file @
7d21f9fe
...
@@ -3,33 +3,38 @@
...
@@ -3,33 +3,38 @@
<view
class=
"JobComponents activeOne flex"
>
<view
class=
"JobComponents activeOne flex"
>
<view
class=
"JobComponents-time-box flex"
>
<view
class=
"JobComponents-time-box flex"
>
<view
class=
"JobComponents-time"
>
<view
class=
"JobComponents-time"
>
<view>
05/25 17:13
</view>
<view>
{{
jobData
.
CreateTime
}}
</view>
</view>
</view>
<view
class=
"JobComponents-line"
>
<view
class=
"JobComponents-line"
>
<view
class=
"JobComponents-point"
></view>
<view
class=
"JobComponents-point"
></view>
<view
class=
"JobComponents-year"
v-if=
"jobData.TimeTile&&jobData.TimeTile!=''"
>
{{
jobData
.
TimeTile
}}
年
</view>
</view>
</view>
</view>
</view>
<view
class=
"JobComponents-center-box"
@
click=
"JobDetails"
>
<view
class=
"JobComponents-center-box"
@
click=
"JobDetails"
>
<view
class=
"JobComponents-center-line"
></view>
<view
class=
"JobComponents-center-line"
></view>
<view
class=
"JobComponents-center flex"
>
<view
class=
"JobComponents-center flex"
>
<view
class=
"JobComponents-left"
>
<view
class=
"JobComponents-left"
>
<view
class=
"operation-name"
>
作业名称作业名称作业名称作业名称
</view>
<view
class=
"operation-name"
>
{{
jobData
.
Title
}}
</view>
<view
class=
"operation-state flex"
>
<view
class=
"operation-state flex"
>
<view
class=
"operation-state-img"
></view>
<view
class=
"operation-state-img"
></view>
<view
class=
"operation-state-text"
>
批阅
</view>
<view
class=
"operation-state-text"
>
{{
jobData
.
DataObj
.
HomeWorkStatusStr
}}
</view>
</view>
</view>
</view>
</view>
<view
class=
"JobComponents-right flex"
>
<view
class=
"JobComponents-right flex"
>
<view
class=
"homework-score"
>
<view
class=
"homework-score"
>
<view
class=
"homework-score-title"
>
得分
</view>
<view
class=
"homework-score-title"
>
得分
</view>
<view
class=
"homework-score-num flex"
>
<view
class=
"homework-score-num flex"
>
<view>
86
</view><view>
分
</view>
<view>
{{
jobData
.
DataObj
.
Score
}}
</view>
<view>
分
</view>
</view>
</view>
</view>
</view>
<view
class=
"homework-score"
>
<view
class=
"homework-score"
>
<view
class=
"homework-score-title"
>
得分率
</view>
<view
class=
"homework-score-title"
>
得分率
</view>
<view
class=
"homework-score-num flex"
>
<view
class=
"homework-score-num flex"
>
<view>
86
</view><view>
%
</view>
<view>
{{
jobData
.
DataObj
.
Score_p
}}
</view>
<view>
%
</view>
</view>
</view>
</view>
</view>
</view>
</view>
...
@@ -48,12 +53,9 @@
...
@@ -48,12 +53,9 @@
}
from
"vue"
;
}
from
"vue"
;
export
default
{
export
default
{
props
:
{
props
:
[
"jobData"
],
},
components
:
{},
components
:
{},
setup
()
{
setup
()
{
let
data
=
reactive
({
let
data
=
reactive
({
obj
:
{
obj
:
{
Name
:
''
,
Name
:
''
,
...
@@ -63,7 +65,7 @@
...
@@ -63,7 +65,7 @@
showLogin
:
true
,
//多次点击
showLogin
:
true
,
//多次点击
});
});
let
methods
=
{
let
methods
=
{
JobDetails
()
{
JobDetails
()
{
uni
.
reLaunch
({
uni
.
reLaunch
({
url
:
'/pages/index/workSituation'
url
:
'/pages/index/workSituation'
});
});
...
@@ -77,29 +79,34 @@
...
@@ -77,29 +79,34 @@
};
};
</
script
>
</
script
>
<
style
scoped
>
<
style
scoped
>
.homework-score-num
view
:last-child
{
.homework-score-num
view
:last-child
{
font-size
:
23
rpx
;
font-size
:
23
rpx
;
margin-top
:
25
rpx
;
margin-top
:
25
rpx
;
}
}
.homework-score-num
view
:first-child
{
.homework-score-num
view
:first-child
{
margin-right
:
10
rpx
;
margin-right
:
10
rpx
;
font-size
:
46
rpx
;
font-size
:
46
rpx
;
font-weight
:
800
;
font-weight
:
800
;
}
}
.homework-score-num
{
.homework-score-num
{
color
:
#3E3D3D
;
color
:
#3E3D3D
;
}
}
.homework-score-title
{
.homework-score-title
{
color
:
#484646
;
color
:
#484646
;
font-size
:
20
rpx
;
font-size
:
20
rpx
;
margin-bottom
:
23
rpx
;
margin-bottom
:
23
rpx
;
font-weight
:
400
;
font-weight
:
400
;
letter-spacing
:
1px
;
letter-spacing
:
1px
;
}
}
.homework-score
:first-child
{
.homework-score
:first-child
{
margin-right
:
16
rpx
;
margin-right
:
16
rpx
;
}
}
.JobComponents-right
{
.JobComponents-right
{
height
:
122
rpx
;
height
:
122
rpx
;
background
:
#FFFFFF
;
background
:
#FFFFFF
;
padding
:
22
rpx
26
rpx
15
rpx
26
rpx
;
padding
:
22
rpx
26
rpx
15
rpx
26
rpx
;
...
@@ -108,51 +115,78 @@
...
@@ -108,51 +115,78 @@
flex-shrink
:
0
;
flex-shrink
:
0
;
margin-left
:
11
rpx
;
margin-left
:
11
rpx
;
}
}
.JobComponents.activeThree
.operation-state-text
{
.JobComponents-year
{
width
:
127
rpx
;
line-height
:
111
rpx
;
text-align
:
center
;
position
:
absolute
;
left
:
-125
rpx
;
top
:
-110
rpx
;
background
:
url('https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Test/Upload/Goods/1653476346000_445.png')
no-repeat
;
background-size
:
100%
100%
;
color
:
#FFFFFF
;
font-size
:
30
rpx
;
font-weight
:
bold
;
}
.JobComponents.activeThree
.operation-state-text
{
color
:
#CD3D47
;
color
:
#CD3D47
;
}
}
.JobComponents.activeTwo
.operation-state-text
{
.JobComponents.activeTwo
.operation-state-text
{
color
:
#4E4A4A
;
color
:
#4E4A4A
;
}
}
.JobComponents.activeOne
.operation-state-text
{
.JobComponents.activeOne
.operation-state-text
{
color
:
#FFFFFF
;
color
:
#FFFFFF
;
}
}
.operation-state-text
{
.operation-state-text
{
font-size
:
20
rpx
;
font-size
:
20
rpx
;
letter-spacing
:
2px
;
letter-spacing
:
2px
;
}
}
.JobComponents.activeThree
.operation-state-img
{
.JobComponents.activeThree
.operation-state-img
{
background
:
url('https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Test/Upload/Goods/1653464014000_480.png')
no-repeat
;
background
:
url('https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Test/Upload/Goods/1653464014000_480.png')
no-repeat
;
background-size
:
22
rpx
22
rpx
;
background-size
:
22
rpx
22
rpx
;
}
}
.JobComponents.activeTwo
.operation-state-img
{
.JobComponents.activeTwo
.operation-state-img
{
background
:
url('https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Test/Upload/Goods/1653464014000_781.png')
no-repeat
;
background
:
url('https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Test/Upload/Goods/1653464014000_781.png')
no-repeat
;
background-size
:
22
rpx
22
rpx
;
background-size
:
22
rpx
22
rpx
;
}
}
.JobComponents.activeOne
.operation-state-img
{
.JobComponents.activeOne
.operation-state-img
{
background
:
url('https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Test/Upload/Goods/1653464014000_44.png')
no-repeat
;
background
:
url('https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Test/Upload/Goods/1653464014000_44.png')
no-repeat
;
background-size
:
22
rpx
22
rpx
;
background-size
:
22
rpx
22
rpx
;
}
}
.operation-state-img
{
.operation-state-img
{
width
:
22
rpx
;
width
:
22
rpx
;
height
:
22
rpx
;
height
:
22
rpx
;
margin-right
:
9
rpx
;
margin-right
:
9
rpx
;
margin-top
:
4
rpx
;
margin-top
:
4
rpx
;
}
}
.operation-state
{
.operation-state
{
margin-top
:
35
rpx
;
margin-top
:
35
rpx
;
font-size
:
20
rpx
;
font-size
:
20
rpx
;
}
}
.JobComponents.activeThree
.operation-name
{
.JobComponents.activeThree
.operation-name
{
color
:
#282828
;
color
:
#282828
;
}
}
.JobComponents.activeTwo
.operation-name
{
.JobComponents.activeTwo
.operation-name
{
color
:
#282828
;
color
:
#282828
;
}
}
.JobComponents.activeOne
.operation-name
{
.JobComponents.activeOne
.operation-name
{
color
:
#FFFFFF
;
color
:
#FFFFFF
;
}
}
.operation-name
{
.operation-name
{
font-size
:
26
rpx
;
font-size
:
26
rpx
;
word-break
:
break-all
;
word-break
:
break-all
;
text-overflow
:
ellipsis
;
text-overflow
:
ellipsis
;
...
@@ -164,14 +198,17 @@
...
@@ -164,14 +198,17 @@
letter-spacing
:
1px
;
letter-spacing
:
1px
;
font-weight
:
500
;
font-weight
:
500
;
}
}
.JobComponents-left
{
.JobComponents-left
{
flex
:
1
;
flex
:
1
;
flex-grow
:
1
;
flex-grow
:
1
;
}
}
.JobComponents-center
{
.JobComponents-center
{
justify-content
:
space-between
;
justify-content
:
space-between
;
}
}
.JobComponents-center-line
{
.JobComponents-center-line
{
width
:
4
rpx
;
width
:
4
rpx
;
height
:
23px
;
height
:
23px
;
background
:
#FEFEFE
;
background
:
#FEFEFE
;
...
@@ -179,34 +216,42 @@
...
@@ -179,34 +216,42 @@
left
:
0
;
left
:
0
;
top
:
33
rpx
;
top
:
33
rpx
;
}
}
.JobComponents.activeThree
.JobComponents-center-box
{
.JobComponents.activeThree
.JobComponents-center-box
{
background
:
#EEEEEE
;
background
:
#EEEEEE
;
}
}
.JobComponents.activeTwo
.JobComponents-center-box
{
.JobComponents.activeTwo
.JobComponents-center-box
{
background
:
#F9E0E2
;
background
:
#F9E0E2
;
}
}
.JobComponents.activeOne
.JobComponents-center-box
{
.JobComponents.activeOne
.JobComponents-center-box
{
background
:
#E64150
;
background
:
#E64150
;
}
}
.JobComponents-center-box
{
.JobComponents-center-box
{
flex-grow
:
1
;
flex-grow
:
1
;
position
:
relative
;
position
:
relative
;
border-radius
:
30
rpx
;
border-radius
:
30
rpx
;
padding
:
21
rpx
18
rpx
21
rpx
24
rpx
;
padding
:
21
rpx
18
rpx
21
rpx
24
rpx
;
margin-bottom
:
50
rpx
;
margin-bottom
:
50
rpx
;
}
}
.JobComponents.activeThree
.JobComponents-point
{
.JobComponents.activeThree
.JobComponents-point
{
background
:
#C1C1C1
;
background
:
#C1C1C1
;
}
}
.JobComponents.activeTwo
.JobComponents-point
{
.JobComponents.activeTwo
.JobComponents-point
{
background
:
#282828
;
background
:
#282828
;
}
}
.JobComponents.activeOne
.JobComponents-point
{
.JobComponents.activeOne
.JobComponents-point
{
background
:
#C81727
;
background
:
#C81727
;
box-shadow
:
0px
0px
12px
0px
rgba
(
200
,
23
,
39
,
0.46
);
box-shadow
:
0px
0px
12px
0px
rgba
(
200
,
23
,
39
,
0.46
);
}
}
.JobComponents
.JobComponents-point
{
.JobComponents
.JobComponents-point
{
width
:
19
rpx
;
width
:
19
rpx
;
height
:
19
rpx
;
height
:
19
rpx
;
position
:
absolute
;
position
:
absolute
;
...
@@ -216,7 +261,8 @@
...
@@ -216,7 +261,8 @@
border
:
3px
solid
#FFFFFF
;
border
:
3px
solid
#FFFFFF
;
box-shadow
:
0px
0px
12px
0px
rgba
(
255
,
255
,
255
,
0.46
);
box-shadow
:
0px
0px
12px
0px
rgba
(
255
,
255
,
255
,
0.46
);
}
}
.JobComponents-line
{
.JobComponents-line
{
width
:
4
rpx
;
width
:
4
rpx
;
height
:
100%
;
height
:
100%
;
background
:
#F1F1F1
;
background
:
#F1F1F1
;
...
@@ -224,7 +270,8 @@
...
@@ -224,7 +270,8 @@
margin-right
:
46
rpx
;
margin-right
:
46
rpx
;
position
:
relative
;
position
:
relative
;
}
}
.JobComponents-time
{
.JobComponents-time
{
width
:
61
rpx
;
width
:
61
rpx
;
height
:
55
rpx
;
height
:
55
rpx
;
color
:
#CCC8C6
;
color
:
#CCC8C6
;
...
@@ -233,14 +280,15 @@
...
@@ -233,14 +280,15 @@
padding
:
14
rpx
13
rpx
;
padding
:
14
rpx
13
rpx
;
background
:
#F6F6F6
;
background
:
#F6F6F6
;
}
}
.JobComponents-time-box
{
}
.JobComponents-time-box
{}
.JobComponents
{
.JobComponents
{
justify-content
:
space-between
;
justify-content
:
space-between
;
padding
:
0
50
rpx
;
padding
:
0
50
rpx
;
}
}
.JobComponents-box
{
.JobComponents-box
{
/* background: #FFFFFF; */
/* background: #FFFFFF; */
}
}
</
style
>
</
style
>
src/components/index/commentsComponents.vue
View file @
7d21f9fe
<
template
>
<
template
>
<view
class=
"CommentsComponents-box"
>
<view
class=
"CommentsComponents-box"
>
<view
class=
"CommentsComponents activeOne flex"
>
<view
class=
"CommentsComponents activeOne flex"
>
<view
class=
"CommentsComponents-time-box flex"
>
<view
class=
"CommentsComponents-time-box flex"
>
<view
class=
"CommentsComponents-time"
>
<view
class=
"CommentsComponents-time"
>
<view>
05/25 17:13
</view>
<view>
{{
jobData
.
CreateTime
}}
</view>
</view>
</view>
<view
class=
"CommentsComponents-line"
>
<view
class=
"CommentsComponents-line"
>
<view
class=
"CommentsComponents-point"
></view>
<view
class=
"CommentsComponents-point"
></view>
...
@@ -14,16 +13,11 @@
...
@@ -14,16 +13,11 @@
<view
class=
"CommentsComponents-center-line"
></view>
<view
class=
"CommentsComponents-center-line"
></view>
<view
class=
"CommentsComponents-center flex"
>
<view
class=
"CommentsComponents-center flex"
>
<view
class=
"CommentsComponents-left flex"
>
<view
class=
"CommentsComponents-left flex"
>
<van-image
width=
"38rpx"
height=
"38rpx"
fit=
"cover"
class=
"operation-img"
<van-image
width=
"38rpx"
height=
"38rpx"
fit=
"cover"
class=
"operation-img"
src=
"https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Test/Upload/Goods/1653464014000_713.png"
/>
src=
"https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Test/Upload/Goods/1653464014000_713.png"
/>
<view
class=
"operation-name"
>
{{
jobData
.
Title
}}
</view>
<view
class=
"operation-name"
>
周老师的评语
</view>
</view>
</view>
<view
class=
"CommentsComponents-right"
>
<view
class=
"CommentsComponents-right"
>
你是个做事小心翼翼,感情细腻丰富的女孩
{{
jobData
.
DataObj
.
Comment
}}
,每次看你认真的样子老师都很感动。你也是幸运的,周
边有很多人都在关爱着你,所以,对他们,尤其是父母,记得不要
太莽撞,不要太任性,要学着体谅,学着换位思考
,学着懂事。另外,今后要多运动、多锻炼,有健康才能成就美好未来!
</view>
</view>
</view>
</view>
</view>
</view>
...
@@ -40,12 +34,9 @@
...
@@ -40,12 +34,9 @@
}
from
"vue"
;
}
from
"vue"
;
export
default
{
export
default
{
props
:
{
props
:
[
"jobData"
],
},
components
:
{},
components
:
{},
setup
()
{
setup
()
{
let
data
=
reactive
({
let
data
=
reactive
({
obj
:
{
obj
:
{
Name
:
''
,
Name
:
''
,
...
@@ -61,42 +52,50 @@
...
@@ -61,42 +52,50 @@
};
};
</
script
>
</
script
>
<
style
scoped
>
<
style
scoped
>
.CommentsComponents-right
{
.CommentsComponents-right
{
color
:
#FFFFFF
;
color
:
#FFFFFF
;
font-size
:
20
rpx
;
font-size
:
20
rpx
;
line-height
:
35
rpx
;
line-height
:
35
rpx
;
letter-spacing
:
1
rpx
;
letter-spacing
:
1
rpx
;
}
}
.CommentsComponents.activeThree
.operation-name
{
.CommentsComponents.activeThree
.operation-name
{
color
:
#282828
;
color
:
#282828
;
}
}
.CommentsComponents.activeTwo
.operation-name
{
.CommentsComponents.activeTwo
.operation-name
{
color
:
#282828
;
color
:
#282828
;
}
}
.CommentsComponents.activeOne
.operation-name
{
.CommentsComponents.activeOne
.operation-name
{
color
:
#FFFFFF
;
color
:
#FFFFFF
;
}
}
.operation-name
{
.operation-name
{
font-size
:
26
rpx
;
font-size
:
26
rpx
;
letter-spacing
:
1px
;
letter-spacing
:
1px
;
font-weight
:
500
;
font-weight
:
500
;
flex-grow
:
1
;
flex-grow
:
1
;
}
}
.operation-img
{
.operation-img
{
margin-right
:
12
rpx
;
margin-right
:
12
rpx
;
border-radius
:
50%
;
border-radius
:
50%
;
flex-shrink
:
0
;
flex-shrink
:
0
;
}
}
.CommentsComponents-left
{
.CommentsComponents-left
{
flex
:
1
;
flex
:
1
;
flex-grow
:
1
;
flex-grow
:
1
;
margin-top
:
-5
rpx
;
margin-top
:
-5
rpx
;
margin-bottom
:
10
rpx
;
margin-bottom
:
10
rpx
;
}
}
.CommentsComponents-center
{
.CommentsComponents-center
{
flex-direction
:
column
;
flex-direction
:
column
;
}
}
.CommentsComponents-center-line
{
.CommentsComponents-center-line
{
width
:
4
rpx
;
width
:
4
rpx
;
height
:
23
rpx
;
height
:
23
rpx
;
background
:
#FEFEFE
;
background
:
#FEFEFE
;
...
@@ -104,21 +103,25 @@
...
@@ -104,21 +103,25 @@
left
:
0
;
left
:
0
;
top
:
33
rpx
;
top
:
33
rpx
;
}
}
.CommentsComponents.activeOne
.CommentsComponents-center-box
{
.CommentsComponents.activeOne
.CommentsComponents-center-box
{
background
:
#52C1CA
;
background
:
#52C1CA
;
}
}
.CommentsComponents-center-box
{
.CommentsComponents-center-box
{
flex-grow
:
1
;
flex-grow
:
1
;
position
:
relative
;
position
:
relative
;
border-radius
:
30
rpx
;
border-radius
:
30
rpx
;
padding
:
31
rpx
18
rpx
21
rpx
24
rpx
;
padding
:
31
rpx
18
rpx
21
rpx
24
rpx
;
margin-bottom
:
50
rpx
;
margin-bottom
:
50
rpx
;
}
}
.CommentsComponents.activeOne
.CommentsComponents-point
{
.CommentsComponents.activeOne
.CommentsComponents-point
{
background
:
#1E7BF5
;
background
:
#1E7BF5
;
box-shadow
:
0px
0px
12px
0px
rgba
(
30
,
123
,
245
,
0.46
);
box-shadow
:
0px
0px
12px
0px
rgba
(
30
,
123
,
245
,
0.46
);
}
}
.CommentsComponents-point
{
.CommentsComponents-point
{
width
:
19
rpx
;
width
:
19
rpx
;
height
:
19
rpx
;
height
:
19
rpx
;
position
:
absolute
;
position
:
absolute
;
...
@@ -128,7 +131,8 @@
...
@@ -128,7 +131,8 @@
border
:
3px
solid
#FFFFFF
;
border
:
3px
solid
#FFFFFF
;
box-shadow
:
0px
0px
12px
0px
rgba
(
255
,
255
,
255
,
0.46
);
box-shadow
:
0px
0px
12px
0px
rgba
(
255
,
255
,
255
,
0.46
);
}
}
.CommentsComponents-line
{
.CommentsComponents-line
{
width
:
4
rpx
;
width
:
4
rpx
;
height
:
100%
;
height
:
100%
;
background
:
#F1F1F1
;
background
:
#F1F1F1
;
...
@@ -136,7 +140,8 @@
...
@@ -136,7 +140,8 @@
margin-right
:
46
rpx
;
margin-right
:
46
rpx
;
position
:
relative
;
position
:
relative
;
}
}
.CommentsComponents-time
{
.CommentsComponents-time
{
width
:
61
rpx
;
width
:
61
rpx
;
height
:
55
rpx
;
height
:
55
rpx
;
color
:
#CCC8C6
;
color
:
#CCC8C6
;
...
@@ -145,11 +150,13 @@
...
@@ -145,11 +150,13 @@
padding
:
14
rpx
13
rpx
;
padding
:
14
rpx
13
rpx
;
background
:
#F6F6F6
;
background
:
#F6F6F6
;
}
}
.CommentsComponents
{
.CommentsComponents
{
justify-content
:
space-between
;
justify-content
:
space-between
;
padding
:
0
50
rpx
;
padding
:
0
50
rpx
;
}
}
.CommentsComponents-box
{
.CommentsComponents-box
{
background
:
#FFFFFF
;
background
:
#FFFFFF
;
}
}
</
style
>
</
style
>
src/components/index/course-card.vue
View file @
7d21f9fe
...
@@ -3,9 +3,10 @@
...
@@ -3,9 +3,10 @@
<view
class=
"course-item"
>
<view
class=
"course-item"
>
<view
style=
"width:287rpx;"
>
<view
style=
"width:287rpx;"
>
<view
class=
"course-name"
>
<view
class=
"course-name"
>
{{
stuCourseList
[
0
].
CourseName
}}
{{
stuCourseList
[
0
].
CourseName
}}
</view>
</view>
<van-progress
percentage=
"75"
:show-pivot=
"false"
track-color=
"#EFEFEF"
color=
"#282828"
stroke-width=
"5"
/>
<van-progress
:percentage=
"calcPercentage(stuCourseList[0])"
:show-pivot=
"false"
track-color=
"#EFEFEF"
color=
"#282828"
stroke-width=
"5"
/>
<view
class=
"course-progress"
>
<view
class=
"course-progress"
>
上课进度
{{
stuCourseList
[
0
].
CompleteNum
}}
/
{{
stuCourseList
[
0
].
TotalClassNum
}}
上课进度
{{
stuCourseList
[
0
].
CompleteNum
}}
/
{{
stuCourseList
[
0
].
TotalClassNum
}}
</view>
</view>
...
@@ -44,12 +45,13 @@
...
@@ -44,12 +45,13 @@
<view
class=
"one_line course-name"
>
<view
class=
"one_line course-name"
>
{{
item
.
CourseName
}}
{{
item
.
CourseName
}}
</view>
</view>
<van-progress
percentage=
"46"
:show-pivot=
"false"
track-color=
"#EFEFEF"
color=
"#282828"
stroke-width=
"5"
/>
<van-progress
:percentage=
"calcPercentage(item)"
:show-pivot=
"false"
track-color=
"#EFEFEF"
color=
"#282828"
stroke-width=
"5"
/>
<view
class=
"course-progress"
>
<view
class=
"course-progress"
>
上课进度
{{
item
.
CompleteNum
}}
/
{{
item
.
TotalClassNum
}}
上课进度
{{
item
.
CompleteNum
}}
/
{{
item
.
TotalClassNum
}}
</view>
</view>
<view
style=
"text-align: right;"
>
<view
style=
"text-align: right;"
>
<van-button
@
click=
"hideExchangeBoxHandler"
color=
"#C91727"
round
size=
"mini"
custom-style=
"color:#FFF;font-size: 24rpx;padding-left:16rpx;padding-right:10px;"
>
<van-button
@
click=
"hideExchangeBoxHandler
(item)
"
color=
"#C91727"
round
size=
"mini"
custom-style=
"color:#FFF;font-size: 24rpx;padding-left:16rpx;padding-right:10px;"
>
选择课程
选择课程
</van-button>
</van-button>
</view>
</view>
...
@@ -80,14 +82,28 @@
...
@@ -80,14 +82,28 @@
setup
(
props
,
context
)
{
setup
(
props
,
context
)
{
let
data
=
reactive
({
let
data
=
reactive
({
statusBarHeight
:
24
,
statusBarHeight
:
24
,
showItems
:
false
showItems
:
false
,
currentCourse
:{}
});
});
let
methods
=
{
let
methods
=
{
exchangeItemHandler
()
{
exchangeItemHandler
()
{
data
.
showItems
=
true
data
.
showItems
=
true
},
},
hideExchangeBoxHandler
()
{
//点击切换课程
hideExchangeBoxHandler
(
item
)
{
//调用父页面方法
this
.
$parent
.
getStuHomeWorkAndExam
(
item
.
courseId
);
data
.
showItems
=
false
data
.
showItems
=
false
},
//计算完成百分比
calcPercentage
(
item
)
{
let
percent
=
0
;
if
(
item
)
{
if
(
item
.
TotalClassNum
>
0
)
{
percent
=
Number
(
item
.
CompleteNum
/
item
.
TotalClassNum
)
*
100
}
}
return
percent
;
}
}
}
}
return
{
return
{
...
...
src/components/index/examComponents.vue
View file @
7d21f9fe
<
template
>
<
template
>
<view
class=
"examComponents-box"
>
<view
class=
"examComponents-box"
>
<view
class=
"examComponents activeOne flex"
>
<view
class=
"examComponents activeOne flex"
>
<view
class=
"examComponents-time-box flex"
>
<view
class=
"examComponents-time-box flex"
>
<view
class=
"examComponents-time"
>
<view
class=
"examComponents-time"
>
<view>
05/25 17:13
</view>
<view>
{{
jobData
.
CreateTime
}}
</view>
</view>
</view>
<view
class=
"examComponents-line"
>
<view
class=
"examComponents-line"
>
<view
class=
"examComponents-point"
></view>
<view
class=
"examComponents-point"
></view>
<view
class=
"examComponents-year
"
>
<view
class=
"examComponents-year"
v-if=
"jobData.TimeTile&&jobData.TimeTile!=''
"
>
2021
年
{{
jobData
.
TimeTile
}}
年
</view>
</view>
</view>
</view>
</view>
</view>
...
@@ -17,31 +16,35 @@
...
@@ -17,31 +16,35 @@
<view
class=
"examComponents-center-line"
></view>
<view
class=
"examComponents-center-line"
></view>
<view
class=
"examComponents-center flex"
>
<view
class=
"examComponents-center flex"
>
<view
class=
"examComponents-left"
>
<view
class=
"examComponents-left"
>
<view
class=
"operation-name"
>
考试名称
</view>
<view
class=
"operation-name"
>
{{
jobData
.
Title
}}
</view>
</view>
</view>
<view
class=
"examComponents-right flex"
>
<view
class=
"examComponents-right flex"
>
<view
class=
"homework-score"
>
<view
class=
"homework-score"
>
<view
class=
"homework-score-title"
>
总分
</view>
<view
class=
"homework-score-title"
>
总分
</view>
<view
class=
"homework-score-num flex"
>
<view
class=
"homework-score-num flex"
>
<view>
86
</view><view>
分
</view>
<view>
{{
jobData
.
DataObj
.
Score
}}
</view>
<view>
分
</view>
</view>
</view>
</view>
</view>
<view
class=
"homework-score"
>
<view
class=
"homework-score"
>
<view
class=
"homework-score-title"
>
得分率
</view>
<view
class=
"homework-score-title"
>
得分率
</view>
<view
class=
"homework-score-num flex"
>
<view
class=
"homework-score-num flex"
>
<view>
86
</view><view>
%
</view>
<view>
{{
jobData
.
DataObj
.
Score_p
}}
</view>
<view>
%
</view>
</view>
</view>
</view>
</view>
<view
class=
"homework-score"
>
<view
class=
"homework-score"
>
<view
class=
"homework-score-title"
>
排名
</view>
<view
class=
"homework-score-title"
>
排名
</view>
<view
class=
"homework-score-num flex"
>
<view
class=
"homework-score-num flex"
>
<view>
15
</view><view></view>
<view>
{{
jobData
.
DataObj
.
ExamRank
}}
</view>
<view></view>
</view>
</view>
</view>
</view>
<view
class=
"homework-score"
>
<view
class=
"homework-score"
>
<view
class=
"homework-score-title"
>
领先度
</view>
<view
class=
"homework-score-title"
>
领先度
</view>
<view
class=
"homework-score-num flex"
>
<view
class=
"homework-score-num flex"
>
<view>
86
</view><view>
%
</view>
<view>
{{
jobData
.
DataObj
.
ExamRankRate
}}
</view>
<view>
%
</view>
</view>
</view>
</view>
</view>
</view>
</view>
...
@@ -60,20 +63,17 @@
...
@@ -60,20 +63,17 @@
}
from
"vue"
;
}
from
"vue"
;
export
default
{
export
default
{
props
:
{
props
:
[
"jobData"
],
},
components
:
{},
components
:
{},
setup
()
{
setup
()
{
let
data
=
reactive
({
let
data
=
reactive
({
showPhone
:
false
,
showPhone
:
false
,
showLogin
:
true
,
//多次点击
showLogin
:
true
,
//多次点击
});
});
let
methods
=
{
let
methods
=
{
scoreDetails
()
{
scoreDetails
()
{
uni
.
reLaunch
({
uni
.
reLaunch
({
url
:
'/pages/index/scoreDetails?examId=6&stuUId=14135454'
url
:
'/pages/index/scoreDetails'
});
});
}
}
}
}
...
@@ -85,61 +85,74 @@
...
@@ -85,61 +85,74 @@
};
};
</
script
>
</
script
>
<
style
scoped
>
<
style
scoped
>
.homework-score-num
view
:last-child
{
.homework-score-num
view
:last-child
{
font-size
:
23
rpx
;
font-size
:
23
rpx
;
margin-top
:
25
rpx
;
margin-top
:
25
rpx
;
}
}
.homework-score-num
view
:first-child
{
.homework-score-num
view
:first-child
{
margin-right
:
10
rpx
;
margin-right
:
10
rpx
;
font-size
:
46
rpx
;
font-size
:
46
rpx
;
font-weight
:
800
;
font-weight
:
800
;
}
}
.homework-score-num
{
.homework-score-num
{
color
:
#3E3D3D
;
color
:
#3E3D3D
;
}
}
.homework-score-title
{
.homework-score-title
{
color
:
#484646
;
color
:
#484646
;
font-size
:
20
rpx
;
font-size
:
20
rpx
;
margin-bottom
:
23
rpx
;
margin-bottom
:
23
rpx
;
font-weight
:
400
;
font-weight
:
400
;
letter-spacing
:
1px
;
letter-spacing
:
1px
;
}
}
.homework-score
{
.homework-score
{
margin-right
:
16
rpx
;
margin-right
:
16
rpx
;
}
}
.homework-score
:last-child
{
.homework-score
:last-child
{
margin-right
:
0
;
margin-right
:
0
;
}
}
.examComponents-right
{
.examComponents-right
{
height
:
122
rpx
;
height
:
122
rpx
;
background
:
#FFFFFF
;
background
:
#FFFFFF
;
padding
:
22
rpx
26
rpx
15
rpx
26
rpx
;
padding
:
22
rpx
26
rpx
15
rpx
26
rpx
;
border-radius
:
30
rpx
;
border-radius
:
30
rpx
;
justify-content
:
space-between
;
justify-content
:
space-between
;
}
}
.examComponents.activeThree
.operation-name
{
.examComponents.activeThree
.operation-name
{
color
:
#282828
;
color
:
#282828
;
}
}
.examComponents.activeTwo
.operation-name
{
.examComponents.activeTwo
.operation-name
{
color
:
#282828
;
color
:
#282828
;
}
}
.examComponents.activeOne
.operation-name
{
.examComponents.activeOne
.operation-name
{
color
:
#FFFFFF
;
color
:
#FFFFFF
;
}
}
.operation-name
{
.operation-name
{
font-size
:
26
rpx
;
font-size
:
26
rpx
;
letter-spacing
:
1px
;
letter-spacing
:
1px
;
font-weight
:
500
;
font-weight
:
500
;
margin-bottom
:
20
rpx
;
margin-bottom
:
20
rpx
;
}
}
.examComponents-left
{
.examComponents-left
{
flex
:
1
;
flex
:
1
;
flex-grow
:
1
;
flex-grow
:
1
;
}
}
.examComponents-center
{
.examComponents-center
{
flex-direction
:
column
;
flex-direction
:
column
;
}
}
.examComponents-center-line
{
.examComponents-center-line
{
width
:
4
rpx
;
width
:
4
rpx
;
height
:
23px
;
height
:
23px
;
background
:
#FEFEFE
;
background
:
#FEFEFE
;
...
@@ -147,23 +160,28 @@
...
@@ -147,23 +160,28 @@
left
:
0
;
left
:
0
;
top
:
33
rpx
;
top
:
33
rpx
;
}
}
.examComponents.activeThree
.examComponents-center-box
{
.examComponents.activeThree
.examComponents-center-box
{
background
:
#EEEEEE
;
background
:
#EEEEEE
;
}
}
.examComponents.activeTwo
.examComponents-center-box
{
.examComponents.activeTwo
.examComponents-center-box
{
background
:
#DBE9FB
;
background
:
#DBE9FB
;
}
}
.examComponents.activeOne
.examComponents-center-box
{
.examComponents.activeOne
.examComponents-center-box
{
background
:
#1E7BF5
;
background
:
#1E7BF5
;
}
}
.examComponents-center-box
{
.examComponents-center-box
{
flex-grow
:
1
;
flex-grow
:
1
;
position
:
relative
;
position
:
relative
;
border-radius
:
30
rpx
;
border-radius
:
30
rpx
;
padding
:
31
rpx
18
rpx
21
rpx
24
rpx
;
padding
:
31
rpx
18
rpx
21
rpx
24
rpx
;
margin-bottom
:
50
rpx
;
margin-bottom
:
50
rpx
;
}
}
.examComponents-year
{
.examComponents-year
{
width
:
127
rpx
;
width
:
127
rpx
;
line-height
:
111
rpx
;
line-height
:
111
rpx
;
text-align
:
center
;
text-align
:
center
;
...
@@ -177,18 +195,22 @@
...
@@ -177,18 +195,22 @@
font-weight
:
bold
;
font-weight
:
bold
;
}
}
.examComponents.activeThree
.examComponents-point
{
.examComponents.activeThree
.examComponents-point
{
background
:
#C1C1C1
;
background
:
#C1C1C1
;
}
}
.examComponents.activeTwo
.examComponents-point
{
.examComponents.activeTwo
.examComponents-point
{
background
:
#282828
;
background
:
#282828
;
}
}
.examComponents.activeOne
.examComponents-point
{
.examComponents.activeOne
.examComponents-point
{
background
:
#1E7BF5
;
background
:
#1E7BF5
;
box-shadow
:
0px
0px
12px
0px
rgba
(
30
,
123
,
245
,
0.46
);
box-shadow
:
0px
0px
12px
0px
rgba
(
30
,
123
,
245
,
0.46
);
}
}
.examComponents-point
{
.examComponents-point
{
width
:
19
rpx
;
width
:
19
rpx
;
height
:
19
rpx
;
height
:
19
rpx
;
position
:
absolute
;
position
:
absolute
;
...
@@ -198,7 +220,8 @@
...
@@ -198,7 +220,8 @@
border
:
3px
solid
#FFFFFF
;
border
:
3px
solid
#FFFFFF
;
box-shadow
:
0px
0px
12px
0px
rgba
(
255
,
255
,
255
,
0.46
);
box-shadow
:
0px
0px
12px
0px
rgba
(
255
,
255
,
255
,
0.46
);
}
}
.examComponents-line
{
.examComponents-line
{
width
:
4
rpx
;
width
:
4
rpx
;
height
:
100%
;
height
:
100%
;
background
:
#F1F1F1
;
background
:
#F1F1F1
;
...
@@ -206,7 +229,8 @@
...
@@ -206,7 +229,8 @@
margin-right
:
46
rpx
;
margin-right
:
46
rpx
;
position
:
relative
;
position
:
relative
;
}
}
.examComponents-time
{
.examComponents-time
{
width
:
61
rpx
;
width
:
61
rpx
;
height
:
55
rpx
;
height
:
55
rpx
;
color
:
#CCC8C6
;
color
:
#CCC8C6
;
...
@@ -215,11 +239,13 @@
...
@@ -215,11 +239,13 @@
padding
:
14
rpx
13
rpx
;
padding
:
14
rpx
13
rpx
;
background
:
#F6F6F6
;
background
:
#F6F6F6
;
}
}
.examComponents
{
.examComponents
{
justify-content
:
space-between
;
justify-content
:
space-between
;
padding
:
0
50
rpx
;
padding
:
0
50
rpx
;
}
}
.examComponents-box
{
.examComponents-box
{
background
:
#FFFFFF
;
background
:
#FFFFFF
;
margin-top
:
30
rpx
;
margin-top
:
30
rpx
;
}
}
...
...
src/components/index/workSituation/courseCard.vue
0 → 100644
View file @
7d21f9fe
This diff is collapsed.
Click to expand it.
src/components/index/workSituation/examList.vue
View file @
7d21f9fe
<
template
>
<
template
>
<view
class=
"examList-box"
>
<view
class=
"examList-box"
>
<view
class=
"examList-import"
>
<view
class=
"examList-import"
@
click=
"ImportInformation"
>
<van-icon
name=
"plus"
/>
<van-icon
name=
"plus"
/>
<text>
导入考试信息
</text>
<text>
导入考试信息
</text>
</view>
</view>
...
@@ -33,6 +33,20 @@
...
@@ -33,6 +33,20 @@
</view>
</view>
<!--
<view
class=
"noData"
>
暂无数据
</view>
-->
<!--
<view
class=
"noData"
>
暂无数据
</view>
-->
</view>
</view>
<van-popup
:show=
"show"
:round=
"true"
>
<view
class=
"examList-popup-box"
>
<van-icon
class=
"examList-popup-closure"
name=
"cross"
@
click=
"show=false"
/>
<view
class=
"examList-popup-title"
>
导入考试信息
</view>
<view
class=
"examList-popup-content"
>
<input
v-model=
"obj.name"
class=
"examList-popup-name"
placeholder=
"请输入考试名称"
>
<view
class=
"examList-popup-fil"
@
click=
"uploadFiles"
>
<van-image
class=
"img"
width=
"32rpx"
height=
"32rpx"
fit=
"cover"
src=
"https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Test/Upload/Goods/1653639041000_305.png"
/>
选择文件
</view>
</view>
</view>
</van-popup>
</view>
</view>
</
template
>
</
template
>
<
script
>
<
script
>
...
@@ -58,12 +72,19 @@
...
@@ -58,12 +72,19 @@
},
},
showPhone
:
false
,
showPhone
:
false
,
showLogin
:
true
,
//多次点击
showLogin
:
true
,
//多次点击
show
:
false
,
});
});
let
methods
=
{
let
methods
=
{
JobDetails
(){
JobDetails
(){
uni
.
reLaunch
({
uni
.
reLaunch
({
url
:
'/pages/index/workSituation'
url
:
'/pages/index/workSituation'
});
});
},
ImportInformation
(){
this
.
show
=
true
},
uploadFiles
(){
}
}
}
}
return
{
return
{
...
@@ -74,6 +95,52 @@
...
@@ -74,6 +95,52 @@
};
};
</
script
>
</
script
>
<
style
scoped
>
<
style
scoped
>
.img
{
display
:
inline-block
;
position
:
relative
;
top
:
6
rpx
;
margin-right
:
10
rpx
;
}
.examList-popup-fil
{
line-height
:
88
rpx
;
padding
:
0
10
rpx
;
border-radius
:
44
rpx
;
font-size
:
30
rpx
;
color
:
#FFFFFF
;
background
:
#C91727
;
margin-top
:
27
rpx
;
text-align
:
center
;
}
.examList-popup-name
{
background-color
:
#FFFFFF
;
text-align
:
center
;
border
:
1px
solid
#AAAAAA
;
height
:
86
rpx
;
line-height
:
86
rpx
;
padding
:
0
10
rpx
;
border-radius
:
44
rpx
;
font-size
:
30
rpx
;
}
.examList-popup-title
{
width
:
100%
;
text-align
:
center
;
font-size
:
30
rpx
;
font-weight
:
500
;
margin-bottom
:
73
rpx
;
letter-spacing
:
1
rpx
;
}
.examList-popup-closure
{
position
:
absolute
;
right
:
31
rpx
;
top
:
31
rpx
;
color
:
#282828
;
font-size
:
38
rpx
;
}
.examList-popup-box
{
position
:
relative
;
width
:
548
rpx
;
padding
:
48
rpx
55
rpx
98
rpx
55
rpx
;
}
.homework-score-num
view
:last-child
{
.homework-score-num
view
:last-child
{
font-size
:
23
rpx
;
font-size
:
23
rpx
;
margin-top
:
25
rpx
;
margin-top
:
25
rpx
;
...
...
src/pages/index/index.vue
View file @
7d21f9fe
...
@@ -3,8 +3,7 @@
...
@@ -3,8 +3,7 @@
<navbar
class=
"navbarSticky"
bg=
"#F6F6F6"
>
<navbar
class=
"navbarSticky"
bg=
"#F6F6F6"
>
<view
class=
"index-header-box"
>
<view
class=
"index-header-box"
>
<view
class=
"index-header-img"
>
<view
class=
"index-header-img"
>
<van-image
width=
"100%"
height=
"100%"
fit=
"cover"
class=
"img"
<van-image
width=
"100%"
height=
"100%"
fit=
"cover"
class=
"img"
src=
"https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Test/Upload/Goods/1653464014000_713.png"
/>
src=
"https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Test/Upload/Goods/1653464014000_713.png"
/>
</view>
</view>
<view
class=
"index-header-tetx"
>
<view
class=
"index-header-tetx"
>
<view
class=
"index-header-title"
>
<view
class=
"index-header-title"
>
...
@@ -23,12 +22,15 @@
...
@@ -23,12 +22,15 @@
<course-card
:stuCourseList=
"stuCourseList"
></course-card>
<course-card
:stuCourseList=
"stuCourseList"
></course-card>
<view
class=
"index-student-title flex"
>
<view
class=
"index-student-title flex"
>
<text>
考情详情
</text>
<text>
考情详情
</text>
<view>
(共
53
条)
</view>
<view>
(共
{{
workList
!=
null
&&
workList
.
length
>
0
?
workList
.
length
:
0
}}
条)
</view>
</view>
</view>
<view
class=
"index-student-information"
>
<view
class=
"index-student-information"
>
<JobComponents></JobComponents>
<template
v-for=
"(item,index) in workList"
>
<examComponents></examComponents>
<JobComponents
v-if=
"item.ResultType==1"
:jobData=
"item"
></JobComponents>
<commentsComponents></commentsComponents>
<examComponents
v-if=
"item.ResultType==2"
:jobData=
"item"
></examComponents>
<commentsComponents
v-if=
"item.ResultType==3"
:jobData=
"item"
></commentsComponents>
</
template
>
</view>
</view>
</view>
</view>
</template>
</template>
...
@@ -75,8 +77,13 @@
...
@@ -75,8 +77,13 @@
proxy
proxy
}
=
getCurrentInstance
();
}
=
getCurrentInstance
();
let
data
=
reactive
({
let
data
=
reactive
({
stuCourseList
:
[],
//学员课程列表
stuCourseList
:
[],
//学员课程列表
userData
:
{},
//用户信息
userData
:
{},
//用户信息
//学员作业和考试查询参数
workMsg
:
{
courseId
:
0
,
},
workList
:
[],
//学员作业、考试、评语数据
});
});
let
methods
=
{
let
methods
=
{
...
@@ -127,14 +134,24 @@
...
@@ -127,14 +134,24 @@
}
}
}
while
(
i
<
data
.
length
);
}
while
(
i
<
data
.
length
);
dec
=
tmp_arr
.
join
(
""
);
dec
=
tmp_arr
.
join
(
""
);
return
dec
;
return
dec
;
},
},
//获取学员课程列表
//获取学员课程列表
getStuCourse
()
{
getStuCourse
()
{
proxy
.
$request
(
"/Stu/GetStuCourse"
,
{}).
then
(
res
=>
{
proxy
.
$request
(
"/Stu/GetStuCourse"
,
{}).
then
(
res
=>
{
data
.
stuCourseList
=
res
.
Data
;
let
tempArray
=
res
.
Data
;
//console.log("data.stuCourseList",this.stuCourseList)
data
.
stuCourseList
=
tempArray
;
if
(
tempArray
&&
tempArray
.
length
>
0
)
{
this
.
getStuHomeWorkAndExam
(
tempArray
[
0
].
courseId
)
}
})
},
//获取学员作业、考试、评语
getStuHomeWorkAndExam
(
courseId
)
{
this
.
workMsg
.
courseId
=
courseId
;
data
.
workList
=
[];
proxy
.
$request
(
"/Stu/GetStuWork"
,
this
.
workMsg
).
then
(
res
=>
{
data
.
workList
=
res
.
Data
;
})
})
},
},
async
getColor
(
src
,
index
,
y
)
{
async
getColor
(
src
,
index
,
y
)
{
...
@@ -179,35 +196,41 @@
...
@@ -179,35 +196,41 @@
</
script
>
</
script
>
<
style
scoped
>
<
style
scoped
>
.index-student-title
view
{
.index-student-title
view
{
font-size
:
25
rpx
;
font-size
:
25
rpx
;
color
:
#ABABAB
;
color
:
#ABABAB
;
margin-left
:
20
rpx
;
margin-left
:
20
rpx
;
padding
:
13
rpx
0
0
0
;
padding
:
13
rpx
0
0
0
;
}
}
.index-student-title
text
{
.index-student-title
text
{
font-size
:
36
rpx
;
font-size
:
36
rpx
;
font-weight
:
800
;
font-weight
:
800
;
color
:
#282828
;
color
:
#282828
;
}
}
.index-student-title
{
.index-student-title
{
padding
:
0
50
rpx
45
rpx
;
padding
:
0
50
rpx
45
rpx
;
}
}
.index-student-information
{
.index-student-information
{
min-height
:
500
rpx
;
min-height
:
500
rpx
;
background
:
rgba
(
255
,
255
,
255
,
.7
);
background
:
rgba
(
255
,
255
,
255
,
.7
);
border-radius
:
50
rpx
50
rpx
0
0
;
border-radius
:
50
rpx
50
rpx
0
0
;
padding
:
71
rpx
0
0
0
;
padding
:
71
rpx
0
0
0
;
}
}
.index-header-name
{
.index-header-name
{
font-size
:
30
rpx
;
font-size
:
30
rpx
;
color
:
#474747
;
color
:
#474747
;
}
}
.index-header-tetx
{
.index-header-tetx
{
color
:
#D0D0D0
;
color
:
#D0D0D0
;
font-size
:
24
rpx
;
font-size
:
24
rpx
;
}
}
.index-header-img
.img
{
.index-header-img
.img
{
display
:
block
;
display
:
block
;
border
:
2
rpx
solid
rgba
(
164
,
164
,
164
,
0.32
);
border
:
2
rpx
solid
rgba
(
164
,
164
,
164
,
0.32
);
border-radius
:
50%
;
border-radius
:
50%
;
...
@@ -217,7 +240,8 @@
...
@@ -217,7 +240,8 @@
box-sizing
:
border-box
;
box-sizing
:
border-box
;
margin
:
4
rpx
;
margin
:
4
rpx
;
}
}
.index-header-img
{
.index-header-img
{
width
:
68
rpx
;
width
:
68
rpx
;
height
:
68
rpx
;
height
:
68
rpx
;
border-radius
:
50%
;
border-radius
:
50%
;
...
@@ -226,6 +250,7 @@
...
@@ -226,6 +250,7 @@
margin-right
:
20
rpx
;
margin-right
:
20
rpx
;
background
:
#FFFFFF
;
background
:
#FFFFFF
;
}
}
.indexpage
{
.indexpage
{
min-height
:
100vh
;
min-height
:
100vh
;
background-color
:
#f6f6f6
;
background-color
:
#f6f6f6
;
...
@@ -235,26 +260,29 @@
...
@@ -235,26 +260,29 @@
background-repeat
:
no-repeat
;
background-repeat
:
no-repeat
;
background-size
:
100%
auto
;
background-size
:
100%
auto
;
}
}
.index-header-box
{
.index-header-box
{
display
:
flex
;
display
:
flex
;
flex-direction
:
row
;
flex-direction
:
row
;
align-items
:
center
;
align-items
:
center
;
padding
:
0
rpx
42
rpx
;
padding
:
0
rpx
42
rpx
;
}
}
.index-header-box
.index-header-title
{
.index-header-box
.index-header-title
{
font-size
:
24
rpx
;
font-size
:
24
rpx
;
font-weight
:
400
;
font-weight
:
400
;
color
:
#B8B8B8
;
color
:
#B8B8B8
;
}
}
.index-header-box
.index-header-name
{
.index-header-box
.index-header-name
{
font-size
:
30
rpx
;
font-size
:
30
rpx
;
font-weight
:
800
;
font-weight
:
800
;
color
:
#282828
;
color
:
#282828
;
}
}
.navbarSticky
{
.navbarSticky
{
display
:
sticky
;
display
:
sticky
;
top
:
0
;
top
:
0
;
z-index
:
9
;
z-index
:
9
;
}
}
</
style
>
</
style
>
src/pages/index/workSituation.vue
View file @
7d21f9fe
...
@@ -20,7 +20,7 @@
...
@@ -20,7 +20,7 @@
<view
style=
"font-size: 50rpx;"
>
李老师
</view>
<view
style=
"font-size: 50rpx;"
>
李老师
</view>
</view>
</view>
</view>
</view>
<course
-card></course-c
ard>
<course
Card></courseC
ard>
<view
class=
"index-student-information"
>
<view
class=
"index-student-information"
>
<view
class=
"workSituation-title-box flex"
>
<view
class=
"workSituation-title-box flex"
>
<view
class=
"workSituation-title flex"
<view
class=
"workSituation-title flex"
...
@@ -43,7 +43,7 @@
...
@@ -43,7 +43,7 @@
</
template
>
</
template
>
<
script
>
<
script
>
import
courseCard
from
'
../../components/index/course-c
ard'
import
courseCard
from
'
@/components/index/workSituation/courseC
ard'
import
operation
from
'@/components/index/workSituation/operation'
import
operation
from
'@/components/index/workSituation/operation'
import
studentList
from
'@/components/index/workSituation/studentList'
import
studentList
from
'@/components/index/workSituation/studentList'
import
examList
from
'@/components/index/workSituation/examList'
import
examList
from
'@/components/index/workSituation/examList'
...
@@ -87,7 +87,7 @@
...
@@ -87,7 +87,7 @@
{
name
:
'作业情况'
,
num
:
5
},
{
name
:
'作业情况'
,
num
:
5
},
{
name
:
'考试信息'
,
num
:
18
},
{
name
:
'考试信息'
,
num
:
18
},
],
],
tabNme
:
'
作业情况
'
tabNme
:
'
考试信息
'
});
});
let
methods
=
{
let
methods
=
{
...
@@ -166,7 +166,7 @@
...
@@ -166,7 +166,7 @@
border-radius
:
30
rpx
;
border-radius
:
30
rpx
;
}
}
.index-student-information
{
.index-student-information
{
min-height
:
5
00
rpx
;
min-height
:
8
00
rpx
;
background
:
rgba
(
255
,
255
,
255
,
.7
);
background
:
rgba
(
255
,
255
,
255
,
.7
);
border-radius
:
50
rpx
50
rpx
0
0
;
border-radius
:
50
rpx
50
rpx
0
0
;
padding
:
50
rpx
0
30
rpx
0
;
padding
:
50
rpx
0
30
rpx
0
;
...
...
src/pages/login/accountLogin.vue
View file @
7d21f9fe
...
@@ -63,8 +63,8 @@
...
@@ -63,8 +63,8 @@
}
=
getCurrentInstance
();
}
=
getCurrentInstance
();
let
Toast
=
inject
(
"$toast"
);
let
Toast
=
inject
(
"$toast"
);
let
msg
=
reactive
({
let
msg
=
reactive
({
Account
:
"138
80093563
"
,
Account
:
"138
02557508
"
,
Password
:
"
093563
"
,
Password
:
"
557508
"
,
});
});
let
data
=
reactive
({
let
data
=
reactive
({
phoneNum
:
""
,
phoneNum
:
""
,
...
...
src/utils/wxcomponents/vant/search/index.vue
View file @
7d21f9fe
...
@@ -126,8 +126,8 @@ export default global['__wxComponents']['vant/search/index']
...
@@ -126,8 +126,8 @@ export default global['__wxComponents']['vant/search/index']
padding-left
:
var
(
--padding-sm
,
24
rpx
);
padding-left
:
var
(
--padding-sm
,
24
rpx
);
border-radius
:
4
rpx
;
border-radius
:
4
rpx
;
border-radius
:
var
(
--border-radius-sm
,
4
rpx
);
border-radius
:
var
(
--border-radius-sm
,
4
rpx
);
background-color
:
#
f7f8fa
;
background-color
:
#
FFFFFF
;
background-color
:
var
(
--search-background-color
,
#
f7f8fa
);
background-color
:
var
(
--search-background-color
,
#
FFFFFF
);
}
}
.van-search__content--round
{
.van-search__content--round
{
...
...
src/utils/wxcomponents/vant/search/index.wxss
View file @
7d21f9fe
...
@@ -21,8 +21,8 @@
...
@@ -21,8 +21,8 @@
padding-left: var(--padding-sm,24rpx);
padding-left: var(--padding-sm,24rpx);
border-radius: 4rpx;
border-radius: 4rpx;
border-radius: var(--border-radius-sm,4rpx);
border-radius: var(--border-radius-sm,4rpx);
background-color: #
f7f8fa
;
background-color: #
FFFFFF
;
background-color: var(--search-background-color,#
f7f8fa
);
background-color: var(--search-background-color,#
FFFFFF
);
}
}
.van-search__content--round {
.van-search__content--round {
...
...
src/wxcomponents/vant/search/index.vue
View file @
7d21f9fe
...
@@ -126,8 +126,8 @@ export default global['__wxComponents']['vant/search/index']
...
@@ -126,8 +126,8 @@ export default global['__wxComponents']['vant/search/index']
padding-left
:
var
(
--padding-sm
,
24
rpx
);
padding-left
:
var
(
--padding-sm
,
24
rpx
);
border-radius
:
4
rpx
;
border-radius
:
4
rpx
;
border-radius
:
var
(
--border-radius-sm
,
4
rpx
);
border-radius
:
var
(
--border-radius-sm
,
4
rpx
);
background-color
:
#
f7f8fa
;
background-color
:
#
FFFFFF
;
background-color
:
var
(
--search-background-color
,
#
f7f8fa
);
background-color
:
var
(
--search-background-color
,
#
FFFFFF
);
}
}
.van-search__content--round
{
.van-search__content--round
{
...
...
src/wxcomponents/vant/search/index.wxss
View file @
7d21f9fe
...
@@ -21,8 +21,8 @@
...
@@ -21,8 +21,8 @@
padding-left: var(--padding-sm,24rpx);
padding-left: var(--padding-sm,24rpx);
border-radius: 4rpx;
border-radius: 4rpx;
border-radius: var(--border-radius-sm,4rpx);
border-radius: var(--border-radius-sm,4rpx);
background-color: #
f7f8fa
;
background-color: #
FFFFFF
;
background-color: var(--search-background-color,#
f7f8fa
);
background-color: var(--search-background-color,#
FFFFFF
);
}
}
.van-search__content--round {
.van-search__content--round {
...
...
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