From b0413006cd9282f96452d022de8e58d9e279841f Mon Sep 17 00:00:00 2001 From: xvv Date: Fri, 13 Sep 2024 17:20:35 +0800 Subject: [PATCH] 9.13 --- gasStation-uni/package.json | 2 +- gasStation-uni/pages.json | 11 +- gasStation-uni/pages/index/index.vue | 89 ++++++- gasStation-uni/pagesHome/MyCard/MyCard.vue | 248 +++++++++--------- .../pagesHome/memberRecharge/index.vue | 10 +- 5 files changed, 220 insertions(+), 140 deletions(-) diff --git a/gasStation-uni/package.json b/gasStation-uni/package.json index 432c7dda0..cda94009e 100644 --- a/gasStation-uni/package.json +++ b/gasStation-uni/package.json @@ -3,7 +3,7 @@ "@dcloudio/uni-ui": "^1.4.28", "bignumber.js": "^9.1.2", "crypto-js": "^4.2.0", - "uview-ui": "^2.0.36", + "uview-ui": "^2.0.37", "weixin-js-sdk": "^1.6.5" }, "devDependencies": { diff --git a/gasStation-uni/pages.json b/gasStation-uni/pages.json index e288227c5..dd8c5044b 100644 --- a/gasStation-uni/pages.json +++ b/gasStation-uni/pages.json @@ -50,6 +50,13 @@ "navigationStyle": "custom" } }, + { + "path": "cardDetails/index", + "style": { + "navigationBarTitleText": "卡包详情" + // "navigationStyle": "custom" + } + }, { "path": "memberRecharge/index", "style": { @@ -145,8 +152,8 @@ { "path": "MyCard/MyCard", "style": { - "navigationBarTitleText": "卡包", - "navigationStyle": "custom" + "navigationBarTitleText": "卡包" + } } ] diff --git a/gasStation-uni/pages/index/index.vue b/gasStation-uni/pages/index/index.vue index 752f6ef11..1a84ab1fb 100644 --- a/gasStation-uni/pages/index/index.vue +++ b/gasStation-uni/pages/index/index.vue @@ -102,16 +102,34 @@ - + + + + 第三方用户信息授权说明 + + + 您授权后,小程序开发者将收集您的位置信息,为您提 供智能推荐服务。开发者严格按照《钜油惠百业兴小程 序隐私保护指引》处理您的个人信息,如您发现开发者 + 不当处理您的个人信息,可进行投诉。 + + + 拒绝 + 允许 + + + @@ -130,6 +148,7 @@ data() { return { ruleShow: false, + empowerShow: false, isOpen: false, chainStoreId: '', indicatorDots: true, @@ -251,6 +270,12 @@ tabbar }, methods: { + close() { + this.ruleShow = false + }, + empowerclose() { + this.empowerShow = false + }, goMemberRecharge() { uni.navigateTo({ url: '/pagesHome/memberRecharge/index' @@ -1103,13 +1128,63 @@ border-radius: 10px; background: #fff; width: 100%; - height: 100px; + + } + ._btop { + box-sizing: border-box; + padding: 15px; + border-bottom: 1px solid #EEEEEE; + text-align: center; + font-weight: 600; + font-size: 14px; + color: #333333; + } + + ._bbox { + box-sizing: border-box; + padding: 15px; + font-weight: 400; + font-size: 14px; + color: #333333; + line-height: 18px; + } + + .b_title { + font-weight: bold; + } + + .b-cen { width: 100%; display: flex; align-items: center; justify-content: center; + + } + + ._d_anniu { + width: 90px; + height: 30px; + border-radius: 15px; + border: 1px solid #FF9655; + display: flex; + align-items: center; + justify-content: center; + color: #FF9655; + margin-right: 20px; + } + + ._s_anniu { + width: 90px; + height: 30px; + border-radius: 15px; + border: 1px solid #FF9655; + background: #FF9655; + display: flex; + align-items: center; + justify-content: center; + color: #fff; } \ No newline at end of file diff --git a/gasStation-uni/pagesHome/MyCard/MyCard.vue b/gasStation-uni/pagesHome/MyCard/MyCard.vue index af8fea5c5..a9d25746e 100644 --- a/gasStation-uni/pagesHome/MyCard/MyCard.vue +++ b/gasStation-uni/pagesHome/MyCard/MyCard.vue @@ -1,113 +1,55 @@ @@ -145,6 +87,11 @@ url: '/pagesHome/oilRecharge/oilRecharge?id=' + id }) }, + goDetails() { + uni.navigateTo({ + url: '/pagesHome/cardDetails/index' + }) + }, s_() { if (this.cardsIndex == 0) { uni.showToast({ @@ -210,35 +157,12 @@ \ No newline at end of file diff --git a/gasStation-uni/pagesHome/memberRecharge/index.vue b/gasStation-uni/pagesHome/memberRecharge/index.vue index 3d34406c6..a28dafa45 100644 --- a/gasStation-uni/pagesHome/memberRecharge/index.vue +++ b/gasStation-uni/pagesHome/memberRecharge/index.vue @@ -1,7 +1,7 @@