Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
glsx
/
gl_tape
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
3
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 18fc87a5
authored
Jul 30, 2025
by
李伟康
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'SAAS+V4.55.0' of
http://192.168.3.233:8090/glsx/gl_tape
into SAAS+V4.55.0
2 parents
a8bad93e
cc83f432
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
31 additions
and
7 deletions
pages/common/studyDetail/detail.vue
pages/common/studyDetail/longCourse.vue
pages/common/studyDetail/detail.vue
View file @
18fc87a
...
@@ -27,7 +27,7 @@
...
@@ -27,7 +27,7 @@
<
/view
>
<
/view
>
<
view
class
=
"item-info"
>
<
view
class
=
"item-info"
>
<
view
class
=
"item-info-label"
>
考试成绩
<
/view
>
<
view
class
=
"item-info-label"
>
考试成绩
<
/view
>
<
view
class
=
"item-info-value"
>
{{
item
.
totalScore
?
'已完成'
:
'待考核'
}}
<
/view
>
<
view
class
=
"item-info-value"
>
{{
item
.
totalScore
?
item
.
totalScore
:
'待考核'
}}
<
/view
>
<
/view
>
<
/view
>
<
view
class
=
"item-info"
>
<
view
class
=
"item-info"
>
<
view
class
=
"item-info-label"
>
课程时长
<
/view
>
<
view
class
=
"item-info-label"
>
课程时长
<
/view
>
...
...
pages/common/studyDetail/longCourse.vue
View file @
18fc87a
...
@@ -16,7 +16,10 @@
...
@@ -16,7 +16,10 @@
<view
class=
"course-title"
>
{{
rowData
.
taskTitle
||
rowData
.
taskName
}}
</view>
<view
class=
"course-title"
>
{{
rowData
.
taskTitle
||
rowData
.
taskName
}}
</view>
<view
class=
"course-info course-progress"
>
<view
class=
"course-info course-progress"
>
<view
class=
"info-label"
>
任务进度
</view>
<view
class=
"info-label"
>
任务进度
</view>
<view
v-if=
"completeStatus == 1"
class=
"info-progress-text"
>
已完成
</view>
<view
v-if=
"completeStatus == 1"
class=
"info-progress-text green"
>
<view
class=
"dot-value"
></view>
已完成
</view>
<view
class=
"info-progress"
v-else
>
<view
class=
"info-progress"
v-else
>
<view
class=
"info-progress-bar"
:style=
"
{ width: Math.floor(rowData.taskProgress) + '%' }">
</view>
<view
class=
"info-progress-bar"
:style=
"
{ width: Math.floor(rowData.taskProgress) + '%' }">
</view>
<view
class=
"info-progress-text"
>
{{
Math
.
floor
(
rowData
.
taskProgress
)
}}
%
</view>
<view
class=
"info-progress-text"
>
{{
Math
.
floor
(
rowData
.
taskProgress
)
}}
%
</view>
...
@@ -64,8 +67,8 @@
...
@@ -64,8 +67,8 @@
<
view
class
=
"item-title"
>
{{
item
.
courseName
}}
<
/view
>
<
view
class
=
"item-title"
>
{{
item
.
courseName
}}
<
/view
>
<
view
class
=
"item-info"
>
<
view
class
=
"item-info"
>
<
view
class
=
"item-info-label"
>
当前状态
<
/view
>
<
view
class
=
"item-info-label"
>
当前状态
<
/view
>
<
view
:
class
=
"['item-info-value', item.status === 5 ? '' : 'orange']"
>
<
view
:
class
=
"['item-info-value', item.status === 5 ? '
green
' : 'orange']"
>
<
view
v
-
if
=
"item.status !== 5"
class
=
"dot-value
"
><
/view
>
<
view
class
=
"dot-value"
:
class
=
"item.status === 5 ? 'green' : 'orange'
"
><
/view
>
{{
item
.
status
!==
5
?
`${statusMap[item.status]
}
(${(item.progress * 100) || 0
}
%)`
:
'已完成'
}}
{{
item
.
status
!==
5
?
`${statusMap[item.status]
}
(${(item.progress * 100) || 0
}
%)`
:
'已完成'
}}
<
/view
>
<
/view
>
<
/view
>
<
/view
>
...
@@ -330,7 +333,18 @@ export default {
...
@@ -330,7 +333,18 @@ export default {
.
info
-
value
{
.
info
-
value
{
color
:
#
666666
;
color
:
#
666666
;
}
}
.
green
{
display
:
flex
;
align
-
items
:
center
;
color
:
#
2
CCA74
;
.
dot
-
value
{
width
:
toRpx
(
12
);
height
:
toRpx
(
12
);
border
-
radius
:
50
%
;
background
:
#
2
CCA74
;
margin
-
right
:
toRpx
(
8
);
}
}
.
info
-
progress
{
.
info
-
progress
{
width
:
toRpx
(
410
);
width
:
toRpx
(
410
);
height
:
toRpx
(
16
);
height
:
toRpx
(
16
);
...
@@ -345,6 +359,7 @@ export default {
...
@@ -345,6 +359,7 @@ export default {
right
:
toRpx
(
-
72
);
right
:
toRpx
(
-
72
);
transform
:
translateY
(
-
50
%
);
transform
:
translateY
(
-
50
%
);
}
}
.
info
-
progress
-
bar
{
.
info
-
progress
-
bar
{
height
:
100
%
;
height
:
100
%
;
...
@@ -472,7 +487,9 @@ export default {
...
@@ -472,7 +487,9 @@ export default {
display
:
inline
-
flex
;
display
:
inline
-
flex
;
align
-
items
:
center
;
align
-
items
:
center
;
justify
-
content
:
center
;
justify
-
content
:
center
;
&
.
green
{
color
:
#
2
CCA74
;
}
&
.
orange
{
&
.
orange
{
color
:
#
F59619
;
color
:
#
F59619
;
}
}
...
@@ -481,8 +498,15 @@ export default {
...
@@ -481,8 +498,15 @@ export default {
width
:
toRpx
(
12
);
width
:
toRpx
(
12
);
height
:
toRpx
(
12
);
height
:
toRpx
(
12
);
border
-
radius
:
50
%
;
border
-
radius
:
50
%
;
background
:
#
F59619
;
// background: #F59619;
margin
-
right
:
toRpx
(
8
);
margin
-
right
:
toRpx
(
8
);
&
.
green
{
background
:
#
2
CCA74
;
}
&
.
orange
{
background
:
#
F59619
;
}
}
}
}
}
}
}
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment