mirror of
https://github.com/crmeb/CRMEB.git
synced 2025-12-15 04:52:50 +00:00
1 line
15 KiB
JavaScript
1 line
15 KiB
JavaScript
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-users-promoter-order-index"],{"0ce2":function(t,e,i){"use strict";var n;i.d(e,"b",(function(){return o})),i.d(e,"c",(function(){return a})),i.d(e,"a",(function(){return n}));var o=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{style:t.colorStyle},[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.count||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:"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"},[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),"brokerage"==e.type?i("v-uni-view",{staticClass:"money"},[t._v("返佣:"),i("v-uni-text",{staticClass:"font-color"},[t._v("¥"+t._s(e.number))])],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.order_id))],1),"brokerage"==e.type?i("v-uni-view",[i("v-uni-text",{staticClass:"name"},[t._v("返佣时间:")]),t._v(t._s(e.time))],1):i("v-uni-view",[i("v-uni-text",{staticClass:"name"},[t._v("下单时间:")]),t._v(t._s(e.time))],1),e.children&&e.children.length?i("v-uni-view",{staticClass:"more",on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.open(e)}}},[t._v(t._s(e.open?"收起":"更多")),i("v-uni-text",{staticClass:"iconfont",class:e.open?"icon-xiangshang":"icon-xiangxia"})],1):t._e()],1),e.open?i("v-uni-view",{staticClass:"more-record"},t._l(e.children,(function(e,n){return i("v-uni-view",{key:n,staticClass:"more-record-list"},[i("v-uni-view",{staticClass:"more-record-box"},[i("v-uni-view",[i("v-uni-text",{staticClass:"name"},[t._v("单号:")]),t._v(t._s(e.order_id))],1),"brokerage"==e.type?i("v-uni-view",{staticClass:"money"},[t._v("返佣:"),i("v-uni-text",{staticClass:"font-color"},[t._v("¥"+t._s(e.number))])],1):i("v-uni-view",{staticClass:"money"},[t._v("暂未返佣:"),i("v-uni-text",{staticClass:"font-color"},[t._v("¥"+t._s(e.number))])],1)],1)],1)})),1):t._e()],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=[]},"133b":function(t,e,i){"use strict";i.r(e);var n=i("7620c"),o=i("61ed");for(var a in o)"default"!==a&&function(t){i.d(e,t,(function(){return o[t]}))}(a);i("8c8b");var r,s=i("f0c5"),c=Object(s["a"])(o["default"],n["b"],n["c"],!1,null,"6b1a6701",null,!1,n["a"],r);e["default"]=c.exports},1731:function(t,e,i){var n=i("24fb");e=n(!1),e.push([t.i,".pictrueBox[data-v-a68dde36]{width:%?130?%;height:%?120?%}\n\n/*返回主页按钮*/.home[data-v-a68dde36]{position:fixed;color:#fff;text-align:center;z-index:999;right:%?15?%;display:flex}.home .homeCon[data-v-a68dde36]{border-radius:%?50?%;opacity:0;height:0;color:var(--view-theme);width:0}.home .homeCon.on[data-v-a68dde36]{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:var(--view-theme)!important}.home .homeCon .iconfont[data-v-a68dde36]{font-size:%?48?%;color:#fff;display:inline-block;margin:0 auto}.home .pictrue[data-v-a68dde36]{width:%?86?%;height:%?86?%;border-radius:50%;margin:0 auto;background-color:var(--view-theme)}.home .pictrue .image[data-v-a68dde36]{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},"27e1":function(t,e,i){"use strict";var n=i("d2b9"),o=i.n(n);o.a},3317:function(t,e,i){"use strict";i.r(e);var n=i("6ff3"),o=i.n(n);for(var a in n)"default"!==a&&function(t){i.d(e,t,(function(){return n[t]}))}(a);e["default"]=o.a},"61ed":function(t,e,i){"use strict";i.r(e);var n=i("a374"),o=i.n(n);for(var a in n)"default"!==a&&function(t){i.d(e,t,(function(){return n[t]}))}(a);e["default"]=o.a},"687f":function(t,e,i){"use strict";var n=i("91fc"),o=i.n(n);o.a},"6ff3":function(t,e,i){"use strict";(function(t){var n=i("4ea4");i("caad"),i("2532"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=i("56ec"),a=i("858e"),r=i("26cb"),s=n(i("133b")),c=n(i("c872")),u=n(i("2d3a")),d={components:{emptyPage:s.default,home:c.default},mixins:[u.default],data:function(){return{page:1,limit:5,status:!1,recordList:[],times:[],recordCount:0,count:0,isAuto:!1,isShowAuth:!1}},computed:(0,r.mapGetters)(["isLogin"]),onLoad:function(){this.isLogin?this.getRecordOrderList():(0,a.toLogin)()},methods:{open:function(t){t.open=!t.open},onLoadFun:function(){this.getRecordOrderList()},authColse:function(t){this.isShowAuth=t},getRecordOrderList:function(){var t=this,e=this,i=e.page,n=e.limit,a=e.status;1!=a&&(0,o.spreadOrder)({page:i,limit:n}).then((function(i){for(var n=0;n<i.data.time.length;n++)t.times.includes(i.data.time[n].time)||(t.times.push(i.data.time[n].time),t.recordList.push({time:i.data.time[n].time,count:i.data.time[n].count,child:[]}));t.recordList,t.times.length;for(var o=0;o<t.times.length;o++)for(var a=0;a<i.data.list.length;a++)t.times[o]===i.data.list[a].time_key&&(i.data.list[a].open=!1,t.recordList[o].child.push(i.data.list[a]));t.recordList,e.count=i.data.count||0,e.status=i.data.list.length<5,e.page+=1}))}},onReachBottom:function(){this.getRecordOrderList()}};e.default=d}).call(this,i("5a52")["default"])},"7620c":function(t,e,i){"use strict";var n;i.d(e,"b",(function(){return o})),i.d(e,"c",(function(){return a})),i.d(e,"a",(function(){return n}));var o=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=[]},"8b7a":function(t,e,i){"use strict";i.r(e);var n=i("c6df"),o=i.n(n);for(var a in n)"default"!==a&&function(t){i.d(e,t,(function(){return n[t]}))}(a);e["default"]=o.a},"8c8b":function(t,e,i){"use strict";var n=i("e6d0"),o=i.n(n);o.a},"91fc":function(t,e,i){var n=i("fd88");"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var o=i("4f06").default;o("c865b33c",n,!0,{sourceMap:!1,shadowMode:!1})},"9f7b":function(t,e,i){"use strict";var n;i.d(e,"b",(function(){return o})),i.d(e,"c",(function(){return a})),i.d(e,"a",(function(){return n}));var o=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{style:t.colorStyle},[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",class:!0===t.homeActive?"on":""},[i("v-uni-navigator",{staticClass:"iconfont icon-shouye-xianxing",attrs:{"hover-class":"none","open-type":"switchTab",url:"/pages/index/index"}}),i("v-uni-navigator",{staticClass:"iconfont icon-caigou-xianxing",attrs:{"hover-class":"none","open-type":"switchTab",url:"/pages/order_addcart/order_addcart"}}),i("v-uni-navigator",{staticClass:"iconfont icon-yonghu1",attrs:{"hover-class":"none","open-type":"switchTab",url:"/pages/user/index"}})],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)],1)},a=[]},a374: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},a82f: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/* crmeb颜色变量 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.empty-box[data-v-6b1a6701]{display:flex;flex-direction:column;justify-content: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},c6df:function(t,e,i){"use strict";var n=i("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=i("26cb"),a=n(i("2d3a")),r={name:"Home",props:{},mixins:[a.default],data:function(){return{top:"545"}},computed:(0,o.mapGetters)(["homeActive"]),methods:{setTouchMove:function(t){var e=this;t.touches[0].clientY<545&&t.touches[0].clientY>66&&(e.top=t.touches[0].clientY)},open:function(){this.homeActive?this.$store.commit("CLOSE_HOME"):this.$store.commit("OPEN_HOME")}},created:function(){},beforeDestroy:function(){this.$store.commit("CLOSE_HOME")}};e.default=r},c872:function(t,e,i){"use strict";i.r(e);var n=i("9f7b"),o=i("8b7a");for(var a in o)"default"!==a&&function(t){i.d(e,t,(function(){return o[t]}))}(a);i("27e1");var r,s=i("f0c5"),c=Object(s["a"])(o["default"],n["b"],n["c"],!1,null,"a68dde36",null,!1,n["a"],r);e["default"]=c.exports},ca10:function(t,e,i){"use strict";i.r(e);var n=i("0ce2"),o=i("3317");for(var a in o)"default"!==a&&function(t){i.d(e,t,(function(){return o[t]}))}(a);i("687f");var r,s=i("f0c5"),c=Object(s["a"])(o["default"],n["b"],n["c"],!1,null,"43e5c3f8",null,!1,n["a"],r);e["default"]=c.exports},d2b9:function(t,e,i){var n=i("1731");"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var o=i("4f06").default;o("e30c159e",n,!0,{sourceMap:!1,shadowMode:!1})},e6d0:function(t,e,i){var n=i("a82f");"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var o=i("4f06").default;o("6ef7e4ba",n,!0,{sourceMap:!1,shadowMode:!1})},fd88: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/* crmeb颜色变量 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.promoter-order .list .item .title[data-v-43e5c3f8]{height:%?133?%;padding:0 %?30?%;font-size:%?26?%;color:#999}.promoter-order .list .item .title .data[data-v-43e5c3f8]{font-size:%?28?%;color:#282828;margin-bottom:%?5?%}.promoter-order .list .item .listn .itenm[data-v-43e5c3f8]{background-color:#fff;border-radius:%?8?%}.promoter-order .list .item .listn .itenm .more-record[data-v-43e5c3f8]{color:#999;font-size:%?24?%}.promoter-order .list .item .listn .itenm .more-record .more-record-list[data-v-43e5c3f8]{padding:%?20?% %?30?%;border-top:1px solid #f2f2f2}.promoter-order .list .item .listn .itenm .more-record .more-record-list .more-record-box[data-v-43e5c3f8]{display:flex;justify-content:space-between}.promoter-order .list .item .listn .itenm ~ .itenm[data-v-43e5c3f8]{margin-top:%?12?%}.promoter-order .list .item .listn .itenm .top[data-v-43e5c3f8]{margin-left:%?30?%;padding-right:%?30?%;border-bottom:%?1?% solid #eee;height:%?100?%}.promoter-order .list .item .listn .itenm .top .pictxt[data-v-43e5c3f8]{width:%?320?%}.promoter-order .list .item .listn .itenm .top .pictxt .text[data-v-43e5c3f8]{width:%?230?%;font-size:%?30?%;color:#282828}.promoter-order .list .item .listn .itenm .top .pictxt .pictrue[data-v-43e5c3f8]{width:%?66?%;height:%?66?%}.promoter-order .list .item .listn .itenm .top .pictxt .pictrue uni-image[data-v-43e5c3f8]{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-43e5c3f8]{font-size:%?28?%}.promoter-order .list .item .listn .itenm .bottom[data-v-43e5c3f8]{padding:%?20?% %?30?%;font-size:%?28?%;color:#666;line-height:1.6;position:relative}.promoter-order .list .item .listn .itenm .bottom .more[data-v-43e5c3f8]{font-size:%?24?%;position:absolute;right:%?12?%;bottom:%?24?%}.promoter-order .list .item .listn .itenm .bottom .more .iconfont[data-v-43e5c3f8]{font-size:%?22?%;margin-left:%?5?%}.promoter-order .list .item .listn .itenm .bottom .name[data-v-43e5c3f8]{color:#999}',""]),t.exports=e}}]); |