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
7caa1d8c
Commit
7caa1d8c
authored
May 27, 2022
by
黄奎
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.oytour.com/youjie/thinkapp
parents
4aca0cfa
d47b364c
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
411 additions
and
4 deletions
+411
-4
analysisTest.vue
src/components/index/scoreDetails/analysisTest.vue
+3
-3
jobDetailsComponents.vue
src/components/index/scoreDetails/jobDetailsComponents.vue
+234
-0
operation.vue
src/components/index/workSituation/operation.vue
+1
-1
pages.json
src/pages.json
+6
-0
jobDetails.vue
src/pages/index/jobDetails.vue
+167
-0
No files found.
src/components/index/scoreDetails/analysisTest.vue
View file @
7caa1d8c
...
...
@@ -16,7 +16,7 @@
<td
class=
"analysisTest-td"
>
<view
class=
"analysisTest-number"
>
1
</view>
<view
class=
"analysisTest-difficulty"
>
<van-icon
name=
"star"
v-for=
"(s,index) in 3"
/>
<van-icon
name=
"star"
v-for=
"(s,index) in 3"
:key=
"index"
/>
</view>
<view
class=
"analysisTest-KnowledgePoint"
>
化学与生活
</view>
<view
class=
"analysisTest-ScoreOne"
>
1
</view>
...
...
@@ -28,7 +28,7 @@
<td
class=
"analysisTest-td"
>
<view
class=
"analysisTest-number"
>
1
</view>
<view
class=
"analysisTest-difficulty"
>
<van-icon
name=
"star"
v-for=
"(s,index) in 1"
/>
<van-icon
name=
"star"
v-for=
"(s,index) in 1"
:key=
"index"
/>
</view>
<view
class=
"analysisTest-KnowledgePoint"
>
化学与生活
</view>
<view
class=
"analysisTest-ScoreOne"
>
1
</view>
...
...
@@ -40,7 +40,7 @@
<td
class=
"analysisTest-td"
>
<view
class=
"analysisTest-number"
>
1
</view>
<view
class=
"analysisTest-difficulty"
>
<van-icon
name=
"star"
v-for=
"(s,index) in 1"
/>
<van-icon
name=
"star"
v-for=
"(s,index) in 1"
:key=
"index"
/>
</view>
<view
class=
"analysisTest-KnowledgePoint"
>
化学与生活
</view>
<view
class=
"analysisTest-ScoreOne"
>
1
</view>
...
...
src/components/index/scoreDetails/jobDetailsComponents.vue
0 → 100644
View file @
7caa1d8c
<
template
>
<view
class=
"jobDetailsComponents-box"
>
<view
class=
"jobDetailsComponents activeTwo flex"
>
<view
class=
"jobDetailsComponents-time-box flex"
>
<view
class=
"jobDetailsComponents-time flex"
>
<view>
周
</view>
<text>
潇潇
</text>
</view>
<view
class=
"jobDetailsComponents-line"
>
<view
class=
"jobDetailsComponents-point"
></view>
</view>
</view>
<view
class=
"jobDetailsComponents-center-box"
>
<view
class=
"jobDetailsComponents-center flex"
>
<view
class=
"jobDetailsComponents-left flex"
>
<view
class=
"operation-state flex"
>
<view
class=
"operation-state-img"
></view>
<view
class=
"operation-state-text"
>
未批阅
</view>
</view>
<view
class=
"operation-name"
>
2022-05-22
</view>
</view>
<view
class=
"jobDetailsComponents-right flex"
>
<view
class=
"homework-score flex"
>
<view
class=
"homework-score-title"
>
得分
<text>
86
</text>
分
</view>
</view>
<view
class=
"homework-score flex"
>
<view
class=
"homework-score-title"
>
得分率
<text>
86
</text>
分
</view>
</view>
</view>
</view>
</view>
</view>
<view
class=
"jobDetailsComponents activeOne flex"
>
<view
class=
"jobDetailsComponents-time-box flex"
>
<view
class=
"jobDetailsComponents-time flex"
>
<view>
周
</view>
<text>
潇潇
</text>
</view>
<view
class=
"jobDetailsComponents-line"
>
<view
class=
"jobDetailsComponents-point"
></view>
</view>
</view>
<view
class=
"jobDetailsComponents-center-box"
>
<view
class=
"jobDetailsComponents-center flex"
>
<view
class=
"jobDetailsComponents-left flex"
>
<view
class=
"operation-state flex"
>
<view
class=
"operation-state-img"
></view>
<view
class=
"operation-state-text"
>
批阅
</view>
</view>
<view
class=
"operation-name"
>
2022-05-22
</view>
</view>
<view
class=
"jobDetailsComponents-right flex"
>
<view
class=
"homework-score flex"
>
<view
class=
"homework-score-title"
>
得分
<text>
86
</text>
分
</view>
</view>
<view
class=
"homework-score flex"
>
<view
class=
"homework-score-title"
>
得分率
<text>
86
</text>
分
</view>
</view>
</view>
</view>
</view>
</view>
</view>
</
template
>
<
script
>
import
{
reactive
,
toRefs
,
onMounted
,
getCurrentInstance
,
inject
}
from
"vue"
;
export
default
{
props
:
{
},
components
:
{},
setup
()
{
let
data
=
reactive
({
obj
:
{
Name
:
''
,
Photo
:
''
,
},
showPhone
:
false
,
showLogin
:
true
,
//多次点击
});
let
methods
=
{
}
return
{
...
toRefs
(
data
),
...
methods
};
},
};
</
script
>
<
style
scoped
>
.homework-score-title
text
{
font-size
:
46
rpx
;
font-weight
:
800
;
font-style
:
italic
;
padding
:
0
10
rpx
0
17
rpx
;
}
.homework-score-title
{
color
:
#282828
;
font-size
:
20
rpx
;
font-weight
:
400
;
letter-spacing
:
1px
;
}
.homework-score
:first-child
{
margin-right
:
16
rpx
;
}
.homework-score
{
align-items
:
center
;
justify-content
:
space-between
;
}
.jobDetailsComponents-right
{
height
:
88
rpx
;
background
:
#FCEEEF
;
padding
:
0
22
rpx
;
border-radius
:
25
rpx
;
justify-content
:
space-between
;
flex-shrink
:
0
;
}
.operation-state-text
{
font-size
:
20
rpx
;
letter-spacing
:
2px
;
}
.jobDetailsComponents.activeThree
.operation-state-img
{
background
:
url('https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Test/Upload/Goods/1653464014000_480.png')
no-repeat
;
background-size
:
22
rpx
22
rpx
;
}
.jobDetailsComponents.activeTwo
.operation-state-img
{
background
:
url('https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Test/Upload/Goods/1653464014000_781.png')
no-repeat
;
background-size
:
22
rpx
22
rpx
;
}
.jobDetailsComponents.activeOne
.operation-state-img
{
background
:
url('https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Test/Upload/Goods/1653464014000_44.png')
no-repeat
;
background-size
:
22
rpx
22
rpx
;
}
.operation-state-img
{
width
:
22
rpx
;
height
:
22
rpx
;
margin-right
:
9
rpx
;
margin-top
:
4
rpx
;
}
.operation-state
{
font-size
:
20
rpx
;
white-space
:
nowrap
;
color
:
#282828
;
}
.operation-name
{
font-size
:
16
rpx
;
letter-spacing
:
1px
;
font-weight
:
500
;
color
:
#C2BCBA
;
}
.jobDetailsComponents-left
{
justify-content
:
space-between
;
align-items
:
center
;
margin-bottom
:
17
rpx
;
}
.jobDetailsComponents-center
{
flex-direction
:
column
;
}
.jobDetailsComponents-center-box
{
flex-grow
:
1
;
border-radius
:
30
rpx
;
padding
:
17
rpx
26
rpx
23
rpx
21
rpx
;
margin-bottom
:
40
rpx
;
background
:
#FFFFFF
;
box-shadow
:
0px
6px
29px
0px
rgba
(
76
,
76
,
76
,
0.09
);
border-radius
:
20px
;
}
.jobDetailsComponents.activeThree
.jobDetailsComponents-point
{
background
:
#C1C1C1
;
}
.jobDetailsComponents.activeTwo
.jobDetailsComponents-point
{
background
:
#282828
;
}
.jobDetailsComponents.activeOne
.jobDetailsComponents-point
{
background
:
#C81727
;
box-shadow
:
0px
0px
12px
0px
rgba
(
200
,
23
,
39
,
0.46
);
}
.jobDetailsComponents
.jobDetailsComponents-point
{
width
:
19
rpx
;
height
:
19
rpx
;
position
:
absolute
;
top
:
20
rpx
;
left
:
-13
rpx
;
border-radius
:
50%
;
border
:
3px
solid
#FFFFFF
;
box-shadow
:
0px
0px
12px
0px
rgba
(
255
,
255
,
255
,
0.46
);
}
.jobDetailsComponents-line
{
width
:
4
rpx
;
height
:
100%
;
background
:
#F1F1F1
;
margin-left
:
46
rpx
;
margin-right
:
46
rpx
;
position
:
relative
;
}
.jobDetailsComponents-time
text
{
font-size
:
20
rpx
;
font-weight
:
bold
;
white-space
:
nowrap
;
margin-top
:
18
rpx
;
margin-left
:
4
rpx
;
}
.jobDetailsComponents-time
{
color
:
#282828
;
font-size
:
36
rpx
;
font-weight
:
bold
;
letter-spacing
:
1
rpx
;
}
.jobDetailsComponents-time-box
{
}
.jobDetailsComponents
{
justify-content
:
space-between
;
padding
:
0
50
rpx
;
}
</
style
>
src/components/index/workSituation/operation.vue
View file @
7caa1d8c
...
...
@@ -70,7 +70,7 @@
let
methods
=
{
JobDetails
(){
uni
.
reLaunch
({
url
:
'/pages/index/
workSituation
'
url
:
'/pages/index/
jobDetails
'
});
}
}
...
...
src/pages.json
View file @
7caa1d8c
...
...
@@ -14,6 +14,12 @@
"style"
:
{
"navigationStyle"
:
"custom"
}
},
{
"path"
:
"pages/index/jobDetails"
,
"style"
:
{
"navigationStyle"
:
"custom"
}
},{
"path"
:
"pages/index/workSituation"
,
"style"
:
{
...
...
src/pages/index/jobDetails.vue
0 → 100644
View file @
7caa1d8c
<
template
>
<view
class=
"jobDetails-box"
>
<navbar
class=
"navbarSticky"
bg=
"#F6F6F6"
>
<view
class=
"jobDetails-header-box"
>
<van-icon
class=
"jobDetails-header-left"
name=
"arrow-left"
@
click=
"back"
/>
<text
class=
"jobDetails-header-title"
>
作业情况
</text>
</view>
</navbar>
<view
class=
"jobDetails-content"
>
<view
class=
"jobDetails-content-header"
>
<view
class=
"jobDetails-conten-title flex"
>
<text>
成都2022科学益智L4 -05乐思会
</text>
<view>
高一作业11
</view>
</view>
<view
class=
"jobDetails-num-box flex"
>
<view
class=
"jobDetails-num flex"
>
<text>
学生数
</text>
<view>
15
</view>
</view>
<view
class=
"jobDetails-num flex"
>
<text>
已提交
</text>
<view>
12
</view>
</view>
<view
class=
"jobDetails-num flex"
>
<text>
已批阅
</text>
<view>
10
</view>
</view>
<view
class=
"jobDetails-num flex"
>
<text>
优秀
</text>
<view>
5
</view>
</view>
</view>
</view>
<view
class=
"index-student-information"
>
<jobDetailsComponents></jobDetailsComponents>
</view>
</view>
</view>
</
template
>
<
script
>
import
jobDetailsComponents
from
'@/components/index/scoreDetails/jobDetailsComponents'
import
{
reactive
,
toRefs
,
onMounted
,
getCurrentInstance
,
inject
}
from
"vue"
;
export
default
{
props
:
{
},
components
:
{
jobDetailsComponents
},
setup
()
{
let
data
=
reactive
({
obj
:
{
Name
:
''
,
Photo
:
''
,
},
showPhone
:
false
,
showLogin
:
true
,
//多次点击
});
let
methods
=
{
back
(){
uni
.
reLaunch
({
url
:
'/pages/index/workSituation'
});
}
}
return
{
...
toRefs
(
data
),
...
methods
};
}
};
</
script
>
<
style
scoped
>
.index-student-information
{
min-height
:
800
rpx
;
background
:
#FFFFFF
;
border-radius
:
50
rpx
50
rpx
0
0
;
padding
:
71
rpx
0
30
rpx
0
;
}
.jobDetails-num
view
{
font-size
:
36
rpx
;
font-weight
:
800
;
font-style
:
italic
;
margin-top
:
15
rpx
;
}
.jobDetails-num
text
{
font-size
:
20
rpx
;
font-weight
:
400
;
}
.jobDetails-num
{
flex-direction
:
column
;
color
:
#CE8086
;
}
.jobDetails-num-box
{
justify-content
:
space-between
;
padding
:
70
rpx
100
rpx
35
rpx
100
rpx
;
}
.jobDetails-conten-title
view
{
font-size
:
50
rpx
;
font-weight
:
800
;
}
.jobDetails-conten-title
text
{
font-size
:
36
rpx
;
font-weight
:
400
;
margin-bottom
:
10
rpx
;
}
.jobDetails-conten-title
{
padding
:
50
rpx
50
rpx
0
50
rpx
;
flex-direction
:
column
;
color
:
#282828
;
letter-spacing
:
1
rpx
;
}
.jobDetails-content-header
{
}
.jobDetails-content
{
position
:
relative
;
z-index
:
2
;
}
.jobDetails-box
{
background
:
#FCEEEF
;
position
:
fixed
;
top
:
0
;
bottom
:
0
;
left
:
0
;
right
:
0
;
z-index
:
0
;
}
.jobDetails-header-title
{
position
:
absolute
;
left
:
0
;
right
:
0
;
top
:
0
;
padding
:
37
rpx
31
rpx
;
text-align
:
center
;
letter-spacing
:
1
rpx
;
font-size
:
32
rpx
;
font-weight
:
500
;
color
:
#282828
;
}
.jobDetails-header
{
margin
:
50
rpx
50
rpx
0
50
rpx
;
align-items
:
center
;
}
.jobDetails-header-left
{
font-size
:
40
rpx
;
position
:
relative
;
z-index
:
3
;
}
.jobDetails-header-box
{
padding
:
37
rpx
31
rpx
;
position
:
relative
;
}
.navbarSticky
{
display
:
sticky
;
top
:
0
;
z-index
:
9
;
}
</
style
>
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