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 4c4b8ee2
authored
Nov 05, 2025
by
cen
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix: 活动中心bug处理
1 parent
37b6bbff
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
26 additions
and
7 deletions
components/HomeFrame/components/Activity/card.vue
components/HomeFrame/components/ActivityCenter.vue
components/HomeFrame/components/Activity/card.vue
View file @
4c4b8ee
...
...
@@ -52,7 +52,7 @@
</view>
<view
class=
"card-item-text"
>
<view
class=
"card-item-label"
>
活动时间
</view>
<view
class=
"card-item-value"
>
{{ dayjs(item.startTime).format('YYYY
-MM-DD HH:mm') }} 至 {{ dayjs(item.endTime).format('YYYY-MM-
DD HH:mm') }}
</view>
<view
class=
"card-item-value"
>
{{ dayjs(item.startTime).format('YYYY
.MM.DD HH:mm') }} - {{ dayjs(item.endTime).format('YYYY.MM.
DD HH:mm') }}
</view>
</view>
<view
class=
"card-item-text"
@
click
.
stop=
"rulesShow(item)"
>
<view
class=
"card-item-label"
>
评选规则
</view>
...
...
components/HomeFrame/components/ActivityCenter.vue
View file @
4c4b8ee
...
...
@@ -5,7 +5,7 @@
<u-list
@
scrolltolower=
"scrolltolower"
class=
"activity-list"
height=
"100%"
v-if=
"activityRewardList.length > 0"
>
<u-list-item
v-for=
"item in activityRewardList"
:key=
"item.id"
class=
"activity-list-item"
>
<view
class=
"activity-name"
>
{{
item
.
name
}}
</view>
<view
class=
"activity-time"
>
{{
dayjs
(
item
.
startTime
).
format
(
'YYYY
-MM-DD HH:mm'
)
}}
至
{{
dayjs
(
item
.
endTime
).
format
(
'YYYY-MM-
DD HH:mm'
)
}}
</view>
<view
class=
"activity-time"
>
{{
dayjs
(
item
.
startTime
).
format
(
'YYYY
.MM.DD HH:mm'
)
}}
-
{{
dayjs
(
item
.
endTime
).
format
(
'YYYY.MM.
DD HH:mm'
)
}}
</view>
<view
class=
"activity-cycle"
v-if=
"item.cycleName"
>
周期:
{{
item
.
cycleName
}}
</view>
<view
class=
"activity-prize"
>
<view
class=
"sprite-icon icon-medalNew"
></view>
...
...
@@ -89,7 +89,7 @@
</view>
<view
class=
"card-item-text"
>
<view
class=
"card-item-label"
>
活动时间
</view>
<view
class=
"card-item-value"
>
{{ dayjs(currentItem.startTime).format('YYYY
-MM-DD HH:mm') }} 至 {{ dayjs(currentItem.endTime).format('YYYY-MM-
DD HH:mm') }}
</view>
<view
class=
"card-item-value"
>
{{ dayjs(currentItem.startTime).format('YYYY
.MM.DD HH:mm') }} - {{ dayjs(currentItem.endTime).format('YYYY.MM.
DD HH:mm') }}
</view>
</view>
</view>
</view>
...
...
@@ -108,10 +108,10 @@
<view
class=
"flex-1"
>
<view
class=
"flex align-center justify-between mb-12"
>
<text
class=
"name"
>
{{
i
.
winnerName
}}
</text>
<text
class=
"priceValue"
>
{{
i
.
winnerRemark
}}
</text>
<text
class=
"priceValue"
>
{{
i
.
awardName
}}
</text>
</view>
<view
class=
"flex align-center justify-between"
>
<text
class=
"grayName"
>
{{
i
.
awardName
}}
</text>
<text
class=
"grayName"
>
{{
i
.
winnerRemark
}}
</text>
<text
class=
"grayName"
>
{{
i
.
awardRemark
}}
</text>
</view>
</view>
...
...
@@ -171,7 +171,7 @@ export default {
{
tabName
:
'即将开始'
,
num
:
()
=>
''
,
id
:
'2'
},
{
tabName
:
'已结束'
,
num
:
()
=>
''
,
id
:
'1'
}
],
detailsTabList
:
[
{
name
:
'9月7日'
},
{
name
:
'9月8日'
},
{
name
:
'9月8日'
},
{
name
:
'9月8日'
},
{
name
:
'9月8日'
},
{
name
:
'9月8日'
},
{
name
:
'9月8日'
},
{
name
:
'9月8日'
},
{
name
:
'9月8日'
},
{
name
:
'9月8日'
},
{
name
:
'9月8日'
}
],
detailsTabList
:
[],
cardList
:
[],
detailsList
:
[],
activityRewardList
:
[],
...
...
@@ -709,19 +709,37 @@ export default {
border-bottom
:
none
;
}
.icon-icon-gold
{
margin-right
:
toRpx
(
25
);
flex
:
0
0
auto
;
flex-shrink
:
0
;
margin-right
:
toRpx
(
32
);
}
>
.flex-1
{
min-width
:
0
;
}
.name
{
color
:
#181a1f
;
font-size
:
toRpx
(
28
);
flex
:
1
;
overflow
:
hidden
;
text-overflow
:
ellipsis
;
white-space
:
nowrap
;
}
.priceValue
{
color
:
#3b73ff
;
font-size
:
toRpx
(
28
);
flex
:
1
;
overflow
:
hidden
;
text-overflow
:
ellipsis
;
white-space
:
nowrap
;
}
.grayName
{
color
:
#999ea8
;
font-size
:
toRpx
(
24
);
flex
:
1
;
overflow
:
hidden
;
text-overflow
:
ellipsis
;
white-space
:
nowrap
;
}
}
.active
{
...
...
@@ -758,6 +776,7 @@ export default {
height
:
100%
;
padding
:
toRpx
(
24
)
toRpx
(
32
);
box-sizing
:
border-box
;
overflow
:
scroll
;
.ql-container
{
width
:
100%
;
height
:
100%
;
...
...
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