1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-users-promoter-order-index"],{"028d":function(t,e,i){var n=i("78e0");"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var r=i("4f06").default;r("6ae27b13",n,!0,{sourceMap:!1,shadowMode:!1})},"35cc":function(t,e,i){"use strict";var n=i("3641"),r=i.n(n);r.a},3641:function(t,e,i){var n=i("c1d6");"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var r=i("4f06").default;r("085dfbbc",n,!0,{sourceMap:!1,shadowMode:!1})},"498b":function(t,e,i){"use strict";var n=i("4ea4");i("99af"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=i("5e22"),a=i("c496"),o=i("2f62"),s=n(i("b871")),c={components:{emptyPage:s.default},data:function(){return{page:1,limit:8,status:!1,recordList:[],recordCount:0,isAuto:!1,isShowAuth:!1,userInfo:""}},computed:(0,o.mapGetters)(["isLogin"]),onLoad:function(){this.isLogin?this.getRecordOrderList():(0,a.toLogin)()},methods:{spreadInfo:function(){var t=this;(0,r.spreadInfo)().then((function(e){t.userInfo=e.data}))},onLoadFun:function(){this.isShowAuth=!1,this.getRecordOrderList()},authColse:function(t){this.isShowAuth=t},getRecordOrderList:function(){var t=this,e=t.page,i=t.limit,n=t.status,a=t.recordList,o=[];1!=n&&(0,r.spreadOrder)({page:e,limit:i}).then((function(e){var n=e.data.list?e.data.list.length:0,r=e.data.list;o=a.concat(r),t.recordCount=e.data.count||0,t.status=i>n,t.page+=1,t.$set(t,"recordList",o)}))}},onReachBottom:function(){this.getRecordOrderList()}};e.default=c},"4c4d":function(t,e,i){"use strict";i.r(e);var n=i("8b27"),r=i.n(n);for(var a in n)"default"!==a&&function(t){i.d(e,t,(function(){return n[t]}))}(a);e["default"]=r.a},"4dcf":function(t,e,i){"use strict";i.r(e);var n=i("498b"),r=i.n(n);for(var a in n)"default"!==a&&function(t){i.d(e,t,(function(){return n[t]}))}(a);e["default"]=r.a},5517:function(t,e,i){"use strict";var n;i.d(e,"b",(function(){return r})),i.d(e,"c",(function(){return a})),i.d(e,"a",(function(){return n}));var r=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",[i("v-uni-view",{staticClass:"promoter-order"},[i("v-uni-view",{staticClass:"promoterHeader bg-color"},[i("v-uni-view",{staticClass:"headerCon acea-row row-between-wrapper"},[i("v-uni-view",[i("v-uni-view",{staticClass:"name"},[t._v("累积推广订单")]),i("v-uni-view",[i("v-uni-text",{staticClass:"num"},[t._v(t._s(t.recordCount||0))]),t._v("单")],1)],1),i("v-uni-view",{staticClass:"iconfont icon-2"})],1)],1),t.recordList.length>0?i("v-uni-view",{staticClass:"list"},[t._l(t.recordList,(function(e,n){return[i("v-uni-view",{key:n+"_0",staticClass:"item"},[i("v-uni-view",{staticClass:"listn"},[i("v-uni-view",{staticClass:"itenm"},[i("v-uni-view",{staticClass:"top acea-row row-between-wrapper"},[i("v-uni-view",{staticClass:"pictxt acea-row row-between-wrapper"},[i("v-uni-view",{staticClass:"pictrue"},[e.user.avatar?i("v-uni-image",{attrs:{src:e.user.avatar}}):i("v-uni-image",{staticClass:"avatar",attrs:{src:"/static/images/f.png"}})],1),i("v-uni-view",{staticClass:"text line1"},[t._v(t._s(e.user.nickname))])],1),e.status>=2?i("v-uni-view",{staticClass:"money"},[t._v("返佣:"),i("v-uni-text",{staticClass:"font-color"},[t._v("¥"+t._s(e.brokerage))])],1):i("v-uni-view",{staticClass:"money"},[t._v("暂未返佣:"),i("v-uni-text",{staticClass:"font-color"},[t._v("¥"+t._s(e.brokerage))])],1)],1),i("v-uni-view",{staticClass:"bottom"},[i("v-uni-view",[i("v-uni-text",{staticClass:"name"},[t._v("订单编号:")]),t._v(t._s(e.order_sn))],1),i("v-uni-view",[i("v-uni-text",{staticClass:"name"},[t._v("下单时间:")]),t._v(t._s(e.pay_time))],1)],1)],1)],1)],1)]}))],2):t._e(),0==t.recordList.length?i("v-uni-view",[i("emptyPage",{attrs:{title:"暂无推广订单~"}})],1):t._e()],1)],1)},a=[]},7164:function(t,e,i){"use strict";var n=i("028d"),r=i.n(n);r.a},"78e0":function(t,e,i){var n=i("24fb");e=n(!1),e.push([t.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/* 文章场景相关 */.promoter-order .list .item[data-v-308d095e]{margin-bottom:%?20?%}.promoter-order .list .item .title[data-v-308d095e]{height:%?133?%;padding:0 %?30?%;font-size:%?26?%;color:#999}.promoter-order .list .item .title .data[data-v-308d095e]{font-size:%?28?%;color:#282828;margin-bottom:%?5?%}.promoter-order .list .item .listn .itenm[data-v-308d095e]{background-color:#fff}.promoter-order .list .item .listn .itenm ~ .itenm[data-v-308d095e]{margin-top:%?12?%}.promoter-order .list .item .listn .itenm .top[data-v-308d095e]{margin-left:%?30?%;padding-right:%?30?%;border-bottom:%?1?% solid #eee;height:%?100?%}.promoter-order .list .item .listn .itenm .top .pictxt[data-v-308d095e]{width:%?320?%}.promoter-order .list .item .listn .itenm .top .pictxt .text[data-v-308d095e]{width:%?230?%;font-size:%?30?%;color:#282828}.promoter-order .list .item .listn .itenm .top .pictxt .pictrue[data-v-308d095e]{width:%?66?%;height:%?66?%}.promoter-order .list .item .listn .itenm .top .pictxt .pictrue uni-image[data-v-308d095e]{width:100%;height:100%;-webkit-border-radius:50%;border-radius:50%;border:%?3?% solid #fff;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-box-shadow:0 0 %?15?% #aaa;box-shadow:0 0 %?15?% #aaa}.promoter-order .list .item .listn .itenm .top .money[data-v-308d095e]{font-size:%?28?%}.promoter-order .list .item .listn .itenm .bottom[data-v-308d095e]{padding:%?20?% %?30?%;font-size:%?28?%;color:#666;line-height:1.6}.promoter-order .list .item .listn .itenm .bottom .name[data-v-308d095e]{color:#999}',""]),t.exports=e},8572:function(t,e,i){"use strict";var n;i.d(e,"b",(function(){return r})),i.d(e,"c",(function(){return a})),i.d(e,"a",(function(){return n}));var r=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"empty-box"},[i("v-uni-image",{attrs:{src:"/static/images/empty-box.png"}}),i("v-uni-view",{staticClass:"txt"},[t._v(t._s(t.title))])],1)},a=[]},"8b27":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={props:{title:{type:String,default:"暂无记录"}}};e.default=n},a11c:function(t,e,i){"use strict";i.r(e);var n=i("5517"),r=i("4dcf");for(var a in r)"default"!==a&&function(t){i.d(e,t,(function(){return r[t]}))}(a);i("7164");var o,s=i("f0c5"),c=Object(s["a"])(r["default"],n["b"],n["c"],!1,null,"308d095e",null,!1,n["a"],o);e["default"]=c.exports},b871:function(t,e,i){"use strict";i.r(e);var n=i("8572"),r=i("4c4d");for(var a in r)"default"!==a&&function(t){i.d(e,t,(function(){return r[t]}))}(a);i("35cc");var o,s=i("f0c5"),c=Object(s["a"])(r["default"],n["b"],n["c"],!1,null,"6b1a6701",null,!1,n["a"],o);e["default"]=c.exports},c1d6:function(t,e,i){var n=i("24fb");e=n(!1),e.push([t.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/* 文章场景相关 */.empty-box[data-v-6b1a6701]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center;margin-top:%?200?%}.empty-box uni-image[data-v-6b1a6701]{width:%?414?%;height:%?240?%}.empty-box .txt[data-v-6b1a6701]{font-size:%?26?%;color:#999}',""]),t.exports=e}}]);
|