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 a8368022
authored
Mar 05, 2025
by
huyue
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
兑换券样式修复
1 parent
1d119f75
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
43 additions
and
32 deletions
components/HomeFrame/components/Point/LevelPoint.vue
components/HomeFrame/components/Point/index.vue
components/HomeFrame/components/Point/LevelPoint.vue
View file @
a836802
...
@@ -527,7 +527,7 @@ export default {
...
@@ -527,7 +527,7 @@ export default {
position
:
relative
;
position
:
relative
;
z-index
:
4
;
z-index
:
4
;
&.scroll-list
{
&.scroll-list
{
height
:
calc
(
100%
-
#{
toRpx
(
248
)}
);
height
:
calc
(
100%
-
#{
toRpx
(
170
)}
);
}
}
.coupon-list
{
.coupon-list
{
...
@@ -616,7 +616,7 @@ export default {
...
@@ -616,7 +616,7 @@ export default {
box-shadow
:
inset
0
0
toRpx
(
32
)
0
#ffffff59
;
box-shadow
:
inset
0
0
toRpx
(
32
)
0
#ffffff59
;
border-radius
:
toRpx
(
16
);
border-radius
:
toRpx
(
16
);
text-align
:
center
;
text-align
:
center
;
line-height
:
toRpx
(
7
2
);
line-height
:
toRpx
(
7
8
);
}
}
.gray-name
{
.gray-name
{
...
@@ -966,7 +966,7 @@ export default {
...
@@ -966,7 +966,7 @@ export default {
display
:
flex
;
display
:
flex
;
align-items
:
center
;
align-items
:
center
;
justify-content
:
center
;
justify-content
:
center
;
position
:
absolute
;
position
:
fixed
;
left
:
0
;
left
:
0
;
right
:
0
;
right
:
0
;
top
:
0
;
top
:
0
;
...
@@ -1104,9 +1104,9 @@ export default {
...
@@ -1104,9 +1104,9 @@ export default {
color
:
#808291
;
color
:
#808291
;
}
}
.redeem-value
{
.redeem-value
{
font-size
:
toRpx
(
28
);
font-size
:
toRpx
(
40
);
color
:
#181A1F
;
color
:
#181A1F
;
margin-top
:
toRpx
(
8
);
margin-top
:
toRpx
(
16
);
word-wrap
:
break-word
;
word-wrap
:
break-word
;
word-break
:
break-all
;
word-break
:
break-all
;
}
}
...
@@ -1176,18 +1176,17 @@ export default {
...
@@ -1176,18 +1176,17 @@ export default {
color
:
#020305
;
color
:
#020305
;
font-weight
:
500
;
font-weight
:
500
;
margin-bottom
:
toRpx
(
16
);
margin-bottom
:
toRpx
(
16
);
padding
:
0
toRpx
(
32
);
}
}
.usage-notice
{
.usage-notice
{
background-color
:
#F5F7FA
;
background-color
:
#F5F7FA
;
padding
:
toRpx
(
24
)
toRpx
(
32
);
padding
:
toRpx
(
24
)
toRpx
(
6
);
border-radius
:
toRpx
(
24
);
border-radius
:
toRpx
(
24
);
&.claimed-usage
{
&.claimed-usage
{
margin-bottom
:
toRpx
(
56
);
margin-bottom
:
toRpx
(
56
);
}
}
}
}
.claimed-notice
{
.claimed-notice
{
height
:
toRpx
(
284
);
overflow-y
:
auto
;
}
}
.usage-notice
{
.usage-notice
{
...
@@ -1197,7 +1196,10 @@ export default {
...
@@ -1197,7 +1196,10 @@ export default {
}
}
.usage-notice
.ol
{
.usage-notice
.ol
{
padding-left
:
toRpx
(
40
);
padding
:
0
toRpx
(
34
);
font-size
:
toRpx
(
26
);
max-height
:
toRpx
(
212
);
overflow-y
:
auto
;
.first-li
{
.first-li
{
color
:
#EF6F2C
;
color
:
#EF6F2C
;
...
@@ -1212,7 +1214,7 @@ export default {
...
@@ -1212,7 +1214,7 @@ export default {
.coupon-footer
{
.coupon-footer
{
display
:
flex
;
display
:
flex
;
justify-content
:
center
;
justify-content
:
center
;
padding
:
toRpx
(
48
)
0
toRpx
(
64
);
padding
:
toRpx
(
48
)
0
toRpx
(
40
);
}
}
.claim-button
{
.claim-button
{
...
@@ -1241,7 +1243,7 @@ export default {
...
@@ -1241,7 +1243,7 @@ export default {
.close-btn
{
.close-btn
{
font-weight
:
100
;
font-weight
:
100
;
font-size
:
toRpx
(
70
);
font-size
:
toRpx
(
70
);
line-height
:
toRpx
(
72
);
line-height
:
toRpx
(
80
);
}
}
}
}
}
}
...
...
components/HomeFrame/components/Point/index.vue
View file @
a836802
...
@@ -54,8 +54,8 @@
...
@@ -54,8 +54,8 @@
<view
v-for=
"item in couponList"
:key=
"item.id"
class=
"card-bg"
:class=
"item.isclaimed ? 'claimed-bg' : 'unclaimed-bg'"
>
<view
v-for=
"item in couponList"
:key=
"item.id"
class=
"card-bg"
:class=
"item.isclaimed ? 'claimed-bg' : 'unclaimed-bg'"
>
<view
class=
"coupon-img"
></view>
<view
class=
"coupon-img"
></view>
<view
class=
"coupon-right"
>
<view
class=
"coupon-right"
>
<view
class=
"coupon-name
"
>
{{
item
.
couponName
}}
</view>
<view
:class=
"['coupon-name', item.couponState == 2 ? 'unclaimed-name':'']
"
>
{{
item
.
couponName
}}
</view>
<view
class=
"coupon-price
"
>
价值¥
{{
item
.
lineationPrice
}}
</view>
<view
:class=
"['coupon-price', item.couponState == 2 ? 'unclaimed-price':'']
"
>
价值¥
{{
item
.
lineationPrice
}}
</view>
</view>
</view>
</view>
</view>
</view>
</view>
...
@@ -160,24 +160,27 @@ export default {
...
@@ -160,24 +160,27 @@ export default {
myStar
:
[],
myStar
:
[],
recordList
:[{
title
:
'签到'
,
time
:
'2021-09-09'
,
num
:
10
},{
title
:
'签到'
,
time
:
'2021-09-09'
,
num
:
10
},{
title
:
'签到'
,
time
:
'2021-09-09'
,
num
:
10
},{
title
:
'签到'
,
time
:
'2021-09-09'
,
num
:
10
},{
title
:
'签到'
,
time
:
'2021-09-09'
,
num
:
10
},{
title
:
'签到'
,
time
:
'2021-09-09'
,
num
:
10
},{
title
:
'签到'
,
time
:
'2021-09-09'
,
num
:
10
},{
title
:
'签到'
,
time
:
'2021-09-09'
,
num
:
10
},{
title
:
'签到'
,
time
:
'2021-09-09'
,
num
:
10
},{
title
:
'签到'
,
time
:
'2021-09-09'
,
num
:
10
},{
title
:
'签到'
,
time
:
'2021-09-09'
,
num
:
10
},{
title
:
'签到'
,
time
:
'2021-09-09'
,
num
:
10
},{
title
:
'签到'
,
time
:
'2021-09-09'
,
num
:
10
},{
title
:
'签到'
,
time
:
'2021-09-09'
,
num
:
10
},{
title
:
'签到'
,
time
:
'2021-09-09'
,
num
:
10
}],
recordList
:[{
title
:
'签到'
,
time
:
'2021-09-09'
,
num
:
10
},{
title
:
'签到'
,
time
:
'2021-09-09'
,
num
:
10
},{
title
:
'签到'
,
time
:
'2021-09-09'
,
num
:
10
},{
title
:
'签到'
,
time
:
'2021-09-09'
,
num
:
10
},{
title
:
'签到'
,
time
:
'2021-09-09'
,
num
:
10
},{
title
:
'签到'
,
time
:
'2021-09-09'
,
num
:
10
},{
title
:
'签到'
,
time
:
'2021-09-09'
,
num
:
10
},{
title
:
'签到'
,
time
:
'2021-09-09'
,
num
:
10
},{
title
:
'签到'
,
time
:
'2021-09-09'
,
num
:
10
},{
title
:
'签到'
,
time
:
'2021-09-09'
,
num
:
10
},{
title
:
'签到'
,
time
:
'2021-09-09'
,
num
:
10
},{
title
:
'签到'
,
time
:
'2021-09-09'
,
num
:
10
},{
title
:
'签到'
,
time
:
'2021-09-09'
,
num
:
10
},{
title
:
'签到'
,
time
:
'2021-09-09'
,
num
:
10
},{
title
:
'签到'
,
time
:
'2021-09-09'
,
num
:
10
}],
couponList
:
[
couponList
:
[
{
// {
id
:
1
,
// id: 1,
name
:
'星巴克中杯全国通兑券星巴克中杯全国通兑券'
,
// couponName: '星巴克中杯全国通兑券星巴克中杯全国通兑券',
price
:
45
,
// lineationPrice: 45,
isclaimed
:
true
// isclaimed: true,
},
// couponState: 1
{
// },
id
:
2
,
// {
name
:
'星巴克中杯全国通兑券'
,
// id: 2,
price
:
45
,
// couponName: '星巴克中杯全国通兑券',
isclaimed
:
false
// lineationPrice: 45,
},
// isclaimed: false,
{
// couponState: 2
id
:
3
,
// },
name
:
'星巴克中杯全国通兑券星巴克中杯全国通兑券'
,
// {
price
:
45
,
// id: 3,
isclaimed
:
false
// couponName: '星巴克中杯全国通兑券星巴克中杯全国通兑券',
}
// lineationPrice: 45,
// isclaimed: false,
// couponState: 2
// }
],
],
couponCount
:
0
couponCount
:
0
}
}
...
@@ -267,7 +270,7 @@ export default {
...
@@ -267,7 +270,7 @@ export default {
color
:
#1a1a1a
!important
;
color
:
#1a1a1a
!important
;
}
}
.card-number
{
.card-number
{
font-weight
:
7
00
;
font-weight
:
6
00
;
font-size
:
toRpx
(
80
);
font-size
:
toRpx
(
80
);
color
:
#fa9d23
;
color
:
#fa9d23
;
margin-left
:
auto
;
margin-left
:
auto
;
...
@@ -379,11 +382,17 @@ export default {
...
@@ -379,11 +382,17 @@ export default {
display
:
-webkit-box
;
display
:
-webkit-box
;
-webkit-line-clamp
:
2
;
-webkit-line-clamp
:
2
;
-webkit-box-orient
:
vertical
;
-webkit-box-orient
:
vertical
;
&.unclaimed-name
{
color
:
#5C3537
}
}
}
.coupon-price
{
.coupon-price
{
margin-top
:
toRpx
(
16
);
margin-top
:
toRpx
(
16
);
font-size
:
toRpx
(
26
);
font-size
:
toRpx
(
26
);
color
:
#4d9cfb
;
color
:
#4d9cfb
;
&.unclaimed-price
{
color
:
#DB832C
;
}
}
}
}
}
}
}
...
...
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