diff --git a/gasStation-uni/pages.json b/gasStation-uni/pages.json index 30904e7b6..1cd59e3b3 100644 --- a/gasStation-uni/pages.json +++ b/gasStation-uni/pages.json @@ -203,6 +203,13 @@ "style": { "navigationBarTitleText": "卡包" + } + }, + { + "path": "userRegister/index", + "style": { + "navigationBarTitleText": "会员注册" + } } ] @@ -342,8 +349,7 @@ { "path": "myorder/myorder", "style": { - "navigationBarTitleText": "我的订单", - "navigationStyle": "custom" + "navigationBarTitleText": "消费记录" } }, { diff --git a/gasStation-uni/pages/index/index.vue b/gasStation-uni/pages/index/index.vue index 0a982d520..dfe3facfe 100644 --- a/gasStation-uni/pages/index/index.vue +++ b/gasStation-uni/pages/index/index.vue @@ -38,7 +38,7 @@ 每日抽奖 - + 签到有礼 @@ -261,6 +261,11 @@ tabbar }, methods: { + goSignIn(){ + uni.navigateTo({ + url: '/pagesMy/signIn/index' + }) + }, goInvite() { uni.navigateTo({ url: '/pagesMy/invite/invite' diff --git a/gasStation-uni/pages/my/my.vue b/gasStation-uni/pages/my/my.vue index 5fc1be790..0732c91c4 100644 --- a/gasStation-uni/pages/my/my.vue +++ b/gasStation-uni/pages/my/my.vue @@ -6,9 +6,9 @@ - - - + + + @@ -19,15 +19,16 @@ - - - - - + + + + - 用户昵称 - 手机号: xxxxxxxxxxxx + {{user.name}} + 手机号: {{user.mobile}} @@ -46,7 +47,7 @@ {{countList.length || 0 }}次 | - + 优惠券 {{cardsList.length || 0 }} @@ -95,7 +96,7 @@ 积分商城 - + @@ -103,7 +104,7 @@ 个人资料 - + @@ -111,7 +112,7 @@ 邀请有礼 - + @@ -127,7 +128,7 @@ 成长值记录 - + @@ -135,12 +136,12 @@ 礼品卡 - + - 副卡管理 + 车队管理 @@ -151,7 +152,7 @@ 我的奖品 - + @@ -175,11 +176,9 @@ return { query: { storeId: '', - chainStoreId: '', - couponType: '', - useStatus: 0, - pageNo: 1, - pageSize: 10 + status: 0, + page: 1, + pageSize: 1000 }, querys: { mtUserId: '', @@ -299,7 +298,7 @@ url: 'business/userManager/user/getUser', method: 'get', }).then(res => { - console.log(res, 1541); + console.log(res, 302); if (res.data) { this.user = res.data uni.setStorageSync('userId', res.data.id) @@ -376,12 +375,17 @@ }, goCard() { uni.navigateTo({ - url: '/pagesMy/CardManagement/CardManagement' + url: '/pagesHome/RechargeRecords/RechargeRecords' }) }, - govip() { + goCar() { uni.navigateTo({ - url: '/pagesMy/VIP/vip' + url: '/pagesMy/licensePlate/index' + }) + }, + goFleet() { + uni.navigateTo({ + url: '/pagesMy/fleetInfo/index' }) }, goFeedback() { @@ -399,12 +403,12 @@ params: this.query }).then(res => { if (res.data) { - this.cardBalance = res.data.cardBalance, - this.myPoints = res.data.points, - /* if (res.data.refuelMoney!=null && res.data.refuelMoney!=""){ - this.refuelMoney = JSON.parse(res.data.refuelMoney); - } */ + this.cardBalance = res.data.cardBalance + this.myPoints = res.data.points + /* if (res.data.refuelMoney!=null && res.data.refuelMoney!=""){ this.refuelMoney = JSON.parse(res.data.refuelMoney); + } */ + this.refuelMoney = JSON.parse(res.data.refuelMoney); console.log("333333333333333", this.refuelMoney); } }) @@ -414,7 +418,7 @@ return; } request({ - url: 'business/marketingActivity/cardFavorable/applet', + url: 'cardCouponUser/queryPage', method: 'get', params: this.query }).then(res => { diff --git a/gasStation-uni/pagesHome/PointsMall/PointsMall.vue b/gasStation-uni/pagesHome/PointsMall/PointsMall.vue index 53b029ef0..3685eb3f6 100644 --- a/gasStation-uni/pagesHome/PointsMall/PointsMall.vue +++ b/gasStation-uni/pagesHome/PointsMall/PointsMall.vue @@ -139,6 +139,7 @@ }).then((res) => { if (res.code == 200) { this.integralGiftList = res.data.records + console.log(this.integralGiftList,142); } }) }, diff --git a/gasStation-uni/pagesHome/userRegister/index.vue b/gasStation-uni/pagesHome/userRegister/index.vue new file mode 100644 index 000000000..fa302cc74 --- /dev/null +++ b/gasStation-uni/pagesHome/userRegister/index.vue @@ -0,0 +1,204 @@ + + + + + \ No newline at end of file diff --git a/gasStation-uni/pagesMy/setup/index.vue b/gasStation-uni/pagesMy/setup/index.vue index 7d1c693ad..f591cfbdd 100644 --- a/gasStation-uni/pagesMy/setup/index.vue +++ b/gasStation-uni/pagesMy/setup/index.vue @@ -3,7 +3,7 @@ - 设置 + 个人资料 @@ -13,7 +13,7 @@ - + @@ -23,7 +23,7 @@ - + @@ -37,7 +37,12 @@ 性别 - {{user.sex}} + + + + 不详 + + 生日 @@ -51,13 +56,13 @@ 会员号 {{user.userNo}} --> - +