1 line
13 KiB
JavaScript
1 line
13 KiB
JavaScript
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-users-promoter-order-index"],{"0676":function(t,e,i){var n=i("24fb");e=n(!1),e.push([t.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 行为相关颜色 */\r\n/* crmeb颜色变量 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */.empty-box[data-v-63d1a8ca]{display:flex;flex-direction:column;justify-content:center;align-items:center;margin-top:%?200?%;padding-bottom:%?60?%}.empty-box uni-image[data-v-63d1a8ca]{width:%?414?%;height:%?240?%}.empty-box .txt[data-v-63d1a8ca]{font-size:%?26?%;color:#999}',""]),t.exports=e},"1ae4":function(t,e,i){var n=i("24fb");e=n(!1),e.push([t.i,".pictrueBox[data-v-47a70398]{width:%?130?%;height:%?120?%}\n\n/*返回主页按钮*/.home[data-v-47a70398]{position:fixed;color:#fff;text-align:center;z-index:9999;right:%?15?%;display:flex}.home .homeCon[data-v-47a70398]{border-radius:%?50?%;opacity:0;height:0;color:$theme-color;width:0}.home .homeCon.on[data-v-47a70398]{opacity:1;-webkit-animation:bounceInRight .5s cubic-bezier(.215,.61,.355,1);animation:bounceInRight .5s cubic-bezier(.215,.61,.355,1);width:%?300?%;height:%?86?%;margin-bottom:%?20?%;display:flex;justify-content:center;align-items:center;background:#f44939!important}.home .homeCon .iconfont[data-v-47a70398]{font-size:%?48?%;color:#fff;display:inline-block;margin:0 auto}.home .pictrue[data-v-47a70398]{width:%?86?%;height:%?86?%;border-radius:50%;margin:0 auto}.home .pictrue .image[data-v-47a70398]{width:100%;height:100%;border-radius:50%;-webkit-transform:rotate(90deg);transform:rotate(90deg);ms-transform:rotate(90deg);moz-transform:rotate(90deg);webkit-transform:rotate(90deg);o-transform:rotate(90deg)}",""]),t.exports=e},"358f":function(t,e,i){t.exports=i.p+"static/img/empty-box.a3b2b2dd.png"},"5c72":function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return a})),i.d(e,"a",(function(){}));var n=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 pad30"},[t._l(t.recordList,(function(e,n){return[i("v-uni-view",{key:n+"_0",staticClass:"item"},[i("v-uni-view",{staticClass:"title acea-row row-column row-center"},[i("v-uni-view",{staticClass:"data"},[t._v(t._s(e.time))]),i("v-uni-view",[t._v("本月累计推广订单:"+t._s(e.count||0)+"单")])],1),i("v-uni-view",{staticClass:"listn"},[t._l(e.child,(function(e,n){return[i("v-uni-view",{key:n+"_0",staticClass:"itenm borRadius14"},[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"},[i("v-uni-image",{attrs:{src:e.avatar}})],1),i("v-uni-view",{staticClass:"text line1"},[t._v(t._s(e.nickname))])],1),i("v-uni-view",{staticClass:"money"},[t._v("返佣:"),i("v-uni-text",{staticClass:"font-color"},[t._v("¥"+t._s(e.number))])],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.orderId))],1),i("v-uni-view",[i("v-uni-text",{staticClass:"name"},[t._v("下单时间:")]),t._v(t._s(e.time))],1)],1)],1)]}))],2)],1)]}))],2):t._e(),0==t.recordList.length?i("v-uni-view",[i("emptyPage",{attrs:{title:"暂无推广订单~"}})],1):t._e()],1),i("home")],1)},a=[]},"5edd":function(t,e,i){var n=i("0676");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var a=i("4f06").default;a("52d64a9c",n,!0,{sourceMap:!1,shadowMode:!1})},6314:function(t,e,i){"use strict";i("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={props:{title:{type:String,default:"暂无记录"}}};e.default=n},"6b24":function(t,e,i){"use strict";var n=i("bb50"),a=i.n(n);a.a},"6ca5":function(t,e,i){"use strict";i.r(e);var n=i("b6b1"),a=i.n(n);for(var r in n)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(r);e["default"]=a.a},7129:function(t,e,i){"use strict";i.r(e);var n=i("c480"),a=i.n(n);for(var r in n)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(r);e["default"]=a.a},"740c":function(t,e,i){var n=i("1ae4");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var a=i("4f06").default;a("0a62d278",n,!0,{sourceMap:!1,shadowMode:!1})},"7ca8":function(t,e,i){"use strict";i.r(e);var n=i("6314"),a=i.n(n);for(var r in n)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(r);e["default"]=a.a},"82c4":function(t,e,i){"use strict";var n=i("740c"),a=i.n(n);a.a},"84d7":function(t,e,i){"use strict";i.r(e);var n=i("5c72"),a=i("7129");for(var r in a)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(r);i("6b24");var o=i("f0c5"),s=Object(o["a"])(a["default"],n["b"],n["c"],!1,null,"c400cb0a",null,!1,n["a"],void 0);e["default"]=s.exports},a269d:function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return a})),i.d(e,"a",(function(){}));var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticStyle:{"touch-action":"none"}},[i("v-uni-view",{staticClass:"home",staticStyle:{position:"fixed"},style:{top:t.top+"px"},attrs:{id:"right-nav"},on:{touchmove:function(e){e.stopPropagation(),e.preventDefault(),arguments[0]=e=t.$handleEvent(e),t.setTouchMove.apply(void 0,arguments)}}},[t.homeActive?i("v-uni-view",{staticClass:"homeCon bg-color-red",class:!0===t.homeActive?"on":""},[i("v-uni-navigator",{staticClass:"iconfont icon-shouye-xianxing",attrs:{"hover-class":"none",url:"/pages/index/index","open-type":"switchTab"}}),i("v-uni-navigator",{staticClass:"iconfont icon-caigou-xianxing",attrs:{"hover-class":"none",url:"/pages/order_addcart/order_addcart","open-type":"switchTab"}}),i("v-uni-navigator",{staticClass:"iconfont icon-yonghu1",attrs:{"hover-class":"none",url:"/pages/user/index","open-type":"switchTab"}})],1):t._e(),i("v-uni-view",{staticClass:"pictrueBox",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.open.apply(void 0,arguments)}}},[i("v-uni-view",{staticClass:"pictrue"},[i("v-uni-image",{staticClass:"image",attrs:{src:!0===t.homeActive?"/static/images/close.gif":"/static/images/open.gif"}})],1)],1)],1)],1)},a=[]},a97b:function(t,e,i){"use strict";var n=i("5edd"),a=i.n(n);a.a},ad50:function(t,e,i){"use strict";i.r(e);var n=i("fde2"),a=i("7ca8");for(var r in a)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(r);i("a97b");var o=i("f0c5"),s=Object(o["a"])(a["default"],n["b"],n["c"],!1,null,"63d1a8ca",null,!1,n["a"],void 0);e["default"]=s.exports},b6b1:function(t,e,i){"use strict";i("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=i("26cb"),a={name:"Home",props:{},data:function(){return{top:"500"}},computed:(0,n.mapGetters)(["homeActive"]),methods:{setTouchMove:function(t){t.touches[0].clientY<545&&t.touches[0].clientY>66&&(this.top=t.touches[0].clientY)},open:function(){this.homeActive?this.$store.commit("CLOSE_HOME"):this.$store.commit("OPEN_HOME")}},created:function(){}};e.default=a},bb50:function(t,e,i){var n=i("e7d8");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var a=i("4f06").default;a("6ea6b596",n,!0,{sourceMap:!1,shadowMode:!1})},bbd6:function(t,e,i){"use strict";i.r(e);var n=i("a269d"),a=i("6ca5");for(var r in a)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(r);i("82c4");var o=i("f0c5"),s=Object(o["a"])(a["default"],n["b"],n["c"],!1,null,"47a70398",null,!1,n["a"],void 0);e["default"]=s.exports},c480:function(t,e,i){"use strict";i("7a82");var n=i("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("ac1f"),i("5319"),i("99af"),i("d3b7"),i("159b"),i("14d9");var a=i("f741"),r=i("c2a3"),o=i("26cb"),s=n(i("ad50")),c=n(i("bbd6")),u={components:{emptyPage:s.default,home:c.default},data:function(){return{page:1,limit:10,status:!1,recordList:[],recordCount:0,isAuto:!1,isShowAuth:!1,time:0}},computed:(0,o.mapGetters)(["isLogin"]),onLoad:function(){this.isLogin?this.getRecordOrderList():(0,r.toLogin)()},methods:{stringToDate:function(t){var e=t.replace(/-/g,"/");new Date(e);return t},onLoadFun:function(){this.getRecordOrderList()},authColse:function(t){this.isShowAuth=t},getRecordOrderList:function(){var t=this,e=t.page,i=t.limit,n=t.status,r=t.recordList,o=[];1!=n&&(0,a.spreadOrder)({page:e,limit:i}).then((function(n){for(var a=n.data.list?n.data.list:[],s=0,c=function(e){s+=a[e].child.length;var i=a[e].time.replace(/-/g,"/"),n=new Date(i).getTime();t.time===n?t.$set(t.recordList[e],"child",t.recordList[e].child.concat(a[e].child)):(a.forEach((function(t,i){a[e]==t&&o.push(t)})),t.$set(t,"recordList",r.concat(o))),t.time=n},u=0;u<a.length;u++)c(u);t.recordCount=n.data.count||0,t.status=i>s,t.page=e+1}))}},onReachBottom:function(){this.getRecordOrderList()}};e.default=u},e7d8:function(t,e,i){var n=i("24fb");e=n(!1),e.push([t.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 行为相关颜色 */\r\n/* crmeb颜色变量 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */.promoter-order .list .item .title[data-v-c400cb0a]{height:%?133?%;font-size:%?26?%;color:#999}.promoter-order .list .item .title .data[data-v-c400cb0a]{font-size:%?28?%;color:#282828;margin-bottom:%?5?%}.promoter-order .list .item .listn .itenm[data-v-c400cb0a]{background-color:#fff}.promoter-order .list .item .listn .itenm ~ .itenm[data-v-c400cb0a]{margin-top:%?20?%}.promoter-order .list .item .listn .itenm .top[data-v-c400cb0a]{padding:0 %?24?%;border-bottom:%?1?% solid #eee;height:%?100?%}.promoter-order .list .item .listn .itenm .top .pictxt[data-v-c400cb0a]{width:%?320?%}.promoter-order .list .item .listn .itenm .top .pictxt .text[data-v-c400cb0a]{width:%?230?%;font-size:%?30?%;color:#282828}.promoter-order .list .item .listn .itenm .top .pictxt .pictrue[data-v-c400cb0a]{width:%?66?%;height:%?66?%}.promoter-order .list .item .listn .itenm .top .pictxt .pictrue uni-image[data-v-c400cb0a]{width:100%;height:100%;border-radius:50%;border:%?3?% solid #fff;box-sizing:border-box;box-shadow:0 0 %?15?% #aaa}.promoter-order .list .item .listn .itenm .top .money[data-v-c400cb0a]{font-size:%?28?%}.promoter-order .list .item .listn .itenm .bottom[data-v-c400cb0a]{padding:%?20?% %?24?%;font-size:%?28?%;color:#666;line-height:1.6}.promoter-order .list .item .listn .itenm .bottom .name[data-v-c400cb0a]{color:#999}',""]),t.exports=e},fde2:function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return a})),i.d(e,"a",(function(){}));var n=function(){var t=this.$createElement,e=this._self._c||t;return e("v-uni-view",{staticClass:"empty-box"},[e("v-uni-image",{attrs:{src:i("358f")}}),e("v-uni-view",{staticClass:"txt"},[this._v(this._s(this.title))])],1)},a=[]}}]); |