diff --git a/App.vue b/App.vue index c79112e..3711341 100644 --- a/App.vue +++ b/App.vue @@ -24,6 +24,12 @@ -webkit-font-smoothing: antialiased; } + /* xuchao: html 层兜底暖米底色 —— 内容不足一屏的页面(如 我的)在固定导航上方 + 不会露出默认白底形成白带;有自己底色的页面不受影响 */ + html { + background-color: #FDECE2; + } + /* xuchao: 修复默认导航栏在微信 WebView 内顶部超宽空白(参加/使用指南、协议等页)—— uni-app 内置 H5 导航栏高度为 calc(44px + env(safe-area-inset-top)),页面模板带 viewport-fit=cover 时,部分 Android 微信 WebView 会误报状态栏高度(而 H5 视口本 diff --git a/components/hhrs-tabbar/hhrs-tabbar.vue b/components/hhrs-tabbar/hhrs-tabbar.vue new file mode 100644 index 0000000..73a3439 --- /dev/null +++ b/components/hhrs-tabbar/hhrs-tabbar.vue @@ -0,0 +1,56 @@ + + + + + diff --git a/components/hhrs-winner-sheet/hhrs-winner-sheet.vue b/components/hhrs-winner-sheet/hhrs-winner-sheet.vue new file mode 100644 index 0000000..0923050 --- /dev/null +++ b/components/hhrs-winner-sheet/hhrs-winner-sheet.vue @@ -0,0 +1,305 @@ + + + + + diff --git a/pages.json b/pages.json index 7eee50d..218562e 100644 --- a/pages.json +++ b/pages.json @@ -100,25 +100,5 @@ "navigationBarBackgroundColor": "#ffffff", "backgroundColor": "#F8F8F8" }, - "tabBar": { - "custom": true, - "color": "#999999", - "selectedColor": "#007aff", - "backgroundColor": "#ffffff", - "list": [ - { - "pagePath": "pages/index/index", - "iconPath": "static/shouye.png", - "selectedIconPath": "static/shouye_select.png", - "text": "首页" - }, - { - "pagePath": "pages/mine/mine", - "iconPath": "static/wode.png", - "selectedIconPath": "static/wode_select.png", - "text": "我的" - } - ] - }, "uniIdRouter": {} } diff --git a/pages/index/index.vue b/pages/index/index.vue index 3ca5ac4..41161c5 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -1,57 +1,85 @@ diff --git a/pages/index/login.vue b/pages/index/login.vue index 7c8cacf..b20195e 100644 --- a/pages/index/login.vue +++ b/pages/index/login.vue @@ -139,7 +139,10 @@ export default { uni.setStorageSync('expiresTime', eRes.data.expiresTime) } }).finally(() => { - if (this.redirect === 'rights') { + if (this.redirect === 'query') { + // xuchao: 首页「查询中奖结果」发起的登录 —— 回首页自动弹查询层(openQuery 由首页 onLoad 消费) + uni.reLaunch({ url: '/pages/index/index?openQuery=1' }) + } else if (this.redirect === 'rights') { const isAuth = uni.getStorageSync('isAuth') const hasWin = uni.getStorageSync('hasWin') let status = 'auth' diff --git a/pages/mine/mine.vue b/pages/mine/mine.vue index cff4204..3e83978 100644 --- a/pages/mine/mine.vue +++ b/pages/mine/mine.vue @@ -38,14 +38,18 @@ + + diff --git a/static/hhrs2_btn_query.png b/static/hhrs2_btn_query.png new file mode 100644 index 0000000..c01e545 Binary files /dev/null and b/static/hhrs2_btn_query.png differ diff --git a/static/hhrs2_guide_join.png b/static/hhrs2_guide_join.png new file mode 100644 index 0000000..814f932 Binary files /dev/null and b/static/hhrs2_guide_join.png differ diff --git a/static/hhrs2_guide_use.png b/static/hhrs2_guide_use.png new file mode 100644 index 0000000..558598c Binary files /dev/null and b/static/hhrs2_guide_use.png differ diff --git a/static/hhrs2_hero.png b/static/hhrs2_hero.png new file mode 100644 index 0000000..08f57c2 Binary files /dev/null and b/static/hhrs2_hero.png differ diff --git a/static/hhrs2_kong_rights.png b/static/hhrs2_kong_rights.png new file mode 100644 index 0000000..e780743 Binary files /dev/null and b/static/hhrs2_kong_rights.png differ diff --git a/static/hhrs2_kong_shop.png b/static/hhrs2_kong_shop.png new file mode 100644 index 0000000..bc2d0a5 Binary files /dev/null and b/static/hhrs2_kong_shop.png differ diff --git a/static/hhrs2_kong_venue.png b/static/hhrs2_kong_venue.png new file mode 100644 index 0000000..a932fbc Binary files /dev/null and b/static/hhrs2_kong_venue.png differ diff --git a/static/hhrs2_kong_winner.png b/static/hhrs2_kong_winner.png new file mode 100644 index 0000000..bb8a8ee Binary files /dev/null and b/static/hhrs2_kong_winner.png differ diff --git a/static/hhrs2_tab_home_off.png b/static/hhrs2_tab_home_off.png new file mode 100644 index 0000000..688f88c Binary files /dev/null and b/static/hhrs2_tab_home_off.png differ diff --git a/static/hhrs2_tab_home_on.png b/static/hhrs2_tab_home_on.png new file mode 100644 index 0000000..e846f29 Binary files /dev/null and b/static/hhrs2_tab_home_on.png differ diff --git a/static/hhrs2_tab_mine_off.png b/static/hhrs2_tab_mine_off.png new file mode 100644 index 0000000..949865b Binary files /dev/null and b/static/hhrs2_tab_mine_off.png differ diff --git a/static/hhrs2_tab_mine_on.png b/static/hhrs2_tab_mine_on.png new file mode 100644 index 0000000..d0e4a47 Binary files /dev/null and b/static/hhrs2_tab_mine_on.png differ diff --git a/static/shouye.png b/static/shouye.png deleted file mode 100644 index 3530a50..0000000 Binary files a/static/shouye.png and /dev/null differ diff --git a/static/shouye_select.png b/static/shouye_select.png deleted file mode 100644 index cafab3f..0000000 Binary files a/static/shouye_select.png and /dev/null differ diff --git a/static/wode.png b/static/wode.png deleted file mode 100644 index 4e48a8b..0000000 Binary files a/static/wode.png and /dev/null differ diff --git a/static/wode_select.png b/static/wode_select.png deleted file mode 100644 index 224de02..0000000 Binary files a/static/wode_select.png and /dev/null differ