CRMEB/src/crmeb/public/admin/js/chunk-0f21245e.f48084bb.js
2021-02-24 14:49:04 +08:00

1 line
9.7 KiB
JavaScript

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-0f21245e"],{"011a":function(t,e,r){t.exports=r.p+"img/no_chat.b9c3e583.png"},"0519":function(t,e,r){"use strict";r("ffd1")},"060a":function(t,e,r){t.exports=r.p+"img/no_tk.401d40f4.png"},"1fe1":function(t,e,r){},4112:function(t,e,r){t.exports=r.p+"img/no_user.a09b282b.png"},"42e3":function(t,e,r){"use strict";r.d(e,"a",(function(){return u})),r.d(e,"E",(function(){return o})),r.d(e,"O",(function(){return c})),r.d(e,"m",(function(){return i})),r.d(e,"o",(function(){return a})),r.d(e,"e",(function(){return s})),r.d(e,"q",(function(){return f})),r.d(e,"t",(function(){return d})),r.d(e,"u",(function(){return l})),r.d(e,"z",(function(){return m})),r.d(e,"C",(function(){return h})),r.d(e,"A",(function(){return b})),r.d(e,"L",(function(){return p})),r.d(e,"M",(function(){return g})),r.d(e,"K",(function(){return k})),r.d(e,"P",(function(){return v})),r.d(e,"Q",(function(){return j})),r.d(e,"I",(function(){return O})),r.d(e,"k",(function(){return _})),r.d(e,"B",(function(){return y})),r.d(e,"v",(function(){return C})),r.d(e,"s",(function(){return x})),r.d(e,"r",(function(){return w})),r.d(e,"w",(function(){return T})),r.d(e,"p",(function(){return U})),r.d(e,"l",(function(){return L})),r.d(e,"G",(function(){return P})),r.d(e,"H",(function(){return B})),r.d(e,"c",(function(){return H})),r.d(e,"b",(function(){return S})),r.d(e,"f",(function(){return z})),r.d(e,"F",(function(){return F})),r.d(e,"x",(function(){return V})),r.d(e,"N",(function(){return $})),r.d(e,"D",(function(){return E})),r.d(e,"n",(function(){return G})),r.d(e,"J",(function(){return I})),r.d(e,"i",(function(){return J})),r.d(e,"d",(function(){return q})),r.d(e,"g",(function(){return A})),r.d(e,"h",(function(){return D})),r.d(e,"j",(function(){return N})),r.d(e,"y",(function(){return K}));var n=r("6b6c");function u(t){return Object(n["a"])({url:"/login",method:"post",data:t,kefu:!0})}function o(t){return Object(n["a"])({url:"/user/record",method:"get",params:t,kefu:!0})}function c(t){return Object(n["a"])({url:"/user/info/"+t,method:"get",kefu:!0})}function i(t,e){return Object(n["a"])({url:"/order/list/"+t,method:"get",params:e,kefu:!0})}function a(t,e){return Object(n["a"])({url:"/order/delivery/"+t,method:"post",data:e,kefu:!0})}function s(t,e){return Object(n["a"])({url:"/order/update/".concat(t),method:"put",data:e,kefu:!0})}function f(t){return Object(n["a"])({url:"order/edit/"+t,method:"get",kefu:!0})}function d(t){return Object(n["a"])({url:"order/refund_form/"+t,method:"get",kefu:!0})}function l(t){return Object(n["a"])({url:"order/refund",method:"post",data:t,kefu:!0})}function m(t,e){return Object(n["a"])({url:"product/cart/"+t,method:"get",params:e,kefu:!0})}function h(t,e){return Object(n["a"])({url:"product/visit/"+t,method:"get",params:e,kefu:!0})}function b(t,e){return Object(n["a"])({url:"product/hot/"+t,method:"get",params:e,kefu:!0})}function p(t){return Object(n["a"])({url:"service/speechcraft",method:"get",params:t,kefu:!0})}function g(t){return Object(n["a"])({url:"service/transfer_list",method:"get",params:t,kefu:!0})}function k(t){return Object(n["a"])({url:"service/transfer",method:"post",params:t,kefu:!0})}function v(t){return Object(n["a"])({url:"user/label/".concat(t),method:"get",kefu:!0})}function j(t,e){return Object(n["a"])({url:"user/label/".concat(t),method:"put",data:e,kefu:!0})}function O(t){return Object(n["a"])({url:"service/list",method:"get",params:t,kefu:!0})}function _(){return Object(n["a"])({url:"/key",method:"get",kefu:!0})}function y(t){return Object(n["a"])({url:"product/info/".concat(t),method:"get",kefu:!0})}function C(t){return Object(n["a"])({url:"/order/remark",method:"post",data:t,kefu:!0})}function x(t){return Object(n["a"])({url:"/order/info/"+t,method:"get",kefu:!0})}function w(){return Object(n["a"])({url:"/order/export",method:"get",kefu:!0})}function T(t){return Object(n["a"])({url:"/order/temp",method:"get",params:t,kefu:!0})}function U(){return Object(n["a"])({url:"/order/delivery_all",method:"get",kefu:!0})}function L(){return Object(n["a"])({url:"/order/delivery_info",method:"get",kefu:!0})}function P(t){return Object(n["a"])({url:"/service/cate",method:"get",params:t,kefu:!0})}function B(t,e){return Object(n["a"])({url:"service/speechcraft/"+t,method:"PUT",params:e,kefu:!0})}function H(t){return Object(n["a"])({url:"service/speechcraft",method:"post",data:t,kefu:!0})}function S(t){return Object(n["a"])({url:"service/cate",method:"post",data:t,kefu:!0})}function z(t,e){return Object(n["a"])({url:"service/cate/"+t,method:"PUT",params:e,kefu:!0})}function F(t,e){return Object(n["a"])({url:"scan/"+t,method:"get",params:e,kefu:!0})}function V(t){return Object(n["a"])({url:"/order/verific/".concat(t),method:"get",kefu:!0})}function $(){return Object(n["a"])({url:"user/group",method:"get",kefu:!0})}function E(t,e){return Object(n["a"])({url:"user/group/".concat(t,"/").concat(e),method:"put",kefu:!0})}function G(){return Object(n["a"])({url:"config",method:"get",kefu:!0})}function I(t){return Object(n["a"])({url:"tourist/user",method:"get",params:t,kefu:!0})}function J(){return Object(n["a"])({url:"tourist/adv",method:"get",kefu:!0})}function q(t){return Object(n["a"])({url:"tourist/chat",method:"get",params:t,kefu:!0})}function A(){return Object(n["a"])({url:"tourist/feedback",method:"get",kefu:!0})}function D(t){return Object(n["a"])({url:"tourist/feedback",method:"post",data:t,kefu:!0})}function N(t,e){return Object(n["a"])({url:"tourist/order/".concat(t),method:"get",params:e,kefu:!0})}function K(t){return Object(n["a"])({url:"tourist/product/".concat(t),method:"get",kefu:!0})}},"468b":function(t,e,r){t.exports=r.p+"img/no_all.174e30c0.png"},"5f70":function(t,e,r){t.exports=r.p+"img/no_fh.977a0fb8.png"},"7a1a":function(t,e,r){"use strict";r.d(e,"a",(function(){return u}));var n=r("6b6c");function u(){return Object(n["a"])({url:"service/info",method:"get",kefu:!0})}},"7d97":function(t,e,r){"use strict";r("1fe1")},"7eb7":function(t,e,r){"use strict";r.r(e);var n=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"product_info"},[r("div",{staticClass:"head"},[r("div",{staticClass:"tab-box"},t._l(t.tabList,(function(e,n){return r("div",{key:n,staticClass:"tab-item",class:{on:n==t.tabCur},on:{click:function(r){return t.bindTab(e)}}},[t._v(t._s(e.title))])})),0),r("div",{staticClass:"search-box"},[r("Input",{staticStyle:{"border-radius":".39rem",background:"#F5F6F9"},attrs:{type:"text",placeholder:"搜索商品名称/ID",search:!0},on:{"on-search":t.bindSearch},model:{value:t.searchTxt,callback:function(e){t.searchTxt=e},expression:"searchTxt"}})],1)]),t.list.length>0?r("div",{staticClass:"scroll-box"},[r("vue-scroll",{attrs:{ops:t.ops}},[t._l(t.list,(function(e,n){return r("div",{key:n,staticClass:"goods-item"},[r("img",{attrs:{src:e.image,mode:""}}),r("div",{staticClass:"info"},[r("div",{staticClass:"title line2 mb15"},[t._v(t._s(e.store_name))]),r("div",{staticClass:"num"},[r("span",{staticClass:"mr15"},[t._v("库存 "+t._s(e.stock))]),r("span",[t._v("销量 "+t._s(e.sales))])])]),r("div",{staticClass:"right"},[r("div",{staticClass:"price"},[t._v("¥"+t._s(e.price))]),r("div",{staticClass:"btn",on:{click:function(r){return t.bingGoods(e)}}},[t._v("推送")])])])})),r("div",{staticClass:"slot-load",attrs:{slot:"load-deactive"},slot:"load-deactive"}),r("div",{staticClass:"slot-load",attrs:{slot:"load-active"},slot:"load-active"},[t._v("下滑加载更多")])],2)],1):r("empty",{attrs:{msg:"暂无商品信息"}})],1)},u=[],o=r("49ea"),c=r("42e3"),i=r("7a1a"),a=r("8b1f"),s={name:"product_info",components:{empty:a["a"]},data:function(){return{ops:{bar:{background:"#393232",opacity:".5",size:"2px"}},searchTxt:"",tabCur:0,tabList:[{key:0,title:"购买",api:"productCart"},{key:1,title:"足迹",api:"productHot"},{key:2,title:"热销",api:"productVisit"}],toUid:"",list:[]}},watch:{tabCur:function(t,e){return this.list=[],0==t?this.getBuyList():1==t?this.getVisit():2==t?this.getProductHot():void 0}},created:function(){Object(i["a"])().then((function(t){window.document.title="".concat(t.data.site_name," - 商品列表")})),this.toUid=this.$route.query.toUid,this.getBuyList()},methods:{getBuyList:function(){var t=this;Object(c["z"])(this.toUid,{store_name:this.searchTxt}).then((function(e){t.list=e.data}))},getProductHot:function(){var t=this;Object(c["A"])(this.toUid,{store_name:this.searchTxt}).then((function(e){t.list=e.data}))},getVisit:function(){var t=this;Object(c["C"])(this.toUid,{store_name:this.searchTxt}).then((function(e){t.list=e.data}))},bingGoods:function(t){var e={type:"chat",data:{msn:t.id,type:5,to_uid:this.toUid}};o["a"].then((function(t){t.send(e)})),this.$router.go(-1)},bindTab:function(t){this.tabCur=t.key},bindSearch:function(){return 0==this.tabCur?this.getBuyList():1==this.tabCur?this.getVisit():2==this.tabCur?this.getProductHot():void 0}}},f=s,d=(r("7d97"),r("0519"),r("2877")),l=Object(d["a"])(f,n,u,!1,null,"35aeeba4",null);e["default"]=l.exports},"8b1f":function(t,e,r){"use strict";var n=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"empty-wrapper"},[1==t.status?[n("img",{attrs:{src:r("011a"),alt:""}})]:t._e(),2==t.status?[n("img",{attrs:{src:r("4112"),alt:""}})]:t._e(),3==t.status?[n("img",{attrs:{src:r("468b"),alt:""}})]:t._e(),4==t.status?[n("img",{attrs:{src:r("ea87"),alt:""}})]:t._e(),5==t.status?[n("img",{attrs:{src:r("5f70"),alt:""}})]:t._e(),6==t.status?[n("img",{attrs:{src:r("060a"),alt:""}})]:t._e(),n("p",[t._v(t._s(t.msg))])],2)},u=[],o=(r("c5f6"),{name:"empty",props:{status:{type:String|Number,default:1},msg:{type:String,default:""}}}),c=o,i=(r("e2fd"),r("2877")),a=Object(i["a"])(c,n,u,!1,null,"345b1430",null);e["a"]=a.exports},"9be0":function(t,e,r){},e2fd:function(t,e,r){"use strict";r("9be0")},ea87:function(t,e,r){t.exports=r.p+"img/no_zf.e61fe9b5.png"},ffd1:function(t,e,r){}}]);