1 line
132 KiB
JavaScript
1 line
132 KiB
JavaScript
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-product-addGoods-index","pages-product-addGoods-secound"],{"0130":function(t,e,a){"use strict";a.d(e,"b",(function(){return i})),a.d(e,"c",(function(){return n})),a.d(e,"a",(function(){}));var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-uni-view",{staticClass:"container_input"},t._l(t.platformClassification,(function(e,i){return e.DoNotShow?t._e():a("v-uni-view",{key:i,staticClass:"container_input_item",on:{click:function(a){arguments[0]=a=t.$handleEvent(a),t.selectItem(e)}}},["select"==e.type||"input"==e.type||"switch"==e.type||"number"==e.type||"digit"==e.type?a("v-uni-view",{staticClass:"select_and_input"},[a("v-uni-view",{staticClass:"container_input_item_label"},[-1!=Object.keys(e).indexOf("select")?a("v-uni-text",{staticClass:"select_check",class:{select:e.select},on:{click:function(a){a.stopPropagation(),arguments[0]=a=t.$handleEvent(a),t.selectRadio(e)}}},[e.select?a("v-uni-text",{staticClass:"iconfont"},[t._v("")]):t._e()],1):t._e(),a("v-uni-text",{staticClass:"select_label line1"},[t._v(t._s(e.label))])],1),"select"==e.type?a("v-uni-view",{staticClass:"container_input_item_value greyColor"},[e.value?a("v-uni-text",{staticClass:"text"},[t._v(t._s(e.value))]):a("v-uni-text",[t._v(t._s(e.holder))]),a("v-uni-text",{staticClass:"iconfont"},[t._v("")])],1):t._e(),"number"==e.type?a("v-uni-view",{staticClass:"container_input_item_value"},[a("v-uni-input",{attrs:{type:"number",value:"",placeholder:e.holder,"placeholder-class":"inputPlaceHolder"},model:{value:t.formData[e.model],callback:function(a){t.$set(t.formData,e.model,a)},expression:"formData[item.model]"}})],1):t._e(),"digit"==e.type?a("v-uni-view",{staticClass:"container_input_item_value"},[a("v-uni-input",{attrs:{type:"digit",value:"",placeholder:e.holder,"placeholder-class":"inputPlaceHolder"},model:{value:t.formData[e.model],callback:function(a){t.$set(t.formData,e.model,a)},expression:"formData[item.model]"}})],1):t._e(),"input"==e.type?a("v-uni-view",{staticClass:"container_input_item_value"},[a("v-uni-input",{attrs:{type:"text",value:"",placeholder:e.holder,"placeholder-class":"inputPlaceHolder"},model:{value:t.formData[e.model],callback:function(a){t.$set(t.formData,e.model,a)},expression:"formData[item.model]"}})],1):t._e(),"switch"==e.type?a("v-uni-view",{staticClass:"container_input_item_value"},[a("v-uni-switch",{staticStyle:{transform:"scale(0.8)"},attrs:{checked:1==t.formData[e.model],color:"#E93323"},on:{change:function(a){arguments[0]=a=t.$handleEvent(a),t.switchChange(a,e)}}})],1):t._e()],1):t._e(),"radio"==e.type||"check"==e.type?a("v-uni-view",{staticClass:"radio"},[a("v-uni-view",{staticClass:"container_input_item_label"},[t._v(t._s(e.label))]),"radio"==e.type?a("v-uni-view",{staticClass:"container_input_item_value flex_start"},[a("v-uni-radio-group",{staticClass:"select_group",on:{change:function(a){arguments[0]=a=t.$handleEvent(a),t.radioChange(a,e)}}},t._l(e.radioList,(function(i,n){return a("v-uni-label",{key:i.value,staticClass:"container_input_item_value_select"},[a("v-uni-view",[a("v-uni-radio",{attrs:{value:i.value,checked:i.value==e.inforValue}})],1),a("v-uni-view",[t._v(t._s(i.name))])],1)})),1)],1):t._e(),"check"==e.type?a("v-uni-view",{staticClass:"container_input_item_value flex_start"},[a("v-uni-checkbox-group",{staticClass:"select_group",on:{change:function(a){arguments[0]=a=t.$handleEvent(a),t.checkChange(a,e)}}},t._l(e.checkList,(function(i,n){return a("v-uni-label",{key:i.value,staticClass:"container_input_item_value_select"},[a("v-uni-view",[a("v-uni-checkbox",{staticClass:"chenk_list",attrs:{value:i.value,checked:i.value==e.inforValue}})],1),a("v-uni-view",[t._v(t._s(i.name))])],1)})),1)],1):t._e()],1):t._e()],1)})),1)},n=[]},"08a9":function(t,e,a){"use strict";a.d(e,"b",(function(){return n})),a.d(e,"c",(function(){return o})),a.d(e,"a",(function(){return i}));var i={uPopup:a("45c0").default,uniPopup:a("523b").default},n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"container"},[1==t.step?i("v-uni-view",{staticClass:"step_one"},[i("v-uni-view",{staticClass:"input_content"},[t.bar_code_dis?i("v-uni-view",{staticClass:"bar-code"},[i("v-uni-view",[t._v("商品条码")]),i("v-uni-input",{attrs:{type:"number",placeholder:"请手动添加条码",disabled:t.bar_code_dis,"placeholder-class":"inputPlaceHolder"},model:{value:t.code,callback:function(e){t.code=e},expression:"code"}})],1):t._e(),i("v-uni-view",{staticClass:"input_content_textarea"},[i("v-uni-textarea",{attrs:{placeholder:"请输入商品名称","placeholder-class":"placeholderStyle",maxlength:"60"},model:{value:t.setFormData.store_name,callback:function(e){t.$set(t.setFormData,"store_name",e)},expression:"setFormData.store_name"}}),i("v-uni-view",{staticClass:"flex",staticStyle:{"justify-content":"space-between",color:"#999999"}},[i("v-uni-view",[t._v("(品牌,名称,规格,口味)")]),i("v-uni-view",[t.setFormData.store_name?i("v-uni-text",[t._v(t._s(t.setFormData.store_name.length))]):i("v-uni-text",[t._v("0")]),t._v("/60")],1)],1)],1),i("v-uni-view",{staticClass:"photo_count"},[i("v-uni-text",{staticClass:"photo_size",staticStyle:{color:"#e93323"}},[t._v("建议:图片尺寸为750*750px, 上传2张以上")]),i("v-uni-view",{staticClass:"input_content_photo"},[t._l(t.setFormData.imageList,(function(e,n){return i("v-uni-view",{key:n,staticClass:"input_content_photo_adPh"},[i("v-uni-image",{staticClass:"myimg2 photos",attrs:{src:e},on:{click:function(a){arguments[0]=a=t.$handleEvent(a),t.pop(e)}}}),i("v-uni-view",{staticClass:"input_content_photo_adPh_jiao",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.deleteImage(n)}}},[i("v-uni-image",{attrs:{src:a("7920"),mode:""}})],1)],1)})),t.setFormData.imageList.length<9?i("v-uni-view",{staticClass:"input_content_photo_adPh addBtn",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.clk.apply(void 0,arguments)}}},[i("v-uni-view",[i("v-uni-image",{attrs:{src:a("b90b"),mode:"widthFix"}})],1),i("v-uni-view",[t._v("添加图片")])],1):t._e()],2)],1),i("u-popup",{staticClass:"pop",attrs:{show:t.show,mode:"center",bgColor:"transparent"},on:{close:function(e){arguments[0]=e=t.$handleEvent(e),t.close.apply(void 0,arguments)}}},[i("v-uni-image",{attrs:{src:t.image}}),i("v-uni-image",{staticClass:"guanbi",attrs:{src:a("8e53")},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.close.apply(void 0,arguments)}}})],1)],1),i("v-uni-view",{staticClass:"popup_group"},[i("v-uni-view",{staticClass:"popup_group_item",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.selectPlatform.apply(void 0,arguments)}}},[i("v-uni-view",{staticClass:"popup_group_item_label"},[t._v("平台分类")]),i("v-uni-view",{staticClass:"popup_group_item_value"},[i("v-uni-view",{staticClass:"popup_group_item_message"},[t.setFormData.cate_name?i("span",{staticClass:"popup_group_item_message_value"},[t._v(t._s(t.setFormData.cate_name))]):i("span",[t._v("请选择平台分类")])]),i("v-uni-view",[i("span",{staticClass:"iconfont"},[t._v("")])])],1)],1),i("v-uni-view",{staticClass:"popup_group_item"},[i("v-uni-view",{staticClass:"popup_group_item_label"},[t._v("商品单位")]),i("v-uni-view",{staticClass:"popup_group_item_value"},[i("v-uni-input",{attrs:{type:"text",placeholder:"请填写商品单位"},model:{value:t.setFormData.unit_name,callback:function(e){t.$set(t.setFormData,"unit_name",e)},expression:"setFormData.unit_name"}})],1)],1)],1),t.showCommodity?i("priceComponent",{attrs:{product_id:t.product_id,bar_code:t.code},on:{updateCode:function(e){arguments[0]=e=t.$handleEvent(e),t.updateCode.apply(void 0,arguments)}}}):t._e(),i("v-uni-view",{staticClass:"popup_group"}),t.showCommodity?i("commodityComponent",{key:t.showCommodity,attrs:{showCommodity:t.showCommodity,resetKey:t.secoundModel,product_id:t.product_id,merId:t.merId,code:t.code},on:{lastStep:function(e){arguments[0]=e=t.$handleEvent(e),t.lastStep.apply(void 0,arguments)}}}):t._e(),i("v-uni-view",{staticClass:"popup_group"},[[i("v-uni-view",{staticClass:"input_content"},[i("v-uni-view",{staticClass:"input_content_keyword"},[i("v-uni-view",{staticClass:"input_content_keyword_label"},[t._v("关键字")]),i("v-uni-view",{staticClass:"input_content_keyword_value"},[i("v-uni-input",{attrs:{type:"text",value:"",placeholder:"填写关键字"},model:{value:t.setFormData.keyword,callback:function(e){t.$set(t.setFormData,"keyword",e)},expression:"setFormData.keyword"}})],1)],1)],1),i("v-uni-view",{staticClass:"radio"},[i("v-uni-view",{staticClass:"radio_label "},[t._v("送货方式")]),i("v-uni-checkbox-group",{staticClass:"select_group flex_start",on:{change:function(e){arguments[0]=e=t.$handleEvent(e),t.deliveryWayChange.apply(void 0,arguments)}}},t._l(t.deliveryFreeList,(function(e,a){return i("v-uni-label",{key:e.value,staticClass:"radio_select"},[i("v-uni-view",[i("v-uni-checkbox",{attrs:{value:e.value,disabled:!0,checked:e.value}})],1),i("v-uni-view",[t._v(t._s(e.name))])],1)})),1)],1)]],2),i("v-uni-view",{staticClass:"handle"},[i("secound",{attrs:{resetKey:t.secoundModel,product_id:t.product_id,merId:t.merId,code:t.code},on:{lastStep:function(e){arguments[0]=e=t.$handleEvent(e),t.lastStep.apply(void 0,arguments)}}})],1)],1):t._e(),2==t.step?i("v-uni-view",{staticClass:"step_two"},[i("secound",{attrs:{resetKey:t.secoundModel,product_id:t.product_id,merId:t.merId,code:t.code},on:{lastStep:function(e){arguments[0]=e=t.$handleEvent(e),t.lastStep.apply(void 0,arguments)}}})],1):t._e(),i("uni-popup",{ref:"select_platform",attrs:{type:"bottom"}},[i("platfrom",{attrs:{classifiedData:t.platformClassificationData},on:{close:function(e){arguments[0]=e=t.$handleEvent(e),t.closePlatfrom.apply(void 0,arguments)},getPlatData:function(e){arguments[0]=e=t.$handleEvent(e),t.getPlatData.apply(void 0,arguments)}}})],1),i("uni-popup",{ref:"select_store",attrs:{type:"bottom"}},[i("store-classification",{attrs:{classifiedData:t.merchantClassification,mer_id:t.merId},on:{handleGetSelectArea:function(e){arguments[0]=e=t.$handleEvent(e),t.handleGetSelectStore.apply(void 0,arguments)},close:function(e){arguments[0]=e=t.$handleEvent(e),t.merchantClose.apply(void 0,arguments)}}})],1),i("uni-popup",{ref:"select_popup",attrs:{type:"bottom"}},[i("linkage-assembly",{attrs:{selectProductTitle:"选择品牌",form:t.setFormData,classifiedData:t.brand,selectProductItem:t.productItem},on:{getLinkageData:function(e){arguments[0]=e=t.$handleEvent(e),t.getLinkageData.apply(void 0,arguments)},multipleList:function(e){arguments[0]=e=t.$handleEvent(e),t.multipleList.apply(void 0,arguments)},close:function(e){arguments[0]=e=t.$handleEvent(e),t.handleClose.apply(void 0,arguments)}}})],1),i("uni-popup",{ref:"tempId",attrs:{type:"bottom"}},[i("linkage-assembly",{attrs:{selectProductTitle:"选择运费模板",form:t.setFormData,classifiedData:t.classified["temp_id"],selectProductItem:t.productItem,mer_id:t.merId},on:{getLinkageData:function(e){arguments[0]=e=t.$handleEvent(e),t.getTempIdData.apply(void 0,arguments)},multipleList:function(e){arguments[0]=e=t.$handleEvent(e),t.multipleList.apply(void 0,arguments)},close:function(e){arguments[0]=e=t.$handleEvent(e),t.$refs.tempId.close()},scrolltolower:function(e){arguments[0]=e=t.$handleEvent(e),t.scrolltolower.apply(void 0,arguments)}}})],1),i("uni-popup",{ref:"attr",attrs:{type:"bottom"}},[i("attr",{attrs:{mer_id:t.merId,attrList:t.classified["attr"]},on:{close:function(e){arguments[0]=e=t.$handleEvent(e),t.$refs.attr.close()},selectAttr:function(e){arguments[0]=e=t.$handleEvent(e),t.selectAttr.apply(void 0,arguments)}}})],1),i("avatar",{ref:"avatar",attrs:{quality:"1",selWidth:"250upx",selHeight:"250upx"},on:{upload:function(e){arguments[0]=e=t.$handleEvent(e),t.doUpload.apply(void 0,arguments)},getName:function(e){arguments[0]=e=t.$handleEvent(e),t.getImgName.apply(void 0,arguments)}}})],1)},o=[]},"0bcb":function(t,e,a){"use strict";a.d(e,"b",(function(){return i})),a.d(e,"c",(function(){return n})),a.d(e,"a",(function(){}));var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-uni-view",{staticClass:"select_popup_container"},[a("v-uni-view",{staticClass:"popup_title"},[t.mer_id?a("v-uni-navigator",{staticClass:"manage_btn",attrs:{url:"pages/product/addGoods/freightTemplate?mer_id="+t.mer_id,"hover-class":"none"}},[t._v("管理")]):t._e(),a("v-uni-view",{staticClass:"popup_title_msn"},[t._v(t._s(t.selectProductTitle))]),a("v-uni-view",{staticClass:"close",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.close.apply(void 0,arguments)}}},[a("v-uni-text",{staticClass:"iconfont"},[t._v("")])],1)],1),t.selectProductItem.multiple&&t.multipleList.length?a("v-uni-view",{staticClass:"selected_list"},t._l(t.multipleList,(function(e,i){return a("v-uni-view",{key:i,staticClass:"selected_list_item"},[a("v-uni-view",[t._v(t._s(e.label))]),a("v-uni-view",{on:{click:function(a){arguments[0]=a=t.$handleEvent(a),t.deleteSelectedList(e,i)}}},[a("v-uni-view",{staticClass:"iconfont"},[t._v("")])],1)],1)})),1):t._e(),a("v-uni-view",{staticClass:"tap"},[a("v-uni-scroll-view",{staticClass:"popup_tap",attrs:{"scroll-x":"true"}},[a("v-uni-view",{staticClass:"popup_tap_content"},t._l(t.tap,(function(e,i){return a("v-uni-view",{key:i,staticClass:"popup_tap_item",class:{selectTapEd:t.selectTapId==e.value},on:{click:function(a){arguments[0]=a=t.$handleEvent(a),t.handleSelectTapId(e,i)}}},[a("v-uni-view",[t._v(t._s(e.label))])],1)})),1)],1)],1),a("v-uni-view",{staticClass:"content"},[a("v-uni-scroll-view",{staticClass:"popup_sroll",attrs:{"scroll-y":"true"},on:{scrolltolower:function(e){arguments[0]=e=t.$handleEvent(e),t.scrolltolower.apply(void 0,arguments)}}},[a("v-uni-view",{staticClass:"content_list"},t._l(t.assemblyList,(function(e,i){return a("v-uni-view",{key:i,staticClass:"content_list_item",class:{selectSingleCase:e.selectEd}},[a("v-uni-view",{on:{click:function(a){arguments[0]=a=t.$handleEvent(a),t.selectItem(e,t.assemblyList)}}},[t._v(t._s(e.label))]),t.selectProductItem.multiple&&!e.children?a("v-uni-view",[a("v-uni-text",{staticClass:"iconfont",on:{click:function(a){arguments[0]=a=t.$handleEvent(a),t.selectPushMultiple(e,t.assemblyList)}}},[t._v("")])],1):t._e()],1)})),1)],1)],1)],1)},n=[]},"0e0f":function(t,e,a){"use strict";a.d(e,"b",(function(){return i})),a.d(e,"c",(function(){return n})),a.d(e,"a",(function(){}));var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-uni-view",{staticClass:"select_popup_container"},[a("v-uni-view",{staticClass:"popup_title"},[a("v-uni-navigator",{staticClass:"manage_btn",attrs:{url:"/pages/product/addGoods/mulSpecification?mer_id="+t.mer_id,"hover-class":"none"}},[t._v("管理")]),a("v-uni-view",{staticClass:"popup_title_msn"},[t._v(t._s(t.title))]),a("v-uni-view",{staticClass:"close",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.close.apply(void 0,arguments)}}},[a("v-uni-text",{staticClass:"iconfont"},[t._v("")])],1)],1),a("v-uni-view",{staticClass:"content"},[a("v-uni-scroll-view",{staticClass:"popup_sroll",attrs:{"scroll-y":"true"},on:{scrolltolower:function(e){arguments[0]=e=t.$handleEvent(e),t.scrolltolower.apply(void 0,arguments)}}},[a("v-uni-view",{staticClass:"content_list"},t._l(t.attrList,(function(e,i){return a("v-uni-view",{key:i,staticClass:"content_list_item"},[a("v-uni-view",{on:{click:function(a){arguments[0]=a=t.$handleEvent(a),t.selectItem(e)}}},[t._v(t._s(e.template_name))])],1)})),1)],1)],1)],1)},n=[]},1147:function(t,e,a){"use strict";a.d(e,"b",(function(){return i})),a.d(e,"c",(function(){return n})),a.d(e,"a",(function(){}));var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-uni-view",{staticClass:"container"},[a("select-form",{staticStyle:{"border-radius":"10rpx 10rpx 0 0"},attrs:{platformClassification:t.formList,form:t.singleSpecification},on:{input:function(e){arguments[0]=e=t.$handleEvent(e),t.input.apply(void 0,arguments)}}}),a("v-uni-view",{staticClass:"more_than",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.moreThanFlag?t.selectMoreThan():t.spliceMoreThan()}}},[t.moreThanFlag?a("v-uni-view",[t._v("更多")]):a("v-uni-view",[t._v("收起")])],1)],1)},n=[]},1286:function(t,e,a){"use strict";a.r(e);var i=a("0bcb"),n=a("5314");for(var o in n)["default"].indexOf(o)<0&&function(t){a.d(e,t,(function(){return n[t]}))}(o);a("a774");var s=a("f0c5"),r=Object(s["a"])(n["default"],i["b"],i["c"],!1,null,"37c65672",null,!1,i["a"],void 0);e["default"]=r.exports},1317:function(t,e,a){"use strict";a.r(e);var i=a("08a9"),n=a("4d75");for(var o in n)["default"].indexOf(o)<0&&function(t){a.d(e,t,(function(){return n[t]}))}(o);a("53fe");var s=a("f0c5"),r=Object(s["a"])(n["default"],i["b"],i["c"],!1,null,"882db4ee",null,!1,i["a"],void 0);e["default"]=r.exports},"131ad":function(t,e,a){var i=a("61d4");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=a("4f06").default;n("6a39b090",i,!0,{sourceMap:!1,shadowMode:!1})},"17a2":function(t,e,a){"use strict";a("7a82");var i=a("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=i(a("2909")),o=i(a("ade3"));a("a9e3"),a("14d9"),a("99af"),a("a434");a("f89e");var s=a("3093"),r=i(a("ed4b")),d=i(a("e9c8")),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,upstore:"",isUpload:!0,imgName:""}},watch:{prodectContent:{handler:function(t){this.upstore=t.store_name,this.$emit("getProductContent",t)},immediate:!0,deep:!0},uploadImg:{handler:function(t){this.isMultiple?this.isUpload=t.length<6:this.isUpload=t.length<1},immediate:!0,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,a=this;uni.uploadFile({url:s.HTTP_REQUEST_URL+"/api/upload/image/field",filePath:t.path,name:"field",formData:{filename:t.path,name:a.imgName},header:(0,o.default)({},s.TOKENNAME,"Bearer "+d.default.state.app.token),success:function(t){var i=JSON.parse(t.data);a.prodectContent.imageList||(a.prodectContent.imageList=[]),a.prodectContent={imageList:[].concat((0,n.default)(a.prodectContent.imageList),[i.data.path]),store_name:e.upstore}},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},"1aa5":function(t,e,a){"use strict";a.r(e);var i=a("fe57"),n=a.n(i);for(var o in i)["default"].indexOf(o)<0&&function(t){a.d(e,t,(function(){return i[t]}))}(o);e["default"]=n.a},2039:function(t,e,a){var i=a("24fb");e=i(!1),e.push([t.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 行为相关颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */.container_input[data-v-2b1a8ea2]{background:#fff;padding:0 %?20?%;width:%?710?%;margin:auto;margin-top:%?31?%;border-radius:%?10?%}.container_input_item .select_and_input[data-v-2b1a8ea2]{height:%?106?%;display:flex;align-items:center;justify-content:space-between}.container_input_item .select_and_input .greyColor[data-v-2b1a8ea2]{color:#bbb}.container_input_item .radio[data-v-2b1a8ea2]{padding:%?30?% 0}.container_input_item_label[data-v-2b1a8ea2]{padding-left:%?10?%;color:#333;font-size:%?30?%;display:flex;align-items:center}.container_input_item_label .select_label[data-v-2b1a8ea2]{max-width:%?520?%}.container_input_item_label .select_check[data-v-2b1a8ea2]{display:flex;align-items:center;justify-content:center;width:%?40?%;height:%?40?%;border:1px solid #ccc;border-radius:50%;margin-right:%?20?%}.container_input_item_label .select_check .iconfont[data-v-2b1a8ea2]{font-size:%?24?%}.container_input_item_label .select[data-v-2b1a8ea2]{background:#e93323;border:none}.container_input_item_label .select .iconfont[data-v-2b1a8ea2]{color:#fff}.container_input_item_value[data-v-2b1a8ea2]{padding-right:%?10?%;flex:1;display:flex;align-items:center;justify-content:flex-end}.container_input_item_value > span[data-v-2b1a8ea2]:nth-child(1){display:inline-block;margin-right:%?15?%}.container_input_item_value .text[data-v-2b1a8ea2]{color:#000;display:inline-block;max-width:%?400?%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.container_input_item_value uni-input[data-v-2b1a8ea2]{text-align:right}.container_input_item_value .select_group[data-v-2b1a8ea2]{display:flex}.container_input_item_value_select[data-v-2b1a8ea2]{display:flex;margin-right:%?110?%}.container_input_item .flex_start[data-v-2b1a8ea2]{padding:0 %?10?%;margin-top:%?40?%;justify-content:flex-start}.container_input > uni-view[data-v-2b1a8ea2]:not(:last-child){border-bottom:1px solid #eee}.inputPlaceHolder[data-v-2b1a8ea2]{color:#bbb}',""]),t.exports=e},2715:function(t,e,a){var i=a("30f4");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=a("4f06").default;n("3d6a39ba",i,!0,{sourceMap:!1,shadowMode:!1})},"2a81":function(t,e,a){"use strict";a.d(e,"b",(function(){return i})),a.d(e,"c",(function(){return n})),a.d(e,"a",(function(){}));var i=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",[t.showComponent?[i("v-uni-view",{staticClass:" writeBg "},[i("v-uni-view",{staticClass:"container_input marginTop_none"},[i("v-uni-view",{staticClass:"container_input_item"},[i("v-uni-view",{staticClass:"container_input_item_label"},[i("span",[t._v("是否推荐")])]),i("v-uni-view",{staticClass:"container_input_item_value"},[i("v-uni-switch",{staticStyle:{transform:"scale(0.8)"},attrs:{checked:1==t.addGoodsSecoundData.is_good,color:"#E93323"},on:{change:function(e){arguments[0]=e=t.$handleEvent(e),t.isGood.apply(void 0,arguments)}}})],1)],1),i("v-uni-view",{staticClass:"container_input_item"},[i("v-uni-view",{staticClass:"container_input_item_label"},[i("span",[t._v("是否开启礼包")])]),i("v-uni-view",{staticClass:"container_input_item_value"},[i("v-uni-switch",{staticStyle:{transform:"scale(0.8)"},attrs:{checked:1==t.addGoodsSecoundData.is_gift_bag,color:"#E93323"},on:{change:function(e){arguments[0]=e=t.$handleEvent(e),t.isGiftBag.apply(void 0,arguments)}}})],1)],1)],1),i("v-uni-view",{staticClass:"tip"},[i("span",{staticClass:"iconfont"},[t._v("")]),i("span",[t._v("开启后此商品只能在分销礼包中展示并销售")])]),i("v-uni-view",{staticClass:"container_input marginTop_none"},[i("v-uni-view",{staticClass:"container_input_item"},[i("v-uni-view",{staticClass:"container_input_item_label"},[i("span",[t._v("限购数量")])]),i("v-uni-view",{staticClass:"container_input_item_value"},[i("v-uni-input",{attrs:{type:"number",value:"",placeholder:"请输入限购数量","placeholder-class":"inputPlaceHolder"},model:{value:t.addGoodsSecoundData.once_count,callback:function(e){t.$set(t.addGoodsSecoundData,"once_count",e)},expression:"addGoodsSecoundData.once_count"}})],1)],1),i("v-uni-view",{staticClass:"container_input_item"},[i("v-uni-view",{staticClass:"container_input_item_label"},[i("span",[t._v("商品排序")])]),i("v-uni-view",{staticClass:"container_input_item_value"},[i("v-uni-input",{attrs:{type:"number",value:"",placeholder:"请输入商品排序","placeholder-class":"inputPlaceHolder"},model:{value:t.addGoodsSecoundData.sort,callback:function(e){t.$set(t.addGoodsSecoundData,"sort",e)},expression:"addGoodsSecoundData.sort"}})],1)],1)],1),i("v-uni-view",{staticClass:"content_list"},[i("v-uni-view",{staticClass:"content_list_item",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.inputGoodsDetils.apply(void 0,arguments)}}},[i("v-uni-view",[t._v("商品详情")]),i("v-uni-view",{staticClass:"content_list_item_han"},[t.disModel?i("span",{staticStyle:{color:"#000000"}},[t._v("去修改")]):i("span",[t._v("设置详情")]),i("span",{staticClass:"iconfont"},[t._v("")])])],1),i("v-uni-view",{staticClass:"content_list_video"},[i("v-uni-view",{staticClass:"content_list_video_title"},[t._v("商品视频")]),i("v-uni-view",{staticClass:"video_list"},[t.addGoodsSecoundData.video_link?i("v-uni-view",{staticClass:"video_list_item photo"},[i("v-uni-view",{staticClass:"jiao",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.deleteImage()}}},[i("v-uni-video",{attrs:{src:t.addGoodsSecoundData.video_link}}),i("v-uni-image",{attrs:{src:a("7920"),mode:"widthFix"}})],1),i("v-uni-view",{staticStyle:{position:"absolute"}},[i("v-uni-view",{staticClass:"videoHover",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.videoshow.apply(void 0,arguments)}}}),i("v-uni-text",{staticClass:"video-text"},[t._v("点击可预览视频")])],1)],1):i("v-uni-view",{staticClass:"photo",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.uploadVideo.apply(void 0,arguments)}}},[i("v-uni-view",[i("v-uni-image",{attrs:{src:a("b90b"),mode:"widthFix"}})],1),i("v-uni-view",[t._v("添加视频")])],1)],1)],1)],1),t.showVideo?i("v-uni-view",{staticClass:"video-count"},[i("v-uni-video",{staticClass:"videoLink",attrs:{id:"myVideo",autoplay:!0,loop:!0,muted:!0,src:t.addGoodsSecoundData.video_link}})],1):t._e(),i("v-uni-view",{staticClass:"mask",attrs:{catchtouchmove:"true",hidden:0==t.showVideo},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.showVideo=!1}}}),i("v-uni-view",{staticClass:"handle dobuButton"},[i("v-uni-view",{staticClass:"handle_button margin_right",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.lastStep.apply(void 0,arguments)}}},[t._v("上一步")]),i("v-uni-view",{staticClass:"handle_button",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.submitCreatedGoods.apply(void 0,arguments)}}},[t._v("提交")])],1)],1)]:t._e(),i("v-uni-view",{staticClass:"handle_button",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.submitCreatedGoods.apply(void 0,arguments)}}},[t._v("提交")])],2)},n=[]},"2e40":function(t,e,a){"use strict";a.r(e);var i=a("17a2"),n=a.n(i);for(var o in i)["default"].indexOf(o)<0&&function(t){a.d(e,t,(function(){return i[t]}))}(o);e["default"]=n.a},"302f":function(t,e,a){"use strict";a("7a82");var i=a("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=i(a("ade3")),o=i(a("2909")),s=i(a("c7eb")),r=i(a("1da1"));a("a9e3"),a("d3b7"),a("a434"),a("d81d"),a("159b"),a("b64b"),a("99af"),a("14d9"),a("caad"),a("2532");var d=i(a("71563")),c=i(a("1286")),l=a("f89e"),u=a("fe63"),p=i(a("6e70")),f=i(a("ff42")),v=i(a("5da5")),_=i(a("f3c3")),h=i(a("ed4b")),m=a("3093"),g=i(a("e9c8")),b=i(a("70a6")),y=i(a("d45c")),w={components:{inputGoodsDetils:d.default,linkageAssembly:c.default,attr:p.default,platfrom:f.default,storeClassification:v.default,secound:_.default,avatar:h.default,priceComponent:b.default,commodityComponent:y.default},data:function(){return{showCommodity:!1,step:1,bar_code:"",bar_code_dis:!1,setFormData:{imageList:[],specification:"",image:"",slider_image:"",store_name:"",store_info:"",keyword:"",brand_id:"",brand_name:"",cate_id:"",cate_name:"",mer_cate_id:"",mer_cate_name:"",unit_name:"",spec_type:"0",attr:[],specifica:"",setSpecificaValue:"",setSpecificaValue2:"",delivery_way:[1,2],delivery_free:"1",temp_id:"",tempName:""},popupContainerKey:!1,showMoreInfo:!1,productItem:{}||[],selectProductTitle:"选择平台分类",specificationsRadioList:[{value:"0",name:"单规格"},{value:"1",name:"多规格"}],specifications:[{id:5,label:"规格选择",type:"radio",model:"spec_type",inforValue:"0",radioList:[{value:"0",name:"单规格"},{value:"1",name:"多规格"}]},{id:7,label:"选择规格",type:"select",model:"attr",singleColumn:!0,value:"",DoNotShow:!0,holder:"去选择",jumpLogic:!0},{id:6,label:"商品规格",type:"select",value:"",holder:"去设置",jumpLogic:!0,DoNotShow:!0}],deliveryType:[],deliveryFreeList:[{value:"1",name:"到店核销"},{value:"2",name:"快递配送"}],merId:"",product_id:"",isUpload:!0,templateListPage:{page:1,limit:1e4},classified:{cate_id:[],mer_cate_id:[],brand_id:[],attr:[],temp_id:[]},platformClassificationData:[],merchantClassification:[],brand:[],specificationClassification:[],selectEdAttr:[],canChange:!0,secoundModel:!1,resetKey:!1,imgName:"",code:"",show:!1,image:""}},onLoad:function(t){this.merId=Number(t.mer_id),this.product_id=t.product_id,t.product_id||(this.showCommodity=!0),t.code&&(this.code=t.code,this.bar_code_dis=!0),this.initData(),this.product_id?this.initDataEditData():(0,l.setStorage)("editCommodity",{})},onBackPress:function(){["addGoodsFormData","singleSpecification","attrValue","modifyPriceData","addGoodsSecoundData","goodsDis","editGoodsDetils","canChange","canChangeSecound","editCommodity"].forEach((function(t){(0,l.getStorage)(t)&&(0,l.removeStorage)(t)}))},onShow:function(){this.setFormData.setSpecificaValue="",this.setFormData.setSpecificaValue2="",(0,l.getStorage)("singleSpecification")?this.setFormData.setSpecificaValue="点击修改价格":this.setFormData.setSpecificaValue="",(0,l.getStorage)("attrValue")?this.setFormData.setSpecificaValue2="点击修改价格":this.setFormData.setSpecificaValue2="",2==this.step&&(this.secoundModel=!this.secoundModel),this.initClasiffy()},beforeDestroy:function(){uni.removeStorage({key:"addGoodsFormData"})},watch:{setFormData:{handler:function(t){var e=this;setTimeout((function(){(0,l.setStorage)("addGoodsFormData",e.setFormData)}))},deep:!0},"setFormData.imageList":function(t){this.setFormData.image=t.length?t[0]:"",this.setFormData.slider_image=t.length?(0,l.serialize)(t).splice(1):[]}},methods:{pop:function(t){this.show=!0,this.image=t},initClasiffy:function(){var t=this;return(0,r.default)((0,s.default)().mark((function e(){return(0,s.default)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,(0,u.storeClassifyLst)(t.merId);case 2:t.merchantClassification=e.sent.data;case 3:case"end":return e.stop()}}),e)})))()},initData:function(){var t=this;return(0,r.default)((0,s.default)().mark((function e(){return(0,s.default)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return(0,l.getStorage)("addGoodsFormData")&&(t.setFormData=(0,l.getStorage)("addGoodsFormData"),t.selectEdAttr=(0,l.getStorage)("modifyPriceData")),e.next=3,(0,u.categoryBrandlist)(t.merId);case 3:return t.brand=e.sent.data,e.next=6,(0,u.categoryList)(t.merId);case 6:t.platformClassificationData=e.sent.data;case 7:case"end":return e.stop()}}),e)})))()},getDeliveryType:function(){var t=this;(0,u.getDeliveryType)(t.merId).then((function(e){t.deliveryType=e.data.delivery_way.map(String),t.product_id||(t.setFormData.delivery_way=t.deliveryType),2==t.deliveryType.length?t.deliveryFreeList=[{value:"1",name:"到店核销"},{value:"2",name:"快递配送"}]:1==t.deliveryType.length&&"1"==t.deliveryType[0]?t.deliveryFreeList=[{value:"1",name:"到店核销"}]:t.deliveryFreeList=[{value:"2",name:"快递配送"}]}),(function(e){t.$util.Tips({title:e.msg})}))},initDataEditData:function(){var t=this;(0,l.Loading)(),this.setFormData={imageList:[],specification:"",image:"",slider_image:"",store_name:"",store_info:"",keyword:"",brand_id:"",brand_name:"",cate_id:"",cate_name:"",mer_cate_id:"",mer_cate_name:"",unit_name:"",spec_type:"0",attr:[],specifica:"",setSpecificaValue:"",setSpecificaValue2:"",delivery_way:[],delivery_free:"0",temp_id:"",tempName:""},(0,l.getStorage)("editGoodsDetils")&&(0,l.removeStorage)("editGoodsDetils"),(0,u.productDetail)(this.merId,this.product_id).then((function(e){(0,l.setStorage)("editGoodsDetils",e.data),e.data.content_arr.length>0&&(e.data.content=e.data.content_arr),t.$store.commit("setStorage",e.data);var a=e.data;Object.keys(t.setFormData).forEach((function(e){t.setFormData[e]=a[e]})),t.setFormData.product_id=t.product_id,t.setFormData.imageList=[].concat((0,o.default)(t.setFormData.image?[t.setFormData.image]:[]),(0,o.default)(t.setFormData.slider_image)),t.setFormData.cate_name=a.storeCategory.cate_name,t.setFormData.mer_cate_name=a.merCateId?a.merCateId.map((function(t){return t.category&&t.category.cate_name})).join(","):"",t.setFormData.brand_name=a.brand?a.brand.brand_name:"",1==t.setFormData.spec_type&&(a.attr.length&&(t.setFormData.specifica="点击修改规格"),a.attrValue.length&&(t.setFormData.setSpecificaValue2="点击修改价格")),0==a.spec_type&&((0,l.setStorage)("singleSpecification",a.attrValue[0]),a.attrValue.length&&(t.setFormData.setSpecificaValue="点击修改价格")),(0,l.setStorage)("attrValue",a.attrValue),a.temp&&(t.setFormData.tempName=a.temp.name),(0,l.setStorage)("canChange",!0),(0,l.hideLoading)(),t.showCommodity=!0}))},handleChooseImage:function(){var t=this;t.$util.uploadImageOne("upload/image",(function(e){t.setFormData.imageList.push(e.data.path)}))},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:m.HTTP_REQUEST_URL+"/api/upload/image/field",filePath:t.path,name:"field",formData:{filename:t.path,name:e.imgName},header:(0,n.default)({},m.TOKENNAME,"Bearer "+g.default.state.app.token),success:function(t){var a=JSON.parse(t.data);e.setFormData.imageList.push(a.data.path)},complete:function(t){}})},getImgName:function(t){this.imgName=t},deleteImage:function(t){this.setFormData.imageList.splice(t,1)},selectPlatform:function(){this.$refs.select_platform.open()},closePlatfrom:function(){this.$refs.select_platform.close()},getPlatData:function(t,e){this.setFormData.cate_id=t.value,this.setFormData.cate_name=t.label,this.$refs.select_platform.close()},selectStoreClass:function(){this.$refs.select_store.open()},merchantClose:function(){this.$refs.select_store.close()},handleGetSelectStore:function(t){this.setFormData.mer_cate_id=t.map((function(t){return t.store_category_id})),this.setFormData.mer_cate_name=t.map((function(t){return t.cate_name})).join(","),this.$refs.select_store.close()},selectBrand:function(){this.$refs.select_popup.open()},getLinkageData:function(t){this.setFormData.brand_id=t[0].value,this.setFormData.brand_name=t[0].cate_name,this.$refs.select_popup.close()},multipleList:function(t,e){"mer_cate_id"==e&&(this.platformClassification[1].value=t.map((function(t){return t.label})).join(","),this.platformClassification[1].allreadySelect=t,this.setFormData.mer_cate_id=t.map((function(t){return t.value})))},close:function(){this.$refs.select_popup.close(),this.show=!1},getLinkDataOfRecursion:function(t){var e="",a="";return t.forEach((function(t){e=t.label,a=t.value})),{str:e,id:a}},formInitData:function(t,e){this.setFormData[e]=t},handleRadioChange:function(t,e){this.setFormData[e.model]=t},specificationsRadioChange:function(t){this.setFormData.spec_type=t.detail.value},selectSpecification:function(){var t=this;(0,u.attrList)(this.merId,{page:1,limit:1e4}).then((function(e){if(e.data.list.length<1)return(0,l.Toast)("暂无规格可选");t.specificationClassification=e.data.list,t.classified["attr"]=t.specificationClassification,t.specificationClassification.forEach((function(e){t.$set(e,"value",e.attr_template_id),t.$set(e,"label",e.template_name),t.$refs.attr.open()}))}))},selectAttr:function(t){(0,l.getStorage)("attrValue")&&(0,l.removeStorage)("attrValue"),this.setFormData.specifica=t.template_name,this.setFormData.attr=[],this.setFormData.attr=this.setFormData.attr.concat(t.template_value),this.selectEdAttr=t,this.$refs.attr.close()},setSpecifica:function(){if(0!=this.setFormData.spec_type){if(1==this.setFormData.spec_type){var t=(0,l.serialize)(this.selectEdAttr);return(0,l.setStorage)("modifyPriceData",t),void(0,l.navigateTo)(1,"/pages/product/addGoods/modifyPrice?code=".concat(this.code))}}else(0,l.navigateTo)(1,"/pages/product/addGoods/singleSpecification?code=".concat(this.code))},updateCode:function(t){this.code=t+""},switchChange:function(t,e){"delivery_free"==e.model&&(this.setFormData[e.model]=t?"1":"0")},checkChange:function(t,e){this.setFormData[e.model]=t,"delivery_way"==e.model&&(t.includes("2")?this.transport[1].DoNotShow=!1:this.transport[1].DoNotShow=!0)},handleClose:function(){this.$refs.select_popup.close()},deliveryWayChange:function(t){this.setFormData.delivery_way=t.detail.value},deliveryFreeChange:function(t){t.detail.value?this.setFormData.delivery_free="1":this.setFormData.delivery_free="0"},tempIdSelect:function(){this.getTemplateList()},getTemplateList:function(){var t=this;(0,u.templateList)(this.merId,this.templateListPage).then((function(e){e.data.list.forEach((function(e){t.$set(e,"value",e.shipping_template_id),t.$set(e,"label",e.name)})),t.classified["temp_id"]=e.data.list,t.$refs.tempId.open()}))},scrolltolower:function(){},getTempIdData:function(t){this.setFormData.temp_id=t[0].value,this.setFormData.tempName=t[0].label,this.$refs.tempId.close()},setGoodsTemp:function(){(0,l.navigateTo)(1,"/pages/product/addGoods/freightTemplate",{mer_id:this.merId})},handleNextStep:function(){this.step=2},lastStep:function(){this.step=1}}};e.default=w},"30f4":function(t,e,a){var i=a("24fb");e=i(!1),e.push([t.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 行为相关颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */.select_popup_container[data-v-13917909]{background:#fff;border-radius:%?16?% %?16?% 0 0}.popup_title[data-v-13917909]{display:flex;justify-content:flex-end;padding:%?36?% %?30?%;position:relative}.popup_title_msn[data-v-13917909]{position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);color:#282828;font-size:%?32?%;font-weight:700}.popup_title .manage_btn[data-v-13917909]{font-weight:400;color:#e93323;font-size:%?24?%;position:absolute;left:%?40?%;top:%?40?%}.popup_title .close[data-v-13917909]{position:relative;z-index:10;font-size:%?28?%;color:#8a8a8a}.content .popup_sroll[data-v-13917909]{max-height:%?742?%;min-height:%?300?%}.content_list_item[data-v-13917909]{color:#333;margin-bottom:%?50?%;margin-left:%?40?%;margin-right:%?40?%;display:flex;align-items:center;justify-content:space-between}.content_list_item > uni-view[data-v-13917909]{flex:0.6}.content_list_item > uni-view[data-v-13917909]:nth-child(2){flex:0.4;display:flex;justify-content:flex-end}.content_list_item .iconfont[data-v-13917909]{color:#e93323;font-size:%?36?%!important}',""]),t.exports=e},"32f8":function(t,e,a){var i=a("8704");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=a("4f06").default;n("3bbd25f4",i,!0,{sourceMap:!1,shadowMode:!1})},3540:function(t,e,a){var i=a("c991");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=a("4f06").default;n("344f6e3b",i,!0,{sourceMap:!1,shadowMode:!1})},"390a":function(t,e,a){"use strict";a.r(e);var i=a("9877"),n=a.n(i);for(var o in i)["default"].indexOf(o)<0&&function(t){a.d(e,t,(function(){return i[t]}))}(o);e["default"]=n.a},"41da":function(t,e,a){"use strict";a.r(e);var i=a("0130"),n=a("d6ab");for(var o in n)["default"].indexOf(o)<0&&function(t){a.d(e,t,(function(){return n[t]}))}(o);a("83e1");var s=a("f0c5"),r=Object(s["a"])(n["default"],i["b"],i["c"],!1,null,"2b1a8ea2",null,!1,i["a"],void 0);e["default"]=r.exports},4643:function(t,e,a){var i=a("99d5");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=a("4f06").default;n("9bcbdc4a",i,!0,{sourceMap:!1,shadowMode:!1})},"4a77":function(t,e,a){"use strict";a.d(e,"b",(function(){return i})),a.d(e,"c",(function(){return n})),a.d(e,"a",(function(){}));var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-uni-view",{staticClass:"area_container"},[a("v-uni-view",{staticClass:"area_container_title"},[a("v-uni-navigator",{staticClass:"manage_btn",attrs:{url:"/pages/product/storeClassification/index?mer_id="+t.mer_id,"hover-class":"none"}},[t._v("管理")]),a("v-uni-view",{staticClass:"area_container_title_name"},[t._v("选择店铺分类")]),a("v-uni-view",{staticClass:"area_container_title_close",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.close.apply(void 0,arguments)}}},[a("v-uni-text",{staticClass:"iconfont"},[t._v("")])],1)],1),a("v-uni-view",{staticClass:"area_container_content"},[a("v-uni-view",{staticClass:"selectList_con"},t._l(t.selectList,(function(e,i){return a("v-uni-view",{key:i,staticClass:"selectList_con_item"},[a("v-uni-text",[t._v(t._s(e.cate_name))]),a("v-uni-text",{staticClass:"iconfont",on:{click:function(a){arguments[0]=a=t.$handleEvent(a),t.delSelectItem(e,i)}}},[t._v("")])],1)})),1),a("v-uni-view",{staticClass:"selectList_tap"},[t._l(t.tapList,(function(e,i){return a("v-uni-view",{key:i,staticClass:"selectList_tap_item",class:{selectTap:t.selectTap==e.value},on:{click:function(a){arguments[0]=a=t.$handleEvent(a),t.selectTapItem(e,i)}}},[t._v(t._s(e.cate_name))])})),t.isShowLastItem?a("v-uni-view",{staticClass:"selectList_tap_item",class:{selectTap:-1==t.selectTap},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.selectTapLastItem(-1)}}},[t._v("请选择")]):t._e()],2),a("v-uni-view",{staticClass:"selectList_area"},[a("v-uni-scroll-view",{staticClass:"scroll",attrs:{"scroll-y":"true"}},t._l(t.areaList,(function(e,i){return a("v-uni-view",{key:i,staticClass:"selectList_area_item"},[a("v-uni-view",{staticClass:"selectList_area_item_name",on:{click:function(a){arguments[0]=a=t.$handleEvent(a),t.selectArea(e)}}},[t._v(t._s(e.cate_name))]),e.children?t._e():a("v-uni-view",{on:{click:function(a){arguments[0]=a=t.$handleEvent(a),t.handlyAddSelect(e)}}},[a("v-uni-text",{staticClass:"iconfont"},[t._v("")])],1)],1)})),1)],1),a("v-uni-view",{staticClass:"handle"},[a("v-uni-view",{staticClass:"handle_button",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.handleGetSelectArea.apply(void 0,arguments)}}},[t._v("确定")])],1)],1)],1)},n=[]},"4b0d":function(t,e,a){var i=a("6669");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=a("4f06").default;n("3c2fd6ea",i,!0,{sourceMap:!1,shadowMode:!1})},"4d75":function(t,e,a){"use strict";a.r(e);var i=a("302f"),n=a.n(i);for(var o in i)["default"].indexOf(o)<0&&function(t){a.d(e,t,(function(){return i[t]}))}(o);e["default"]=n.a},5088:function(t,e,a){var i=a("2039");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=a("4f06").default;n("3c189ce8",i,!0,{sourceMap:!1,shadowMode:!1})},5314:function(t,e,a){"use strict";a.r(e);var i=a("b3d8"),n=a.n(i);for(var o in i)["default"].indexOf(o)<0&&function(t){a.d(e,t,(function(){return i[t]}))}(o);e["default"]=n.a},"53cf":function(t,e,a){"use strict";a("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,a("a9e3");var i={props:{attrList:{type:Array,default:function(){return[]}},title:{type:String,default:"请选择规格"},mer_id:{type:String||Number,default:0}},data:function(){return{}},methods:{close:function(){this.$emit("close")},selectItem:function(t){this.$emit("selectAttr",t)},scrolltolower:function(){this.$emit("scrolltolower")}}};e.default=i},"53fe":function(t,e,a){"use strict";var i=a("4643"),n=a.n(i);n.a},5934:function(t,e,a){"use strict";var i=a("62e6"),n=a.n(i);n.a},"5da5":function(t,e,a){"use strict";a.r(e);var i=a("4a77"),n=a("e1ef");for(var o in n)["default"].indexOf(o)<0&&function(t){a.d(e,t,(function(){return n[t]}))}(o);a("f13f");var s=a("f0c5"),r=Object(s["a"])(n["default"],i["b"],i["c"],!1,null,"c0779d94",null,!1,i["a"],void 0);e["default"]=r.exports},"61a3":function(t,e,a){var i=a("24fb");e=i(!1),e.push([t.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 行为相关颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */.container[data-v-838e3f96]{padding-top:%?20?%;padding-bottom:%?156?%}.bar-code[data-v-838e3f96]{height:%?80?%;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #eee;margin-bottom:%?20?%}.bar-code uni-input[data-v-838e3f96]{text-align:right}.tip[data-v-838e3f96]{padding:%?16?% 0 0 %?20?%;font-size:%?22?%;color:#e93323;display:flex;align-items:center;margin-bottom:%?40?%}.tip .iconfont[data-v-838e3f96]{display:inline-block;margin-right:%?10?%}.popup_group[data-v-838e3f96]{background:#fff;margin:%?31?% auto;width:%?710?%;font-size:%?30?%;border-radius:%?10?%}.popup_group .icon_top[data-v-838e3f96]{-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}.popup_group .icon_bottom[data-v-838e3f96]{-webkit-transform:rotate(90deg);transform:rotate(90deg)}.popup_group .popup_group_item[data-v-838e3f96]{padding:%?32?% %?30?%;display:flex;align-items:center;justify-content:space-between}.popup_group .popup_group_item .popup_group_item_value[data-v-838e3f96]{display:flex;align-items:center}.popup_group .popup_group_item .popup_group_item_value .popup_group_item_message[data-v-838e3f96]{margin-right:%?15?%;color:#bbb;max-width:%?400?%}.popup_group .popup_group_item .popup_group_item_value .popup_group_item_message_value[data-v-838e3f96]{display:inline-block;max-width:%?400?%;color:#000}.popup_group .popup_group_item .popup_group_item_value .iconfont[data-v-838e3f96]{color:#bbb}.popup_group .popup_group_item .popup_group_item_value uni-input[data-v-838e3f96]{text-align:right}.popup_group > uni-view[data-v-838e3f96]:not(:last-child){border-bottom:1px solid #eee}.handle[data-v-838e3f96]{width:100%;height:%?126?%;background:#fff;display:flex;align-items:center;justify-content:center;position:fixed;left:0;bottom:0;z-index:10}.handle_button[data-v-838e3f96]{width:%?690?%;height:%?86?%;background:#e93323;border-radius:43px;display:flex;align-items:center;justify-content:center;font-size:%?32?%;color:#fff}.input_content[data-v-838e3f96]{background:#fff;padding:%?20?% %?30?% %?40?% %?30?%;width:%?710?%;margin:auto;box-sizing:border-box;border-radius:%?10?%}.input_content_textarea[data-v-838e3f96]{border-bottom:1px solid #eee;padding-bottom:%?19?%}.input_content_textarea uni-textarea[data-v-838e3f96]{height:%?114?%}.input_content_textarea > uni-view[data-v-838e3f96]{text-align:right;color:#666;font-size:%?24?%}.input_content_photo[data-v-838e3f96]{margin-top:%?30?%;display:flex;flex-wrap:wrap}.input_content_photo_adPh[data-v-838e3f96]{position:relative;width:%?210?%;height:%?210?%;border:1px solid #ddd;display:flex;flex-direction:column;justify-content:center;border-radius:%?8?%;margin-right:%?10?%;margin-bottom:%?10?%;box-sizing:border-box}.input_content_photo_adPh[data-v-838e3f96]:nth-child(3n){margin-right:0}.input_content_photo_adPh > uni-view[data-v-838e3f96]:nth-child(1){height:%?37?%;margin-bottom:%?16?%;display:flex;justify-content:center}.input_content_photo_adPh > uni-view:nth-child(1) uni-image[data-v-838e3f96]{width:%?45?%;display:block}.input_content_photo_adPh > uni-view[data-v-838e3f96]:nth-child(2){text-align:center;color:#bbb;font-size:%?24?%}.input_content_photo_adPh .photos[data-v-838e3f96]{width:%?206?%}.input_content_photo_adPh_jiao[data-v-838e3f96]{position:absolute;top:%?-2?%;right:%?-1?%;width:%?40?%;height:%?40?%;background:rgba(0,0,0,.6);display:flex;align-items:center;justify-content:center;border-radius:0 %?8?% 0 %?8?%}.input_content_photo_adPh_jiao uni-image[data-v-838e3f96]{width:%?16?%;height:%?16?%}.input_content_describe[data-v-838e3f96]{border-top:1px solid #eee;padding-top:%?30?%;padding-bottom:%?47?%;border-bottom:1px solid #eee}.input_content_describe_title[data-v-838e3f96]{display:flex;align-items:center;justify-content:space-between}.input_content_describe_title_msg[data-v-838e3f96]{color:#333;font-size:%?30?%}.input_content_describe_title_num[data-v-838e3f96]{color:#666;font-size:%?24?%}.input_content_describe_textarea[data-v-838e3f96]{border-radius:10px;margin-top:%?20?%;height:%?180?%;background:#f5f5f5;padding:%?20?%}.input_content_describe_textarea uni-textarea[data-v-838e3f96]{font-size:%?28?%;height:%?150?%}.input_content_keyword[data-v-838e3f96]{padding-top:%?32?%;display:flex;align-items:center;justify-content:space-between;font-size:%?30?%}.input_content_keyword_value[data-v-838e3f96]{flex:1;margin-left:%?30?%}.input_content_keyword_value uni-input[data-v-838e3f96]{width:100%;text-align:right}.photo_count[data-v-838e3f96]{margin-top:%?28?%}.photo_count .photo_size[data-v-838e3f96]{font-size:%?24?%;color:#999}.radio[data-v-838e3f96]{padding:%?30?%}.radio_label[data-v-838e3f96]{padding-left:%?10?%;color:#333;font-size:%?30?%;display:flex;align-items:center}.radio_label .select_check[data-v-838e3f96]{display:flex;align-items:center;justify-content:center;width:%?40?%;height:%?40?%;border:1px solid #ccc;border-radius:50%;margin-right:%?20?%}.radio_label .select_check .iconfont[data-v-838e3f96]{font-size:%?24?%}.radio_label .select[data-v-838e3f96]{background:#e93323;border:none}.radio_label .select .iconfont[data-v-838e3f96]{color:#fff}.radio .select_group[data-v-838e3f96]{display:flex}.radio .flex_start[data-v-838e3f96]{padding:0 %?10?%;margin-top:%?40?%;justify-content:flex-start}.radio_select[data-v-838e3f96]{display:flex;margin-right:%?110?%}.dobuButton[data-v-838e3f96]{padding:0 %?30?%}.margin_right[data-v-838e3f96]{background:#fd6523;margin-right:%?30?%}.content_list[data-v-838e3f96]{width:%?710?%;margin:auto;padding:0 %?20?%;box-sizing:border-box;background:#fff;margin-top:%?31?%;border-radius:%?10?%}.content_list .content_list_item[data-v-838e3f96]{padding:%?32?% %?10?%;display:flex;justify-content:space-between;border-bottom:1px solid #eee}.content_list .content_list_item .content_list_item_han[data-v-838e3f96]{color:#bbb;display:flex;align-items:center}.content_list .content_list_video[data-v-838e3f96]{min-height:%?154?%;padding:%?23?% %?10?%;display:flex;justify-content:space-between}.content_list .content_list_video .content_list_video_title[data-v-838e3f96]{padding-top:%?10?%}.content_list .content_list_video .video_list[data-v-838e3f96]{flex:1;display:flex;justify-content:flex-end;flex-wrap:wrap}.videoHover[data-v-838e3f96]{width:%?180?%;height:%?180?%;display:flex;align-items:center;justify-content:center;position:absolute;top:0;left:0;z-index:10}.videoHover uni-view[data-v-838e3f96]{width:%?50?%;height:%?50?%;background:#000;border-radius:%?50?%;display:flex;align-items:center;justify-content:center}.videoHover uni-view .iconfont[data-v-838e3f96]{color:#fff;font-size:%?21?%}.photo[data-v-838e3f96]{border:1px solid #ddd;opacity:1;border-radius:%?8?%;font-size:%?28?%;display:flex;flex-direction:column;justify-content:center;text-align:center;width:%?150?%;height:%?150?%;box-sizing:border-box;color:#bbb;margin-left:%?16?%;position:relative;margin-bottom:%?12?%}.photo uni-image[data-v-838e3f96]{width:%?62?%;margin-bottom:%?10?%}.jiao uni-image[data-v-838e3f96]{position:absolute;top:%?-14?%;right:%?-14?%;width:%?40?%;height:%?40?%;border-radius:50%;padding:%?8?%;background:#e93323;z-index:999}.jiao uni-video[data-v-838e3f96]{width:%?150?%;height:%?150?%}.preview_video[data-v-838e3f96]{position:absolute}.container_input[data-v-838e3f96]{background:#fff;padding:0 %?20?%;width:%?710?%;margin:auto;margin-top:%?31?%;border-radius:%?10?%}.container_input_item[data-v-838e3f96]{display:flex;height:%?106?%;align-items:center}.container_input_item .select_and_input[data-v-838e3f96]{display:flex;align-items:center;justify-content:space-between}.container_input_item .select_and_input .greyColor[data-v-838e3f96]{color:#bbb}.container_input_item .radio[data-v-838e3f96]{padding:%?30?% 0}.container_input_item_label[data-v-838e3f96]{padding-left:%?10?%;color:#333;font-size:%?30?%;display:flex;align-items:center}.container_input_item_label .select_check[data-v-838e3f96]{display:flex;align-items:center;justify-content:center;width:%?40?%;height:%?40?%;border:1px solid #ccc;border-radius:50%;margin-right:%?20?%}.container_input_item_label .select_check .iconfont[data-v-838e3f96]{font-size:%?24?%}.container_input_item_label .select[data-v-838e3f96]{background:#e93323;border:none}.container_input_item_label .select .iconfont[data-v-838e3f96]{color:#fff}.container_input_item_value[data-v-838e3f96]{padding-right:%?10?%;flex:1;display:flex;align-items:center;justify-content:flex-end}.container_input_item_value > span[data-v-838e3f96]:nth-child(1){display:inline-block;margin-right:%?15?%}.container_input_item_value .text[data-v-838e3f96]{color:#000;display:inline-block;max-width:%?400?%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.container_input_item_value uni-input[data-v-838e3f96]{text-align:right}.container_input_item_value .select_group[data-v-838e3f96]{display:flex}.container_input_item_value_select[data-v-838e3f96]{display:flex;margin-right:%?110?%}.container_input_item .flex_start[data-v-838e3f96]{padding:0 %?10?%;margin-top:%?40?%;justify-content:flex-start}.container_input > uni-view[data-v-838e3f96]:not(:last-child){border-bottom:1px solid #eee}.inputPlaceHolder[data-v-838e3f96]{color:#bbb}.paddingTop_none[data-v-838e3f96]{padding-top:0!important}.marginTop_none[data-v-838e3f96]{margin-top:0}.video-count[data-v-838e3f96]{position:fixed;width:%?600?%;height:%?500?%;top:50%;left:50%;margin-left:%?-300?%;margin-top:%?-250?%;z-index:100;display:flex;align-items:center;justify-content:center}.video-count .videoLink[data-v-838e3f96]{width:%?600?%;height:%?500?%}',""]),t.exports=e},"61d4":function(t,e,a){var i=a("24fb");e=i(!1),e.push([t.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 行为相关颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */.select_popup_container[data-v-02d131a0]{background:#fff;border-radius:%?16?% %?16?% 0 0}.popup_title[data-v-02d131a0]{display:flex;justify-content:flex-end;padding:%?36?% %?30?%;position:relative}.popup_title_msn[data-v-02d131a0]{position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);color:#282828;font-size:%?32?%;font-weight:700}.popup_title .close[data-v-02d131a0]{position:relative;z-index:10;font-size:%?28?%;color:#8a8a8a}.tap_list[data-v-02d131a0]{margin-top:%?35?%;border-bottom:1px solid #eee;width:%?710?%;margin:auto;margin-bottom:%?40?%;display:flex}.tap_list .border[data-v-02d131a0]{border-bottom:2px solid #e93323!important;color:#e93323!important}.tap_list_item[data-v-02d131a0]{padding-bottom:%?18?%;margin-right:%?30?%}.content_list .popup_sroll[data-v-02d131a0]{height:%?742?%}.content_list .content_list_item[data-v-02d131a0]{color:#333;margin-bottom:%?50?%;margin-left:%?30?%;margin-right:%?30?%;display:flex;align-items:center;justify-content:space-between}.content_list .content_list_item > uni-view[data-v-02d131a0]{flex:0.6}.content_list .content_list_item > uni-view[data-v-02d131a0]:nth-child(2){flex:0.4;display:flex;justify-content:flex-end}.content_list .content_list_item .iconfont[data-v-02d131a0]{color:#e93323;font-size:%?36?%!important}',""]),t.exports=e},"62e6":function(t,e,a){var i=a("aaba");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=a("4f06").default;n("8e1e8c04",i,!0,{sourceMap:!1,shadowMode:!1})},"635cf":function(t,e,a){"use strict";a.r(e);var i=a("53cf"),n=a.n(i);for(var o in i)["default"].indexOf(o)<0&&function(t){a.d(e,t,(function(){return i[t]}))}(o);e["default"]=n.a},6669:function(t,e,a){var i=a("24fb");e=i(!1),e.push([t.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 行为相关颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */.select_popup_container[data-v-37c65672]{background:#fff;border-radius:%?16?% %?16?% 0 0}.popup_title[data-v-37c65672]{display:flex;justify-content:flex-end;padding:%?36?% %?30?%;position:relative}.popup_title .manage_btn[data-v-37c65672]{font-weight:400;color:#e93323;font-size:%?24?%;position:absolute;left:%?30?%;top:%?40?%}.popup_title_msn[data-v-37c65672]{position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);color:#282828;font-size:%?32?%;font-weight:700}.popup_title .close[data-v-37c65672]{position:relative;z-index:10;font-size:%?28?%;color:#8a8a8a}.selected_list[data-v-37c65672]{display:flex;flex-wrap:wrap;padding:%?50?% %?30?%}.selected_list_item[data-v-37c65672]{display:flex;align-items:center;color:#e93323;margin-right:%?31?%;margin-bottom:%?40?%;padding:%?3?% %?11?%;background:#fff6f5}.selected_list_item .iconfont[data-v-37c65672]{display:inline-block;margin-left:%?14?%;font-size:%?24?%}.popup_tap[data-v-37c65672]{display:flex;padding:0 %?30?%;color:#333;font-size:%?28?%;border-bottom:1px solid #eee;margin-bottom:%?40?%}.popup_tap .popup_tap_content[data-v-37c65672]{display:flex}.popup_tap_item[data-v-37c65672]{margin-right:%?60?%;padding-bottom:%?21?%;white-space:nowrap}.popup_tap .selectTapEd[data-v-37c65672]{color:#e93323;border-bottom:%?3?% solid #e93323}.content .popup_sroll[data-v-37c65672]{max-height:%?742?%;min-height:%?300?%}.content_list_item[data-v-37c65672]{color:#333;margin-bottom:%?50?%;margin-left:%?40?%;margin-right:%?40?%;display:flex;align-items:center;justify-content:space-between}.content_list_item > uni-view[data-v-37c65672]{flex:0.6}.content_list_item > uni-view[data-v-37c65672]:nth-child(2){flex:0.4;display:flex;justify-content:flex-end}.content_list_item .iconfont[data-v-37c65672]{color:#e93323;font-size:%?36?%!important}.selectSingleCase[data-v-37c65672]{color:#e93323}.selectTapEd[data-v-37c65672]{color:#e93323;border-bottom:%?3?% solid #e93323}',""]),t.exports=e},"6e70":function(t,e,a){"use strict";a.r(e);var i=a("0e0f"),n=a("635cf");for(var o in n)["default"].indexOf(o)<0&&function(t){a.d(e,t,(function(){return n[t]}))}(o);a("d899");var s=a("f0c5"),r=Object(s["a"])(n["default"],i["b"],i["c"],!1,null,"13917909",null,!1,i["a"],void 0);e["default"]=r.exports},"70a6":function(t,e,a){"use strict";a.r(e);var i=a("1147"),n=a("8df7");for(var o in n)["default"].indexOf(o)<0&&function(t){a.d(e,t,(function(){return n[t]}))}(o);a("f681");var s=a("f0c5"),r=Object(s["a"])(n["default"],i["b"],i["c"],!1,null,"09767350",null,!1,i["a"],void 0);e["default"]=r.exports},71563:function(t,e,a){"use strict";a.r(e);var i=a("d274"),n=a("2e40");for(var o in n)["default"].indexOf(o)<0&&function(t){a.d(e,t,(function(){return n[t]}))}(o);a("9fa7");var s=a("f0c5"),r=Object(s["a"])(n["default"],i["b"],i["c"],!1,null,"69143de2",null,!1,i["a"],void 0);e["default"]=r.exports},"74e6":function(t,e,a){"use strict";a("7a82");var i=a("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=i(a("5530")),o=i(a("c7eb")),s=i(a("1da1"));a("a9e3"),a("14d9"),a("a434"),a("d3b7"),a("d81d"),a("4de4");var r=a("f89e"),d={props:{allReadySelect:{type:Array,default:function(){return[]}},classifiedData:{type:Array,default:function(){return[]}},mer_id:{type:Number||String,default:0}},data:function(){return{selectList:[],selectTap:-1,selectTapIndex:-1,tapList:[],isShowLastItem:!0,areaList:[]}},watch:{classifiedData:{handler:function(t){this.areaList=this.classifiedData},deep:!0}},created:function(){this.areaList=(0,r.serialize)(this.classifiedData)},methods:{selectArea:function(t){var e=this;return(0,s.default)((0,o.default)().mark((function a(){return(0,o.default)().wrap((function(a){while(1)switch(a.prev=a.next){case 0:if(t.children&&t.children.length){a.next=5;break}return a.abrupt("return");case 5:if(!(e.selectTapIndex>-1)){a.next=13;break}return e.tapList.splice(e.selectTapIndex,999),e.areaList=t.children,e.tapList.push(t),e.isShowLastItem=!0,e.selectTap=-1,e.selectTapIndex=-1,a.abrupt("return");case 13:if(!t.children||!t.children.length){a.next=19;break}return e.areaList=t.children,e.tapList.push(t),e.isShowLastItem=!0,e.selectTap=-1,a.abrupt("return");case 19:case"end":return a.stop()}}),a)})))()},selectTapItem:function(t,e){var a=this;return(0,s.default)((0,o.default)().mark((function i(){return(0,o.default)().wrap((function(i){while(1)switch(i.prev=i.next){case 0:if(0!=e){i.next=5;break}return a.areaList=(0,r.serialize)(a.classifiedData),a.selectTap=t.value,a.selectTapIndex=e,i.abrupt("return");case 5:a.selectTap=t.value,a.areaList=t.children;case 7:case"end":return i.stop()}}),i)})))()},selectTapLastItem:function(t){this.selectTap=-1,this.tapList.length?this.areaList=this.tapList[this.tapList.length-1].children:this.areaList=(0,r.serialize)(this.classifiedData)},handlyAddSelect:function(t){if(this.selectList.some((function(e){return e.value==t.value})))(0,r.Toast)("已经选择过了");else if(this.selectTapIndex>-1&&this.tapList.splice(this.selectTapIndex,999),t.parent_id){var e;e=(0,r.serialize)(this.tapList).map((function(t){return t.name})).join("/")+"/"+t.name,this.selectList.push((0,n.default)((0,n.default)({},t),{},{name:e}))}else this.selectList.push(t)},delSelectItem:function(t,e){this.selectList.splice(e,1)},handleGetSelectArea:function(){this.$emit("handleGetSelectArea",this.selectList)},close:function(){this.$emit("close")},unique:function(t){var e={};return t.filter((function(t){if(!e[t])return e[t]=!0,!0}))}}};e.default=d},7920:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAUdJREFUWEe91+1VAkEMheF3KsBS7EDoADvRSrQT7UDogFK0gniCu55ldz6S7A785AD3YWYnySQReQA+gNeU0oU7vETkEXgDnpOInIAn4Bs49EYM4V+A/vGzAlSjiF1vxCz8B9gnXfF7ILLhKV2ugN6IUrjm/gN6IWrhC8DWiFZ4FrAVwhJeBKxFWMOrgCjCE94EeBHecBPAioiEmwEtRDTcBSghhjo21va/8upoajeFyNIIM2Vbv6aNxR3uXoFC2da3Q+FrAeOy6++EW3l0C6Z7roBwK3cBck/7sC3hecIMqB21NfOECWA551FEE2AJL5wO04NZBXjCo4giIBIeQWQBa8K9iAVgi3APIjeUhhtLrpe0Tsd8LN803LIS04tJl/AWYryadQ2vIiaX03BLtcwRBcT1cqrDxCfw4plkPKHzzw4P5jtw/AWJuVgew27bMwAAAABJRU5ErkJggg=="},"7b57":function(t,e,a){"use strict";a.r(e);var i=a("d807"),n=a.n(i);for(var o in i)["default"].indexOf(o)<0&&function(t){a.d(e,t,(function(){return i[t]}))}(o);e["default"]=n.a},"7cc4":function(t,e,a){var i=a("61a3");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=a("4f06").default;n("60d365ef",i,!0,{sourceMap:!1,shadowMode:!1})},"7d2f":function(t,e,a){"use strict";a("7a82");var i=a("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,a("d3b7"),a("159b"),a("b64b"),a("99af"),a("a434");var n=i(a("41da")),o=a("f89e"),s={components:{selectForm:n.default},props:["product_id","bar_code"],data:function(){return{singleSpecification:{price:"",cost:"",stock:"",ot_price:"",bar_code:"",weight:"",volume:"",image:"",extension_one:"",extension_two:""},moreThanFlag:!0,formList:[{id:1,label:"售价",type:"digit",model:"price",holder:"请填写售价",require:!0},{id:10,label:"库存",type:"digit",model:"stock",holder:"请填写库存",disable:!0,require:!0},{id:2,label:"成本价",type:"digit",holder:"请填写成本价",model:"cost",require:!0},{id:3,label:"批发价",type:"digit",holder:"请填写批发价",model:"ot_price",require:!0}],moreThanList:[{id:6,label:"重量",type:"digit",holder:"请输入重量",model:"weight",require:!1},{id:7,label:"体积",type:"digit",holder:"请输入体积",model:"volume",require:!1},{id:5,label:"商品条码",type:"input",holder:"请填写商品条码",model:"bar_code",require:!1}]}},watch:{singleSpecification:{handler:function(t,e){this.singleSpecification=t,this.saveSingleSpecification(),this.$emit("updateCode",t.bar_code)},deep:!0}},mounted:function(){var t=this;(0,o.getStorage)("addGoodsFormData").image&&(this.singleSpecification.image=(0,o.getStorage)("addGoodsFormData").image),(0,o.getStorage)("singleSpecification")&&Object.keys(this.singleSpecification).forEach((function(e){(0,o.getStorage)("singleSpecification")[e]&&(t.singleSpecification[e]=(0,o.getStorage)("singleSpecification")[e])})),this.singleSpecification.bar_code=this.$props.bar_code+""},destroyed:function(){(0,o.setStorage)("singleSpecification",{})},methods:{selectMoreThan:function(){this.formList=this.formList.concat(this.moreThanList),this.moreThanFlag=!1},spliceMoreThan:function(){this.moreThanFlag=!0,this.formList.splice(4,this.formList.length)},input:function(t){this.singleSpecification=t},saveSingleSpecification:function(){(0,o.setStorage)("singleSpecification",this.singleSpecification)}}};e.default=s},"83e1":function(t,e,a){"use strict";var i=a("5088"),n=a.n(i);n.a},8704:function(t,e,a){var i=a("24fb");e=i(!1),e.push([t.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 行为相关颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */.input_content[data-v-69143de2]{background:#fff;padding:%?20?% %?40?% %?40?% %?30?%;width:%?710?%;margin:auto;box-sizing:border-box;border-radius:%?10?%}.input_content_textarea[data-v-69143de2]{border-bottom:1px solid #eee;padding-bottom:%?19?%}.input_content_textarea uni-textarea[data-v-69143de2]{height:%?114?%}.input_content_textarea > uni-view[data-v-69143de2]{text-align:right;color:#666;font-size:%?24?%}.input_content_photo[data-v-69143de2]{margin-top:%?41?%;display:flex;flex-wrap:wrap}.input_content_photo .photos[data-v-69143de2]{width:%?156?%;height:%?156?%}.input_content_photo_adPh[data-v-69143de2]{position:relative;width:%?156?%;height:%?156?%;border:1px solid #ddd;display:flex;flex-direction:column;justify-content:center;border-radius:%?8?%;margin-right:%?30?%;margin-bottom:%?30?%}.input_content_photo_adPh > uni-image[data-v-69143de2]{height:100%;margin:auto}.input_content_photo_adPh > uni-view[data-v-69143de2]:nth-child(1){height:%?37?%;margin-bottom:%?16?%;display:flex;justify-content:center}.input_content_photo_adPh > uni-view:nth-child(1) uni-image[data-v-69143de2]{width:%?45?%;display:block}.input_content_photo_adPh > uni-view[data-v-69143de2]:nth-child(2){text-align:center;color:#bbb;font-size:%?24?%}.input_content_photo_adPh_jiao[data-v-69143de2]{position:absolute;top:%?-14?%;right:%?-14?%;width:%?40?%;height:%?40?%;background:#e93323;display:flex;align-items:center;justify-content:center;border-radius:50%}.input_content_photo_adPh_jiao uni-image[data-v-69143de2]{width:%?16?%;height:%?16?%}.input_content_describe[data-v-69143de2]{border-top:1px solid #eee;padding-top:%?30?%;padding-bottom:%?47?%;border-bottom:1px solid #eee}.input_content_describe_title[data-v-69143de2]{display:flex;align-items:center;justify-content:space-between}.input_content_describe_title_msg[data-v-69143de2]{color:#333;font-size:%?30?%}.input_content_describe_title_num[data-v-69143de2]{color:#666;font-size:%?24?%}.input_content_describe_textarea[data-v-69143de2]{border-radius:10px;margin-top:%?20?%;height:%?180?%;background:#f5f5f5;padding:%?20?%}.input_content_describe_textarea uni-textarea[data-v-69143de2]{font-size:%?28?%}.input_content_keyword[data-v-69143de2]{padding-top:%?32?%;display:flex;align-items:center;justify-content:space-between;font-size:%?30?%}.input_content_keyword_value[data-v-69143de2]{flex:1;margin-left:%?30?%}.input_content_keyword_value uni-input[data-v-69143de2]{width:100%;text-align:right}.placeholderClass[data-v-69143de2]{color:#bbb;font-size:%?28?%}',""]),t.exports=e},"8df7":function(t,e,a){"use strict";a.r(e);var i=a("7d2f"),n=a.n(i);for(var o in i)["default"].indexOf(o)<0&&function(t){a.d(e,t,(function(){return i[t]}))}(o);e["default"]=n.a},"8e53":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACIAAAAiCAYAAAA6RwvCAAAAAXNSR0IArs4c6QAAAydJREFUWEfNmEmoj2EUh59fYUUUkVCmWJgTNohIxlhyS2zIwjysiIgVublW2EghS7PYGK6FKeNNRCiSqQwrU0dH56/v/u83XVfufZffd973fb7znvN7z/lEM4aZdQdmAJOBoUBfoFMs8Rl4AdwHLgJnJb0tu7zKGJrZBGBDQLQrMwf44TDATklXiubkgphZf6AOmJVYqAE4D9wAngCf4l1nYCAwBpgGDEnMOQ2skPQsCygTxMxqgH1Ax/i6I0CtpDtFX+fvzWwksBZYALgXvwDLJPk6TUYqiJltBraG9TVgqaR7ZQCqbcxsOLAfGBfvtkjaVm3XBKQKwo9lvaTvfwNRmWNm7YFdwMosmEYgcRyHw3iTpB0tAUjxzkZgezyfL+lYxeYPSATm3YiJOkmr/iVEwjt7wjMeMyMqAZwEORXZ4TExoaXHkfURcUyezh4zpyXNdtvfIGY2EbgU2TH6bwOzrAcjgG9FNk10namAnADmAIckLcr5mvHAQ0kf8jY1s57xxScl/UyzNbNDwELghKS5Ctl+FXSjsnTCzBzCXfoSmCTpacYGA0LiewPzJB3PsHOduR2n0MtB3AMHgQZJfn+kDjPrFhN9g1QYM0tCuM1YSa9z1nwQCrzYQRzCYVw1XQkzR8pGfzyT9y4HpBZY7Y5wkJvAaKBG0tGigEvbMOb4jZvprYzjcfl3yb/pIO+BruFGv8gKRwqMz2kWRGSrX5DXgfcO8hXoAAyW9LiQIgyqYPxpbhBneGQQ8Aj41qZA3gGeER7hrXo0bSZYK+m7W9K6/5y+u4E1lfQtK2g9PM3ysiMlm0bmXQdm1kjQfAOPeC/n8iR+KnChKDuqYMZLulog8V509Sl96ZmZ207xdkHSm4Ij9OB3OUiFCA1pfOnFQ28XLrdSGeC1T31rFUb1LhdNCqPwSj/AS0Xv3P5XqThc0nPfv+0Vz5XgaxPtRAZM6zRYCZj5wIF/3HIuSfYySQkoasI9gPcWNOEfY8EuBU348kpgpmlQc35LrAdmhgKXKVv8t8SZ+C3h6Zo7SoEkjsuvg+lexQPDUn7UeCr6/eFl47kiBU6S/QL1Id6VF0xZ1wAAAABJRU5ErkJggg=="},9877:function(t,e,a){"use strict";a("7a82");var i=a("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=i(a("ade3")),o=i(a("5530"));a("a9e3"),a("d3b7"),a("159b"),a("b64b"),a("4de4"),a("498a");var s=a("3093"),r=i(a("e9c8")),d=a("f89e"),c=a("fe63"),l={components:{},props:{merId:{type:[String,Number],default:""},product_id:{type:[String,Number],default:""},resetKey:{type:Boolean,default:!1},code:{type:[String,Number],default:0}},data:function(){return{showComponent:!1,showVideo:!1,disModel:!1,upload_max:10,uploadUrl:"".concat(s.HTTP_REQUEST_URL,"/api/upload/video"),addGoodsSecoundData:{is_good:0,is_gift_bag:0,sort:"",once_count:"",video_link:""}}},created:function(){this.initData()},watch:{addGoodsSecoundData:{handler:function(t){var e=this;setTimeout((function(){(0,d.setStorage)(e.product_id?"editGoodsDetils":"addGoodsSecoundData",t)}))},deep:!0},resetKey:{handler:function(t){this.initData()}}},methods:{videoshow:function(){var t=this;this.showVideo=!0,this.videoContext=uni.createVideoContext("myVideo",this),this.$nextTick((function(){t.videoContext.play()}))},initData:function(){var t=this,e={};if((0,d.getStorage)("goodsDis")&&(this.disModel=!0),this.product_id)return e=(0,d.getStorage)("editGoodsDetils"),Object.keys(this.addGoodsSecoundData).forEach((function(a){t.addGoodsSecoundData[a]=e[a]})),e.content&&((0,d.setStorage)("goodsDis",{store_name:e.content.title,imageList:e.content.image}),this.disModel=!0),void(0,d.setStorage)("canChangeSecound",!0);(0,d.getStorage)("addGoodsSecoundData")&&Object.keys(this.addGoodsSecoundData).forEach((function(e){((0,d.getStorage)("addGoodsSecoundData")[e]||0==(0,d.getStorage)("addGoodsSecoundData")[e])&&(t.addGoodsSecoundData[e]=(0,d.getStorage)("addGoodsSecoundData")[e])}))},lastStep:function(){this.$emit("lastStep")},submitCreatedGoods:function(){var t,e,a,i,n,s,r,l,u,p,f,v=this;(0,d.Loading)();var _=["addGoodsFormData","singleSpecification","attrValue","modifyPriceData","addGoodsSecoundData","goodsDis","editGoodsDetils","canChange","canChangeSecound","editCommodity"],h=0==(0,d.getStorage)("addGoodsFormData").spec_type?[(0,d.getStorage)("singleSpecification")]:(0,d.getStorage)("attrValue"),m=(0,o.default)((0,o.default)((0,o.default)({},this.addGoodsSecoundData),(0,d.getStorage)("addGoodsFormData")),{},{content:{title:(0,d.getStorage)("goodsDis")?(0,d.getStorage)("goodsDis").store_name:"",image:(0,d.getStorage)("goodsDis")?(0,d.getStorage)("goodsDis").imageList:[]},video_link:this.addGoodsSecoundData.video_link});h&&(m.attrValue=h.filter((function(t){return""!=t})),m.attrValue[0].bar_code);var g=(0,d.getStorage)("editCommodity");return Object.keys(g).forEach((function(t){m[t]=g[t]})),m.stock=null===(t=m.attrValue[0])||void 0===t?void 0:t.stock,!m.store_name||(null===(e=m.store_name)||void 0===e?void 0:e.trim().length)<=0?(0,d.Toast)("请输入商品名称"):!m.imageList||(null===(a=m.imageList)||void 0===a?void 0:a.length)<2?(0,d.Toast)("请上传2张以上商品图片"):!m.cate_name||(null===(i=m.cate_name)||void 0===i?void 0:i.trim().length)<=0?(0,d.Toast)("请选择平台分类"):!m.unit_name||(null===(n=m.unit_name)||void 0===n?void 0:n.trim().length)<=0?(0,d.Toast)("请输入商品单位"):null===(s=m.attrValue[0])||void 0===s||!s.price||(null===(r=m.attrValue[0])||void 0===r?void 0:r.price)<0?(0,d.Toast)("价格不能小于0"):!m.stock||m.stock<0?(0,d.Toast)("库存不能小于0"):null===(l=m.attrValue[0])||void 0===l||!l.cost||(null===(u=m.attrValue[0])||void 0===u?void 0:u.cost)<0?(0,d.Toast)("成本价不能小于0"):null===(p=m.attrValue[0])||void 0===p||!p.ot_price||(null===(f=m.attrValue[0])||void 0===f?void 0:f.ot_price)<0?(0,d.Toast)("批发价不能小于0"):((0,d.getStorage)("addGoodsFormData").spec_type,void(this.product_id?(0,c.productUpdate)(this.merId,this.product_id,m).then((function(t){_.forEach((function(t){(0,d.getStorage)(t)&&(0,d.removeStorage)(t)})),(0,d.hideLoading)(),(0,d.Modal)("提交成功","点击确定,返回商品管理",{showCancel:!1}).then((function(){uni.removeStorageSync("singleSpecification"),uni.redirectTo({url:"/pages/product/goodsOnSale/index?mer_id="+v.merId})}))})).catch((function(t){(0,d.Toast)(t)})):(0,c.productCreate)(this.merId,m).then((function(t){_.forEach((function(t){(0,d.getStorage)(t)&&(0,d.removeStorage)(t)})),(0,d.hideLoading)(),(0,d.Modal)("提交成功","点击确定,返回商品管理",{showCancel:!1}).then((function(){uni.redirectTo({url:"/pages/product/goodsOnSale/index?mer_id="+v.merId})}))})).catch((function(t){(0,d.Toast)(t)}))))},isGood:function(t){this.addGoodsSecoundData.is_good=t.detail.value?1:0},isGiftBag:function(t){this.addGoodsSecoundData.is_gift_bag=t.detail.value?1:0},switchChange:function(t,e){this.addGoodsSecoundData[e.model]=t?1:0},inputGoodsDetils:function(){(0,d.navigateTo)(1,"/pages/product/addGoods/addGoodDetils",{mer_id:this.merId})},uploadVideo:function(){var t=this;uni.chooseVideo({sourceType:["camera","album"],success:function(e){Math.ceil(e.size/1024)<1024*t.upload_max?uni.uploadFile({url:t.uploadUrl,filePath:e.tempFilePath,name:"file",formData:{user:"test"},header:(0,n.default)({},s.TOKENNAME,"Bearer "+r.default.state.app.token),success:function(e){var a=JSON.parse(e.data);t.addGoodsSecoundData.video_link=a.data.src},complete:function(t){}}):uni.showModal({title:"提示",content:"视频超出限制".concat(t.upload_max,"MB,已过滤")})},fail:function(t){}})},deleteImage:function(t){this.addGoodsSecoundData.video_link=""}}};e.default=l},"99d5":function(t,e,a){var i=a("24fb");e=i(!1),e.push([t.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 行为相关颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */.container[data-v-882db4ee]{padding-top:%?20?%;padding-bottom:%?156?%}.bar-code[data-v-882db4ee]{height:%?80?%;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #eee;margin-bottom:%?20?%}.bar-code uni-input[data-v-882db4ee]{text-align:right}.tip[data-v-882db4ee]{padding:%?16?% 0 0 %?20?%;font-size:%?22?%;color:#e93323;display:flex;align-items:center;margin-bottom:%?40?%}.tip .iconfont[data-v-882db4ee]{display:inline-block;margin-right:%?10?%}.popup_group[data-v-882db4ee]{background:#fff;margin:%?31?% auto;width:%?710?%;font-size:%?30?%;border-radius:%?10?%}.popup_group .icon_top[data-v-882db4ee]{-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}.popup_group .icon_bottom[data-v-882db4ee]{-webkit-transform:rotate(90deg);transform:rotate(90deg)}.popup_group .popup_group_item[data-v-882db4ee]{padding:%?32?% %?30?%;display:flex;align-items:center;justify-content:space-between}.popup_group .popup_group_item .popup_group_item_value[data-v-882db4ee]{display:flex;align-items:center}.popup_group .popup_group_item .popup_group_item_value .popup_group_item_message[data-v-882db4ee]{margin-right:%?15?%;color:#bbb;max-width:%?400?%}.popup_group .popup_group_item .popup_group_item_value .popup_group_item_message_value[data-v-882db4ee]{display:inline-block;max-width:%?400?%;color:#000}.popup_group .popup_group_item .popup_group_item_value .iconfont[data-v-882db4ee]{color:#bbb}.popup_group .popup_group_item .popup_group_item_value uni-input[data-v-882db4ee]{text-align:right}.popup_group > uni-view[data-v-882db4ee]:not(:last-child){border-bottom:1px solid #eee}.handle[data-v-882db4ee]{width:100%;height:%?126?%;background:#fff;display:flex;align-items:center;justify-content:center;position:fixed;left:0;bottom:0;z-index:10}.handle_button[data-v-882db4ee]{width:%?690?%;height:%?86?%;background:#e93323;border-radius:43px;display:flex;align-items:center;justify-content:center;font-size:%?32?%;color:#fff}.input_content[data-v-882db4ee]{background:#fff;padding:%?20?% %?30?% %?40?% %?30?%;width:%?710?%;margin:auto;box-sizing:border-box;border-radius:%?10?%}.input_content_textarea[data-v-882db4ee]{border-bottom:1px solid #eee;padding-bottom:%?19?%}.input_content_textarea uni-textarea[data-v-882db4ee]{height:%?114?%}.input_content_textarea > uni-view[data-v-882db4ee]{text-align:right;color:#666;font-size:%?24?%}.input_content_photo[data-v-882db4ee]{margin-top:%?30?%;display:flex;flex-wrap:wrap}.input_content_photo_adPh[data-v-882db4ee]{position:relative;width:%?210?%;height:%?210?%;border:1px solid #ddd;display:flex;flex-direction:column;justify-content:center;border-radius:%?8?%;margin-right:%?10?%;margin-bottom:%?10?%;box-sizing:border-box}.input_content_photo_adPh[data-v-882db4ee]:nth-child(3n){margin-right:0}.input_content_photo_adPh > uni-view[data-v-882db4ee]:nth-child(1){height:%?37?%;margin-bottom:%?16?%;display:flex;justify-content:center}.input_content_photo_adPh > uni-view:nth-child(1) uni-image[data-v-882db4ee]{width:%?45?%;display:block}.input_content_photo_adPh > uni-view[data-v-882db4ee]:nth-child(2){text-align:center;color:#bbb;font-size:%?24?%}.input_content_photo_adPh .photos[data-v-882db4ee]{width:%?206?%}.input_content_photo_adPh_jiao[data-v-882db4ee]{position:absolute;top:%?-2?%;right:%?-1?%;width:%?40?%;height:%?40?%;background:rgba(0,0,0,.6);display:flex;align-items:center;justify-content:center;border-radius:0 %?8?% 0 %?8?%}.input_content_photo_adPh_jiao uni-image[data-v-882db4ee]{width:%?16?%;height:%?16?%}.input_content_describe[data-v-882db4ee]{border-top:1px solid #eee;padding-top:%?30?%;padding-bottom:%?47?%;border-bottom:1px solid #eee}.input_content_describe_title[data-v-882db4ee]{display:flex;align-items:center;justify-content:space-between}.input_content_describe_title_msg[data-v-882db4ee]{color:#333;font-size:%?30?%}.input_content_describe_title_num[data-v-882db4ee]{color:#666;font-size:%?24?%}.input_content_describe_textarea[data-v-882db4ee]{border-radius:10px;margin-top:%?20?%;height:%?180?%;background:#f5f5f5;padding:%?20?%}.input_content_describe_textarea uni-textarea[data-v-882db4ee]{font-size:%?28?%;height:%?150?%}.input_content_keyword[data-v-882db4ee]{padding-top:%?32?%;display:flex;align-items:center;justify-content:space-between;font-size:%?30?%}.input_content_keyword_value[data-v-882db4ee]{flex:1;margin-left:%?30?%}.input_content_keyword_value uni-input[data-v-882db4ee]{width:100%;text-align:right}.photo_count[data-v-882db4ee]{margin-top:%?28?%}.photo_count .photo_size[data-v-882db4ee]{font-size:%?24?%;color:#999}.radio[data-v-882db4ee]{padding:%?30?%}.radio_label[data-v-882db4ee]{padding-left:%?10?%;color:#333;font-size:%?30?%;display:flex;align-items:center}.radio_label .select_check[data-v-882db4ee]{display:flex;align-items:center;justify-content:center;width:%?40?%;height:%?40?%;border:1px solid #ccc;border-radius:50%;margin-right:%?20?%}.radio_label .select_check .iconfont[data-v-882db4ee]{font-size:%?24?%}.radio_label .select[data-v-882db4ee]{background:#e93323;border:none}.radio_label .select .iconfont[data-v-882db4ee]{color:#fff}.radio .select_group[data-v-882db4ee]{display:flex}.radio .flex_start[data-v-882db4ee]{padding:0 %?10?%;margin-top:%?40?%;justify-content:flex-start}.radio_select[data-v-882db4ee]{display:flex;margin-right:%?110?%}.dobuButton[data-v-882db4ee]{padding:0 %?30?%}.margin_right[data-v-882db4ee]{background:#fd6523;margin-right:%?30?%}.pop[data-v-882db4ee]{z-index:1}.guanbi[data-v-882db4ee]{width:20px;height:20px;margin:30px auto}',""]),t.exports=e},"9fa7":function(t,e,a){"use strict";var i=a("32f8"),n=a.n(i);n.a},a768:function(t,e,a){"use strict";a.d(e,"b",(function(){return i})),a.d(e,"c",(function(){return n})),a.d(e,"a",(function(){}));var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-uni-view",{staticClass:"select_popup_container platform"},[a("v-uni-view",{staticClass:"popup_title"},[a("v-uni-view",{staticClass:"popup_title_msn"},[t._v("请选择平台分类")]),a("v-uni-view",{staticClass:"close",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.close.apply(void 0,arguments)}}},[a("v-uni-text",{staticClass:"iconfont"},[t._v("")])],1)],1),a("v-uni-view",{staticClass:"tap_list"},[t._l(t.tapList,(function(e,i){return a("v-uni-view",{key:i,staticClass:"tap_list_item",class:{border:t.selectIndex==i},on:{click:function(a){arguments[0]=a=t.$handleEvent(a),t.selectTap(e,i)}}},[t._v(t._s(e.label))])})),a("v-uni-view",{staticClass:"tap_list_item",class:{border:-1==t.selectIndex},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.pleaseSelect.apply(void 0,arguments)}}},[t._v("请选择")])],2),a("v-uni-view",{staticClass:"content_list"},[a("v-uni-scroll-view",{staticClass:"popup_sroll",attrs:{"scroll-y":"true"}},t._l(t.selectClassifiedData,(function(e,i){return a("v-uni-view",{key:i,staticClass:"content_list_item",on:{click:function(a){arguments[0]=a=t.$handleEvent(a),t.selectItem(e,i)}}},[t._v(t._s(e.label))])})),1)],1)],1)},n=[]},a774:function(t,e,a){"use strict";var i=a("4b0d"),n=a.n(i);n.a},aaba:function(t,e,a){var i=a("24fb");e=i(!1),e.push([t.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 行为相关颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */.container[data-v-0656a7f0]{padding-top:%?20?%;padding-bottom:%?156?%}.bar-code[data-v-0656a7f0]{height:%?80?%;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #eee;margin-bottom:%?20?%}.bar-code uni-input[data-v-0656a7f0]{text-align:right}.tip[data-v-0656a7f0]{padding:%?16?% 0 0 %?20?%;font-size:%?22?%;color:#e93323;display:flex;align-items:center;margin-bottom:%?40?%}.tip .iconfont[data-v-0656a7f0]{display:inline-block;margin-right:%?10?%}.popup_group[data-v-0656a7f0]{background:#fff;margin:%?31?% auto;width:%?710?%;font-size:%?30?%;border-radius:%?10?%}.popup_group .icon_top[data-v-0656a7f0]{-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}.popup_group .icon_bottom[data-v-0656a7f0]{-webkit-transform:rotate(90deg);transform:rotate(90deg)}.popup_group .popup_group_item[data-v-0656a7f0]{padding:%?32?% %?30?%;display:flex;align-items:center;justify-content:space-between}.popup_group .popup_group_item .popup_group_item_value[data-v-0656a7f0]{display:flex;align-items:center}.popup_group .popup_group_item .popup_group_item_value .popup_group_item_message[data-v-0656a7f0]{margin-right:%?15?%;color:#bbb;max-width:%?400?%}.popup_group .popup_group_item .popup_group_item_value .popup_group_item_message_value[data-v-0656a7f0]{display:inline-block;max-width:%?400?%;color:#000}.popup_group .popup_group_item .popup_group_item_value .iconfont[data-v-0656a7f0]{color:#bbb}.popup_group .popup_group_item .popup_group_item_value uni-input[data-v-0656a7f0]{text-align:right}.popup_group > uni-view[data-v-0656a7f0]:not(:last-child){border-bottom:1px solid #eee}.handle[data-v-0656a7f0]{width:100%;height:%?126?%;background:#fff;display:flex;align-items:center;justify-content:center;position:fixed;left:0;bottom:0;z-index:10}.handle_button[data-v-0656a7f0]{width:%?690?%;height:%?86?%;background:#e93323;border-radius:43px;display:flex;align-items:center;justify-content:center;font-size:%?32?%;color:#fff}.input_content[data-v-0656a7f0]{background:#fff;padding:%?20?% %?30?% %?40?% %?30?%;width:%?710?%;margin:auto;box-sizing:border-box;border-radius:%?10?%}.input_content_textarea[data-v-0656a7f0]{border-bottom:1px solid #eee;padding-bottom:%?19?%}.input_content_textarea uni-textarea[data-v-0656a7f0]{height:%?114?%}.input_content_textarea > uni-view[data-v-0656a7f0]{text-align:right;color:#666;font-size:%?24?%}.input_content_photo[data-v-0656a7f0]{margin-top:%?30?%;display:flex;flex-wrap:wrap}.input_content_photo_adPh[data-v-0656a7f0]{position:relative;width:%?210?%;height:%?210?%;border:1px solid #ddd;display:flex;flex-direction:column;justify-content:center;border-radius:%?8?%;margin-right:%?10?%;margin-bottom:%?10?%;box-sizing:border-box}.input_content_photo_adPh[data-v-0656a7f0]:nth-child(3n){margin-right:0}.input_content_photo_adPh > uni-view[data-v-0656a7f0]:nth-child(1){height:%?37?%;margin-bottom:%?16?%;display:flex;justify-content:center}.input_content_photo_adPh > uni-view:nth-child(1) uni-image[data-v-0656a7f0]{width:%?45?%;display:block}.input_content_photo_adPh > uni-view[data-v-0656a7f0]:nth-child(2){text-align:center;color:#bbb;font-size:%?24?%}.input_content_photo_adPh .photos[data-v-0656a7f0]{width:%?206?%}.input_content_photo_adPh_jiao[data-v-0656a7f0]{position:absolute;top:%?-2?%;right:%?-1?%;width:%?40?%;height:%?40?%;background:rgba(0,0,0,.6);display:flex;align-items:center;justify-content:center;border-radius:0 %?8?% 0 %?8?%}.input_content_photo_adPh_jiao uni-image[data-v-0656a7f0]{width:%?16?%;height:%?16?%}.input_content_describe[data-v-0656a7f0]{border-top:1px solid #eee;padding-top:%?30?%;padding-bottom:%?47?%;border-bottom:1px solid #eee}.input_content_describe_title[data-v-0656a7f0]{display:flex;align-items:center;justify-content:space-between}.input_content_describe_title_msg[data-v-0656a7f0]{color:#333;font-size:%?30?%}.input_content_describe_title_num[data-v-0656a7f0]{color:#666;font-size:%?24?%}.input_content_describe_textarea[data-v-0656a7f0]{border-radius:10px;margin-top:%?20?%;height:%?180?%;background:#f5f5f5;padding:%?20?%}.input_content_describe_textarea uni-textarea[data-v-0656a7f0]{font-size:%?28?%;height:%?150?%}.input_content_keyword[data-v-0656a7f0]{padding-top:%?32?%;display:flex;align-items:center;justify-content:space-between;font-size:%?30?%}.input_content_keyword_value[data-v-0656a7f0]{flex:1;margin-left:%?30?%}.input_content_keyword_value uni-input[data-v-0656a7f0]{width:100%;text-align:right}.photo_count[data-v-0656a7f0]{margin-top:%?28?%}.photo_count .photo_size[data-v-0656a7f0]{font-size:%?24?%;color:#999}.radio[data-v-0656a7f0]{padding:%?30?%}.radio_label[data-v-0656a7f0]{padding-left:%?10?%;color:#333;font-size:%?30?%;display:flex;align-items:center}.radio_label .select_check[data-v-0656a7f0]{display:flex;align-items:center;justify-content:center;width:%?40?%;height:%?40?%;border:1px solid #ccc;border-radius:50%;margin-right:%?20?%}.radio_label .select_check .iconfont[data-v-0656a7f0]{font-size:%?24?%}.radio_label .select[data-v-0656a7f0]{background:#e93323;border:none}.radio_label .select .iconfont[data-v-0656a7f0]{color:#fff}.radio .select_group[data-v-0656a7f0]{display:flex}.radio .flex_start[data-v-0656a7f0]{padding:0 %?10?%;margin-top:%?40?%;justify-content:flex-start}.radio_select[data-v-0656a7f0]{display:flex;margin-right:%?110?%}.dobuButton[data-v-0656a7f0]{padding:0 %?30?%}.margin_right[data-v-0656a7f0]{background:#fd6523;margin-right:%?30?%}.content_list[data-v-0656a7f0]{width:%?710?%;margin:auto;padding:0 %?20?%;box-sizing:border-box;background:#fff;margin-top:%?31?%;border-radius:%?10?%}.content_list .input-goods-detils[data-v-0656a7f0]{width:100%;padding:%?20?% %?10?%!important}.content_list .more_than[data-v-0656a7f0]{background:#fff;border-radius:0 0 %?10?% %?10?%;margin:auto;border-top:1px solid #f5f5f5;display:flex;align-items:center;justify-content:center;width:100%;height:%?84?%;color:#333;font-size:%?30?%}.content_list .content_list_item[data-v-0656a7f0]{padding:%?32?% %?10?%;display:flex;justify-content:space-between;border-bottom:1px solid #eee}.content_list .content_list_item .content_list_item_han[data-v-0656a7f0]{color:#bbb;display:flex;align-items:center}.content_list .content_list_video[data-v-0656a7f0]{min-height:%?154?%;padding:%?23?% %?10?%;display:flex;justify-content:space-between}.content_list .content_list_video .content_list_video_title[data-v-0656a7f0]{padding-top:%?10?%}.content_list .content_list_video .video_list[data-v-0656a7f0]{flex:1;display:flex;justify-content:flex-end;flex-wrap:wrap}.videoHover[data-v-0656a7f0]{width:%?180?%;height:%?180?%;display:flex;align-items:center;justify-content:center;position:absolute;top:0;left:0;z-index:10}.videoHover uni-view[data-v-0656a7f0]{width:%?50?%;height:%?50?%;background:#000;border-radius:%?50?%;display:flex;align-items:center;justify-content:center}.videoHover uni-view .iconfont[data-v-0656a7f0]{color:#fff;font-size:%?21?%}.photo[data-v-0656a7f0]{border:1px solid #ddd;opacity:1;border-radius:%?8?%;font-size:%?28?%;display:flex;flex-direction:column;justify-content:center;text-align:center;width:%?150?%;height:%?150?%;box-sizing:border-box;color:#bbb;margin-left:%?16?%;position:relative;margin-bottom:%?12?%}.photo uni-image[data-v-0656a7f0]{width:%?62?%;margin-bottom:%?10?%}.jiao uni-image[data-v-0656a7f0]{position:absolute;top:%?-14?%;right:%?-14?%;width:%?40?%;height:%?40?%;border-radius:50%;padding:%?8?%;background:#e93323;z-index:2}.jiao uni-video[data-v-0656a7f0]{width:%?150?%;height:%?150?%}.preview_video[data-v-0656a7f0]{position:absolute}.container_input[data-v-0656a7f0]{background:#fff;padding:0 %?20?%;width:%?710?%;margin:auto;margin-top:%?31?%;border-radius:%?10?%}.container_input_item[data-v-0656a7f0]{display:flex;height:%?106?%;align-items:center}.container_input_item .select_and_input[data-v-0656a7f0]{display:flex;align-items:center;justify-content:space-between}.container_input_item .select_and_input .greyColor[data-v-0656a7f0]{color:#bbb}.container_input_item .radio[data-v-0656a7f0]{padding:%?30?% 0}.container_input_item_label[data-v-0656a7f0]{padding-left:%?10?%;color:#333;font-size:%?30?%;display:flex;align-items:center}.container_input_item_label .select_check[data-v-0656a7f0]{display:flex;align-items:center;justify-content:center;width:%?40?%;height:%?40?%;border:1px solid #ccc;border-radius:50%;margin-right:%?20?%}.container_input_item_label .select_check .iconfont[data-v-0656a7f0]{font-size:%?24?%}.container_input_item_label .select[data-v-0656a7f0]{background:#e93323;border:none}.container_input_item_label .select .iconfont[data-v-0656a7f0]{color:#fff}.container_input_item_value[data-v-0656a7f0]{padding-right:%?10?%;flex:1;display:flex;align-items:center;justify-content:flex-end}.container_input_item_value > span[data-v-0656a7f0]:nth-child(1){display:inline-block;margin-right:%?15?%}.container_input_item_value .text[data-v-0656a7f0]{color:#000;display:inline-block;max-width:%?400?%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.container_input_item_value uni-input[data-v-0656a7f0]{text-align:right}.container_input_item_value .select_group[data-v-0656a7f0]{display:flex}.container_input_item_value_select[data-v-0656a7f0]{display:flex;margin-right:%?110?%}.container_input_item .flex_start[data-v-0656a7f0]{padding:0 %?10?%;margin-top:%?40?%;justify-content:flex-start}.container_input > uni-view[data-v-0656a7f0]:not(:last-child){border-bottom:1px solid #eee}.inputPlaceHolder[data-v-0656a7f0]{color:#bbb}.paddingTop_none[data-v-0656a7f0]{padding-top:0!important}.marginTop_none[data-v-0656a7f0]{margin-top:0}.video-count[data-v-0656a7f0]{position:fixed;width:%?600?%;height:%?500?%;top:50%;left:50%;margin-left:%?-300?%;margin-top:%?-250?%;z-index:100;display:flex;align-items:center;justify-content:center}.video-count .videoLink[data-v-0656a7f0]{width:%?600?%;height:%?500?%}.tip[data-v-0656a7f0]{padding:0!important;margin:0!important}',""]),t.exports=e},b3d8:function(t,e,a){"use strict";a("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,a("a9e3"),a("14d9"),a("d3b7"),a("159b"),a("caad"),a("2532"),a("d81d"),a("4de4"),a("a434");var i=a("f89e"),n={props:{selectProductTitle:{type:String,default:""},classifiedData:{type:Array,default:function(){return[]}},form:{type:Object,default:function(){return{}}},selectProductItem:{type:Object,default:function(){return{}}},mer_id:{type:Number,default:0}},data:function(){return{assemblyList:[],tap:[],selectTapId:"",tapIndex:"",multipleList:[]}},watch:{tap:{handler:function(t){},deep:!0},multipleList:{handler:function(t){this.$emit("multipleList",t,this.selectProductItem.model)}},classifiedData:{handler:function(t){this.initData()},deep:!0}},created:function(){this.initData(),this.tap.push({value:"",label:"请选择",samelevel:this.assemblyList})},methods:{initData:function(){var t=this;return this.addClassifiedAttr(this.classifiedData,"children","selectEd",!1),this.selectProductItem.singleColumn&&this.selectProductItem.allreadySelect&&this.selectProductItem.allreadySelect.length?(this.assemblyList=(0,i.serialize)(this.classifiedData),void this.assemblyList.forEach((function(e){t.selectProductItem.allreadySelect.map((function(t){return t.value})).includes(e.value)&&(e.selectEd=!0)}))):this.selectProductItem.allreadySelect&&this.selectProductItem.allreadySelect.length&&!this.selectProductItem.multiple?(this.tap=this.selectProductItem.allreadySelect,this.selectTapId=this.tap[0].value,void this.handleSelectTapId(this.tap[0],0)):(this.classifiedData.forEach((function(e){e.value||t.$set(e,"value",e.brand_id),e.label||t.$set(e,"label",e.brand_name)})),void(this.assemblyList=(0,i.serialize)(this.classifiedData)))},selectItem:function(t,e){if(this.selectProductItem.multiple?t.children&&t.children.length||(t.selectEd=!t.selectEd):(this.assemblyList.forEach((function(t){t.selectEd=!1})),t.selectEd=!0),!this.tap.filter((function(e){return e.value===t.value})).length){if(this.$set(t,"samelevel",e),""!==this.selectTapId)return t.children&&t.children.length?(this.tap.splice(this.tapIndex,1,t),this.tap.splice(this.tapIndex+1,this.tap.length),this.selectTapId="",this.assemblyList=t.children,void this.tap.push({value:"",label:"请选择",samelevel:this.assemblyList})):(this.tap[this.tap.length-1].label=t.label,this.tap[this.tap.length-1].value=t.value,void this.$emit("getLinkageData",this.tap,this.selectProductItem.model));if(t.children&&t.children.length&&!this.selectTapId)this.tap.splice(this.tap.length-1,0,t),this.assemblyList=t.children;else{if(this.tap[this.tap.length-1].label=t.label,this.tap[this.tap.length-1].value=t.value,this.selectProductItem.multiple)return;this.$emit("getLinkageData",this.tap,this.selectProductItem.model)}}},selectPushMultiple:function(t,e){t.selectEd=!0,this.multipleList.push(t),this.multipleList=this.unique(this.multipleList)},unique:function(t){var e={};return t.filter((function(t){if(!e[t])return e[t]=!0,!0}))},deleteSelectedList:function(t,e){this.multipleList.splice(e,1),this.assemblyList.forEach((function(e){t.value==e.value&&(e.selectEd=!1)}))},connectionString:function(t){return t.map((function(t){return t.label})).join("/")},handleSelectTapId:function(t,e){return t.value?e==this.tap.length-1?(this.selectTapId=t.value,void(this.assemblyList=this.tap[this.tap.length-2].children)):(this.selectTapId=t.value,this.tapIndex=e,void(this.assemblyList=t.samelevel)):(this.assemblyList=this.tap[this.tap.length-2].children,void(this.selectTapId=""))},addClassifiedAttr:function(t,e,a,i){var n=this;t.forEach((function(t){n.$set(t,a,i),t[e]&&t[e].length&&n.addClassifiedAttr(t[e],e,a,i)}))},close:function(){this.$emit("close")},scrolltolower:function(){this.$emit("scrolltolower",this.selectProductItem.model)}}};e.default=n},b90b:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFoAAABKCAYAAAA7fkOZAAAAAXNSR0IArs4c6QAABo5JREFUeF7tXO1xHDcMJSuIXUGUCixVYHEbiFxBlAqiVBClgkgVxKogcgMLuYLIFUSpIHIFzLwd8IbHw2o/Dvw4+fhHM7r9IB+xD8AjSGsyNyL6zRhzYYw5zfyqtY9/NMY8GGN+d849r33I1H126oJ9fieivxjkfR5T6l4A7nKBnQ1oIroyxvxRCiWl99w55y6VnrX1mCxAE9EbY8w/xhj8HZr3/osxJtunuRYca+375N4fnHNPa583dl8uoFNrBv9da3de43nCl5fFqnMBDWs+YUv+2nXdxrI1wNF+Rt/3T9ba76Pnqlu1OtBEhAgDTjC0Zq05dJCIwMt/Rn1Wt+ocQJMx5jyndWhbNHyK9x5W/R0/G74EVq3mU0aBJiLEvT+tiH9jkNUtQxvkyKrhQxDzh4ZwbwnQuB7jxd+dtgM0EQEovDAGbO34EJciGWi+ERF8CnzLvi0kP1vj3gJa4KrVL/Xef+66TmOyVvdh6Y1E9JG/4qW3StdfOeduww8boF9KMJbGwNZafHLXY5+RxihyPIPj/xvv/RAxzW1CLB5u/dk5h8kzA9BMF3Bim+a9/9dai1m5n/vCb/k6RFve+5skTAQkA30GoP9OnN6dMQYgL3EG3zLOw9jDF5HQz6Nz7symcS9oouu6VpW2g5jMvu8frbXvos5+ANCpAziYSKFV1AUqvgPQG9oAL3ddt8gRtDrY2v1K0vpHAO1Dpw4xJKsN6Nj7+75/iKORI9CZZuoIdCZg08ceHNAs+Lyz1sJ3pP7jicWgL9qhKEdjceQQsHyOM76Dpg7WHX7k9ca5aTy0BSRXn/ZdIZESuATQW+ccFjdGW9MWzQOEYrjvuh1CVoAhKmlT7DG13jknaGgSaM6osJC7L8AphgD816W0wnSFqGGHOrz3X621l1PSRHNAsxVjRWZsuesTUwIWTMGPg5WyXo57wNtY1QHVSA0ywofScm1TQI/JsmsFrReEHUzARkmbog6N35sBWuJBBhjy6iAtrm2YQO/9taCkFQO7CaAlS4aDsdZeLOXTsclgnr0XtOIiYFcHeiR0yra2OLJqkl04qwq0VMHEC5ra0caWoQtgq69yN5UZEtGNMeaXSMQqpn0LGvFk0rHWR+C+ahadrjJzPHqixclToAi1G7hFvSIp9KMm0OkCQxGnFE9AqTq7ahbN3PxfRBnVFhiEOru3Ob6qKhYthHPFrTlMcqm+1AIaqlqcImexoime5tQdafvm62K1Dym8aqsFNAY2aBlzlC/VEQsPS0CAfvJW+53FgWbxBwvAoVUv4yWitKDxbK2kOjZBNYCGcB9XQUFJq1r9JNRwq2eKNYBOt1moD2rpZy/IAOrOuQbQ6WeaLUmYC7hQoqtOZy0Arc6HcwGOQjyUvGX1GzWATveHHKkjR+gl8OHRGWYCOt2yoM6HK6gju98oTh0ssDxHO56GeuGl4GhenxR2ZtkHWQVoIkpT8GqRhxBxoODm1aTgqUOsRh9CVqgeQ1eTSQX6yL6UJFFNupSGxYdc26erUAerZqkDKm7VgjVn60NNoKVtwIipV9XHLXWOLG5BcwkqIkq7si2lVQN6xKqznvoSZYIAF5lgXPabzZqrcnQYtLAa/QCzXmqhS64noq2DAErsPKtq0WzVJ957bA8LJwng31ksm50fQN5s5+PV99N9a6inJro60Ax2qlHj36gWRXquwtnMyahSTXcJFNFamgCawU5j62AkKLJZfTQaWzFOZ5Aq8rPEzJJ1NwM0g33qvUfBd0wj+AlxNupARs+/SAcXnS+CCdyqtWa6ONf6WqZoowlnKAAEzkbVp7QxJ1AKUvhncHt0WMkbay24F6AihRY3osLxcZWq+slfLwHelEXHHUUVEdc0p9Y9x4B2rmErRq01qKh4axZophJYJwC/FIrIZ4HFxeygnZscFUizOlGzyHFuB6MkA3Rw7r2/mAKdwQW9ICavusIe5QuHuUWZV2p25qv0JqC5BtM0dcwdxCFcdwS60Cwdga4FdImCv0Jja+o1RLRV2InzOrb2lZTe+NgUOkqdEWqwbwF0WrVTZZlJaYzVHzOy8+xsOI4tJW6WLaGkFU1bq6O0ZwfYaHFqbyzLDidahnPvJI0Yr8Wphvdd133esw+v+va+799DT0kVw1j7jo/MlDTiVw1QgcFttO/0ENgx2bJAn17PKyRZVjrWOAg7V4JO/HrQyDASBhhR3I6g9eKJ6LwFYdB8vffHYzSFybHWBo0cNYWjgtb/WEdagOSDbpkAAAAASUVORK5CYII="},bd83:function(t,e,a){var i=a("f5de");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=a("4f06").default;n("ab831e14",i,!0,{sourceMap:!1,shadowMode:!1})},c393:function(t,e,a){"use strict";a("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,a("d3b7"),a("159b");var i={props:{platformClassification:{type:Array,default:function(){return[]}},form:{type:Object,default:function(){return{}}}},data:function(){return{value:"",formData:this.form}},watch:{formData:{handler:function(t){this.$emit("input",t)},deep:!0},form:{handler:function(t){this.formData=t},deep:!0}},created:function(){var t=this;this.platformClassification.forEach((function(e){e.inforValue&&t.$emit("formInitData",e.inforValue,e.model)}))},methods:{selectItem:function(t){t.jumpLogic?this.$emit("handleJumpLogic",t):this.$emit("handleSelectItem",t)},radioChange:function(t,e){this.$emit("radioChange",t.detail.value,e)},switchChange:function(t,e){this.$emit("switchChange",t.detail.value,e)},selectRadio:function(t){t.select=!t.select},checkChange:function(t,e){this.$emit("checkChange",t.detail.value,e)}}};e.default=i},c991:function(t,e,a){var i=a("24fb");e=i(!1),e.push([t.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 行为相关颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */.area_container[data-v-c0779d94]{background:#fff;border-radius:16px 16px 0 0}.area_container_title[data-v-c0779d94]{text-align:center;padding:%?36?% %?30?% %?46?% 0;position:relative}.area_container_title_close[data-v-c0779d94]{position:absolute;top:%?20?%;right:%?20?%}.area_container_title .manage_btn[data-v-c0779d94]{font-weight:400;color:#e93323;font-size:%?24?%;position:absolute;left:%?30?%;top:%?40?%}.area_container_content[data-v-c0779d94]{padding:0 %?30?%}.area_container_content .selectList_con[data-v-c0779d94]{display:flex;flex-wrap:wrap;margin-bottom:%?50?%}.area_container_content .selectList_con_item[data-v-c0779d94]{padding:%?3?% %?10?%;background:#fff6f5;color:#e93323;margin-right:%?20?%;margin-bottom:%?20?%;display:flex;align-items:center;font-size:%?22?%}.area_container_content .selectList_con_item > span[data-v-c0779d94]:nth-child(1){display:inline-block;margin-right:%?14?%;white-space:nowrap}.area_container_content .selectList_con_item .iconfont[data-v-c0779d94]{font-size:%?24?%}.area_container_content .selectList_tap[data-v-c0779d94]{border-bottom:1px solid #eee;display:flex}.area_container_content .selectList_tap_item[data-v-c0779d94]{font-size:%?28?%;margin-right:%?60?%;white-space:nowrap}.area_container_content .selectList_tap .selectTap[data-v-c0779d94]{color:#e93323;border-bottom:%?3?% solid #e93323;padding-bottom:%?21?%}.area_container_content .selectList_area .scroll[data-v-c0779d94]{height:%?597?%}.area_container_content .selectList_area .selectList_area_item[data-v-c0779d94]{padding:%?40?% 0;display:flex;justify-content:space-between;font-size:%?28?%}.area_container_content .selectList_area .selectList_area_item .iconfont[data-v-c0779d94]{color:#e93323;font-size:%?40?%}.area_container_content .selectList_area .selectList_area_item .selectList_area_item_name[data-v-c0779d94]{flex:0.7}.area_container_content .handle[data-v-c0779d94]{height:%?126?%}.area_container_content .handle_button[data-v-c0779d94]{width:%?690?%;height:%?86?%;background:#e93323;border-radius:%?43?%;display:flex;align-items:center;justify-content:center;font-size:%?32?%;color:#fff}',""]),t.exports=e},cc6f:function(t,e,a){"use strict";var i=a("131ad"),n=a.n(i);n.a},d274:function(t,e,a){"use strict";a.d(e,"b",(function(){return i})),a.d(e,"c",(function(){return n})),a.d(e,"a",(function(){}));var i=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"input_content"},[i("v-uni-view",{staticClass:"input_content_textarea"},[i("v-uni-textarea",{attrs:{placeholder:"请输入商品详情","placeholder-class":"placeholderStyle",maxlength:t.maxLength},model:{value:t.prodectContent.store_name,callback:function(e){t.$set(t.prodectContent,"store_name",e)},expression:"prodectContent.store_name"}}),i("v-uni-view",[t.prodectContent.store_name?i("v-uni-text",[t._v(t._s(t.prodectContent.store_name.length))]):i("v-uni-text",[t._v("0")]),t._v("/"+t._s(t.maxLength))],1)],1),i("v-uni-view",{staticClass:"input_content_photo"},[t._l(t.prodectContent.imageList,(function(e,n){return i("v-uni-view",{key:n,staticClass:"input_content_photo_adPh"},[i("v-uni-image",{staticClass:"myimg2 photos",attrs:{src:e}}),i("v-uni-view",{staticClass:"input_content_photo_adPh_jiao",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.deleteImage(n)}}},[i("v-uni-image",{attrs:{src:a("7920"),mode:""}})],1)],1)})),t.isUpload?i("v-uni-view",{staticClass:"input_content_photo_adPh",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.clk.apply(void 0,arguments)}}},[i("v-uni-view",[i("v-uni-image",{attrs:{src:a("b90b"),mode:"widthFix"}})],1),i("v-uni-view",[t._v("添加图片")])],1):t._e()],2),t.isShowDescribe?i("v-uni-view",{staticClass:"input_content_describe"},[i("v-uni-view",{staticClass:"input_content_describe_title"},[i("v-uni-view",{staticClass:"input_content_describe_title_msg"},[t._v("商品简介")]),i("v-uni-view",{staticClass:"input_content_describe_title_num"},[t.prodectContent.store_info?i("v-uni-text",[t._v(t._s(t.prodectContent.store_info.length))]):i("v-uni-text",[t._v("0")]),t._v("/200")],1)],1),i("v-uni-view",{staticClass:"input_content_describe_textarea"},[i("v-uni-textarea",{attrs:{value:"",placeholder:"请填写商品简介",placeholderClass:"placeholderClass",maxlength:"200"},model:{value:t.prodectContent.store_info,callback:function(e){t.$set(t.prodectContent,"store_info",e)},expression:"prodectContent.store_info"}})],1)],1):t._e(),t.isShowDescribe?i("v-uni-view",{staticClass:"input_content_keyword"},[i("v-uni-view",{staticClass:"input_content_keyword_label"},[t._v("关键字")]),i("v-uni-view",{staticClass:"input_content_keyword_value"},[i("v-uni-input",{attrs:{type:"text",value:"",placeholder:"填写关键字"},model:{value:t.prodectContent.keyword,callback:function(e){t.$set(t.prodectContent,"keyword",e)},expression:"prodectContent.keyword"}})],1)],1):t._e(),i("avatar",{ref:"avatar",staticStyle:{height:"1px"},attrs:{quality:"1",selWidth:"250upx",selHeight:"250upx"},on:{upload:function(e){arguments[0]=e=t.$handleEvent(e),t.doUpload.apply(void 0,arguments)},getName:function(e){arguments[0]=e=t.$handleEvent(e),t.getImgName.apply(void 0,arguments)}}})],1)},n=[]},d45c:function(t,e,a){"use strict";a.r(e);var i=a("d6c8"),n=a("7b57");for(var o in n)["default"].indexOf(o)<0&&function(t){a.d(e,t,(function(){return n[t]}))}(o);a("5934");var s=a("f0c5"),r=Object(s["a"])(n["default"],i["b"],i["c"],!1,null,"0656a7f0",null,!1,i["a"],void 0);e["default"]=r.exports},d6ab:function(t,e,a){"use strict";a.r(e);var i=a("c393"),n=a.n(i);for(var o in i)["default"].indexOf(o)<0&&function(t){a.d(e,t,(function(){return i[t]}))}(o);e["default"]=n.a},d6c8:function(t,e,a){"use strict";a.d(e,"b",(function(){return i})),a.d(e,"c",(function(){return n})),a.d(e,"a",(function(){}));var i=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:" writeBg "},[i("v-uni-view",{staticClass:"content_list"},[i("v-uni-view",{staticClass:"content_list_item"},[i("v-uni-view",[t._v("商品详情")])],1),i("input-goods-detils",{staticClass:"input-goods-detils",attrs:{title:t.store_name,prodectContent:t.goodsDis,maxLength:200},on:{getProductContent:function(e){arguments[0]=e=t.$handleEvent(e),t.getProductContent.apply(void 0,arguments)}}}),t.moreThanFlag?t._e():[i("v-uni-view",{staticClass:"content_list_video input-goods-detils"},[i("v-uni-view",{staticClass:"content_list_video_title"},[t._v("商品视频")]),i("v-uni-view",{staticClass:"video_list"},[t.addGoodsSecoundData.video_link?i("v-uni-view",{staticClass:"video_list_item photo"},[i("v-uni-view",{staticClass:"jiao",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.deleteImage()}}},[i("v-uni-video",{attrs:{src:t.addGoodsSecoundData.video_link}}),i("v-uni-image",{attrs:{src:a("7920"),mode:"widthFix"}})],1),i("v-uni-view",{staticStyle:{position:"absolute"}},[i("v-uni-view",{staticClass:"videoHover",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.videoshow.apply(void 0,arguments)}}}),i("v-uni-text",{staticClass:"video-text"},[t._v("点击可预览视频")])],1)],1):i("v-uni-view",{staticClass:"photo",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.uploadVideo.apply(void 0,arguments)}}},[i("v-uni-view",[i("v-uni-image",{attrs:{src:a("b90b"),mode:"widthFix"}})],1),i("v-uni-view",[t._v("添加视频")])],1)],1)],1),i("v-uni-view",{staticClass:"container_input marginTop_none input-goods-detils"},[i("v-uni-view",{staticClass:"container_input_item"},[i("v-uni-view",{staticClass:"container_input_item_label"},[i("span",[t._v("是否推荐")])]),i("v-uni-view",{staticClass:"container_input_item_value"},[i("v-uni-switch",{staticStyle:{transform:"scale(0.8)"},attrs:{checked:1==t.addGoodsSecoundData.is_good,color:"#E93323"},on:{change:function(e){arguments[0]=e=t.$handleEvent(e),t.isGood.apply(void 0,arguments)}}})],1)],1)],1),i("v-uni-view",{staticClass:"container_input marginTop_none input-goods-detils"},[i("v-uni-view",{staticClass:"container_input_item"},[i("v-uni-view",{staticClass:"container_input_item_label"},[i("span",[t._v("商品排序")])]),i("v-uni-view",{staticClass:"container_input_item_value"},[i("v-uni-input",{attrs:{type:"number",value:"",placeholder:"请输入商品排序","placeholder-class":"inputPlaceHolder"},model:{value:t.addGoodsSecoundData.sort,callback:function(e){t.$set(t.addGoodsSecoundData,"sort",e)},expression:"addGoodsSecoundData.sort"}})],1)],1)],1)],i("v-uni-view",{staticClass:"more_than",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.moreThanFlag=!t.moreThanFlag}}},[t.moreThanFlag?i("v-uni-view",[t._v("更多")]):i("v-uni-view",[t._v("收起")])],1)],2),t.showVideo?i("v-uni-view",{staticClass:"video-count"},[i("v-uni-video",{staticClass:"videoLink",attrs:{id:"myVideo",autoplay:!0,loop:!0,muted:!0,src:t.addGoodsSecoundData.video_link}})],1):t._e(),i("v-uni-view",{staticClass:"mask",attrs:{catchtouchmove:"true",hidden:0==t.showVideo},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.showVideo=!1}}}),i("v-uni-view",{staticClass:"handle dobuButton"},[i("v-uni-view",{staticClass:"handle_button margin_right",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.lastStep.apply(void 0,arguments)}}},[t._v("上一步")]),i("v-uni-view",{staticClass:"handle_button",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.submitCreatedGoods.apply(void 0,arguments)}}},[t._v("提交")])],1)],1)},n=[]},d807:function(t,e,a){"use strict";a("7a82");var i=a("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=i(a("ade3")),o=i(a("5530"));a("a9e3"),a("d3b7"),a("159b"),a("b64b"),a("4de4");var s=a("3093"),r=i(a("e9c8")),d=a("f89e"),c=a("fe63"),l=i(a("71563")),u={components:{inputGoodsDetils:l.default},props:{merId:{type:[String,Number],default:""},product_id:{type:[String,Number],default:""},showCommodity:{type:Boolean,default:!1},resetKey:{type:Boolean,default:!1},code:{type:[String,Number],default:0}},data:function(){return{showVideo:!1,disModel:!1,upload_max:10,uploadUrl:"".concat(s.HTTP_REQUEST_URL,"/api/upload/video"),addGoodsSecoundData:{is_good:0,is_gift_bag:0,sort:"",once_count:"",video_link:""},goodsDis:{imageList:[],store_name:""},store_name:"",moreThanFlag:!0}},mounted:function(){this.initData()},updated:function(){},watch:{addGoodsSecoundData:{handler:function(t){setTimeout((function(){(0,d.setStorage)("editCommodity",t)}))},deep:!0},resetKey:{handler:function(t){this.initData()}},goodsDis:{handler:function(t){var e=this;setTimeout((function(){(0,d.setStorage)("goodsDis",e.goodsDis)}))},deep:!0}},methods:{videoshow:function(){var t=this;this.showVideo=!0,this.videoContext=uni.createVideoContext("myVideo",this),this.$nextTick((function(){t.videoContext.play()}))},initData:function(){var t=this,e={};if((0,d.getStorage)("goodsDis")&&(this.disModel=!0),this.product_id)return e=this.$store.state.storage.storage,Object.keys(this.addGoodsSecoundData).forEach((function(a){t.addGoodsSecoundData[a]=e[a]})),e.content&&(this.goodsDis.imageList=e.content.image,this.goodsDis.store_name=e.content.title,this.store_name=e.content.title,(0,d.setStorage)("goodsDis",{store_name:e.content.title,imageList:e.content.image}),this.disModel=!0),void(0,d.setStorage)("canChangeSecound",!0);(0,d.setStorage)("goodsDis",{store_name:"",imageList:[]}),(0,d.getStorage)("addGoodsSecoundData")&&Object.keys(this.addGoodsSecoundData).forEach((function(e){((0,d.getStorage)("addGoodsSecoundData")[e]||0==(0,d.getStorage)("addGoodsSecoundData")[e])&&(t.addGoodsSecoundData[e]=(0,d.getStorage)("addGoodsSecoundData")[e])}))},lastStep:function(){this.$emit("lastStep")},submitCreatedGoods:function(){var t=this;(0,d.Loading)();var e=["addGoodsFormData","singleSpecification","attrValue","modifyPriceData","addGoodsSecoundData","goodsDis","editGoodsDetils","canChange","canChangeSecound"],a=0==(0,d.getStorage)("addGoodsFormData").spec_type?[(0,d.getStorage)("singleSpecification")]:(0,d.getStorage)("attrValue"),i=(0,o.default)((0,o.default)((0,o.default)({},this.addGoodsSecoundData),(0,d.getStorage)("addGoodsFormData")),{},{content:{title:(0,d.getStorage)("goodsDis")?(0,d.getStorage)("goodsDis").store_name:"",image:(0,d.getStorage)("goodsDis")?(0,d.getStorage)("goodsDis").imageList:[]},video_link:this.addGoodsSecoundData.video_link});a&&(i.attrValue=a.filter((function(t){return""!=t})),i.attrValue[0].bar_code),(0,d.getStorage)("addGoodsFormData").spec_type,this.product_id?(0,c.productUpdate)(this.merId,this.product_id,i).then((function(a){e.forEach((function(t){(0,d.getStorage)(t)&&(0,d.removeStorage)(t)})),(0,d.hideLoading)(),(0,d.Modal)("提交成功","点击确定,返回商品管理",{showCancel:!1}).then((function(){uni.removeStorageSync("singleSpecification"),uni.redirectTo({url:"/pages/product/goodsOnSale/index?mer_id="+t.merId})}))})).catch((function(t){(0,d.Toast)(t)})):(0,c.productCreate)(this.merId,i).then((function(a){e.forEach((function(t){(0,d.getStorage)(t)&&(0,d.removeStorage)(t)})),(0,d.hideLoading)(),(0,d.Modal)("提交成功","点击确定,返回商品管理",{showCancel:!1}).then((function(){uni.redirectTo({url:"/pages/product/goodsOnSale/index?mer_id="+t.merId})}))})).catch((function(t){(0,d.Toast)(t)}))},isGood:function(t){this.addGoodsSecoundData.is_good=t.detail.value?1:0},isGiftBag:function(t){this.addGoodsSecoundData.is_gift_bag=t.detail.value?1:0},switchChange:function(t,e){this.addGoodsSecoundData[e.model]=t?1:0},inputGoodsDetils:function(){(0,d.navigateTo)(1,"/pages/product/addGoods/addGoodDetils",{mer_id:this.merId})},uploadVideo:function(){var t=this;uni.chooseVideo({sourceType:["camera","album"],success:function(e){Math.ceil(e.size/1024)<1024*t.upload_max?uni.uploadFile({url:t.uploadUrl,filePath:e.tempFilePath,name:"file",formData:{user:"test"},header:(0,n.default)({},s.TOKENNAME,"Bearer "+r.default.state.app.token),success:function(e){var a=JSON.parse(e.data);t.addGoodsSecoundData.video_link=a.data.src},complete:function(t){}}):uni.showModal({title:"提示",content:"视频超出限制".concat(t.upload_max,"MB,已过滤")})},fail:function(t){}})},deleteImage:function(t){this.addGoodsSecoundData.video_link=""},getProductContent:function(t){this.goodsDis=t,this.a=t.store_name}}};e.default=u},d899:function(t,e,a){"use strict";var i=a("2715"),n=a.n(i);n.a},e1ef:function(t,e,a){"use strict";a.r(e);var i=a("74e6"),n=a.n(i);for(var o in i)["default"].indexOf(o)<0&&function(t){a.d(e,t,(function(){return i[t]}))}(o);e["default"]=n.a},e421:function(t,e,a){"use strict";var i=a("7cc4"),n=a.n(i);n.a},f13f:function(t,e,a){"use strict";var i=a("3540"),n=a.n(i);n.a},f3c3:function(t,e,a){"use strict";a.r(e);var i=a("2a81"),n=a("390a");for(var o in n)["default"].indexOf(o)<0&&function(t){a.d(e,t,(function(){return n[t]}))}(o);a("e421");var s=a("f0c5"),r=Object(s["a"])(n["default"],i["b"],i["c"],!1,null,"838e3f96",null,!1,i["a"],void 0);e["default"]=r.exports},f5de:function(t,e,a){var i=a("24fb");e=i(!1),e.push([t.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 行为相关颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */.container[data-v-09767350]{padding:0!important}.more_than[data-v-09767350]{background:#fff;border-radius:0 0 %?10?% %?10?%;margin:auto;margin-top:1px;display:flex;align-items:center;justify-content:center;width:%?710?%;height:%?84?%;color:#333;font-size:%?30?%}.handle[data-v-09767350]{position:fixed;left:0;bottom:0;width:100%;height:%?126?%;background:#fff;display:flex;align-items:center;justify-content:center}.handle .button[data-v-09767350]{display:flex;align-items:center;justify-content:center;color:#fff;font-size:%?32?%;width:%?690?%;height:%?86?%;background:#e93323;border-radius:%?43?%}',""]),t.exports=e},f681:function(t,e,a){"use strict";var i=a("bd83"),n=a.n(i);n.a},f89e:function(t,e,a){"use strict";a("7a82");var i=a("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(a,i){uni.showActionSheet({itemList:t,itemColor:e,success:function(t){a(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,a){uni.authorize({scope:t,success:function(t){e(t)},fail:function(t){a(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,o.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]:"这是一个模态弹窗!",a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{showCancel:!0,cancelText:"取消",confirmText:"确定"};return new Promise((function(i,n){uni.showModal((0,o.default)((0,o.default)({},a),{},{title:t,content:e,success:function(t){t.confirm&&i(),t.cancel&&n()}}))}))},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",a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:800,n=(0,o.default)({title:t,duration:i,position:"center",mask:!0,icon:e||"none"},a);uni.showToast(n)},e.chooseImage=function(t){return new Promise((function(e,a){uni.chooseImage({count:t,sizeType:["original","compressed"],sourceType:["album","camera"],success:function(t){e(t)},fail:function(t){a(t)}})}))},e.clearStorage=function(){try{uni.clearStorageSync()}catch(t){throw new Error("处理失败")}},e.convertObj=s,e.formatDate=r,e.getQuarterStartDate=function(){var t=new Date(l,function(){var t=0;c<3&&(t=0);2<c&&c<6&&(t=3);5<c&&c<9&&(t=6);c>8&&(t=9);return t}(),1);return r(t,"yyyy-MM-dd")},e.getStorage=function(t){var e=uni.getStorageSync(t);try{"number"!=typeof JSON.parse(e)&&(e=JSON.parse(e))}catch(a){}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,a){var i=e,n="navigateTo";switch(i=a?i+"?"+s(a):i,t){case 1:n="navigateTo";break;case 2:n="redirectTo";break;case 3:n="reLaunch";break;case 4:n="switchTab";break;default:n="navigateTo";break}uni[n]({url:i,animationType:"slide-in-right",animationDuration:200})},e.pathToBase64=function(t){return new Promise((function(e,a){if("object"===("undefined"===typeof window?"undefined":(0,n.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=a,t.readAsDataURL(this.response)}},i.onerror=a,void i.send()}var o=document.createElement("canvas"),s=o.getContext("2d"),r=new Image;return r.onload=function(){o.width=r.width,o.height=r.height,s.drawImage(r,0,0),e(o.toDataURL()),o.height=o.width=0},r.onerror=a,void(r.src=t)}"object"!==("undefined"===typeof plus?"undefined":(0,n.default)(plus))?"object"===("undefined"===typeof wx?"undefined":(0,n.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){a(t)}}):a(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){a(t)},i.readAsDataURL(t)}),(function(t){a(t)}))}),(function(t){a(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 r(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),r(t,"yyyy-MM-dd")},e.throttle=function(t,e){var a,i;e=e||200;return function(){for(var n=this,o=arguments.length,s=new Array(o),r=0;r<o;r++)s[r]=arguments[r];a=s,i||(i=setTimeout((function(){i=null,t.apply(n,a)}),e))}},e.unique=function(t){t=t||[];for(var e={},a=0;a<t.length;a++){var i=JSON.stringify(t[a]);"undefined"==typeof i&&(e[i]=1)}for(var a in t.length=0,e)t[t.length]=a;return t};var n=i(a("53ca")),o=i(a("5530"));function s(t){var e,a=[];return Object.keys(t).forEach((function(e){a.push("".concat(e,"=").concat(t[e]))})),e=a.join("&"),e}function r(t,e){return t?(e=e||"yyyy-MM-dd hh:mm:ss",new Date(t).format(e)):""}a("e9c4"),a("d9e2"),a("d401"),a("d3b7"),a("159b"),a("b64b"),a("14d9"),a("99af"),a("ac1f"),a("00b4"),a("5319"),a("4d63"),a("c607"),a("2c3e"),a("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 a in/(y+)/.test(t)&&(t=t.replace(RegExp.$1,String(this.getFullYear()).substr(4-RegExp.$1.length))),e)new RegExp("("+a+")").test(t)&&(t=t.replace(RegExp.$1,1==RegExp.$1.length?e[a]:("00"+e[a]).substr(String(e[a]).length)));return t};var d=new Date,c=d.getMonth(),l=d.getYear();l+=l<2e3?1900:0},fe57:function(t,e,a){"use strict";a("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,a("a434"),a("14d9");var i=a("f89e"),n={props:{classifiedData:{type:Array,default:function(){return[]}}},data:function(){return{selectIndex:-1,tapList:[],selectClassifiedData:[]}},watch:{classifiedData:{handler:function(t){this.selectClassifiedData=this.classifiedData},deep:!0}},created:function(){this.selectClassifiedData=(0,i.serialize)(this.classifiedData)},methods:{selectItem:function(t,e){if(t.children&&t.children.length)return this.selectIndex>-1?(this.tapList.splice(this.selectIndex+1,999),this.tapList.push(t),this.selectIndex=-1,void(this.selectClassifiedData=(0,i.serialize)(t.children))):t.children&&t.children.length?(this.tapList.push(t),void(this.selectClassifiedData=(0,i.serialize)(t.children))):void 0;this.$emit("getPlatData",t,this.tapList)},selectTap:function(t,e){0==e&&(this.tapList=[],this.selectClassifiedData=(0,i.serialize)(this.classifiedData)),1==e&&(this.selectIndex=e,this.tapList.splice(e,1),this.selectClassifiedData=(0,i.serialize)(this.tapList[0].children))},pleaseSelect:function(){this.selectIndex=-1,this.selectClassifiedData=this.tapList[this.tapList.length-1].children},close:function(){this.$emit("close")}}};e.default=n},fe63:function(t,e,a){"use strict";a("7a82");var i=a("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.attrList=function(t,e){return n.default.get("server/".concat(t,"/attr/lst"),e,{login:!0})},e.business=function(t){return n.default.get("business/agree",t,{noAuth:!0})},e.categoryBrandlist=function(t){return n.default.get("server/".concat(t,"/category/brandlist"),{},{login:!0})},e.categoryList=function(t){return n.default.get("server/".concat(t,"/category/list"),{},{login:!0})},e.categorySelect=function(t){return n.default.get("server/".concat(t,"/category/select"),{},{login:!0})},e.getDeliveryType=function(t){return n.default.get("server/".concat(t,"/product/config"),{},{login:!0})},e.getProductDetailsAPI=void 0,e.intention=function(t){return n.default.get("intention/lst",t)},e.intentionbus=function(t){return n.default.post("intention/business",t)},e.merClassifyAdd=function(t,e){return n.default.post("server/".concat(t,"/category/create"),e,{login:!0})},e.merClassifyDetail=function(t,e){return n.default.get("server/".concat(t,"/category/detail/").concat(e),{},{login:!0})},e.merClassifyLst=function(t){return n.default.get("server/".concat(t,"/category/select"),{},{login:!0})},e.merClassifyUpdate=function(t,e,a){return n.default.post("server/".concat(t,"/category/update/").concat(e),a,{login:!0})},e.merchantUpdateAPI=e.merchantInfoAPI=void 0,e.postImport=function(t,e){return n.default.post("server/".concat(t,"/product/stockIn"),e)},e.productCreate=function(t,e){return n.default.post("server/".concat(t,"/product/create"),e,{login:!0})},e.productDeleteApi=function(t,e){return n.default.post("server/".concat(t,"/product/delete/").concat(e),{},{login:!0})},e.productDestory=function(t,e,a){return n.default.post("server/".concat(t,"/product/destory/").concat(e),a,{login:!0})},e.productDetail=function(t,e){return n.default.get("server/".concat(t,"/product/detail/").concat(e),{},{login:!0})},e.productLstApi=function(t,e){return n.default.get("server/".concat(t,"/product/lst"),e,{login:!0})},e.productOffApi=function(t,e,a){return n.default.post("server/".concat(t,"/product/status/").concat(e),a,{login:!0})},e.productRecommendApi=function(t,e,a){return n.default.post("server/".concat(t,"/product/good/").concat(e),a,{login:!0})},e.productRestore=function(t,e){return n.default.post("server/".concat(t,"/product/restore/").concat(e),{},{login:!0})},e.productTitle=function(t,e){return n.default.get("server/".concat(t,"/product/title"),e,{login:!0})},e.productUpdate=function(t,e,a){return n.default.post("server/".concat(t,"/product/update/").concat(e),a,{login:!0})},e.specificationAdd=function(t,e){return n.default.post("server/".concat(t,"/attr/create"),e,{login:!0})},e.specificationDel=function(t,e){return n.default.post("server/".concat(t,"/attr/delete"),e,{login:!0})},e.specificationDetail=function(t,e){return n.default.get("server/".concat(t,"/attr/detail/").concat(e),{},{login:!0})},e.specificationLst=function(t,e){return n.default.get("server/".concat(t,"/attr/lst"),e,{login:!0})},e.specificationUpdate=function(t,e,a){return n.default.post("server/".concat(t,"/attr/update/").concat(e),a,{login:!0})},e.spuInfo=void 0,e.storeClassifyDel=function(t,e){return n.default.post("server/".concat(t,"/category/delete/").concat(e),{},{login:!0})},e.storeClassifyLst=function(t){return n.default.get("server/".concat(t,"/category/lst"),{},{login:!0})},e.templateCreate=function(t,e){return n.default.post("server/".concat(t,"/template/create"),e,{login:!0})},e.templateDelete=function(t,e){return n.default.post("server/".concat(t,"/template/delete"),e,{login:!0})},e.templateDetail=function(t,e){return n.default.get("server/".concat(t,"/template/detail/").concat(e),{},{login:!0})},e.templateList=function(t,e){return n.default.get("server/".concat(t,"/template/lst"),e,{login:!0})},e.templateUpdate=function(t,e,a){return n.default.post("server/".concat(t,"/template/update/").concat(e),a,{login:!0})},a("99af");var n=i(a("6860"));e.getProductDetailsAPI=function(t){return n.default.get("micro/product_details",t)};e.spuInfo=function(t,e){return n.default.get("product/spu/street/"+t,e)};e.merchantInfoAPI=function(t){return n.default.get("store/merchant/info",t)};e.merchantUpdateAPI=function(t){return n.default.post("store/merchant/update",t)}},ff42:function(t,e,a){"use strict";a.r(e);var i=a("a768"),n=a("1aa5");for(var o in n)["default"].indexOf(o)<0&&function(t){a.d(e,t,(function(){return n[t]}))}(o);a("cc6f");var s=a("f0c5"),r=Object(s["a"])(n["default"],i["b"],i["c"],!1,null,"02d131a0",null,!1,i["a"],void 0);e["default"]=r.exports}}]); |