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 d43166f2
authored
Jun 17, 2025
by
李伟康
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'SAAS+V4.54.0' of
http://192.168.3.233:8090/glsx/gl_tape
into SAAS+V4.54.0
2 parents
1536f6e1
fefcf818
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
11 additions
and
5 deletions
assets/css/sprite.scss
assets/images/sprite.png
components/HomeFrame/components/StudyCenter.vue
components/HomeFrame/index.vue
pages/common/messageList.vue
assets/css/sprite.scss
View file @
d43166f
This diff is collapsed.
Click to expand it.
assets/images/sprite.png
View file @
d43166f
2.41 MB
|
W:
|
H:
2.41 MB
|
W:
|
H:
2-up
Swipe
Onion skin
components/HomeFrame/components/StudyCenter.vue
View file @
d43166f
...
...
@@ -263,8 +263,10 @@ export default {
}
if
(
this
.
firstIndex
===
1
)
{
params
.
readFlag
=
false
params
.
statusList
=
[
1
,
2
,
3
,
4
]
}
else
if
(
this
.
firstIndex
===
2
)
{
params
.
readFlag
=
true
params
.
statusList
=
[
5
]
}
if
(
search
)
params
.
search
=
search
const
res
=
await
uni
.
$api
.
commonApi
.
getStudyCenterList
(
params
)
...
...
@@ -529,7 +531,6 @@ export default {
flex-wrap
:
wrap
;
gap
:
toRpx
(
48
);
padding
:
0
toRpx
(
64
)
toRpx
(
24
);
margin-top
:
toRpx
(
24
);
}
.message-list
{
...
...
@@ -537,6 +538,7 @@ export default {
background-color
:
#fff
;
border-radius
:
0
0
toRpx
(
48
)
toRpx
(
48
);
//
height
:
calc
(
100%
-
#{
toRpx
(
400
)}
);
margin-top
:
toRpx
(
24
);
&
.scroll-list
{
height
:
calc
(
100%
-
#{
toRpx
(
400
)}
);
}
...
...
@@ -544,6 +546,7 @@ export default {
&
.class-scroll
{
height
:
calc
(
100%
-
#{
toRpx
(
336
)}
);
}
.message-item
{
width
:
calc
((
100%
-
#{
toRpx
(
144
)}
)
/
4
);
border-radius
:
toRpx
(
24
);
...
...
@@ -640,7 +643,7 @@ export default {
/
deep
/
{
.uni-scroll-view-content
{
height
:
calc
(
100%
-
#{
toRpx
(
1
0
)}
);
height
:
calc
(
100%
-
#{
toRpx
(
2
0
)}
);
}
}
</
style
>
components/HomeFrame/index.vue
View file @
d43166f
...
...
@@ -201,6 +201,7 @@ export default {
}
},
handleOperation
(
val
,
data
)
{
console
.
log
(
val
,
data
,
'val, data'
)
const
{
type
}
=
val
;
// 提取公共的webview设置逻辑
...
...
@@ -224,7 +225,7 @@ export default {
// 处理课程详情
const
handleCourseDetail
=
()
=>
{
const
COURSE_ID
=
'80cb90d7-1609-4360-8f23-6c47ddba41c0'
;
const
COURSE_ID
=
val
.
data
.
courseId
;
const
baseUrl
=
'https://cloud.italent.cn/PageHome/Index'
;
const
params
=
{
product
:
'Learning'
,
...
...
@@ -247,18 +248,19 @@ export default {
case
'openCourse'
:
this
.
showBeisen
=
true
;
setWebviewStyle
();
this
.
getStudyCenterRead
(
data
.
id
)
break
;
case
'courseDetail'
:
handleCourseDetail
();
this
.
showBeisen
=
true
;
setWebviewStyle
();
this
.
getStudyCenterRead
(
val
.
data
.
id
)
break
;
}
},
// 学习中心修改阅读状态,打开后才修改
async
getStudyCenterRead
(
id
)
{
console
.
log
(
id
,
'getStudyCenterRead'
)
const
res
=
await
uni
.
$api
.
commonApi
.
getStudyCenterRead
({
id
})
console
.
log
(
res
)
}
...
...
pages/common/messageList.vue
View file @
d43166f
...
...
@@ -95,7 +95,8 @@ const PAGE_NUM = 1
const
CONTRNT_TYPE
=
{
1
:
'图文'
,
2
:
'视频'
,
3
:
'PDF'
3
:
'PDF'
,
5
:
'学习任务'
}
import
dayjs
from
'dayjs'
export
default
{
...
...
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