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 ee792349
authored
Oct 21, 2025
by
cen
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix: 修改样式
1 parent
9f76bc67
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
34 additions
and
15 deletions
assets/images/common/noData.png
components/HomeFrame/components/Activity/card.vue
components/HomeFrame/components/ActivityCenter.vue
assets/images/common/noData.png
0 → 100644
View file @
ee79234
25.9 KB
components/HomeFrame/components/Activity/card.vue
View file @
ee79234
This diff is collapsed.
Click to expand it.
components/HomeFrame/components/ActivityCenter.vue
View file @
ee79234
...
...
@@ -27,11 +27,23 @@
</view>
</view>
</view>
<
template
v-if=
"firstIndex == 0"
>
<MyTask
ref=
"myTask"
/>
</
template
>
<
template
v-if=
"firstIndex == 1"
>
<RecommendCourse
/>
<
template
>
<scroll-view
scroll-y
ref=
"scrollViewRef"
:scroll-top=
"scrollTop"
@
scrolltolower=
"pageonReachBottom"
:class=
"[getScrollHeight]"
>
<template
v-if=
"cardList.length"
>
<view
class=
"task-list"
>
<Card
v-for=
"item in cardList"
:key=
"item.taskId"
:item=
"item"
/>
</view>
</
template
>
<
template
v-else
>
<view
class=
"nothing flex"
>
<image
class=
"icon"
src=
"../../../assets/images/common/noData.png"
/>
暂无数据
</view>
</
template
>
<
template
v-if=
"nothing"
>
<view
class=
"end-text"
>
到底了!
</view>
</
template
>
</scroll-view>
</template>
</view>
</view>
...
...
@@ -39,19 +51,11 @@
</template>
<
script
>
import
LearnStatistics
from
'./Study/LearnStatistics.vue'
import
WeeklyConversionRate
from
'./Study/WeeklyConversionRate.vue'
import
MyTask
from
'./Study/MyTask.vue'
import
RecommendCourse
from
'./Study/RecommendCourse.vue'
import
RadarChart
from
'pages/common/studyDetail/components/RadarChart.vue'
import
Card
from
'./Activity/card.vue'
export
default
{
name
:
'ActivityCenter'
,
components
:
{
LearnStatistics
,
WeeklyConversionRate
,
MyTask
,
RecommendCourse
,
RadarChart
Card
},
data
()
{
return
{
...
...
@@ -63,6 +67,7 @@ export default {
{
tabName
:
'即将开始'
,
num
:
()
=>
''
},
{
tabName
:
'已结束'
,
num
:
()
=>
''
}
],
cardList
:
[],
firstIndex
:
0
,
firstLeft
:
[
'first'
,
'second'
],
firstClass
:
[
'short-first-nav'
,
'short-second-nav'
],
...
...
@@ -362,5 +367,19 @@ export default {
}
}
}
.nothing
{
width
:
100%
;
flex-direction
:
column
;
margin-top
:
toRpx
(
270
);
font-size
:
toRpx
(
28
);
color
:
#999999
;
.icon
{
width
:
toRpx
(
678
);
height
:
toRpx
(
284
);
margin-bottom
:
toRpx
(
24
);
}
}
}
</
style
>
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