杨总惠通宝
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
htb_backend/public/static/js/pages-product-recycleBin-in...

1 lines
8.6 KiB

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-product-recycleBin-index"],{"2b02":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:"container"},[n("v-uni-view",{staticClass:"search"},[n("search")],1),t._l(t.shopList,(function(e,i){return n("shop-item",{key:i,attrs:{itemObject:e},on:{handleMethod:function(e){arguments[0]=e=t.$handleEvent(e),t.handleMethod.apply(void 0,arguments)}}})}))],2)},s=[]},"2c09":function(t,e,n){"use strict";var i=n("e32a"),s=n.n(i);s.a},"2e86":function(t,e,n){"use strict";n("7a82");var i=n("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,n("99af"),n("d3b7"),n("159b"),n("a434");var s=i(n("5530")),a=i(n("8c11")),o=i(n("816e")),d=n("fdb9"),c=n("a5eb"),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,d.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,c.Modal)("温馨提示",'商品"'.concat(t.store_name,'", 将被彻底删除,请问是否继续')).then((function(){(0,d.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,c.Modal)("温馨提示",'商品"'.concat(t.store_name,'",将被还原,请问是否继续')).then((function(){(0,d.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},"470a":function(t,e,n){"use strict";n.r(e);var i=n("86d8"),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},"52ac":function(t,e,n){"use strict";var i=n("e8ff"),s=n.n(i);s.a},5673: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=[]},"86d8":function(t,e,n){"use strict";n("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,n("a9e3");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},"8c11":function(t,e,n){"use strict";n.r(e);var i=n("5673"),s=n("470a");for(var a in s)["default"].indexOf(a)<0&&function(t){n.d(e,t,(function(){return s[t]}))}(a);n("2c09");var o=n("f0c5"),d=Object(o["a"])(s["default"],i["b"],i["c"],!1,null,"19df1ed3",null,!1,i["a"],void 0);e["default"]=d.exports},9924:function(t,e,n){"use strict";n.r(e);var i=n("2e86"),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},ab21:function(t,e,n){var i=n("24fb");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 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.search[data-v-67595627]{padding:%?30?% %?25?%;background:#fff}',""]),t.exports=e},c6c9:function(t,e,n){var i=n("24fb");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 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.shop_list[data-v-19df1ed3]{margin-top:%?20?%;padding:0 %?20?%}.shop_list_item[data-v-19df1ed3]{padding:%?30?%;background:#fff;border-radius:10px;margin-bottom:%?20?%}.shop_list_item_shop[data-v-19df1ed3]{display:flex}.shop_list_item_shop_image[data-v-19df1ed3]{width:%?150?%;height:%?150?%;background:#eee;border-radius:16px;overflow:hidden}.shop_list_item_shop_image uni-image[data-v-19df1ed3]{width:100%}.shop_list_item_shop_con[data-v-19df1ed3]{flex:1;display:flex;flex-direction:column;margin-left:%?20?%;padding-bottom:%?12?%}.shop_list_item_shop_con_title[data-v-19df1ed3]{font-size:%?28?%;color:#282828;padding-top:%?4?%}.shop_list_item_shop_con_message[data-v-19df1ed3]{margin-top:%?15?%;font-size:%?22?%;color:#868686}.shop_list_item_shop_con_message > span[data-v-19df1ed3]:nth-child(1){display:inline-block;margin-right:%?20?%}.shop_list_item_shop_con_price[data-v-19df1ed3]{margin-top:%?10?%}.shop_list_item_shop_con_price > span[data-v-19df1ed3]{display:inline-block;margin-right:%?7?%;font-size:%?30?%;color:#e93323}.shop_list_item_shop_con_price > del[data-v-19df1ed3]{color:#bebebe;font-size:%?26?%}.shop_list_item_handle[data-v-19df1ed3]{display:flex;justify-content:flex-end}.shop_list_item_handle > uni-view[data-v-19df1ed3]{margin-left:%?18?%;padding:0 %?34?%;height:%?60?%;border:1px solid #c7c7c7;border-radius:30px;display:flex;align-items:center;justify-content:center;margin-top:%?30?%;font-size:%?26?%;color:#999}',""]),t.exports=e},e089:function(t,e,n){"use strict";n.r(e);var i=n("2b02"),s=n("9924");for(var a in s)["default"].indexOf(a)<0&&function(t){n.d(e,t,(function(){return s[t]}))}(a);n("52ac");var o=n("f0c5"),d=Object(o["a"])(s["default"],i["b"],i["c"],!1,null,"67595627",null,!1,i["a"],void 0);e["default"]=d.exports},e32a:function(t,e,n){var i=n("c6c9");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var s=n("4f06").default;s("0f2f832d",i,!0,{sourceMap:!1,shadowMode:!1})},e8ff:function(t,e,n){var i=n("ab21");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var s=n("4f06").default;s("4de9e32d",i,!0,{sourceMap:!1,shadowMode:!1})}}]);