(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-users-promoter-order-index"],{"357c":function(t,e,i){"use strict";i.r(e);var a=i("cb80"),n=i.n(a);for(var r in a)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(r);e["default"]=n.a},"57d9":function(t,e,i){var a=i("c86c");e=a(!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/* 文章场景相关 */.promoterHeader[data-v-2a8fd744]{background-image:linear-gradient(90deg,var(--view-bntColor21) 0,var(--view-bntColor22))}.promoter-header[data-v-2a8fd744]{position:fixed;top:0;left:0;z-index:9;width:100%}.p-color[data-v-2a8fd744]{color:var(--view-priceColor)}.search[data-v-2a8fd744]{padding:%?17?% %?30?%;background-color:var(--view-theme)}.search .search-content[data-v-2a8fd744]{width:100%;height:%?60?%;padding:0 %?30?%;border-radius:%?30?%;background-color:#fff;font-size:%?26?%}.search .iconfont[data-v-2a8fd744]{margin-right:%?10?%;font-size:%?26?%;color:#999}.search .placeholder[data-v-2a8fd744]{font-size:%?26?%;color:#999}.search .input[data-v-2a8fd744]{flex:1}.promoter-order .list[data-v-2a8fd744]{margin-top:%?200?%}.promoter-order .list .item .title[data-v-2a8fd744]{height:%?133?%;padding:0 %?30?%;font-size:%?26?%;color:#999}.promoter-order .list .item .title .data[data-v-2a8fd744]{font-size:%?28?%;color:#282828;margin-bottom:%?5?%}.promoter-order .list .item .listn .itenm[data-v-2a8fd744]{background-color:#fff}.promoter-order .list .item .listn .itenm ~ .itenm[data-v-2a8fd744]{margin-top:%?12?%}.promoter-order .list .item .listn .itenm .top[data-v-2a8fd744]{margin-left:%?30?%;padding-right:%?30?%;border-bottom:1px solid #eee;height:%?100?%}.promoter-order .list .item .listn .itenm .top .pictxt[data-v-2a8fd744]{width:%?320?%}.promoter-order .list .item .listn .itenm .top .pictxt .text[data-v-2a8fd744]{width:%?230?%;font-size:%?30?%;color:#282828}.promoter-order .list .item .listn .itenm .top .pictxt .pictrue[data-v-2a8fd744]{width:%?64?%;height:%?64?%}.promoter-order .list .item .listn .itenm .top .pictxt .pictrue uni-image[data-v-2a8fd744]{width:100%;height:100%;border-radius:50%;border:%?3?% solid #fff;box-sizing:border-box;box-shadow:0 1px 12px 0 rgba(0,0,0,.102)}.promoter-order .list .item .listn .itenm .top .money[data-v-2a8fd744]{font-size:%?28?%}.promoter-order .list .item .listn .itenm .bottom[data-v-2a8fd744]{padding:%?20?% %?30?%;font-size:%?28?%;color:#666;line-height:1.6}.promoter-order .list .item .listn .itenm .bottom .name[data-v-2a8fd744]{color:#999}.promoter-order .list .item .listn .itenm .bottom .store_name[data-v-2a8fd744]{max-width:%?550?%}.top_num[data-v-2a8fd744]{padding:0 %?30?%;font-size:%?26?%;color:#666;line-height:%?86?%}.main_color[data-v-2a8fd744]{color:var(--view-theme)}',""]),t.exports=e},"5dce":function(t,e,i){var a=i("c86c");e=a(!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-f1a26612]{display:flex;flex-direction:column;justify-content:center;align-items:center;margin-top:%?200?%}.empty-box uni-image[data-v-f1a26612]{width:%?414?%;height:%?240?%}.empty-box .txt[data-v-f1a26612]{font-size:%?26?%;color:#999}',""]),t.exports=e},"676c":function(t,e,i){"use strict";var a=i("9da7"),n=i.n(a);n.a},8329:function(t,e,i){"use strict";i.r(e);var a=i("d98d"),n=i("c4bf1");for(var r in n)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(r);i("676c");var o=i("828b"),s=Object(o["a"])(n["default"],a["b"],a["c"],!1,null,"f1a26612",null,!1,a["a"],void 0);e["default"]=s.exports},"9da7":function(t,e,i){var a=i("5dce");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("967d").default;n("773f4a1f",a,!0,{sourceMap:!1,shadowMode:!1})},b3ec:function(t,e,i){var a=i("57d9");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("967d").default;n("3ddf6627",a,!0,{sourceMap:!1,shadowMode:!1})},b7b2:function(t,e,i){"use strict";i("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a={props:{title:{type:String,default:"暂无记录"}}};e.default=a},c4bf1:function(t,e,i){"use strict";i.r(e);var a=i("b7b2"),n=i.n(a);for(var r in a)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(r);e["default"]=n.a},cb80:function(t,e,i){"use strict";i("6a54");var a=i("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("c223");var n=i("672a"),r=i("8f59"),o=i("e44d"),s=a(i("8329")),d=a(i("4aed")),c={components:{timeSlot:d.default,emptyPage:s.default},data:function(){return{page:1,limit:8,keyword:"",start:0,stop:0,status:!1,total:0,sum_brokerage:0,recordList:[],recordCount:0,userInfo:"",time:"",times:[]}},computed:(0,r.mapGetters)(["isLogin","viewColor"]),onLoad:function(){this.isLogin?this.getRecordOrderList():(0,o.toLogin)()},methods:{searchSubmitValue:function(t){this.keyword=t?t.detail.value:"",this.page=1,this.limit=20,this.status=!1,this.$set(this,"recordList",[]),this.$set(this,"times",[]),this.getRecordOrderList()},changeTime:function(t){this.start=t.start,this.stop=t.stop,this.searchSubmitValue()},getRecordOrderList:function(){var t=this,e=t.page,i=t.limit,a=t.status,r=t.recordList,o=[];1!=a&&(0,n.spreadOrder)({start:t.start,stop:t.stop,keyword:t.keyword,page:e,limit:i}).then((function(e){t.total=e.data.count,t.sum_brokerage=e.data.sum_brokerage;var a=e.data.list?e.data.list.length:0,n=e.data.list;o=r.concat(n),t.recordCount=e.data.count||0,t.status=i>a,t.page+=1,t.$set(t,"recordList",o)}))}},onReachBottom:function(){this.getRecordOrderList()}};e.default=c},d4ac:function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return n})),i.d(e,"a",(function(){}));var a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{style:t.viewColor},[i("v-uni-view",{staticClass:"promoter-order"},[i("v-uni-view",{staticClass:"promoter-header"},[i("v-uni-view",{staticClass:"search"},[i("v-uni-view",{staticClass:"search-content acea-row row-middle"},[i("v-uni-text",{staticClass:"iconfont icon-sousuo"}),i("v-uni-input",{attrs:{type:"text",placeholder:"搜索用户昵称或商品名称","confirm-type":"search",name:"search","placeholder-class":"placeholder"},on:{confirm:function(e){arguments[0]=e=t.$handleEvent(e),t.searchSubmitValue.apply(void 0,arguments)}}})],1)],1),i("timeSlot",{on:{changeTime:function(e){arguments[0]=e=t.$handleEvent(e),t.changeTime.apply(void 0,arguments)}}})],1),t.recordList.length>0?i("v-uni-view",{staticClass:"list"},[i("v-uni-view",{staticClass:"top_num"},[t._v("共"),i("v-uni-text",{staticClass:"main_color"},[t._v(t._s(t.total))]),t._v("笔订单")],1),t._l(t.recordList,(function(e,a){return[i("v-uni-view",{key:a+"_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:"p-color"},[t._v("¥"+t._s(e.brokerage))])],1):i("v-uni-view",{staticClass:"money"},[t._v("暂未返佣:"),i("v-uni-text",{staticClass:"p-color"},[t._v("¥"+t._s(e.brokerage))])],1)],1),i("v-uni-view",{staticClass:"bottom"},[i("v-uni-view",{staticClass:"acea-row"},[i("v-uni-view",{staticClass:"name"},[t._v("商品名称:")]),i("v-uni-view",{staticClass:"line1 store_name"},[t._v(t._s(e.orderProduct[0]["cart_info"]["product"]["store_name"]))])],1),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)},n=[]},d830:function(t,e,i){"use strict";var a=i("b3ec"),n=i.n(a);n.a},d98d:function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return n})),i.d(e,"a",(function(){}));var a=function(){var t=this.$createElement,e=this._self._c||t;return e("v-uni-view",{staticClass:"empty-box"},[e("v-uni-image",{attrs:{src:"/static/images/empty-box.png"}}),e("v-uni-view",{staticClass:"txt"},[this._v(this._s(this.title))])],1)},n=[]},e40d:function(t,e,i){"use strict";i.r(e);var a=i("d4ac"),n=i("357c");for(var r in n)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(r);i("d830");var o=i("828b"),s=Object(o["a"])(n["default"],a["b"],a["c"],!1,null,"2a8fd744",null,!1,a["a"],void 0);e["default"]=s.exports}}]);