1 line
24 KiB
JavaScript
1 line
24 KiB
JavaScript
|
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-product-goodsOnSale-index"],{"121d":function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return o})),n.d(e,"a",(function(){}));var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-view",{staticClass:"container"},[n("v-uni-view",{staticClass:"title"},[n("v-uni-view",{staticClass:"search"},[n("v-uni-view",{staticClass:"title_search"},[n("span",{staticClass:"iconfont"},[t._v("")]),n("v-uni-form",{attrs:{"report-submit":"true"},on:{submit:function(e){arguments[0]=e=t.$handleEvent(e),t.search.apply(void 0,arguments)}}},[n("v-uni-input",{attrs:{type:"text",name:t.where.keyword,placeholder:"搜索商品","confirm-type":"search"},model:{value:t.where.keyword,callback:function(e){t.$set(t.where,"keyword",e)},expression:"where.keyword"}})],1)],1)],1),n("v-uni-view",{staticClass:"longTab"},[n("v-uni-scroll-view",{staticClass:"menu",staticStyle:{"white-space":"nowrap",display:"flex"},attrs:{"scroll-x":"true","scroll-with-animation":!0,"scroll-left":t.tabLeft,"show-scrollbar":"true"}},[t._l(t.menuList,(function(e,i){return n("v-uni-view",{key:i,staticClass:"longItem",class:i===t.tabClick?"click":"",style:"width:"+t.isWidth+"px",attrs:{"data-index":i,id:"id"+i},on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.selectMenu(e,i)}}},[t._v(t._s(e.name))])})),t.menuList.length?n("v-uni-view",{staticClass:"underlineBox",style:"transform:translateX("+t.isLeft+"px);width:"+t.isWidth+"px"},[n("v-uni-view",{staticClass:"underline bg-color-white"})],1):t._e()],2)],1)],1),t.shopList.length?n("v-uni-view",[t._l(t.shopList,(function(e,i){return[n("v-uni-view",{key:i+"_0",staticClass:"shop_list"},[n("v-uni-view",{staticClass:"shop_list_item"},[n("v-uni-view",{staticClass:"shop_list_item_shop"},[n("v-uni-view",{staticClass:"shop_list_item_shop_image"},[n("v-uni-image",{attrs:{src:e.image}}),1==e.spec_type?n("v-uni-text",{staticClass:"spec"},[t._v("多规格")]):t._e()],1),n("v-uni-view",{staticClass:"shop_list_item_shop_con"},[n("v-uni-view",{staticClass:"shop_list_item_shop_con_title line1"},[t._v(t._s(e.store_name))]),n("v-uni-view",{staticClass:"shop_list_item_shop_con_message"},[n("span",[t._v("库存:"+t._s(e.stock))]),n("span",[t._v("销量:"+t._s(e.sales))])]),n("v-uni-view",{staticClass:"shop_list_item_shop_con_price"},[n("span",[t._v("¥"+t._s(e.price))]),n("del",[t._v("¥"+t._s(e.ot_price))])])],1)],1),n("v-uni-view",{staticClass:"shop_list_item_handle"},[1==e.is_show&&1==e.status&&5!=t.type?n("v-uni-view",{staticClass:"shop_button",on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.upperShelfAndLowerShelf(e,i)}}},[t._v("下架")]):t._e(),0==e.is_show&&1==e.status&&5!=t.type?n("v-uni-view",{staticClass:"shop_button",on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.upperShelfAndLowerShelf(e,i)}}},[t._v("上架")]):t._e(),1!=t.type&&3!=t.type?n("v-uni-view",{staticClass:"shop_button",on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.handleDelete(e,i)}}},[t._v("删除")]):t._e(),5==t.type?n("v-uni-view",{staticClass:"shop_button",on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.reduction(e,i)}}},[t._v("恢复")]):t._e(),5!=t.type?n("v-uni-navigator",{staticClass:"shop_button",attrs:{url:"/pages/product/addGoods/index?mer_id="+t.merId+"&product_id="+e.product_id,"hover-class":"none"}},[t._v("编辑")]):t._e()],1)],1)],1)]}))],2):t._e(),n("Loading",{attrs:{loaded:t.loaded,loading:t.loading}})],1)},o=[]},"12ea":function(t,e,n){"use strict";n("6a54");var i=n("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.attrList=function(t,e){return o.default.get("server/".concat(t,"/attr/lst"),e,{login:!0})},e.categoryBrandlist=function(t){return o.default.get("server/".concat(t,"/category/brandlist"),{},{login:!0})},e.categoryList=function(t){return o.default.get("server/".concat(t,"/category/list"),{},{login:!0})},e.categorySelect=function(t){return o.default.get("server/".concat(t,"/category/select"),{},{login:!0})},e.getDeliveryType=function(t){return o.default.get("server
|