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 077679f7
authored
Oct 31, 2025
by
cen
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix: 样式
1 parent
0f142214
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
12 deletions
components/HomeFrame/components/Activity/card.vue
components/HomeFrame/components/Activity/popup.vue
components/HomeFrame/components/ActivityCenter.vue
components/HomeFrame/components/Activity/card.vue
View file @
077679f
...
@@ -52,7 +52,7 @@
...
@@ -52,7 +52,7 @@
</view>
</view>
<view
class=
"card-item-text"
>
<view
class=
"card-item-text"
>
<view
class=
"card-item-label"
>
活动时间
</view>
<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>
<view
class=
"card-item-text"
@
click
.
stop=
"rulesShow(item)"
>
<view
class=
"card-item-text"
@
click
.
stop=
"rulesShow(item)"
>
<view
class=
"card-item-label"
>
评选规则
</view>
<view
class=
"card-item-label"
>
评选规则
</view>
...
@@ -251,7 +251,7 @@ export default {
...
@@ -251,7 +251,7 @@ export default {
font-size
:
toRpx
(
30
);
font-size
:
toRpx
(
30
);
color
:
#292d33
;
color
:
#292d33
;
font-weight
:
500
;
font-weight
:
500
;
margin-bottom
:
toRpx
(
2
0
);
margin-bottom
:
toRpx
(
2
4
);
width
:
toRpx
(
340
);
width
:
toRpx
(
340
);
overflow
:
hidden
;
overflow
:
hidden
;
text-overflow
:
ellipsis
;
text-overflow
:
ellipsis
;
...
@@ -264,7 +264,9 @@ export default {
...
@@ -264,7 +264,9 @@ export default {
align-items
:
center
;
align-items
:
center
;
font-size
:
toRpx
(
24
);
font-size
:
toRpx
(
24
);
margin-bottom
:
toRpx
(
12
);
margin-bottom
:
toRpx
(
12
);
&:last-child
{
margin-bottom
:
0
;
}
.card-item-label
{
.card-item-label
{
width
:
toRpx
(
96
);
width
:
toRpx
(
96
);
color
:
#999ea8
;
color
:
#999ea8
;
...
...
components/HomeFrame/components/Activity/popup.vue
View file @
077679f
...
@@ -145,7 +145,7 @@ export default {
...
@@ -145,7 +145,7 @@ export default {
background-color
:
transparent
;
background-color
:
transparent
;
color
:
#333333
;
color
:
#333333
;
font-size
:
toRpx
(
36
);
font-size
:
toRpx
(
40
);
.popup-top-box-title
{
.popup-top-box-title
{
text-align
:
center
;
text-align
:
center
;
}
}
...
...
components/HomeFrame/components/ActivityCenter.vue
View file @
077679f
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
<u-list-item
v-for=
"item in activityRewardList"
:key=
"item"
class=
"activity-list-item"
>
<u-list-item
v-for=
"item in activityRewardList"
:key=
"item"
class=
"activity-list-item"
>
<view
class=
"activity-name"
>
{{
item
.
name
}}
</view>
<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"
>
{{
item
.
cycleName
}}
</view>
<view
class=
"activity-cycle"
v-if=
"item.cycleName"
>
周期:
{{
item
.
cycleName
}}
</view>
<view
class=
"activity-prize"
>
<view
class=
"activity-prize"
>
<view
class=
"sprite-icon icon-medalNew"
></view>
<view
class=
"sprite-icon icon-medalNew"
></view>
<view
class=
"prize-name"
>
{{
item
.
awardRemark
}}
</view>
<view
class=
"prize-name"
>
{{
item
.
awardRemark
}}
</view>
...
@@ -311,7 +311,7 @@ export default {
...
@@ -311,7 +311,7 @@ export default {
background-size
:
100
%
100
%;
background-size
:
100
%
100
%;
overflow
:
hidden
;
overflow
:
hidden
;
.title
{
.title
{
height
:
toRpx
(
1
2
8
);
height
:
toRpx
(
1
1
8
);
border-radius
:
toRpx
(
32
)
toRpx
(
32
)
0
0
;
border-radius
:
toRpx
(
32
)
toRpx
(
32
)
0
0
;
background-size
:
toRpx
(
656
)
toRpx
(
104
);
background-size
:
toRpx
(
656
)
toRpx
(
104
);
...
@@ -347,6 +347,7 @@ export default {
...
@@ -347,6 +347,7 @@ export default {
color
:
#1a1a1a
;
color
:
#1a1a1a
;
font-size
:
toRpx
(
28
);
font-size
:
toRpx
(
28
);
font-weight
:
400
;
font-weight
:
400
;
margin-bottom
:
toRpx
(
4
);
}
}
.activity-time
{
.activity-time
{
color
:
#808080
;
color
:
#808080
;
...
@@ -356,7 +357,7 @@ export default {
...
@@ -356,7 +357,7 @@ export default {
}
}
.activity-cycle
{
.activity-cycle
{
color
:
#808080
;
color
:
#808080
;
font-size
:
toRpx
(
2
8
);
font-size
:
toRpx
(
2
4
);
font-weight
:
400
;
font-weight
:
400
;
margin-top
:
toRpx
(
12
);
margin-top
:
toRpx
(
12
);
}
}
...
@@ -364,7 +365,7 @@ export default {
...
@@ -364,7 +365,7 @@ export default {
height
:
toRpx
(
116
);
height
:
toRpx
(
116
);
border-radius
:
toRpx
(
12
);
border-radius
:
toRpx
(
12
);
background
:
linear-gradient
(
180deg
,
rgba
(
251
,
230
,
194
,
0.2
)
0%
,
rgba
(
251
,
217
,
180
,
0.2
)
100%
);
background
:
linear-gradient
(
180deg
,
rgba
(
251
,
230
,
194
,
0.2
)
0%
,
rgba
(
251
,
217
,
180
,
0.2
)
100%
);
padding
:
toRpx
(
16
)
toRpx
(
2
4
);
padding
:
toRpx
(
16
)
toRpx
(
1
4
);
box-sizing
:
border-box
;
box-sizing
:
border-box
;
margin-top
:
toRpx
(
12
);
margin-top
:
toRpx
(
12
);
position
:
relative
;
position
:
relative
;
...
@@ -511,7 +512,7 @@ export default {
...
@@ -511,7 +512,7 @@ export default {
}
}
}
}
.activity-box
{
.activity-box
{
padding-top
:
toRpx
(
32
);
padding-top
:
toRpx
(
24
);
height
:
calc
(
100%
-
#{
toRpx
(
100
)}
);
height
:
calc
(
100%
-
#{
toRpx
(
100
)}
);
.activity-list-box
{
.activity-list-box
{
margin-top
:
toRpx
(
24
);
margin-top
:
toRpx
(
24
);
...
@@ -571,7 +572,7 @@ export default {
...
@@ -571,7 +572,7 @@ export default {
}
}
.card-item-content
{
.card-item-content
{
padding
:
toRpx
(
32
);
padding
:
0
toRpx
(
32
);
}
}
.card-item-title
{
.card-item-title
{
...
@@ -590,7 +591,7 @@ export default {
...
@@ -590,7 +591,7 @@ export default {
display
:
flex
;
display
:
flex
;
align-items
:
center
;
align-items
:
center
;
font-size
:
toRpx
(
24
);
font-size
:
toRpx
(
24
);
margin-bottom
:
toRpx
(
1
2
);
margin-bottom
:
toRpx
(
1
6
);
.card-item-label
{
.card-item-label
{
width
:
toRpx
(
96
);
width
:
toRpx
(
96
);
...
@@ -744,7 +745,7 @@ export default {
...
@@ -744,7 +745,7 @@ export default {
border-radius
:
toRpx
(
16
);
border-radius
:
toRpx
(
16
);
background
:
#f5f7fa
;
background
:
#f5f7fa
;
height
:
100%
;
height
:
100%
;
padding
:
toRpx
(
12
)
toRpx
(
16
);
padding
:
toRpx
(
24
)
toRpx
(
32
);
box-sizing
:
border-box
;
box-sizing
:
border-box
;
.ql-container
{
.ql-container
{
width
:
100%
;
width
:
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