From 6df09b6f82133b6c4ab88a823d20f722584d9052 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=94=90=E6=98=8E=E6=98=8E?= <970899069@qq.com> Date: Wed, 30 Dec 2020 17:05:52 +0800 Subject: [PATCH] =?UTF-8?q?[=E6=9B=B4=E6=96=B0]=E4=BF=AE=E5=A4=8Dtabbar?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E5=86=85=E5=AE=B9=E8=A2=AB=E9=81=AE=E6=8C=A1?= =?UTF-8?q?=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app.wxss | 4 +- components/storeTabBar/storeTabBar.wxss | 1 + pages/mall/index.json | 3 +- pages/mall/index.wxml | 71 ++++----- pages/mall/index.wxss | 2 +- pages/ticket/index.js | 4 +- pages/ticket/index.wxml | 6 +- pages/ticket/index.wxss | 6 +- pages/user/index.wxml | 197 ++++++++++++------------ 9 files changed, 152 insertions(+), 142 deletions(-) diff --git a/app.wxss b/app.wxss index 44b0430..c2c81cc 100644 --- a/app.wxss +++ b/app.wxss @@ -10,8 +10,8 @@ page{ font-size: 30rpx; } -.tabBar{ - margin-bottom: calc(48px + env(safe-area-inset-bottom)); +.tabBarContent{ + border-bottom: solid calc(48px + env(safe-area-inset-bottom)) transparent; } /* diff --git a/components/storeTabBar/storeTabBar.wxss b/components/storeTabBar/storeTabBar.wxss index 4ffc7f7..51c5325 100644 --- a/components/storeTabBar/storeTabBar.wxss +++ b/components/storeTabBar/storeTabBar.wxss @@ -6,6 +6,7 @@ */ .tab-bar { + z-index: 999999; position: fixed; bottom: 0; left: 0; diff --git a/pages/mall/index.json b/pages/mall/index.json index c7f1412..cdc080e 100644 --- a/pages/mall/index.json +++ b/pages/mall/index.json @@ -8,5 +8,6 @@ }, "navigationBarTitleText": "商城", "enablePullDownRefresh" : true, - "navigationBarBackgroundColor": "#ea4e2f" + "navigationBarTextStyle": "white", + "navigationBarBackgroundColor": "#2d6bf6" } \ No newline at end of file diff --git a/pages/mall/index.wxml b/pages/mall/index.wxml index c7d8a90..a877171 100644 --- a/pages/mall/index.wxml +++ b/pages/mall/index.wxml @@ -1,43 +1,44 @@ - - - - 搜索商品 - + + + + + 搜索商品 + - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/pages/mall/index.wxss b/pages/mall/index.wxss index 3afc832..59a7e71 100644 --- a/pages/mall/index.wxss +++ b/pages/mall/index.wxss @@ -16,7 +16,7 @@ page { .mallBox::after { position: absolute; content: ''; - background-color: #ea4e2f; + background-color: #2d6bf6; border-radius: 0 0 10% 10%; width: 100%; height: 38vh; diff --git a/pages/ticket/index.js b/pages/ticket/index.js index 020a5a8..4ed48b4 100644 --- a/pages/ticket/index.js +++ b/pages/ticket/index.js @@ -41,8 +41,8 @@ Page({ /** * 生命周期函数--监听页面显示 */ - onShow: function () { - + onShow() { + wx.hideHomeButton() this.couponInfo(); }, couponInfo() { diff --git a/pages/ticket/index.wxml b/pages/ticket/index.wxml index e754f52..0cfb83f 100644 --- a/pages/ticket/index.wxml +++ b/pages/ticket/index.wxml @@ -1,5 +1,5 @@ - + - \ No newline at end of file + + + diff --git a/pages/ticket/index.wxss b/pages/ticket/index.wxss index cae3d14..760309c 100644 --- a/pages/ticket/index.wxss +++ b/pages/ticket/index.wxss @@ -3,8 +3,12 @@ * 企获客商城 */ +page{ + background: white; +} + .coupon { - margin: 0 20rpx; + padding: 0 30rpx; } /* 轮播图 */ diff --git a/pages/user/index.wxml b/pages/user/index.wxml index afbac32..85bac23 100644 --- a/pages/user/index.wxml +++ b/pages/user/index.wxml @@ -1,109 +1,110 @@ - - - - 艾米家的傻钢^ 游客 - - - - - - 128 团队 - - 11259 关注企业 - - - - 升级VIP会员 享会员特权 + + + + + 艾米家的傻钢^ 游客 + - - 立即开通 + + + + 128 团队 + + 11259 关注企业 + + + + 升级VIP会员 享会员特权 + + + 立即开通 + - - - - - + + + + + + 我的卡券 + + + + + + 我的订单 + + + + + + 分享海报 - 我的卡券 - - - - - - 我的订单 - - - - - - 分享海报 - - - - 更多服务 - - - - - - - 活动参与 - - - - - - 项目预购 - - - - - 2 - - 我的购物车 - - - - 客服服务 + + + 更多服务 - - - + + + + + + 活动参与 + + + + + + 项目预购 + + + + + 2 + + 我的购物车 + + + + 客服服务 - 收货地址 - - - - - - 项目关注 - - - - - - 区块链证书 - - - - - - 企获客广场 - - - - - - 设置 - + + + + + 收货地址 + + + + + + 项目关注 + + + + + + 区块链证书 + + + + + + 企获客广场 + + + + + + 设置 + + - \ No newline at end of file