From 815337acc775ce847228fb25884676c8d7f79382 Mon Sep 17 00:00:00 2001 From: Wik-T <812952667@qq.com> Date: Tue, 30 Aug 2022 09:29:24 +0800 Subject: [PATCH] =?UTF-8?q?1.=E4=BF=AE=E6=94=B9=E5=9C=A8=E7=BA=BF=E5=8A=A0?= =?UTF-8?q?=E6=B2=B9=E4=BB=B7=E6=A0=BC=E9=80=89=E6=8B=A9=202.=E6=96=B0?= =?UTF-8?q?=E5=A2=9E=E5=88=86=E9=94=80=E8=AE=B0=E5=BD=95=E5=8A=9F=E8=83=BD?= =?UTF-8?q?=203.=E4=B8=8A=E7=BA=BF=E9=93=B6=E8=81=94?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- high-unionPay/App.vue | 16 +- high-unionPay/Utils/Api.js | 25 ++ high-unionPay/pages.json | 21 ++ .../pages/goods/recording/recording.vue | 345 ++++++++++-------- .../goods/refuel-confirm/refuel-confirm.vue | 2 +- .../goods/refuel-details/refuel-details.vue | 201 ++++++---- high-unionPay/pages/tabBar/user/user.vue | 36 +- .../user/generatePoster/generatePoster.vue | 43 +++ .../pages/user/myPromotion/myPromotion.vue | 291 +++++++++++++++ .../pages/user/order_list/order_list.vue | 22 +- high-unionPay/static/img/user/1.png | Bin 0 -> 2694 bytes high-unionPay/static/img/user/2.png | Bin 0 -> 2606 bytes high-unionPay/uni.scss | 10 + 13 files changed, 743 insertions(+), 269 deletions(-) create mode 100644 high-unionPay/pages/user/generatePoster/generatePoster.vue create mode 100644 high-unionPay/pages/user/myPromotion/myPromotion.vue create mode 100644 high-unionPay/static/img/user/1.png create mode 100644 high-unionPay/static/img/user/2.png 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 0000000000000000000000000000000000000000..aa2f197a04aa73d4f6b5eb2cfb3908a378a3a01a GIT binary patch literal 2694 zcmeH}jX#s?AIImRUyGkgbymm8QF>CS(*rwHCSo37c{mE`Bp3WBKSP63 zAP~JDTu+`jcQsEm(u*>6g(Z&9RO2&KJ_mljE(<9jjYZ0n?%QMZ^7K3Fg3Qb|O>A9h zPFd?0`QURArDmV`LVJs5ft9TdX|>{0v>-nuvGj=vBuXe`KRIE9B9>!;>?K0-FMUyH?+wlVv~)B75i=a%6pDeRfB|l zqG>?Vs%P*Q31+lBdHgwztykRqmpbVZRbc%PNQFx-DkTdSBA)z|3-4bX-(az=Vrb-d zAEvuggZeBr3KKw8d(L!UGTxuipsVjPdAP9b(mq<|Cxztw0a0LMSNL}|{0yGq(2Q6u zU69N=4MeYjWpI#8FP=-V9`~Ttp}YKaRbpBirta&)>(avb=|{9o|KjI8gPSX>BxU2i z3|L|DF0B1k`kU!eKgtsq<356SaFx%~BTZDh+}jk5u0E6y$uKnuW0eLdeVHc6rfjLu zaLm0``?XO_;x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OxPCdzF}XO6}dp*(%w$V&Z^2OTEXw`%ucnI;_z?(lH= z2ZeN5*gjQ!yGP;j%rqK;x&Wc%HbszF-Z1IHnmvUXs0^CFzQZRhO8*ip1eB$qaGy%5TPL z%IWFtN>i@&L+T1cF^Ww6`|#A^2iA?3jcIzXHc^fHNz}2H`^#eCV2eY$&Bwz7gTk|p ek~COFi`L1jqo~ps{&4Uw32}AuJjryxC;bOurvxPc literal 0 HcmV?d00001 diff --git a/high-unionPay/static/img/user/2.png b/high-unionPay/static/img/user/2.png new file mode 100644 index 0000000000000000000000000000000000000000..a168cf35813f0660e180cd01a410d8fa75980f0d GIT binary patch literal 2606 zcmV+}3eok6P)Px#1am@3R0s$N2z&@+hyVZy*hxe|RCt{2ok469*%`^0jbcKEr(?xa3E1d zY(Wp*R2s5GU!1 z3qncI3OJ-;(Vo~u&;wnm*z@(^88aT+@yz(Wv6JwVtk}-X_h$Zn^UZtT``#Nu1EG)W zn(`vIiwxRHL^}v*Vc=~5Zvog~zU(|VU(X2mnt^#{e#{C#FxIR0GkY@GpwFQaRPO`m zN=5fFQ=EyT0KE%95oFo`_%1O`5^;L8XY!69yS}K4(D9*;{X}$_iQWUy98j@~#5BU3 zyOHjlx)o5F1p*VgGu7D)%AO>~`vA5FRc;05nDE!!w{#`*i_Ah01xgpXYb3haFz76R zv$D(b1A{IxD}T6i=+0L%%aJCuKB%u#HC!O@uVs}X7Vby(JHJi$rT-(tx)h;1hhry+ z@d@&+h2_K|2){{pPh1vlSg6qPRJ4sjpAzshk#_6AsA?#`y45@Wr6_~Kgzmf<{g8h|uv=>@xr-MA&LH82HQWo{5^zttO$nMxvY9pz91oYdw&L zhA@R!*<%?S&)@Do*q7>vF)9B5W38Y4 zmo0>s#Kys~o~a4%yLx2Riflo6Nvs?k>lybXwkM(Y4e38(l{2eWWDCMe%8~BHjku1K zb&W(fGx6Z67a0H;Ygy&N_~1|9al4Caq1mA8tLDb%21W~-wCip+cO`T@75i+(H{txi z=;%zvuDIE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vLvr$%_lOm*U%d2sdN z07jn*PYVZtx%8pQkE{=>{XZ>7x2`3iQ)Fqg3)2X1j9}B6O#o^Wd)5@#k1*j-1m|~u zTq3fp7zh*k=Rg1IU)JZMz<*97S2Oj!;+#g|H6^!JtW@BjLdl}l2$Adtx25U{c+KEvPEXlrSZN@%Kn||+-S?ut&bGP z963=qeYW*phTw_TBtGr9SQ4xXBHNT%Jvu))Uo=g*MCd1hj1u@u6GXLcv}+tw;U+>|GB9%vTl4fxc~N{Oi2r_Y}hV782=u$S96fOh<3HP z;P!do&ZeE+-zKW02?UrkU2)QV#rSA^ICct*Kgm6=Jbp9ws}Xooy4PhSEaIuyEdX6o z4$6Twc37+6){I>1eSnOndnUXui~<1rhxYt1rx>%SL;i;~ZyQ*8w5HY-5rn{OsH`rz z)KAr+mH1HX6qI0Gh#Mp&A=ZY0)76$gb~T38nTlN@-~%y7wX$%#?6K>?!uW7(5{!=8 z4r_%$m`Zm~xSBfX-uJ%B9s`L>O<492=J6_f%h^-qwW9%_?c=eYsR_!FzN&n7e(8DLkH|m` z9g(r#%ssry>L5({wXtl-KTN^X!rY}M1hA6Z*`gi~BBX15yJzAA44ekDl+?01VZgv? z5h4QuV;Je)iOVXh?Epqa*{ma@s-d)tda4j0>7it1i1iZ$_fSYtNP8%ml&D;~d*U*( zP1^zPmtkKH+>dP2b{QfA0X#Tz@6Ekih>WuY{;2xa!NZ_SIl@KfqOGC{>`|!t-}I3B zT|UuJk3!Yxihcc1nbh&&zUpCft-Syr?#m<0ys{teTZuQ1tF8kp`2pv$}rT_o{ literal 0 HcmV?d00001 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