From 49fc0e553108c761bca51b9c731089f336c6c69a Mon Sep 17 00:00:00 2001 From: xiaozhiyong Date: Thu, 7 Sep 2023 09:40:21 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- App.vue | 26 --- BagMoney/components/oil-card/oil-card.vue | 204 +++++++++++++++------- BagSetup/setup/setup.vue | 38 ++-- BagStation/pages/oilQRcode/index.vue | 62 +++++++ pages.json | 8 +- pages/tabbar/user/user.vue | 26 ++- static/img/back.png | Bin 0 -> 621 bytes static/img/erweima-grey.png | Bin 0 -> 791 bytes static/img/erweima-white.png | Bin 0 -> 573 bytes 9 files changed, 253 insertions(+), 111 deletions(-) create mode 100644 BagStation/pages/oilQRcode/index.vue create mode 100644 static/img/back.png create mode 100644 static/img/erweima-grey.png create mode 100644 static/img/erweima-white.png diff --git a/App.vue b/App.vue index 9ed7e68..c04481a 100644 --- a/App.vue +++ b/App.vue @@ -38,10 +38,6 @@ }) this.onShareAppMessage(option.query.scene); - }, - onLoad(e) { - console.log(e,'666666666666666666666666666666') - }, methods: { @@ -131,28 +127,9 @@ onShow: function(option) { const token = uni.getStorageSync('Authorization') const openid = uni.getStorageSync('openid') - let key = '' if (token && openid) { this.getAmount() - key = '真在线' - } else { - key = '离线' - } - if (key == '在线') { - } - setTimeout(() => { - console.log(key) - if (key == '在线') { - - } else { - // uni.redirectTo({ - // url: '/BagAuth/pages/login/login' - // }) - } - }, 2000) - // uni.showShareMenu() - // console.log('App Show') uni.getLocation({ type: 'wgs84', success: function(res) { @@ -163,9 +140,6 @@ } }); }, - onHide: function() { - // console.log('App Hide') - } } diff --git a/BagSetup/setup/setup.vue b/BagSetup/setup/setup.vue index ded31b0..2873340 100644 --- a/BagSetup/setup/setup.vue +++ b/BagSetup/setup/setup.vue @@ -23,14 +23,6 @@ - 订单状态通知 @@ -39,14 +31,6 @@ 订阅 - @@ -65,6 +49,14 @@ {{userInfo.userPayPwdState?'已':'未'}}设置 + + + 收油码 + + + + + @@ -103,12 +95,17 @@ userInfo: { } - } + } }, onShow() { this.getUserInfo() }, methods: { + jumpQRcode() { + uni.navigateTo({ + url:'/BagStation/pages/oilQRcode/index' + }) + }, resMsg() { wx.requestSubscribeMessage({ tmplIds: ['ZXdtqtVmzbJY0_A2Va6MBHDrRIKN99o5lSg8fU7f77c'], @@ -162,4 +159,11 @@ .value { color: #777; } + + .qrcode { + position: relative; + top: 4rpx; + width: 42rpx; + height: 42rpx; + } diff --git a/BagStation/pages/oilQRcode/index.vue b/BagStation/pages/oilQRcode/index.vue new file mode 100644 index 0000000..54f2905 --- /dev/null +++ b/BagStation/pages/oilQRcode/index.vue @@ -0,0 +1,62 @@ + + + + + diff --git a/pages.json b/pages.json index 60f70d6..95c93ec 100644 --- a/pages.json +++ b/pages.json @@ -322,6 +322,13 @@ "enablePullDownRefresh": false } + }, + { + "path": "pages/oilQRcode/index", + "style": { + "navigationBarTitleText": "", + "enablePullDownRefresh": false + } } ] }, @@ -333,7 +340,6 @@ "navigationBarTitleText": "", "enablePullDownRefresh": false } - } ] diff --git a/pages/tabbar/user/user.vue b/pages/tabbar/user/user.vue index 6702f75..2e32550 100644 --- a/pages/tabbar/user/user.vue +++ b/pages/tabbar/user/user.vue @@ -26,6 +26,7 @@ + @@ -40,7 +41,10 @@ {{companyCard.name}} - {{companyCard.companyNature===1?'自营':'外请'}} + + {{companyCard.companyNature===1?'自营':'外请'}} + @@ -128,7 +132,8 @@ - + + @@ -167,7 +172,7 @@ this.upadteCompanyCard() }, methods: { - logout(){ + logout() { this.isSwitchEnterprises = false }, upadteCompanyCard() { @@ -305,6 +310,19 @@ \ No newline at end of file + diff --git a/static/img/back.png b/static/img/back.png new file mode 100644 index 0000000000000000000000000000000000000000..f9f71515c27d72305bdff8a25967bcb18e84768a GIT binary patch literal 621 zcmV-z0+RiSP)Px%CrLy>RA@u(ne9!(Kn#ZMP3R=hNuZO^PC}W4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%86_2fn6nJ=}n2>56U2`)5A3X^P90!+^F zsMIU?t}qK5g;OC2WK*pN!q=SSH?r>}W9pg5R%GYS)*SYh3e1t!5}Qi}O0qS_-hb(2 VSza?Cwub-!002ovPDHLkV1j>CXkY*U literal 0 HcmV?d00001 diff --git a/static/img/erweima-white.png b/static/img/erweima-white.png new file mode 100644 index 0000000000000000000000000000000000000000..10436e677a39603d547d3736bea64639f29b8bbf GIT binary patch literal 573 zcmV-D0>b@?P)Px$_en%SR9HvtmyK-#F${(6NeYt`CTW?ZFiGhog-J>$arH$`bQkgiC)8f0i-ZJR z?7TS7@8wixGIS<5Wd1X<$17g0@(ZmuUGh^WkNzE*5 zKvkQ(^Qtj#eG8ENu;dLc1e3P0wh(_%$ACbxHY$m(C1C|gWf?S zYP2r`h(@3*Be5Fp)LWkJ>b7r8h=f-Yy67QLQPB8KJ2Pr=QTjtnPe(}jA|eD;J;N76 zs*&t4+#ZOnc@zLYN)`Jz?pqbf77se6S9bG?huq?#l(|XFdjR#^_q&k{urg$SZfM>i z%n2Rnzu`#YRm@)k@>R0w9FP-}xv2wup-nV2Z*SarJ(wTbJ)k!!0~h9A`vxbU0wgZL+16g7Xk83(bY1YpIEuiF z!f$TxS7H{9uOd_|!h1{gP0vB3m#bb^^q$Y(eS152^z)@6c}0H!l}ENRE?!d_00000 LNkvXXu0mjfXpsM5 literal 0 HcmV?d00001