zx/public/static/js/pages-product-recycleBin-in...

1 line
8.6 KiB
JavaScript
Raw Permalink Normal View History

2024-07-02 15:32:59 +08:00
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-product-recycleBin-index"],{"1a71":function(t,e,n){"use strict";n.r(e);var i=n("43ee"),s=n.n(i);for(var a in i)["default"].indexOf(a)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(a);e["default"]=s.a},"1c68":function(t,e,n){"use strict";n.r(e);var i=n("cb72"),s=n("5bd4");for(var a in s)["default"].indexOf(a)<0&&function(t){n.d(e,t,(function(){return s[t]}))}(a);n("af65");var o=n("828b"),c=Object(o["a"])(s["default"],i["b"],i["c"],!1,null,"e5ab7d84",null,!1,i["a"],void 0);e["default"]=c.exports},"2cc6":function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return s})),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:"shop_list"},[n("v-uni-view",{staticClass:"shop_list_item"},[n("v-uni-view",{staticClass:"shop_list_item_shop"},[t.isShowImg?n("v-uni-view",{staticClass:"shop_list_item_shop_image"},[n("v-uni-image",{attrs:{src:t.itemObject.image,mode:"widthFix"}})],1):t._e(),n("v-uni-view",{staticClass:"shop_list_item_shop_con"},[n("v-uni-view",{staticClass:"shop_list_item_shop_con_title"},[t._v(t._s(t.itemObject.store_name))]),n("v-uni-view",{staticClass:"shop_list_item_shop_con_message"},[n("span",[t._v("库存:"+t._s(t.itemObject.stock))]),n("span",[t._v("销量:"+t._s(t.itemObject.sales))])]),n("v-uni-view",{staticClass:"shop_list_item_shop_con_price"},[n("span",[t._v("¥"+t._s(t.itemObject.price))]),n("del",[t._v("¥"+t._s(t.itemObject.ot_price))])])],1)],1),n("v-uni-view",{staticClass:"shop_list_item_handle"},[t._t("default")],2)],1)],1)},s=[]},3417:function(t,e,n){"use strict";n("6a54");var i=n("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,n("c223"),n("bf0f"),n("2797"),n("dd2b");var s=i(n("9b1b")),a=i(n("58c3")),o=i(n("4c4c")),c=n("12ea"),d=n("c25d"),r={components:{shopItem:a.default,search:o.default},data:function(){return{merId:"",where:{page:1,limit:15},shopList:[],selectMenuId:5}},onLoad:function(t){this.merId=t.mer_id,this.initData()},onReachBottom:function(){this.where.page++,this.initData("concat")},methods:{initData:function(t){var e=this;(0,c.productLstApi)(this.merId,(0,s.default)((0,s.default)({},this.where),{},{type:this.selectMenuId})).then((function(n){e.shopList="concat"==t?e.shopList.concat(n.data.list):n.data.list,e.shopList.forEach((function(t){e.$set(t,"handleList",[{id:1,label:"删除"},{id:2,label:"还原"}])}))}))},handleProductDestory:function(t,e){var n=this;(0,d.Modal)("温馨提示",'商品"'.concat(t.store_name,'", 将被彻底删除,请问是否继续')).then((function(){(0,c.productDestory)(n.merId,t.product_id).then((function(t){n.$util.Tips({title:t.message,icon:"success"}),n.shopList.splice(e,1)}))}))},handleProductRestore:function(t,e){var n=this;(0,d.Modal)("温馨提示",'商品"'.concat(t.store_name,'",将被还原,请问是否继续')).then((function(){(0,c.productRestore)(n.merId,t.product_id).then((function(t){n.$util.Tips({title:t.message,icon:"success"}),n.shopList.splice(e,1)}))}))},handleMethod:function(t,e,n){1!=t.id?2==t.id&&this.handleProductRestore(e,n):this.handleProductDestory(e,n)}}};e.default=r},"43ee":function(t,e,n){"use strict";n("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,n("64aa");var i={props:{isShowImg:{type:Boolean,default:!1},itemObject:{type:Object,default:function(){return{}}},index:{type:Number|String,default:0}},data:function(){return{}},created:function(){},methods:{handleMethod:function(t,e){this.$emit("handleMethod",t,e,this.index)}}};e.default=i},"5075b":function(t,e,n){var i=n("c86c");e=i(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场https://ext.dcloud.net.cn上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者建议你使用scss预处理并在插件代码中直接使用这些变量无需 import 这个文件方便用户通过搭积木的方式开发整体风格<E9A38E>