diff --git a/high-unionPay/App.vue b/high-unionPay/App.vue index 315846b..9bff45a 100644 --- a/high-unionPay/App.vue +++ b/high-unionPay/App.vue @@ -5,15 +5,15 @@ // brestUrl: 'http://192.168.3.4:9302/brest', // imgUrl: 'https://192.168.3.4:9301/filesystem/', //正式 - // url: 'https://hsg.dctpay.com/crest', - // imgUrl: 'https://hsg.dctpay.com/filesystem/', - // brestUrl : 'https://hsg.dctpay.com/brest', - // imageWxImg:'https://hsg.dctpay.com/filesystem/wxApplets/', + url: 'https://hsg.dctpay.com/crest', + imgUrl: 'https://hsg.dctpay.com/filesystem/', + brestUrl : 'https://hsg.dctpay.com/brest', + imageWxImg:'https://hsg.dctpay.com/filesystem/wxApplets/', //测试 - url: 'https://hsgcs.dctpay.com/crest', - brestUrl : 'https://hsgcs.dctpay.com/brest', - imgUrl: 'https://hsgcs.dctpay.com/filesystem/', - imageWxImg:'https://hsgcs.dctpay.com/filesystem/wxApplets/', + // url: 'https://hsgcs.dctpay.com/crest', + // brestUrl : 'https://hsgcs.dctpay.com/brest', + // imgUrl: 'https://hsgcs.dctpay.com/filesystem/', + // imageWxImg:'https://hsgcs.dctpay.com/filesystem/wxApplets/', userInfo: "", brestUserInfo : '', openId: '', diff --git a/high-unionPay/Utils/Api.js b/high-unionPay/Utils/Api.js index e58a7fd..00db002 100644 --- a/high-unionPay/Utils/Api.js +++ b/high-unionPay/Utils/Api.js @@ -103,6 +103,10 @@ export const orderToGoldPay = params => { export const getUserGoldRecList = params => { return POST('GET', `${base}/highGoldRec/getUserGoldRecList`, params).then(res => res.data); } +//查询积分7天过期 +export const selectByExpiringSoon = params => { + return POST('GET', `${base}/highGoldRec/selectByExpiringSoon`, params).then(res => res.data); +} //获取用户卡券 export const getUserCouponList = params => { return POST('GET', `${base}/coupon/getUserCouponList`, params).then(res => res.data); @@ -408,6 +412,27 @@ export const cancelOrderByOrderNo = params => { return POST('GET', `${base}/highOrder/cancelOrderByOrderNo`, params).then(res => res.data); } +//分销统计数据 +export const userDistributionStatistics = params => { + return POST('GET', `${base}/highUser/userDistributionStatistics`, params).then(res => res.data); +} +//邀请列表 +export const distributionInviteList = params => { + return POST('GET', `${base}/highUser/distributionInviteList`, params).then(res => res.data); +} +//分销用户积分列表 +export const distributionOrderList = params => { + return POST('GET', `${base}/highUser/distributionOrderList`, params).then(res => res.data); +} +//分销用户积分列表 +export const promoteOrderList = params => { + return POST('GET', `${base}/highUser/promoteOrderList`, params).then(res => res.data); +} +// 生成海报 +export const promotionalPosters = params => { + return POST('GET', `${base}/highUser/promotionalPosters`, params).then(res => res.data); +} + /** * H5 获取用户信息 */ diff --git a/high-unionPay/pages.json b/high-unionPay/pages.json index e6aae0c..8fc70c3 100644 --- a/high-unionPay/pages.json +++ b/high-unionPay/pages.json @@ -678,6 +678,27 @@ } } + }, { + "path": "pages/user/myPromotion/myPromotion", + "style": { + "enablePullDownRefresh": false, + "navigationBarTitleText": "我的推广", + "backgroundTextStyle": "light", + "app-plus": { + "titleNView": false //禁用原生导航栏 + } + } + + }, { + "path": "pages/user/generatePoster/generatePoster", + "style": { + "navigationBarTitleText": "查看海报", + "enablePullDownRefresh": false, + "app-plus": { + "titleNView": false //禁用原生导航栏 + } + } + } ], "subpackages": [{ diff --git a/high-unionPay/pages/goods/recording/recording.vue b/high-unionPay/pages/goods/recording/recording.vue index d8074d9..c0be178 100644 --- a/high-unionPay/pages/goods/recording/recording.vue +++ b/high-unionPay/pages/goods/recording/recording.vue @@ -1,160 +1,187 @@ - - - - - diff --git a/high-unionPay/pages/goods/refuel-confirm/refuel-confirm.vue b/high-unionPay/pages/goods/refuel-confirm/refuel-confirm.vue index 16b8a21..27f7ca0 100644 --- a/high-unionPay/pages/goods/refuel-confirm/refuel-confirm.vue +++ b/high-unionPay/pages/goods/refuel-confirm/refuel-confirm.vue @@ -266,7 +266,7 @@ }, onShow() { let that = this; - that.paytype = ''; + // that.paytype = ''; that.findUser(); }, methods: { diff --git a/high-unionPay/pages/goods/refuel-details/refuel-details.vue b/high-unionPay/pages/goods/refuel-details/refuel-details.vue index 5c699f9..d90e125 100644 --- a/high-unionPay/pages/goods/refuel-details/refuel-details.vue +++ b/high-unionPay/pages/goods/refuel-details/refuel-details.vue @@ -71,7 +71,16 @@ style="border-left: 1px solid #f2f2f2;line-height: 40px;"> 约{{oilLiters}}L - + + + + + {{amount.codeValue}}元 + 最高优惠¥{{amount.codeName}} + + + 平台补贴: @@ -140,7 +149,8 @@ + + diff --git a/high-unionPay/pages/user/myPromotion/myPromotion.vue b/high-unionPay/pages/user/myPromotion/myPromotion.vue new file mode 100644 index 0000000..a9b30b6 --- /dev/null +++ b/high-unionPay/pages/user/myPromotion/myPromotion.vue @@ -0,0 +1,291 @@ + + + + + diff --git a/high-unionPay/pages/user/order_list/order_list.vue b/high-unionPay/pages/user/order_list/order_list.vue index 93c5e6d..3198c43 100644 --- a/high-unionPay/pages/user/order_list/order_list.vue +++ b/high-unionPay/pages/user/order_list/order_list.vue @@ -14,61 +14,61 @@ - 卡券订单 - 积分充值 - 优惠券包 - - 团油订单 + 加油订单 - 电影票 - KFC - 星巴克 - 会员充值 - 工会卡充值 - + {{row.createTime | formatDate('-')}} diff --git a/high-unionPay/static/img/user/1.png b/high-unionPay/static/img/user/1.png new file mode 100644 index 0000000..aa2f197 Binary files /dev/null and b/high-unionPay/static/img/user/1.png differ diff --git a/high-unionPay/static/img/user/2.png b/high-unionPay/static/img/user/2.png new file mode 100644 index 0000000..a168cf3 Binary files /dev/null and b/high-unionPay/static/img/user/2.png differ diff --git a/high-unionPay/uni.scss b/high-unionPay/uni.scss index 2a5f556..429005b 100644 --- a/high-unionPay/uni.scss +++ b/high-unionPay/uni.scss @@ -119,6 +119,9 @@ $uni-font-size-paragraph:30upx; font-size: 28px; } +.font48 { + font-size: 48px; +} // 字体加粗 .fontwig6{ font-weight: bold; @@ -360,6 +363,10 @@ $uni-font-size-paragraph:30upx; margin-left: 30%; } +.width30w { + width: 30%; + margin-left: 3%; +} .width35 { width: 35%; } @@ -759,4 +766,7 @@ $uni-font-size-paragraph:30upx; .icon12 { width: 12px; +} +.icon40 { + width: 40px; } \ No newline at end of file