feat:权益包中奖页头部横幅替换为设计稿整图(到期时间改为动态浮层)
- 原纯色红底+文字标题区域换成 hhrs2_rights_win.png 整图(widthFix 通栏,加载前同色底防闪白) - 到期时间胶囊绝对定位于图内左下空橙区,避开统计卡遮挡带 - webp 源转 png 入库,兼容老版本 iOS 微信 Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Fable 5
parent
701a032532
commit
7c1ae86a4e
+14
-12
@@ -60,10 +60,10 @@
|
||||
|
||||
<!-- 状态3: 权益信息 -->
|
||||
<view v-if="status === 'info'">
|
||||
<!-- 蓝色头部横幅 -->
|
||||
<!-- xuchao: 中奖横幅按设计稿整图烘焙(恭喜文案+权益包卡插画),到期时间为动态浮层 -->
|
||||
<view style="background: #fff;">
|
||||
<view class="banner-area">
|
||||
<text class="banner-title">恭喜您!获得怀化市社保卡权益包</text>
|
||||
<image class="banner-img" src="/static/hhrs2_rights_win.png" mode="widthFix"></image>
|
||||
<view class="banner-expire" v-if="expiresTime">
|
||||
<text class="expire-icon">!</text>
|
||||
<text class="expire-text">{{ expiresTime }}</text>
|
||||
@@ -737,27 +737,29 @@
|
||||
line-height: 1.6;
|
||||
}
|
||||
|
||||
/* 权益信息 - 蓝色横幅 */
|
||||
/* 权益信息 - 中奖横幅(整图烘焙,动态到期浮层) */
|
||||
.banner-area {
|
||||
background-color: #E8542F;
|
||||
padding: 80px 16px 96px;
|
||||
border-radius: 0 0 50px 50px;
|
||||
position: relative;
|
||||
background-color: #E8542F; /* 图加载前的同色底,避免闪白 */
|
||||
}
|
||||
|
||||
.banner-title {
|
||||
font-size: 24px;
|
||||
color: #ffffff;
|
||||
font-weight: 700;
|
||||
.banner-img {
|
||||
width: 100%;
|
||||
display: block;
|
||||
text-align: center;
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
|
||||
/* xuchao: 到期胶囊浮在图上左下空橙区;bottom 需高于统计卡上浮遮挡区(60px) */
|
||||
.banner-expire {
|
||||
position: absolute;
|
||||
left: 7%;
|
||||
bottom: 80px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 6px;
|
||||
background: rgba(255, 255, 255, 0.22);
|
||||
border-radius: 20px;
|
||||
padding: 4px 12px;
|
||||
}
|
||||
|
||||
.expire-icon {
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 627 KiB |
Reference in New Issue
Block a user