杨总惠通宝
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-addGoods-addG...

1 line
21 KiB

9 months ago
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-product-addGoods-addGoodDetils"],{"027e":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAUdJREFUWEe91+1VAkEMheF3KsBS7EDoADvRSrQT7UDogFK0gniCu55ldz6S7A785AD3YWYnySQReQA+gNeU0oU7vETkEXgDnpOInIAn4Bs49EYM4V+A/vGzAlSjiF1vxCz8B9gnXfF7ILLhKV2ugN6IUrjm/gN6IWrhC8DWiFZ4FrAVwhJeBKxFWMOrgCjCE94EeBHecBPAioiEmwEtRDTcBSghhjo21va/8upoajeFyNIIM2Vbv6aNxR3uXoFC2da3Q+FrAeOy6++EW3l0C6Z7roBwK3cBck/7sC3hecIMqB21NfOECWA551FEE2AJL5wO04NZBXjCo4giIBIeQWQBa8K9iAVgi3APIjeUhhtLrpe0Tsd8LN803LIS04tJl/AWYryadQ2vIiaX03BLtcwRBcT1cqrDxCfw4plkPKHzzw4P5jtw/AWJuVgew27bMwAAAABJRU5ErkJggg=="},"11b4":function(t,e,n){"use strict";n("7a82");var i=n("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=i(n("2e1e")),o=n("a5eb"),r={components:{inputGoodsDetils:a.default},data:function(){return{goodsDis:{imageList:[]}}},created:function(){this.initData()},methods:{initData:function(){(0,o.getStorage)("goodsDis")&&(this.goodsDis=(0,o.getStorage)("goodsDis"))},getProductContent:function(t){this.goodsDis=t},save:function(){(0,o.setStorage)("goodsDis",this.goodsDis),(0,o.navigateBack)(1)}}};e.default=r},1383:function(t,e,n){"use strict";n("7a82");var i=n("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=i(n("ade3"));n("a9e3"),n("14d9"),n("a434");n("a5eb");var o=n("8342"),r=i(n("a208")),s=i(n("3f30")),c={components:{avatar:r.default},props:{isShowDescribe:{type:Boolean,default:!1},isMultiple:{type:Boolean,default:!0},maxLength:{type:Number,default:12},title:{type:String,default:""},prodectContent:{type:Object,default:function(){return{imageList:[]}}}},data:function(){return{uploadImg:this.prodectContent.imageList,isUpload:!0,imgName:""}},watch:{prodectContent:{handler:function(t){this.$emit("getProductContent",t)},deep:!0},uploadImg:{handler:function(t){this.isMultiple?this.isUpload=t.length<6:this.isUpload=t.length<1},deep:!0}},mounted:function(){},methods:{handleChooseImage:function(){var t=this;t.$util.uploadImageOne("upload/image",(function(e){t.uploadImg.push(e.data.path),t.$set(t.prodectContent,"imageList",t.uploadImg)}))},clk:function(){var t=this.$refs.avatar;t.fChooseImg(1,{selWidth:"350upx",selHeight:"350upx",inner:!0})},doUpload:function(t){var e=this;uni.uploadFile({url:o.HTTP_REQUEST_URL+"/api/upload/image/field",filePath:t.path,name:"field",formData:{filename:t.path,name:e.imgName},header:(0,a.default)({},o.TOKENNAME,"Bearer "+s.default.state.app.token),success:function(t){var n=JSON.parse(t.data);e.prodectContent.imageList.push(n.data.path)},complete:function(t){}})},getImgName:function(t){this.imgName=t},deleteImage:function(t){this.prodectContent.imageList.splice(t,1),this.uploadImg=this.prodectContent.imageList}}};e.default=c},"1e3a":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFoAAABKCAYAAAA7fkOZAAAAAXNSR0IArs4c6QAABo5JREFUeF7tXO1xHDcMJSuIXUGUCixVYHEbiFxBlAqiVBClgkgVxKogcgMLuYLIFUSpIHIFzLwd8IbHw2o/Dvw4+fhHM7r9IB+xD8AjSGsyNyL6zRhzYYw5zfyqtY9/NMY8GGN+d849r33I1H126oJ9fieivxjkfR5T6l4A7nKBnQ1oIroyxvxRCiWl99w55y6VnrX1mCxAE9EbY8w/xhj8HZr3/osxJtunuRYca+375N4fnHNPa583dl8uoFNrBv9da3de43nCl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