启程易购后端代码
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
qicheng_shop_backend/public/static/js/pages-users-user_money-inde...

1 lines
14 KiB

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-users-user_money-index"],{"0e9f":function(A,t,e){"use strict";var a=e("b7c1"),i=e.n(a);i.a},4514:function(A,t,e){"use strict";e.d(t,"b",(function(){return a})),e.d(t,"c",(function(){return i})),e.d(t,"a",(function(){}));var a=function(){var A=this,t=A.$createElement,e=A._self._c||t;return e("v-uni-view",{style:A.viewColor},[e("v-uni-view",{staticClass:"my-account"},[e("v-uni-view",{staticClass:"wrapper"},[e("v-uni-view",{staticClass:"header"},[e("v-uni-view",{staticClass:"headerCon"},[e("v-uni-view",{staticClass:"account acea-row row-top row-between"},[e("v-uni-view",{staticClass:"assets"},[e("v-uni-view",[A._v("总资产(元)")]),e("v-uni-view",{staticClass:"money"},[A._v(A._s(A.userInfo.now_money||0))])],1),1==A.recharge_switch?e("v-uni-navigator",{staticClass:"recharge t-color",attrs:{url:"/pages/users/user_payment/index","hover-class":"none"}},[A._v("充值")]):A._e()],1),e("v-uni-view",{staticClass:"cumulative acea-row row-top"},[e("v-uni-view",{staticClass:"item"},[e("v-uni-view",[A._v("累计充值(元)")]),e("v-uni-view",{staticClass:"money"},[A._v(A._s(A.userInfo.total_recharge||0))])],1),e("v-uni-view",{staticClass:"item"},[e("v-uni-view",[A._v("累计消费(元)")]),e("v-uni-view",{staticClass:"money"},[A._v(A._s(A.userInfo.total_consume||0))])],1)],1)],1)],1),e("v-uni-view",{staticClass:"nav acea-row row-middle"},[e("v-uni-navigator",{staticClass:"item",attrs:{"hover-class":"none",url:"/pages/users/user_bill/index"}},[e("v-uni-view",{staticClass:"pictrue"},[e("v-uni-image",{attrs:{src:A.domain+"/static/diy/record1"+A.keyColor+".png"}})],1),e("v-uni-view",[A._v("账单记录")])],1),e("v-uni-navigator",{staticClass:"item",attrs:{"hover-class":"none",url:"/pages/users/user_bill/index?type=1"}},[e("v-uni-view",{staticClass:"pictrue"},[e("v-uni-image",{attrs:{src:A.domain+"/static/diy/record2"+A.keyColor+".png"}})],1),e("v-uni-view",[A._v("消费记录")])],1),e("v-uni-navigator",{staticClass:"item",attrs:{"hover-class":"none",url:"/pages/users/user_bill/index?type=2"}},[e("v-uni-view",{staticClass:"pictrue"},[e("v-uni-image",{attrs:{src:A.domain+"/static/diy/record3"+A.keyColor+".png"}})],1),e("v-uni-view",[A._v("充值记录")])],1)],1)],1),1==A.recommend_switch?e("recommend",{attrs:{hostProduct:A.hostProduct,isLogin:A.isLogin}}):A._e()],1)],1)},i=[]},"4b65":function(A,t,e){"use strict";e("7a82");var a=e("4ea4").default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,e("99af");var i=e("736f"),n=(e("4d59"),e("6859")),c=e("26cb"),r=a(e("1857")),o=e("3255"),s=e("f26a"),u=e("ddb3"),g=(getApp(),{components:{recommend:r.default},data:function(){return{domain:s.HTTP_REQUEST_URL,userInfo:{},hostProduct:[],isClose:!1,activity:{},hotScroll:!1,hotPage:1,hotLimit:10}},computed:(0,o.configMap)(["recharge_switch","balance_func_status","recommend_switch"],(0,c.mapGetters)(["isLogin","viewColor","keyColor"])),onLoad:function(){this.isLogin?(this.getUserInfo(),this.get_host_product()):(0,u.toLogin)()},onReady:function(){},methods:{getUserInfo:function(){var A=this;(0,n.getUserInfo)().then((function(t){A.userInfo=t.data}))},get_host_product:function(){var A=this;A.hotScroll||(0,i.getProductHot)(A.hotPage,A.hotLimit).then((function(t){A.hotPage++,A.hotScroll=t.data.list.length<A.hotLimit,A.hostProduct=A.hostProduct.concat(t.data.list)}))}},onReachBottom:function(){this.get_host_product()},onPageScroll:function(A){uni.$emit("scroll")}});t.default=g},"4d59":function(A,t,e){"use strict";e("7a82"),Object.defineProperty(t,"__esModule",{value:!0}),t.arrivalSubscribe=function(){var A=i();return n([A.PRODUCT_INCREASE])},t.auth=i,t.openEextractSubscribe=function(){var A=i();return n([A.EXTRACT_NOTICE])},t.openExtrctSubscribe=function(){var A=i();return n([A.EXTRACT_NOTICE])},t.openOrderRefundSubscribe=function(){var A=i();return n([A.REFUND_CONFORM_CODE])},t.openOrderSubscribe=function(){var A=i();return n([A.ORDER_DELIVER_SUCCESS,A.DELIVER_GOODS_CODE])},t.openPaySubscribe=function(){var A=i();return n([A.DELIVER_GOODS_CODE,A.ORDER_DELIVER_SUCCESS,A.ORDER_PAY_SUCCESS])},t.openRechargeSubscribe=function(){var A=i();return n([A.USER_BALANCE_CHANGE])},t.subscribe=n,e("d3b7");var a=e("937f");function i(){var A,t=uni.getStorageSync(a.SUBSCRIBE_MESSAGE);return A=t||{},A}function n(A){wx;return new Promise((function(t,e){uni.requestSubscribeMessage({tmplIds:A,success:function(A){return t(A)},fail:function(A){return t(A)},complete:function(A){}})}))}},"8cf2":function(A,t,e){"use strict";e.r(t);var a=e("4b65"),i=e.n(a);for(var n in a)["default"].indexOf(n)<0&&function(A){e.d(t,A,(function(){return a[A]}))}(n);t["default"]=i.a},b7c1:function(A,t,e){var a=e("cbec");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[A.i,a,""]]),a.locals&&(A.exports=a.locals);var i=e("4f06").default;i("a9ff6598",a,!0,{sourceMap:!1,shadowMode:!1})},cbec:function(A,t,e){var a=e("24fb");t=a(!1),t.push([A.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.my-account .wrapper[data-v-7c8904ca]{background-color:#fff;padding:%?32?% 0 %?34?% 0;margin-bottom:%?14?%}.my-account .wrapper .header[data-v-7c8904ca]{width:%?690?%;height:%?330?%;background-image:linear-gradient(90deg,var(--view-bntColor21) 0,var(--view-bntColor22));border-radius:%?16?%;margin:0 auto;box-sizing:border-box;color:hsla(0,0%,100%,.6);font-size:%?24?%}.t-color[data-v-7c8904ca]{color:var(--view-theme)}.my-account .wrapper .header .headerCon[data-v-7c8904ca]{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAArIAAAFKCAYAAADhULxpAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTQyIDc5LjE2MDkyNCwgMjAxNy8wNy8xMy0wMTowNjozOSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9S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/hyTGAkAWAND7wAiELAHFOzQ1eIGQBIJAPvEDIAkAc67ZAyAJAHOu2QMgCQCTrtkDIAkCcCtizYwAhCwBp5uZtLAhZAAh85nobC0IWAOL4wAuELADEqVVbo2MAIQsAaSZHAEIWANJ4GwtCFgAimY2FnfwSYABJ5w5fwq1SbwAAAABJRU5ErkJggg==");background-repeat:no-repeat;background-size:100%;height:100%;width:100%;padding:%?36?% 0 %?29?% 0;box-sizing:border-box}.my-account .wrapper .header .headerCon .account[data-v-7c8904ca]{padding:0 %?35?%}.my-account .wrapper .header .headerCon .account .assets .money[data-v-7c8904ca]{font-size:%?72?%;color:#fff}.my-account .wrapper .header .headerCon .account .recharge[data-v-7c8904ca]{font-size:%?28?%;width:%?150?%;height:%?54?%;border-radius:%?27?%;background-color:#fff9f8;text-align:center;line-height:%?54?%}.my-account .wrapper .header .headerCon .cumulative[data-v-7c8904ca]{margin-top:%?46?%}.my-account .wrapper .header .headerCon .cumulative .item[data-v-7c8904ca]{flex:1;padding-left:%?35?%}.my-account .wrapper .header .headerCon .cumulative .item .money[data-v-7c8904ca]{font-size:%?48?%;color:#fff;margin-top:%?6?%}.my-account .wrapper .nav[data-v-7c8904ca]{height:%?155?%;border-bottom:1px solid #f5f5f5}.my-account .wrapper .nav .item[data-v-7c8904ca]{flex:1;text-align:center;font-size:%?26?%;color:#999}.my-account .wrapper .nav .item .pictrue[data-v-7c8904ca]{width:%?44?%;height:%?44?%;margin:0 auto;margin-bottom:%?20?%}.my-account .wrapper .nav .item .pictrue uni-image[data-v-7c8904ca]{width:100%;height:100%}.my-account .wrapper .advert[data-v-7c8904ca]{padding:0 %?30?%;margin-top:%?30?%}.my-account .wrapper .advert .item[data-v-7c8904ca]{background-color:#fff6d1;width:%?332?%;height:%?118?%;border-radius:%?10?%;padding:0 %?27?% 0 %?25?%;box-sizing:border-box;font-size:%?24?%;color:#e44609}.my-account .wrapper .advert .item.on[data-v-7c8904ca]{background-color:#fff3f3;color:#e96868}.my-account .wrapper .advert .item .pictrue[data-v-7c8904ca]{width:%?78?%;height:%?78?%}.my-account .wrapper .advert .item .pictrue uni-image[data-v-7c8904ca]{width:100%;height:100%}.my-account .wrapper .advert .item .text .name[data-v-7c8904ca]{font-size:%?30?%;font-weight:700;color:#f33c2b;margin-bottom:%?7?%}.my-account .wrapper .advert .item.on .text .name[data-v-7c8904ca]{color:#f64051}.my-account .wrapper .list[data-v-7c8904ca]{padding:0 %?30?%}.my-account .wrapper .list .item[data-v-7c8904ca]{margin-top:%?44?%}.my-account .wrapper .list .item .picTxt .iconfont[data-v-7c8904ca]{width:%?82?%;height:%?82?%;border-radius:50%;background-image:linear-gradient(90deg,#ff9389 0,#f9776b);text-align:center;line-height:%?82?%;color:#fff;font-size:%?40?%}.my-account .wrapper .list .item .picTxt .iconfont.yellow[data-v-7c8904ca]{background-image:linear-gradient(90deg,#fca 0,#fea060)}.my-account .wrapper .list .item .picTxt .iconfont.green[data-v-7c8904ca]{background-image:linear-gradient(90deg,#a1d67c 0,#9dd074)}.my-account .wrapper .list .item .picTxt[data-v-7c8904ca]{width:%?428?%;font-size:%?30?%;color:#282828}.my-account .wrapper .list .item .picTxt .text[data-v-7c8904ca]{width:%?317?%}.my-account .wrapper .list .item .picTxt .text .infor[data-v-7c8904ca]{font-size:%?24?%;color:#999;margin-top:%?5?%}.my-account .wrapper .list .item .bnt[data-v-7c8904ca]{font-size:%?26?%;color:#282828;width:%?156?%;height:%?52?%;border:%?1?% solid #ddd;border-radius:%?26?%;text-align:center;line-height:%?52?%}.my-account .wrapper .list .item .bnt.end[data-v-7c8904ca]{font-size:%?26?%;color:#aaa;background-color:#f2f2f2;border-color:#f2f2f2}',""]),A.exports=t},eaaa:function(A,t,e){"use strict";e.r(t);var a=e("4514"),i=e("8cf2");for(var n in i)["default"].indexOf(n)<0&&function(A){e.d(t,A,(function(){return i[A]}))}(n);e("0e9f");var c=e("f0c5"),r=Object(c["a"])(i["default"],a["b"],a["c"],!1,null,"7c8904ca",null,!1,a["a"],void 0);t["default"]=r.exports}}]);