bztang-admin/addons/yun_shop/static/app/js/chunk-7512a01e.f86d30d8.js

1 line
18 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-7512a01e"],{"130b":function(e,t,a){"use strict";a.r(t);var i=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{attrs:{id:"merchants"}},[e._m(0),a("ul",{staticClass:"today_bonus"},[e._l(e.ratioDatas,(function(t,i){return a("li",{key:i,class:t.name},[a("span",[e._v(e._s(t.money))]),e._v(" "),a("br"),a("b",[e._v(e._s(t.data))])])})),e._m(1)],2),a("div",{staticClass:"merchants_content"},[a("ul",{staticClass:"tab-btn"},[a("li",{class:{active:e.isActive},on:{click:function(t){return e.changeActive(!0)}}},[e._v("我的供应商")]),a("li",{class:{active:!e.isActive},on:{click:function(t){return e.changeActive(!1)}}},[e._v("供应商分红详情")])]),e.isActive?a("my-merchants",{attrs:{searchVal:e.searchValue,merchantsList:e.merchantsList},on:{emitFocus:e.beginSearch}}):a("my-ratio",{attrs:{searchVal:e.searchValue,merchantsList:e.merchantsList},on:{emitFocus:e.beginSearch}})],1),a("div",{staticClass:"modal",class:{serchActive:e.showSearch}},[a("div",{staticClass:"input"},[a("i",{staticClass:"fa fa-angle-left",staticStyle:{"font-size":"26px"},on:{click:e.goBack}}),e.isSupport?a("input",{directives:[{name:"model",rawName:"v-model",value:e.searchVal,expression:"searchVal"}],attrs:{type:"search",name:"",placeholder:"搜索供应商ID/昵称/姓名"},domProps:{value:e.searchVal},on:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.searching.apply(null,arguments)},input:function(t){t.target.composing||(e.searchVal=t.target.value)}}}):a("input",{directives:[{name:"model",rawName:"v-model",value:e.searchVal,expression:"searchVal"}],attrs:{type:"search",name:"",placeholder:"搜索订单编号"},domProps:{value:e.searchVal},on:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.searching.apply(null,arguments)},input:function(t){t.target.composing||(e.searchVal=t.target.value)}}})]),e.isSupport?a("div",{staticClass:"modal-dialog"},[a("h1",[e._v("时间")]),a("div",{staticClass:"select-time"},[a("div",{staticClass:"block"},[a("van-button",{staticStyle:{"border-radius":"5px",color:"#1f2d3d",border:"1px solid #bfcbd9","min-height":"1rem","min-width":"4rem"},attrs:{plain:"",type:"primary"},on:{click:e.seleStartTime}},[e._v(e._s(e.startTime))])],1),a("span",[e._v("~")]),a("div",{staticClass:"block"},[a("van-button",{staticStyle:{"border-radius":"5px",color:"#1f2d3d",border:"1px solid #bfcbd9","min-height":"1rem","min-width":"4rem"},attrs:{plain:"",type:"primary"},on:{click:e.seleEndTime}},[e._v(e._s(e.endTiem))])],1)]),a("button",{staticClass:"submit",attrs:{type:"button"},on:{click:e.searching}},[e._v("确定")])]):e._e()]),a("van-popup",{attrs:{position:"bottom",overlay:!0},model:{value:e.dateshow_1,callback:function(t){e.dateshow_1=t},expression:"dateshow_1"}},[a("van-datetime-picker",{attrs:{type:"date","max-date":e.maxDate},on:{confirm:e.confirmbtn,cancel:e.cancelbtn},model:{value:e.value1,callback:function(t){e.value1=t},expression:"value1"}})],1),a("van-popup",{attrs:{position:"bottom",overlay:!0},model:{value:e.dateshow_2,callback:function(t){e.dateshow_2=t},expression:"dateshow_2"}},[a("van-datetime-picker",{attrs:{type:"date","max-date":e.maxDate},on:{confirm:e.confirmbtn_1,cancel:e.cancelbtn_1},model:{value:e.value2,callback:function(t){e.value2=t},expression:"value2"}})],1)],1)},r=[function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"m_header"},[a("span",{staticClass:"iconfont icon-left"}),a("p",[e._v("招商员分红比例1%")])])},function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("li",{staticClass:"line"},[a("div",{staticClass:"careat"})])}],n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{attrs:{id:"myMerchants"}},[a("div",{staticClass:"input"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.searchVal,expression:"searchVal"}],attrs:{type:"text",name:"",placeholder:"搜索供应商ID/昵称/姓名"},domProps:{value:e.searchVal},on:{focus:e.beginSearch,input:function(t){t.target.composing||(e.searchVal=t.target.value)}}})]),a("ul",{staticClass:"merchants_list"},e._l(e.merchantsList,(function(t,i){return a("li",{key:i},[a("div",{staticClass:"left"},[a("img",{attrs:{src:""}}),a("b",[e._v(e._s(t.name))])]),a("div",{staticClass:"right"},[a("span",[e._v("分红金额")]),e._v(" "),a("br"),a("b",[e._v(e._s(t.salary))])])])})),0)])},s=[],o={methods:{beginSearch:function(){this.$emit("emitFocus",!0)}},props:["searchVal","merchantsList"],data:function(){return{}}},c=o,l=(a("b3d9"),a("2877")),d=Object(l["a"])(c,n,s,!1,null,"19cece80",null),m=d.exports,h=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{attrs:{id:"myRatio"}},[a("div",{staticClass:"input"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.searchVal,expression:"searchVal"}],attrs:{type:"text",placeholder:"搜索订单编号"},domProps:{value:e.searchVal},on:{focus:e.beginSearch,input:function(t){t.target.composing||(e.searchVal=t.target.value)}}})]),a("ul",{staticClass:"ratioNav"},[a("li",{class:{selected:e.salaryAll},on:{click:function(t){return e.changeType(0)}}},[e._v("全部")]),a("li",{class:{selected:e.salaryed},on:{click:function(t){return e.changeType(1)}}},[e._v("已结算")]),a("li",{class:{selected:e.salaring},on:{click:function(t){return e.changeType(2)}}},[e._v("未结算")])]),a("ul",{staticClass:"rationList"},e._l(e.rationData,(function(t,i){return a("li",{key:i},[a("div",{staticClass:"left"},[a("span",[e._v("订单号:"+e._s(t.id))]),a("p",[e._v("订单完成时间:"+e._s(t.time))])]),a("div",{staticClass:"right"},[a("img",{attrs:{src:t.img}}),e._v(" 分红+"+e._s(t.salary)+" ")])])})),0)])},u=[],f=(a("ac1f"),a("5319"),{data:function(){return{rationType:0,val:"",salaryAll:!0,salaryed:!1,salaring:!1,rationData:[{id:"111123456789",time:"2017-02-02",img:"./../../../../assets/images/jiesuan.png",salary:"5.00"},{id:"111123456789",time:"2017-02-02",img:"",salary:"5.00"},{id:"111123456789",time:"2017-02-02",img:"",salary:"5.00"},{id:"111123456789",time:"2017-02-02",img:"",salary:"5.00"}]}},props:["searchVal"],watch:{searchVal:function(e){for(var t=0;t<this.rationData.length;t++)this.rationData[t].id=this.rationData[t].id.replace(/1{4}/,e)}},methods:{beginSearch:function(){this.$emit("emitFocus",!1),this.searchVal=""},changeType:function(e,t){switch(this.rationType=e,this.rationType){case 0:this.salaryAll=!0,this.salaryed=!1,this.salaring=!1,this.rationData=[{id:"000123456789",time:"2017-02-02",img:"",salary:"5.00"},{id:"000456789",time:"2017-02-02",img:"",salary:"5.00"},{id:"000456789",time:"2017-02-02",img:"",salary:"5.00"},{id:"000456789",time:"2017-02-02",img:"",salary:"5.00"}];break;case 1:this.salaryAll=!1,this.salaryed=!0,this.salaring=!1,this.rationData=[{id:"111123456789",time:"2017-02-02",img:"",salary:"5.00"},{id:"111123456789",time:"2017-02-02",img:"",salary:"5.00"},{id:"111123456789",time:"2017-02-02",img:"",salary:"5.00"},{id:"111123456789",time:"2017-02-02",img:"",salary:"5.00"}];break;case 2:this.salaryAll=!1,this.salaryed=!1,this.salaring=!0,this.rationData=[{id:"22223456789",time:"2017-02-02",img:"",salary:"5.00"},{id:"22223456789",time:"2017-02-02",img:"",salary:"5.00"},{id:"22223456789",time:"2017-02-02",img:"",salary:"5.00"},{id:"22223456789",time:"2017-02-02",img:"",salary:"5.00"}];break}}}}),g=f,b=(a("a01d"),Object(l["a"])(g,h,u,!1,null,"3dfe21cc",null)),p=b.exports,v={components:{myMerchants:m,myRatio:p},data:function(){return{startTime:"选择起始日期",endTiem:"选择终结日期",dateshow_1:!1,dateshow_2:!1,maxDate:new Date,searchVal:"",searchValue:"",isActive:!0,showSearch:!0,isSupport:!1,merchantsList:[{name:"昵称一",salary:"100.00"},{name:"昵称一",salary:"100.00"},{name:"昵称一",salary:"100.00"},{name:"昵称一",salary:"100.00"}],ratioDatas:[{money:"00.00",data:"今日",name:"data"},{money:"00.00",data:"昨日",name:"data"},{money:"00.00",data:"本周",name:"data"},{money:"100.00",data:"本月累计分红",name:"mounth"}],value1:"",value2:""}},methods:{changeActive:function(e){this.isActive=e},goBack:function(){this.showSearch=!this.showSearch},beginSearch:function(e){this.isSupport=e,this.showSearch=!this.showSearch,this.searchVal=""},searching:function(){this.searchValue=this.searchVal,this.showSearch=!this.showSearch},format:function(e){var t=new Date(e),a=t.getFullYear(),i=t.getMonth()+1,r=t.getDate();return a+"年"+i+"月"+r+"日"},confirmbtn:function(e){this.dateshow_1=!1;var t=new Date(e).getTime();this.startTime=this.format(t)},cancelbtn:function(){this.dateshow_1=!1},confirmbtn_1:function(e){this.dateshow_2=!1;var t=new Date(e).getTime();this.endTiem=this.format(t)},cancelbtn_1:function(){this.dateshow_2=!1},seleStartTime:function(){this.dateshow_1=!0},seleEndTime:function(){this.dateshow_2=!0}}},y=v,w=y,_=(a("4b75"),Object(l["a"])(w,i,r,!1,null,"9e61754e",null));t["default"]=_.exports},"1b61":function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAANCAYAAACZ3F9/AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyhpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMDY3IDc5LjE1Nzc0NywgMjAxNS8wMy8zMC0yMzo0MDo0MiAgICAgICAgIj4gPHJ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N/6qJ+38Bq0fn0E7b9EFn7HtM2h313dBe6JVLP8TSmIHTRe0R/2BC7mev2odLRzj3aj+7IuJS/P21MIS2MAhHuWnu1jVL2eIDC5xhE9M8Iqc3HFC2rlFSG/tGw2xYgelhYmasyc9VqYCDAAgLzWBjWiGsgAAAABJRU5ErkJggg=="},"3b47":function(e,t,a){var i=a("24fb"),r=a("1de5"),n=a("1b61");t=i(!1);var s=r(n);t.push([e.i,"#myMerchants[data-v-19cece80]{background:#fff}#myMerchants .input input[data-v-19cece80]{margin:.625rem 5%;width:80%;height:1.875rem;border-radius:.375rem;border:0;outline:0;padding-left:1.875rem;background:url("+s+") no-repeat .625rem .5rem #f2f2f2}#myMerchants .merchants_list[data-v-19cece80]{margin-top:.625rem;overflow:hidden}#myMerchants .merchants_list li[data-v-19cece80]{padding:.625rem;border-bottom:.0625rem solid #ccc;overflow:hidden}#myMerchants .merchants_list li .left[data-v-19cece80]{width:40%;float:left}#myMerchants .merchants_list li .left img[data-v-19cece80]{width:3.4375rem;height:3.4375rem;background:#ccc;vertical-align:middle}#myMerchants .merchants_list li .left b[data-v-19cece80]{font-size:15px;color:#333;padding-left:.625rem}#myMerchants .merchants_list li .right[data-v-19cece80]{width:40%;float:right;text-align:right}#myMerchants .merchants_list li .right span[data-v-19cece80]{font-size:11px;color:#333}#myMerchants .merchants_list li .right b[data-v-19cece80]{color:#f15353;font-size:16px;line-height:1.875rem}#myMerchants .merchants_list li[data-v-19cece80]:last-child{border-bottom:0}",""]),e.exports=t},"3f47":function(e,t,a){var i=a("24fb"),r=a("1de5"),n=a("1b61");t=i(!1);var s=r(n);t.push([e.i,"#myRatio .input[data-v-3dfe21cc]{background:#fff}#myRatio .input input[data-v-3dfe21cc]{margin:.625rem 5%;width:80%;height:1.875rem;border-radius:.375rem;border:0;outline:0;padding-left:1.875rem;background:url("+s+") no-repeat .625rem .5rem #f2f2f2}#myRatio .ratioNav[data-v-3dfe21cc]{padding:0;margin:0;height:2.5rem;width:100%;background:#fff;border-bottom:.0625rem solid #cdcdcd;border-top:.0625rem solid #cdcdcd}#myRatio .ratioNav li[data-v-3dfe21cc]{float:left;width:33%;text-align:center;line-height:2.5rem;font-size:14px;color:#666}#myRatio .rationList[data-v-3dfe21cc]{padding:0;margin:0;background:#fff}#myRatio .rationList li[data-v-3dfe21cc]{width:100%;height:4.0625rem;padding:.625rem;-webkit-box-sizing:border-box;box-sizing:border-box;border-bottom:.0625rem solid #f3f3f3}#myRatio .rationList li .left[data-v-3dfe21cc]{width:60%;float:left;text-align:left;padding-left:1.375rem;-webkit-box-sizing:border-box;box-sizing:border-box}#myRatio .rationList li .left span[data-v-3dfe21cc]{font-size:14px;font-weight:400;color:#333}#myRatio .rationList li .left p[data-v-3dfe21cc]{font-size:12px;color:#999}#myRatio .rationList li .right[data-v-3dfe21cc]{line-height:3.4375rem;float:left;width:40%;color:#20b96a}.selected[data-v-3dfe21cc]{color:#f15353!important;border-bottom:.125rem solid #f15353}",""]),e.exports=t},"4b75":function(e,t,a){"use strict";a("bd25f")},8796:function(e,t,a){var i=a("3f47");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var r=a("499e").default;r("2e5fa8ac",i,!0,{sourceMap:!1,shadowMode:!1})},a01d:function(e,t,a){"use strict";a("8796")},ad8a:function(e,t,a){var i=a("24fb"),r=a("1de5"),n=a("1b61");t=i(!1);var s=r(n);t.push([e.i,"li[data-v-9e61754e],p[data-v-9e61754e],ul[data-v-9e61754e]{margin:0;padding:0}.serchActive[data-v-9e61754e]{display:none!important}#merchants .m_header[data-v-9e61754e]{width:100%;height:2.8125rem;background:#f15353;color:#fff;line-height:2.8125rem}#merchants .m_header span[data-v-9e61754e]{display:inline-block;width:1rem;height:1.5rem;float:left;margin-left:.625rem;font-size:30px}#merchants .m_header p[data-v-9e61754e]{width:9.375rem;float:right;padding-right:.625rem;font-size:15px}#merchants .today_bonus[data-v-9e61754e]{width:100%;height:5.125rem;margin-top:.625rem;background:#fff;padding:1.25rem 0;-webkit-box-sizing:border-box;box-sizing:border-box;position:relative}#merchants .today_bonus li.line[data-v-9e61754e]{position:absolute;width:.0625rem;height:5.125rem;background:#ccc;top:0;right:32%}#merchants .today_bonus li.line .careat[data-v-9e61754e]{width:.5rem;height:.5rem;border:.0625rem solid #ccc;border-left:0;border-bottom:0;-webkit-transform:rotate(45deg);transform:rotate(45deg);background:#fff;position:absolute;top:2.3125rem;right:-.25rem}#merchants .today_bonus li[data-v-9e61754e]{height:2.75rem;text-align:center;float:left}#merchants .today_bonus li span[data-v-9e61754e]{font-size:17px;line-height:1.625rem}#merchants .today_bonus li b[data-v-9e61754e]{font-size:11px;color:3333}#merchants .today_bonus li.data[data-v-9e61754e]{width:22%}#merchants .today_bonus li.data span[data-v-9e61754e]{color:#ffa800}#merchants .today_bonus li[data-v-9e61754e]:first-child,#merchants .today_bonus li[data-v-9e61754e]:nth-child(2){border-right:.0625rem solid #ccc}#merchants .today_bonus li.mounth[data-v-9e61754e]{width:32%}#merchants .today_bonus li.mounth span[data-v-9e61754e]{color:#fc6a70}#merchants .merchants_content[data-v-9e61754e]{margin-top:.625rem}#merchants .merchants_content .tab-btn[data-v-9e61754e]{margin:0 1.25rem .625rem;clear:both;overflow:hidden}#merchants .merchants_content .tab-btn li[data-v-9e61754e]{display:inline-block;width:50%;height:2.1875rem;line-height:2.1875rem;float:left;background:#fff;color:#f15353}#merchants .merchants_content .tab-btn li[data-v-9e61754e]:first-child{border-top-left-radius:.375rem;border-bottom-left-radius:.375rem}#merchants .merchants_content .tab-btn li[data-v-9e61754e]:nth-child(2){border-top-right-radius:.375rem;border-bottom-right-radius:.375rem}#merchants .merchants_content .tab-btn li.active[data-v-9e61754e]{background:#f15353;color:#fff}#merchants .modal[data-v-9e61754e]{position:fixed;top:0;left:0;bottom:0;right:0;background:#f3f5f7}#merchants .modal .input[data-v-9e61754e]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;height:2.8125rem;background:#fff;-webkit-box-sizing:border-box;box-sizing:border-box;margin:0 .625rem}#merchants .modal .input i[data-v-9e61754e]{font-size:16px;line-height:2.8125rem;padding-left:.25rem}#merchants .modal .input input[data-v-9e61754e]{margin:.625rem 5%;width:80%;height:1.875rem;border-radius:.375rem;border:0;outline:0;padding-left:1.875rem;background:url("+s+") no-repeat .625rem .5rem #f2f2f2}#merchants .modal .modal-dialog h1[data-v-9e61754e]{font-size:16px;color:#666;line-height:3.4375rem;font-weight:400;text-align:left;padding-left:1.5625rem}#merchants .modal .modal-dialog .select-time[data-v-9e61754e]{text-align:center}#merchants .modal .modal-dialog .select-time .block[data-v-9e61754e]{width:38%;display:inline-block}#merchants .modal .modal-dialog .select-time .el-input[data-v-9e61754e]{width:100%}#merchants .modal .modal-dialog .select-time span[data-v-9e61754e]{font-size:22px;font-weight:400}#merchants .modal .modal-dialog .submit[data-v-9e61754e]{width:20.3125rem;height:2.5rem;border-radius:.375rem;background-color:#f15353;text-align:center;line-height:2.5rem;color:#fff;border:0;outline:0;font-size:14px;font-weight:700;margin-top:1.25rem}",""]),e.exports=t},b3d9:function(e,t,a){"use strict";a("f950")},bd25f:function(e,t,a){var i=a("ad8a");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var r=a("499e").default;r("961238d2",i,!0,{sourceMap:!1,shadowMode:!1})},f950:function(e,t,a){var i=a("3b47");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var r=a("499e").default;r("061e2561",i,!0,{sourceMap:!1,shadowMode:!1})}}]);