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 84f717bc
authored
Aug 01, 2025
by
胡悦
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修复
1 parent
391c24ac
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
6 deletions
components/HomeFrame/components/Study/LearnStatistics.vue
pages/common/studyDetail/detail.vue
pages/common/studyDetail/longCourse.vue
pages/common/studyDetail/shortCourse.vue
components/HomeFrame/components/Study/LearnStatistics.vue
View file @
84f717b
...
...
@@ -280,7 +280,7 @@ export default {
&
-value
{
position
:
absolute
;
left
:
0
;
top
:
toRpx
(
3
2
);
top
:
toRpx
(
3
6
);
height
:
toRpx
(
12
);
border-radius
:
toRpx
(
8
);
opacity
:
1
;
...
...
pages/common/studyDetail/detail.vue
View file @
84f717b
...
...
@@ -22,7 +22,7 @@
<view
class=
"item-info-label"
>
当前状态
</view>
<view
:class=
"['item-info-value', item.status === 5 ? 'green' : 'orange']"
>
<view
v-if=
"item.status !== 5"
class=
"dot-value"
></view>
{{
item
.
status
!==
5
?
`${statusMap[item.status]
}
(${
(item.progress * 100) || 0
}
%)`
:
'已完成'
}}
{{
item
.
status
!==
5
?
`${statusMap[item.status]
}
(${
item.progress === 0 ? 0 : item.progress
}
%)`
:
'已完成'
}}
<
/view
>
<
/view
>
<
view
class
=
"item-info"
>
...
...
pages/common/studyDetail/longCourse.vue
View file @
84f717b
...
...
@@ -69,7 +69,7 @@
<
view
class
=
"item-info-label"
>
当前状态
<
/view
>
<
view
:
class
=
"['item-info-value', item.status === 5 ? 'green' : 'orange']"
>
<
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 === 0 ? 0 : item.progress
}
%)`
:
'已完成'
}}
<
/view
>
<
/view
>
<
view
class
=
"item-info"
>
...
...
pages/common/studyDetail/shortCourse.vue
View file @
84f717b
...
...
@@ -165,9 +165,9 @@
</
template
>
<
template
v-else
>
<view
:class=
"['check-result-btn', item.
tagName == '服务意识'
? 'disabled' : '']"
:class=
"['check-result-btn', item.
examStatus == 0
? 'disabled' : '']"
@
click=
"handleExam(item)"
>
{{
item
.
tagName
==
'服务意识'
?
'无需考核'
:
'去考核'
}}
</view>
>
{{
item
.
examStatus
==
0
?
'无需考核'
:
'去考核'
}}
</view>
</
template
>
</view>
</view>
...
...
@@ -450,7 +450,7 @@ export default {
},
async
handleExam
(
item
)
{
console
.
log
(
item
,
'==='
)
if
(
item
.
tagName
==
'服务意识'
)
{
if
(
item
.
examStatus
==
0
)
{
return
}
const
{
checkDate
}
=
this
.
rowData
...
...
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