|
|
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-product-goodsOnSale-index"],{"01c6":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.$createElement,e=this._self._c||t;return e("v-uni-view",[this.loading&&!this.loaded?e("v-uni-view",{staticClass:"Loads acea-row row-center-wrapper",staticStyle:{"margin-top":".2rem"}},[this.loading?e("v-uni-view",[e("v-uni-view",{staticClass:"iconfont icon-jiazai loading acea-row row-center-wrapper"}),this._v("正在加载中")],1):e("v-uni-view",[this._v("上拉加载更多")])],1):this._e()],1)},o=[]},"06aa":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/* 文章场景相关 */.title[data-v-1129d633]{background:#fff}.title .search[data-v-1129d633]{padding:%?30?% %?25?%}.title .menu[data-v-1129d633]{padding:%?0?% %?25?%}.title .menu_list[data-v-1129d633]{display:flex}.title .menu_list_item[data-v-1129d633]{margin-right:%?70?%;white-space:nowrap;padding-bottom:%?24?%}.title .menu_list .selectMenuId[data-v-1129d633]{border-bottom:%?6?% solid #e93323}.longTab[data-v-1129d633]{display:flex;width:100%;padding-bottom:%?20?%}.longTab .longItem[data-v-1129d633]{height:%?50?%;display:inline-block;line-height:%?50?%;text-align:center;font-size:%?30?%;color:#282828;max-width:%?160?%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;overflow-x:scroll;overflow-y:hidden;\n /*解决ios上滑动不流畅*/-webkit-overflow-scrolling:touch}.longTab .longItem.click[data-v-1129d633]{font-weight:700;font-size:%?30?%;color:#e93323}.longTab .longItem.click .underline[data-v-1129d633]{opacity:1}.longTab .underlineBox[data-v-1129d633]{height:3px;width:20%;display:flex;align-content:center;justify-content:center;transition:.5s}.longTab .underlineBox .underline[data-v-1129d633]{width:%?60?%;height:%?4?%;background-color:#e93323}.title_search[data-v-1129d633]{background:#f5f5f5;border-radius:%?30?%;height:%?60?%;padding-left:%?60?%;position:relative}.title_search .iconfont[data-v-1129d633]{position:absolute;top:50%;margin-top:%?-14?%;left:%?30?%;font-size:%?28?%}.title_search uni-input[data-v-1129d633]{height:%?60?%;font-size:%?26?%;margin-left:%?20?%}.shop_button[data-v-1129d633]{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}.shop_list[data-v-1129d633]{margin-top:%?20?%;padding:0 %?20?%}.shop_list_item[data-v-1129d633]{padding:%?30?%;background:#fff;border-radius:10px;margin-bottom:%?20?%}.shop_list_item_shop[data-v-1129d633]{display:flex;position:relative}.shop_list_item_shop_image[data-v-1129d633],\n.shop_list_item_shop uni-image[data-v-1129d633]{width:%?150?%;height:%?150?%;border-radius:%?16?%;position:relative}.shop_list_item_shop_image uni-image[data-v-1129d633],\n.shop_list_item_shop uni-image uni-image[data-v-1129d633]{width:%?150?%;height:%?150?%}.shop_list_item_shop .spec[data-v-1129d633]{color:#fff;background:rgba(0,0,0,.5);border-radius:%?16?% 0 %?16?% 0;text-align:center;font-size:%?18?%;display:inline-block;width:%?84?%;line-height:%?30?%;position:absolute;bottom:0;right:0}.shop_list_item_shop_con[data-v-1129d633]{flex:1;display:flex;flex-direction:column;margin-left:%?20?%;padding-bottom:%?12?%}.shop_list_item_shop_con_title[data-v-1129d633]{font-size:%?28?%;color:#282828;max-width:%?500?%;padding-top:%?4?%}.shop_list_item_shop_con_message[data-v-1129d633]{margin-top:%?15?%;font-size:%?22?%;color:#868686}.shop_list_item_shop_con_message > span[data-v-1129d633]:nth-child(1){display:inline-block;margin-right:%?20?%}.shop_list_item_shop_con_price[data-v-1129d633]{margin-top:%?10?%}.shop_list_item_shop_con_price > span[data-v-1129d633]{display:inline-block;margin-right:%?7?%;font-size:%?30?%;color:#e93323}.shop_list_item_shop_con_price > del[data-v-1129d633]{color:#bebebe;font-size:%?26?%}.shop_list_item_handle[data-v-1129d633]{display:flex;justify-content:flex-end}.shop_list_item_handle > uni-view[data-v-1129d633]{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},"0a76":function(t,e,n){var i=n("df07");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var o=n("4f06").default;o("83a82ec8",i,!0,{sourceMap:!1,shadowMode:!1})},"0e64":function(t,e,n){"use strict";var i=n("b128"),o=n.n(i);o.a},"1ea6":function(t,e,n){"use strict";n("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i={name:"Loading",props:{loaded:{type:Boolean,default:!1},loading:{type:Boolean,default:!1}}};e.default=i},3715: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=[]},"6fa0":function(t,e,n){"use strict";n("7a82");var i=n("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=i(n("ade3")),a=i(n("5530"));n("a9e3"),n("14d9"),n("d3b7"),n("159b"),n("a434");var r=n("fdb9"),s=i(n("b90c")),c=n("a5eb"),d={components:{Loading:s.default},data:function(){return{type:1,tabClick:0,tabLeft:0,isLeft:0,isWidth:0,childIndex:0,menuList:[],merId:"",shopList:[],loaded:!1,loading:!1,where:{page:1,limit:15,keyword:""},canNotReade:!0}},created:function(){var t=this;uni.getSystemInfo({success:function(e){t.isWidth=e.windowWidth/5}})},onLoad:function(t){this.merId=t.mer_id,this.getProductTitle(),this.$set(this,"type",t.type?Number(t.type):1),this.initData()},onShow:function(){},onReachBottom:function(){this.initData()},methods:{initData:function(){var t=this;t.loading||t.loaded||(t.loading=!0,(0,r.productLstApi)(this.merId,(0,a.default)((0,a.default)({},this.where),{},{type:this.type})).then((function(e){t.loading=!1,t.loaded=e.data.list.length<t.where.limit,t.shopList.push.apply(t.shopList,e.data.list),t.where.page=t.where.page+1}),(function(e){t.$util.Tips({title:e.msg})})))},search:function(){this.loading=this.loaded=!1,this.where.page=1,this.shopList=[],this.initData()},getProductTitle:function(){var t=this;(0,r.productTitle)(this.merId).then((function(e){t.menuList=e.data;var n=1;t.menuList.forEach((function(e,i){e.type==t.type&&(n=i)})),t.setMenuLeft(n)}))},selectMenu:function(t,e){this.type=t.type,this.loading=this.loaded=!1,this.where.page=1,this.shopList=[],this.setMenuLeft(e)},setMenuLeft:function(t){if(this.childIndex=0,this.menuList.length>5){var e=t-2;e=e<=0?0:e;var n=(t-2)*this.isWidth;this.$nextTick((function(){this.$set(this,"tabLeft",n)}))}this.tabClick=t,this.isLeft=t*this.isWidth,this.initData()},reduction:function(t,e){var n=this;(0,c.Modal)("温馨提示",'商品"'.concat(t.store_name,'",将被还原,请问是否继续')).then((function(){(0,r.productRestore)(n.merId,t.product_id).then((function(t){n.$util.Tips({title:t.message,icon:"success"}),n.shopList.splice(e,1)}))}))},editGoods:function(t){["addGoodsFormData","singleSpecification","attrValue","modifyPriceData","addGoodsSecoundData","goodsDis","editGoodsDetils","canChange","canChangeSecound"].forEach((function(t){(0,c.getStorage)(t)&&(0,c.removeStorage)(t)})),(0,c.navigateTo)(1,"/pages/product/addGoods/index",(0,o.default)({mer_id:this.merId,type:"edit",product_id:t.product_id},"type","edit"))},handleDelete:function(t,e){var n=this;1==t.is_del?(0,c.Modal)("温馨提示",'商品"'.concat(t.store_name,'"将被删除,请问是否继续?')).then((function(i){(0,r.productDestory)(n.merId,t.product_id).then((function(t){n.shopList.splice(e,1),(0,c.Toast)("删除成功")})).catch((function(t){(0,c.Toast)("".concat(t))}))})):(0,c.Modal)("温馨提示",'商品"'.concat(t.store_name,'"将被加入回收站,请问是否继续?')).then((function(i){(0,r.productDeleteApi)(n.merId,t.product_id).then((function(t){n.shopList.splice(e,1),(0,c.Toast)("已加入回收站")})).catch((function(t){(0,c.Toast)("".concat(t,", 加入回收站失败"))}))}))},upperShelfAndLowerShelf:function(t,e){var n=this,i=1==t.is_show?0:1;(0,r.productOffApi)(this.merId,t.product_id,{status:i}).then((function(t){n.$util.Tips({title:t.message,icon:"success"}),n.shopList.splice(e,1)})).catch((function(t){return n.$util.Tips({title:t})}))},handleMethod:function(t,e,n){1!=t.id?2!=t.id||this.addToRecycleBin(e,n):this.upperShelfAndLowerShelf(e,n)}}};e.default=d},7763:function(t,e,n){"use strict";var i=n("0a76"),o=n.n(i);o.a},a5eb:function(t,e,n){"use strict";n("7a82");var i=n("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.ActionSheet=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"#000000";return new Promise((function(n,i){uni.showActionSheet({itemList:t,itemColor:e,success:function(t){n(t.tapIndex)},fail:function(t){i(t.errMsg)}})}))},e.Authorize=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"scope.userInfo";return new Promise((function(e,n){uni.authorize({scope:t,success:function(t){e(t)},fail:function(t){n(t)}})}))},e.GetUserInfo=function(){return new Promise((function(t,e){uni.getUserInfo({success:function(e){t(e)},fail:function(t){e(t)}})}))},e.Loading=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"正在加载...",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};uni.showLoading((0,a.default)({title:t,mask:!0},e))},e.Modal=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"提示",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"这是一个模态弹窗!";return new Promise((function(n,i){uni.showModal({title:t,content:e,success:function(t){t.confirm&&n(),t.cancel&&i()}})}))},e.ScrollTo=function(t){uni.pageScrollTo({scrollTop:t,duration:300})},e.Toast=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"none",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:800,o=(0,a.default)({title:t,duration:i,position:"center",mask:!0,icon:e||"none"},n);uni.showToast(o)},e.chooseImage=function(t){return new Promise((function(e,n){uni.chooseImage({count:t,sizeType:["original","compressed"],sourceType:["album","camera"],success:function(t){e(t)},fail:function(t){n(t)}})}))},e.clearStorage=function(){try{uni.clearStorageSync()}catch(t){throw new Error("处理失败")}},e.convertObj=r,e.formatDate=s,e.getQuarterStartDate=function(){var t=new Date(l,function(){var t=0;d<3&&(t=0);2<d&&d<6&&(t=3);5<d&&d<9&&(t=6);d>8&&(t=9);return t}(),1);return s(t,"yyyy-MM-dd")},e.getStorage=function(t){var e=uni.getStorageSync(t);try{"number"!=typeof JSON.parse(e)&&(e=JSON.parse(e))}catch(n){}return e},e.hideLoading=function(){try{uni.hideLoading()}catch(t){throw new Error("处理失败")}},e.navigateBack=function(t){uni.navigateBack({delta:t})},e.navigateTo=function(t,e,n){var i=e,o="navigateTo";switch(i=n?i+"?"+r(n):i,t){case 1:o="navigateTo";break;case 2:o="redirectTo";break;case 3:o="reLaunch";break;case 4:o="switchTab";break;default:o="navigateTo";break}uni[o]({url:i,animationType:"slide-in-right",animationDuration:200})},e.pathToBase64=function(t){return new Promise((function(e,n){if("object"===("undefined"===typeof window?"undefined":(0,o.default)(window))&&"document"in window){if("function"===typeof FileReader){var i=new XMLHttpRequest;return i.open("GET",t,!0),i.responseType="blob",i.onload=function(){if(200===this.status){var t=new FileReader;t.onload=function(t){e(t.target.result)},t.onerror=n,t.readAsDataURL(this.response)}},i.onerror=n,void i.send()}var a=document.createElement("canvas"),r=a.getContext("2d"),s=new Image;return s.onload=function(){a.width=s.width,a.height=s.height,r.drawImage(s,0,0),e(a.toDataURL()),a.height=a.width=0},s.onerror=n,void(s.src=t)}"object"!==("undefined"===typeof plus?"undefined":(0,o.default)(plus))?"object"===("undefined"===typeof wx?"undefined":(0,o.default)(wx))&&wx.canIUse("getFileSystemManager")?wx.getFileSystemManager().readFile({filePath:t,encoding:"base64",success:function(t){e("data:image/png;base64,"+t.data)},fail:function(t){n(t)}}):n(new Error("not support")):plus.io.resolveLocalFileSystemURL(getLocalFilePath(t),(function(t){t.file((function(t){var i=new plus.io.FileReader;i.onload=function(t){e(t.target.result)},i.onerror=function(t){n(t)},i.readAsDataURL(t)}),(function(t){n(t)}))}),(function(t){n(t)}))}))},e.removeStorage=function(t){t&&uni.removeStorageSync(t)},e.serialize=function(t){if(null!=t&&""!=t)try{return JSON.parse(JSON.stringify(t))}catch(e){return t instanceof Array?[]:{}}return t},e.setStorage=function(t,e){if("string"==typeof e)return uni.setStorageSync(t,e),e;uni.setStorageSync(t,JSON.stringify(e))},e.showMonthFirstDay=function(){var t=(new Date).setDate(1);return s(new Date(t).getTime(),"yyyy-MM-dd")},e.showWeekFirstDay=function(){var t=new Date,e=t.getDay()||7;return t.setDate(t.getDate()-e+1),s(t,"yyyy-MM-dd")},e.throttle=function(t,e){var n,i;e=e||200;return function(){for(var o=this,a=arguments.length,r=new Array(a),s=0;s<a;s++)r[s]=arguments[s];n=r,i||(i=setTimeout((function(){i=null,t.apply(o,n)}),e))}},e.unique=function(t){t=t||[];for(var e={},n=0;n<t.length;n++){var i=JSON.stringify(t[n]);"undefined"==typeof i&&(e[i]=1)}for(var n in t.length=0,e)t[t.length]=n;return t};var o=i(n("53ca")),a=i(n("5530"));function r(t){var e,n=[];return Object.keys(t).forEach((function(e){n.push("".concat(e,"=").concat(t[e]))})),e=n.join("&"),e}function s(t,e){return t?(e=e||"yyyy-MM-dd hh:mm:ss",new Date(t).format(e)):""}n("e9c4"),n("d9e2"),n("d401"),n("d3b7"),n("159b"),n("b64b"),n("14d9"),n("99af"),n("ac1f"),n("00b4"),n("5319"),n("4d63"),n("c607"),n("2c3e"),n("25f0"),Date.prototype.format=function(t){var e={"M+":this.getMonth()+1,"d+":this.getDate(),"h+":this.getHours(),"m+":this.getMinutes(),"s+":this.getSeconds(),"q+":Math.floor((this.getMonth()+3)/3),S:this.getMilliseconds()};for(var n in/(y+)/.test(t)&&(t=t.replace(RegExp.$1,String(this.getFullYear()).substr(4-RegExp.$1.length))),e)new RegExp("("+n+")").test(t)&&(t=t.replace(RegExp.$1,1==RegExp.$1.length?e[n]:("00"+e[n]).substr(String(e[n]).length)));return t};var c=new Date,d=c.getMonth(),l=c.getYear();l+=l<2e3?1900:0},a9e2:function(t,e,n){"use strict";n.r(e);var i=n("3715"),o=n("a9fc");for(var a in o)["default"].indexOf(a)<0&&function(t){n.d(e,t,(function(){return o[t]}))}(a);n("0e64");var r=n("f0c5"),s=Object(r["a"])(o["default"],i["b"],i["c"],!1,null,"1129d633",null,!1,i["a"],void 0);e["default"]=s.exports},a9fc:function(t,e,n){"use strict";n.r(e);var i=n("6fa0"),o=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"]=o.a},b128:function(t,e,n){var i=n("06aa");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var o=n("4f06").default;o("b0b1a072",i,!0,{sourceMap:!1,shadowMode:!1})},b90c:function(t,e,n){"use strict";n.r(e);var i=n("01c6"),o=n("cc26");for(var a in o)["default"].indexOf(a)<0&&function(t){n.d(e,t,(function(){return o[t]}))}(a);n("7763");var r=n("f0c5"),s=Object(r["a"])(o["default"],i["b"],i["c"],!1,null,"0566d5ee",null,!1,i["a"],void 0);e["default"]=s.exports},cc26:function(t,e,n){"use strict";n.r(e);var i=n("1ea6"),o=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"]=o.a},df07:function(t,e,n){var i=n("24fb");e=i(!1),e.push([t.i,".Loads[data-v-0566d5ee]{height:%?80?%;font-size:%?25?%;color:#000}.Loads .iconfont[data-v-0566d5ee]{font-size:%?30?%;margin-right:%?10?%;height:%?32?%;line-height:%?32?%}\n/*加载动画*/@-webkit-keyframes load-data-v-0566d5ee{from{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes load-data-v-0566d5ee{from{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}.loadingpic[data-v-0566d5ee]{-webkit-animation:load-data-v-0566d5ee 3s linear 1s infinite;animation:load-data-v-0566d5ee 3s linear 1s infinite}.loading[data-v-0566d5ee]{-webkit-animation:load-data-v-0566d5ee linear 1s infinite;animation:load-data-v-0566d5ee linear 1s infinite}",""]),t.exports=e},fdb9:function(t,e,n){"use strict";n("7a82");var i=n("4ea4").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/".concat(t,"/product/config"),{},{login:!0})},e.merClassifyAdd=function(t,e){return o.default.post("server/".concat(t,"/category/create"),e,{login:!0})},e.merClassifyDetail=function(t,e){return o.default.get("server/".concat(t,"/category/detail/").concat(e),{},{login:!0})},e.merClassifyLst=function(t){return o.default.get("server/".concat(t,"/category/select"),{},{login:!0})},e.merClassifyUpdate=function(t,e,n){return o.default.post("server/".concat(t,"/category/update/").concat(e),n,{login:!0})},e.productCreate=function(t,e){return o.default.post("server/".concat(t,"/product/create"),e,{login:!0})},e.productDeleteApi=function(t,e){return o.default.post("server/".concat(t,"/product/delete/").concat(e),{},{login:!0})},e.productDestory=function(t,e,n){return o.default.post("server/".concat(t,"/product/destory/").concat(e),n,{login:!0})},e.productDetail=function(t,e){return o.default.get("server/".concat(t,"/product/detail/").concat(e),{},{login:!0})},e.productLstApi=function(t,e){return o.default.get("server/".concat(t,"/product/lst"),e,{login:!0})},e.productOffApi=function(t,e,n){return o.default.post("server/".concat(t,"/product/status/").concat(e),n,{login:!0})},e.productRecommendApi=function(t,e,n){return o.default.post("server/".concat(t,"/product/good/").concat(e),n,{login:!0})},e.productRestore=function(t,e){return o.default.post("server/".concat(t,"/product/restore/").concat(e),{},{login:!0})},e.productTitle=function(t,e){return o.default.get("server/".concat(t,"/product/title"),e,{login:!0})},e.productUpdate=function(t,e,n){return o.default.post("server/".concat(t,"/product/update/").concat(e),n,{login:!0})},e.specificationAdd=function(t,e){return o.default.post("server/".concat(t,"/attr/create"),e,{login:!0})},e.specificationDel=function(t,e){return o.default.post("server/".concat(t,"/attr/delete"),e,{login:!0})},e.specificationDetail=function(t,e){return o.default.get("server/".concat(t,"/attr/detail/").concat(e),{},{login:!0})},e.specificationLst=function(t,e){return o.default.get("server/".concat(t,"/attr/lst"),e,{login:!0})},e.specificationUpdate=function(t,e,n){return o.default.post("server/".concat(t,"/attr/update/").concat(e),n,{login:!0})},e.storeClassifyDel=function(t,e){return o.default.post("server/".concat(t,"/category/delete/").concat(e),{},{login:!0})},e.storeClassifyLst=function(t){return o.default.get("server/".concat(t,"/category/lst"),{},{login:!0})},e.templateCreate=function(t,e){return o.default.post("server/".concat(t,"/template/create"),e,{login:!0})},e.templateDelete=function(t,e){return o.default.post("server/".concat(t,"/template/delete"),e,{login:!0})},e.templateDetail=function(t,e){return o.default.get("server/".concat(t,"/template/detail/").concat(e),{},{login:!0})},e.templateList=function(t,e){return o.default.get("server/".concat(t,"/template/lst"),e,{login:!0})},e.templateUpdate=function(t,e,n){return o.default.post("server/".concat(t,"/template/update/").concat(e),n,{login:!0})},n("99af");var o=i(n("b5ef"))}}]); |