(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-product-addGoods-freightTemplate~pages-product-addGoods-mulSpecification~pages-product-recycle~b8fa2a8e"],{1067:function(t,e,n){"use strict";n.r(e);var o=n("b3ec"),r=n("1f45");for(var a in r)["default"].indexOf(a)<0&&function(t){n.d(e,t,(function(){return r[t]}))}(a);n("c8ec");var c=n("f0c5"),i=Object(c["a"])(r["default"],o["b"],o["c"],!1,null,"626629ce",null,!1,o["a"],void 0);e["default"]=i.exports},"1f45":function(t,e,n){"use strict";n.r(e);var o=n("b6cb"),r=n.n(o);for(var a in o)["default"].indexOf(a)<0&&function(t){n.d(e,t,(function(){return o[t]}))}(a);e["default"]=r.a},"6c1a":function(t,e,n){"use strict";n("7a82");var o=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,o){uni.showActionSheet({itemList:t,itemColor:e,success:function(t){n(t.tapIndex)},fail:function(t){o(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]:"这是一个模态弹窗!",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{showCancel:!0,cancelText:"取消",confirmText:"确定"};return new Promise((function(o,r){uni.showModal((0,a.default)((0,a.default)({title:t,content:e},n),{},{success:function(t){t.confirm&&o(),t.cancel&&r()}}))}))},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]:{},o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:800,r=(0,a.default)({title:t,duration:o,position:"center",mask:!0,icon:e||"none"},n);uni.showToast(r)},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=c,e.formatDate=i,e.getQuarterStartDate=function(){var t=new Date(l,function(){var t=0;s<3&&(t=0);28&&(t=9);return t}(),1);return i(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 o=e,r="navigateTo";switch(o=n?o+"?"+c(n):o,t){case 1:r="navigateTo";break;case 2:r="redirectTo";break;case 3:r="reLaunch";break;case 4:r="switchTab";break;default:r="navigateTo";break}uni[r]({url:o,animationType:"slide-in-right",animationDuration:200})},e.pathToBase64=function(t){return new Promise((function(e,n){if("object"===("undefined"===typeof window?"undefined":(0,r.default)(window))&&"document"in window){if("function"===typeof FileReader){var o=new XMLHttpRequest;return o.open("GET",t,!0),o.responseType="blob",o.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)}},o.onerror=n,void o.send()}var a=document.createElement("canvas"),c=a.getContext("2d"),i=new Image;return i.onload=function(){a.width=i.width,a.height=i.height,c.drawImage(i,0,0),e(a.toDataURL()),a.height=a.width=0},i.onerror=n,void(i.src=t)}"object"!==("undefined"===typeof plus?"undefined":(0,r.default)(plus))?"object"===("undefined"===typeof wx?"undefined":(0,r.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 o=new plus.io.FileReader;o.onload=function(t){e(t.target.result)},o.onerror=function(t){n(t)},o.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 i(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),i(t,"yyyy-MM-dd")},e.throttle=function(t,e){var n,o;e=e||200;return function(){for(var r=this,a=arguments.length,c=new Array(a),i=0;i