bztang-admin/addons/yun_shop/static/app/js/chunk-563a97a6.4b58ae65.js

1 line
8.9 KiB
JavaScript

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-563a97a6"],{"0852":function(t,s,e){var a=e("24fb");s=a(!1),s.push([t.i,'#shopKeeperCenter #tabs[data-v-7d27dc5c]{margin-top:2.5rem}#shopKeeperCenter #tabs .conte[data-v-7d27dc5c]{width:100%}#shopKeeperCenter #tabs .conte .list[data-v-7d27dc5c]{margin-bottom:.625rem;padding-bottom:.3125rem;background:#fff}#shopKeeperCenter #tabs .conte .list .title1[data-v-7d27dc5c]{background:#fff;padding:.9375rem;font-size:14px;text-align:left;margin-bottom:.0625rem}#shopKeeperCenter #tabs .conte .list .title1 .status1[data-v-7d27dc5c]{display:inline-block;width:3.75rem;color:#fff;text-align:center;float:right;line-height:1.5rem;background:green}#shopKeeperCenter #tabs .conte .list .title1 .status2[data-v-7d27dc5c]{display:inline-block;width:3.75rem;color:#fff;text-align:center;float:right;line-height:1.5rem;background:#f15353}#shopKeeperCenter #tabs .conte .list .middle[data-v-7d27dc5c]{padding:.9375rem;background:#f0f0f0;text-align:left;float:left;width:100%;-webkit-box-sizing:border-box;box-sizing:border-box;margin-bottom:.375rem}#shopKeeperCenter #tabs .conte .list .middle .img[data-v-7d27dc5c]{width:4.0625rem;height:4.0625rem;float:left;background:grey}#shopKeeperCenter #tabs .conte .list .middle .img img[data-v-7d27dc5c]{width:4.0625rem;vertical-align:middle}#shopKeeperCenter #tabs .conte .list .middle .orderNum[data-v-7d27dc5c]{height:4.0625rem;margin-left:.9375rem;float:left;line-height:1.375rem}#shopKeeperCenter #tabs .conte .list .date[data-v-7d27dc5c]{padding:1.25rem .9375rem;background:#fff;text-align:left;color:#555;line-height:1.625rem}#shopKeeperCenter #tabs .conte .list .date b[data-v-7d27dc5c]{color:red;font-size:17px}#shopKeeperCenter #tabs .conte .list .date span[data-v-7d27dc5c]{color:#ff9800;font-size:12px}#shopKeeperCenter #tabs .conte .list .date .left[data-v-7d27dc5c]{width:50%;float:left;text-align:left;color:#d2d2d2;font-size:12px}#shopKeeperCenter #tabs .conte .list .date .right[data-v-7d27dc5c]{width:50%;float:right;text-align:right;color:#d2d2d2;font-size:12px}#shopKeeperCenter #tabs .conte .list[data-v-7d27dc5c]:after{content:"";display:block;clear:both}',""]),t.exports=s},"090b":function(t,s,e){"use strict";e.r(s);var a=function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div",{attrs:{id:"shopKeeperCenter"}},[e("c-title",{attrs:{hide:!1,text:" 店主中心"}}),e("div",{attrs:{id:"tabs"}},[e("van-tabs",{model:{value:t.activeName,callback:function(s){t.activeName=s},expression:"activeName"}},[e("van-tab",{attrs:{name:"first"}},[e("span",{attrs:{slot:"title"},on:{click:function(s){return t.handleClick("0")}},slot:"title"},[t._v("全部")])]),e("van-tab",{attrs:{name:"second"}},[e("span",{attrs:{slot:"title"},on:{click:function(s){return t.handleClick("1")}},slot:"title"},[t._v("已付款")])]),e("van-tab",{attrs:{name:"third"}},[e("span",{attrs:{slot:"title"},on:{click:function(s){return t.handleClick("2")}},slot:"title"},[t._v("已完成")])]),e("van-tab",{attrs:{name:"fourth"}},[e("span",{attrs:{slot:"title"},on:{click:function(s){return t.handleClick("3")}},slot:"title"},[t._v("已失效")])])],1),e("div",[e("div",{directives:[{name:"show",rawName:"v-show",value:"first"==t.activeName,expression:"activeName=='first'"}]},[e("div",{staticClass:"conte"},t._l(t.first_content,(function(s,a){return e("div",{key:a,staticClass:"list"},[e("div",{staticClass:"title1"},[t._v(" 订单号:"+t._s(s.order_sn)+" "),"已完成"==s.status_name?e("span",{staticClass:"status1"},[t._v(" "+t._s(s.status_name)+" ")]):e("span",{staticClass:"status2"},[t._v(t._s(s.status_name))])]),e("div",{staticClass:"middle"},[e("div",{staticClass:"img"},[e("img",{attrs:{src:s.goods_thumb,alt:""}})]),e("div",{staticClass:"orderNum"},[t._v(" "+t._s(s.goods_title)+" "),e("br"),t._v(" X"+t._s(s.goods_total)+" "),e("br"),t._v(" 付款金额:"+t._s(t.$i18n.t("money"))+t._s(s.goods_price)+" ")])]),e("div",{staticClass:"date"},[t._v(" 共计"+t._s(s.goods_total)+"件商品,预计分红  "),e("b",[t._v(t._s(t.$i18n.t("money"))+" "+t._s(s.bonus_money))]),e("br"),e("span",[t._v("个别店主预计分红可能存在误差,以最终结算分红为准")]),e("br",{attrs:{clear:"all"}}),e("div",{staticClass:"left"},[t._v(t._s(s.order_time))])])])})),0)]),e("div",{directives:[{name:"show",rawName:"v-show",value:"second"==t.activeName,expression:"activeName=='second'"}]},[e("div",{staticClass:"conte"},t._l(t.second_content,(function(s,a){return e("div",{key:a,staticClass:"list"},[e("div",{staticClass:"title1"},[t._v(" 订单号:"+t._s(s.order_sn)+" "),"已完成"==s.status_name?e("span",{staticClass:"status1"},[t._v(" "+t._s(s.status_name)+" ")]):e("span",{staticClass:"status2"},[t._v(t._s(s.status_name))])]),e("div",{staticClass:"middle"},[e("div",{staticClass:"img"},[e("img",{attrs:{src:s.goods_thumb,alt:""}})]),e("div",{staticClass:"orderNum"},[t._v(" "+t._s(s.goods_title)+" "),e("br"),t._v(" X"+t._s(s.goods_total)+" "),e("br"),t._v(" 付款金额:"+t._s(t.$i18n.t("money"))+t._s(s.goods_price)+" ")])]),e("div",{staticClass:"date"},[t._v(" 共计"+t._s(s.goods_total)+"件商品,预计分红  "),e("b",[t._v(t._s(t.$i18n.t("money"))+" "+t._s(s.bonus_money))]),e("br"),e("span",[t._v("个别店主预计分红可能存在误差,以最终结算分红为准")]),e("br",{attrs:{clear:"all"}}),e("div",{staticClass:"left"},[t._v(t._s(s.order_time))])])])})),0)]),e("div",{directives:[{name:"show",rawName:"v-show",value:"third"==t.activeName,expression:"activeName=='third'"}]},[e("div",{staticClass:"conte"},t._l(t.third_content,(function(s,a){return e("div",{key:a,staticClass:"list"},[e("div",{staticClass:"title1"},[t._v(" 订单号:"+t._s(s.order_sn)+" "),"已完成"==s.status_name?e("span",{staticClass:"status1"},[t._v(" "+t._s(s.status_name)+" ")]):e("span",{staticClass:"status2"},[t._v(t._s(s.status_name))])]),e("div",{staticClass:"middle"},[e("div",{staticClass:"img"},[e("img",{attrs:{src:s.goods_thumb,alt:""}})]),e("div",{staticClass:"orderNum"},[t._v(" "+t._s(s.goods_title)+" "),e("br"),t._v(" X"+t._s(s.goods_total)+" "),e("br"),t._v(" 付款金额:"+t._s(t.$i18n.t("money"))+t._s(s.goods_price)+" ")])]),e("div",{staticClass:"date"},[t._v(" 共计"+t._s(s.goods_total)+"件商品,预计分红  "),e("b",[t._v(t._s(t.$i18n.t("money"))+" "+t._s(s.bonus_money))]),e("br"),e("span",[t._v("个别店主预计分红可能存在误差,以最终结算分红为准")]),e("br",{attrs:{clear:"all"}}),e("div",{staticClass:"left"},[t._v(t._s(s.order_time))])])])})),0)]),e("div",{directives:[{name:"show",rawName:"v-show",value:"fourth"==t.activeName,expression:"activeName=='fourth'"}]},[e("div",{staticClass:"conte"},t._l(t.fourth_content,(function(s,a){return e("div",{key:a,staticClass:"list"},[e("div",{staticClass:"title1"},[t._v(" 订单号:"+t._s(s.order_sn)+" "),"已完成"==s.status_name?e("span",{staticClass:"status1"},[t._v(" "+t._s(s.status_name)+" ")]):e("span",{staticClass:"status2"},[t._v(t._s(s.status_name))])]),e("div",{staticClass:"middle"},[e("div",{staticClass:"img"},[e("img",{attrs:{src:s.goods_thumb,alt:""}})]),e("div",{staticClass:"orderNum"},[t._v(" "+t._s(s.goods_title)+" "),e("br"),t._v(" X"+t._s(s.goods_total)+" "),e("br"),t._v(" 付款金额:"+t._s(t.$i18n.t("money"))+t._s(s.goods_price)+" ")])]),e("div",{staticClass:"date"},[t._v(" 共计"+t._s(s.goods_total)+"件商品,预计分红  "),e("b",[t._v(t._s(t.$i18n.t("money"))+" "+t._s(s.bonus_money))]),e("br"),e("span",[t._v("个别店主预计分红可能存在误差,以最终结算分红为准")]),e("br",{attrs:{clear:"all"}}),e("div",{staticClass:"left"},[t._v(t._s(s.order_time))])])])})),0)])])],1)],1)},i=[],n=e("6968"),o="0",r=!1,d=!1,c=!1,l=!1,_={data:function(){return{first_content:[],second_content:[],third_content:[],fourth_content:[],activeName:"first",show:!0,orderData:[],time_type:""}},activated:function(){this.initData(),this.time_type=this.$route.params.date,this.setDataByTabIndex()},methods:{initData:function(){o="0",r=!1,d=!1,c=!1,l=!1,this.first_content=[],this.second_content=[],this.third_content=[],this.fourth_content=[],this.activeName="first",this.show=!0},setDataByTabIndex:function(){"0"!=o||r?"1"!=o||d?"2"!=o||c?"3"!=o||l||(l=!0,this.getData("-1")):(c=!0,this.getData("1")):(d=!0,this.getData("0")):(r=!0,this.getData(""))},handleClick:function(t,s){o!=t&&(o=t,this.setDataByTabIndex())},getData:function(t){var s=this;$http.get("plugin.micro.frontend.controllers.MicroShopOrder.list",{apply_status:t,time_type:this.time_type},"加载中").then((function(t){1==t.result&&("0"==o?s.first_content=t.data.list.data:"1"==o?s.second_content=t.data.list.data:"2"==o?s.third_content=t.data.list.data:"3"==o&&(s.fourth_content=t.data.list.data))}),(function(t){}))}},components:{cTitle:n["a"]}},v=_,m=v,h=(e("c47b"),e("2877")),u=Object(h["a"])(m,a,i,!1,null,"7d27dc5c",null);s["default"]=u.exports},"5c89":function(t,s,e){var a=e("0852");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var i=e("499e").default;i("2d25cd56",a,!0,{sourceMap:!1,shadowMode:!1})},c47b:function(t,s,e){"use strict";e("5c89")}}]);