feat:首页按设计稿改版 + 新增「查询我的中奖结果」半屏弹层
- 首页重构:KV 头图/金刚区/可领权益包/折扣商户分类宫格,暖米底色与切图规范统一 - 查询弹层 hhrs-winner-sheet:登录→资格→证件两段式查询,六态文案与 CTA;未中奖引导看权益包明细(参加指南内容待运营) - 底部导航改自定义组件单条呈现,移除 pages.json 原生 tabBar(H5 下双导航叠加问题);我的页换肤对齐首页主色 - 修复内容不足一屏时露 html 白底(html 兜底色 + 我的页撑满屏高);App.vue 修复微信 WebView 导航栏高度误报 - 删除原生 tabBar 遗留的 4 张旧图标,新增 12 张 hhrs2_ 切图 Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Fable 5
parent
b94d0a4486
commit
6747501963
+18
-5
@@ -38,14 +38,18 @@
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<!-- xuchao: 首页改版后 我的 页复用同一自定义底部导航 -->
|
||||
<hhrs-tabbar current="mine"></hhrs-tabbar>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import config from '@/common/config.js'
|
||||
import account from '@/common/account.js'
|
||||
import HhrsTabbar from '@/components/hhrs-tabbar/hhrs-tabbar.vue'
|
||||
|
||||
export default {
|
||||
components: { HhrsTabbar },
|
||||
data() {
|
||||
return {
|
||||
isLogin: false,
|
||||
@@ -101,19 +105,20 @@ export default {
|
||||
}
|
||||
</script>
|
||||
<style>
|
||||
/* xuchao: 配色与改版后首页统一 —— 暖米底 + 品牌红橙头 */
|
||||
page {
|
||||
background-color: #f2f2f7;
|
||||
background-color: #FDECE2;
|
||||
}
|
||||
</style>
|
||||
<style>
|
||||
|
||||
|
||||
/* 用户信息 */
|
||||
/* 用户信息(xuchao: 头区渐变改品牌红→页面米色,与首页 KV 同色系) */
|
||||
.user-section {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
background: linear-gradient(to bottom, #0066cc, #f2f2f7);
|
||||
background: linear-gradient(180deg, #E8542F 0%, #F5B98E 55%, #FDECE2 100%);
|
||||
padding: 40px 16px 130px;
|
||||
}
|
||||
|
||||
@@ -162,11 +167,11 @@ export default {
|
||||
border-radius: 4px;
|
||||
}
|
||||
|
||||
/* 菜单列表 */
|
||||
/* 菜单列表(xuchao: 圆角与首页卡片同规格 28rpx) */
|
||||
.menu-list {
|
||||
margin: -88px 12px 0;
|
||||
background-color: #ffffff;
|
||||
border-radius: 8px;
|
||||
border-radius: 14px;
|
||||
}
|
||||
|
||||
.menu-item {
|
||||
@@ -193,5 +198,13 @@ export default {
|
||||
margin-left: 12px;
|
||||
}
|
||||
|
||||
/* xuchao: 底部固定导航遮挡留白;.page 必须撑满屏高并自带底色 —— 之前底色只挂在 body 上、
|
||||
高度等于内容高度,内容短时下方露出 html 白底,在 TabBar 上方形成一条白带两条缝 */
|
||||
.page {
|
||||
min-height: 100vh;
|
||||
background-color: #FDECE2;
|
||||
padding-bottom: calc(78px + env(safe-area-inset-bottom));
|
||||
}
|
||||
|
||||
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user