You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
crmeb_php/public/static/js/pages-product-addGoods-inde...

1 lines
66 KiB

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-product-addGoods-index"],{"0358":function(t,e,a){"use strict";var i=a("177d"),n=a.n(i);n.a},"094c":function(t,e,a){"use strict";a.r(e);var i=a("e5e2"),n=a("3988");for(var s in n)["default"].indexOf(s)<0&&function(t){a.d(e,t,(function(){return n[t]}))}(s);a("d97c");var o=a("f0c5"),l=Object(o["a"])(n["default"],i["b"],i["c"],!1,null,"3fb66ba7",null,!1,i["a"],void 0);e["default"]=l.exports},1331:function(t,e,a){"use strict";a("7a82");var i=a("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;i(a("5530"));var n=i(a("ade3")),s=i(a("2909")),o=i(a("c7eb")),l=i(a("1da1"));a("a434"),a("d81d"),a("d3b7"),a("159b"),a("b64b"),a("99af"),a("14d9"),a("caad"),a("2532");var c=i(a("2e1e")),r=i(a("094c")),d=a("a5eb"),u=a("fdb9"),p=i(a("49d6")),f=i(a("1d60")),v=i(a("c24f")),_=i(a("6c84")),m=i(a("a208")),h=a("8342"),g=i(a("3f30")),b={components:{inputGoodsDetils:c.default,linkageAssembly:r.default,attr:p.default,platfrom:f.default,storeClassification:v.default,secound:_.default,avatar:m.default},data:function(){return{step: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:[],delivery_free:"1",temp_id:"",tempName:""},popupContainerKey:!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:""}},onLoad:function(t){this.merId=t.mer_id,this.product_id=t.product_id,this.getDeliveryType(),this.initData(),this.product_id&&this.initDataEditData()},onShow:function(){this.setFormData.setSpecificaValue="",this.setFormData.setSpecificaValue2="",(0,d.getStorage)("singleSpecification")?this.setFormData.setSpecificaValue="点击修改价格":this.setFormData.setSpecificaValue="",(0,d.getStorage)("attrValue")?this.setFormData.setSpecificaValue2="点击修改价格":this.setFormData.setSpecificaValue2="",2==this.step&&(this.secoundModel=!this.secoundModel)},watch:{setFormData:{handler:function(t){var e=this;setTimeout((function(){(0,d.setStorage)("addGoodsFormData",e.setFormData)}))},deep:!0},"setFormData.imageList":function(t){this.setFormData.image=t.length?t[0]:"",this.setFormData.slider_image=t.length?(0,d.serialize)(t).splice(1):[]}},methods:{initData:function(){var t=this;return(0,l.default)((0,o.default)().mark((function e(){return(0,o.default)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return(0,d.getStorage)("addGoodsFormData")&&(t.setFormData=(0,d.getStorage)("addGoodsFormData"),t.selectEdAttr=(0,d.getStorage)("modifyPriceData")),e.next=3,(0,u.categoryBrandlist)(t.merId);case 3:return t.brand=e.sent.data,e.next=6,(0,u.categorySelect)(t.merId);case 6:return t.merchantClassification=e.sent.data,e.next=9,(0,u.categoryList)(t.merId);case 9:t.platformClassificationData=e.sent.data;case 10: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,d.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,d.getStorage)("editGoodsDetils")&&(0,d.removeStorage)("editGoodsDetils"),(0,u.productDetail)(this.merId,this.product_id).then((function(e){(0,d.setStorage)("editGoodsDetils",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,s.default)(t.setFormData.image?[t.setFormData.image]:[]),(0,s.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,d.setStorage)("singleSpecification",a.attrValue[0]),a.attrValue.length&&(t.setFormData.setSpecificaValue="点击修改价格")),(0,d.setStorage)("attrValue",a.attrValue),a.temp&&(t.setFormData.tempName=a.temp.name),(0,d.setStorage)("canChange",!0),(0,d.hideLoading)()}))},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:h.HTTP_REQUEST_URL+"/api/upload/image/field",filePath:t.path,name:"field",formData:{filename:t.path,name:e.imgName},header:(0,n.default)({},h.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.value})),this.setFormData.mer_cate_name=t.map((function(t){return t.label})).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].label,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()},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){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,d.getStorage)("attrValue")&&(0,d.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,d.serialize)(this.selectEdAttr);return(0,d.setStorage)("modifyPriceData",t),void(0,d.navigateTo)(1,"/pages/product/addGoods/modifyPrice")}}else(0,d.navigateTo)(1,"/pages/product/addGoods/singleSpecification")},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,d.navigateTo)(1,"/pages/product/addGoods/freightTemplate",{mer_id:this.merId})},handleNextStep:function(){var t=this,e=!0,a={image:"请选择主图",store_name:"请输入商品名",cate_id:"请选择平台分类",mer_cate_id:"请选择店铺分类",unit_name:"请输入商品单位"};Object.keys(a).some((function(i){if(!t.setFormData[i])return(0,d.Toast)(a[i]),void(e=!1)})),("0"!=this.setFormData.spec_type||this.setFormData.setSpecificaValue)&&("1"!=this.setFormData.spec_type||this.setFormData.setSpecificaValue2)?this.setFormData.delivery_way.length?e&&(this.step=2):(0,d.Toast)("请选择送货方式"):(0,d.Toast)("商品价格不能为空")},lastStep:function(){this.step=1}}};e.default=b},1383: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"));a("a9e3"),a("14d9"),a("a434");a("a5eb");var s=a("8342"),o=i(a("a208")),l=i(a("3f30")),c={components:{avatar:o.default},props:{isShowDescribe:{type:Boolean,default:!1},isMultiple:{type:Boolean,default:!0},maxLength:{type:Number,default:12},title:{type:String,default:""},prodectContent:{type:Object,default:function(){return{imageList:[]}}}},data:function(){return{uploadImg:this.prodectContent.imageList,isUpload:!0,imgName:""}},watch:{prodectContent:{handler:function(t){this.$emit("getProductContent",t)},deep:!0},uploadImg:{handler:function(t){this.isMultiple?this.isUpload=t.length<6:this.isUpload=t.length<1},deep:!0}},mounted:function(){},methods:{handleChooseImage:function(){var t=this;t.$util.uploadImageOne("upload/image",(function(e){t.uploadImg.push(e.data.path),t.$set(t.prodectContent,"imageList",t.uploadImg)}))},clk:function(){var t=this.$refs.avatar;t.fChooseImg(1,{selWidth:"350upx",selHeight:"350upx",inner:!0})},doUpload:function(t){var e=this;uni.uploadFile({url:s.HTTP_REQUEST_URL+"/api/upload/image/field",filePath:t.path,name:"field",formData:{filename:t.path,name:e.imgName},header:(0,n.default)({},s.TOKENNAME,"Bearer "+l.default.state.app.token),success:function(t){var a=JSON.parse(t.data);e.prodectContent.imageList.push(a.data.path)},complete:function(t){}})},getImgName:function(t){this.imgName=t},deleteImage:function(t){this.prodectContent.imageList.splice(t,1),this.uploadImg=this.prodectContent.imageList}}};e.default=c},"16f8":function(t,e,a){var i=a("24fb");e=i(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.area_container[data-v-433dfac4]{background:#fff;border-radius:16px 16px 0 0}.area_container_title[data-v-433dfac4]{text-align:center;padding:%?36?% %?30?% %?46?% 0;position:relative}.area_container_title_close[data-v-433dfac4]{position:absolute;top:%?20?%;right:%?20?%}.area_container_title .manage_btn[data-v-433dfac4]{font-weight:400;color:#e93323;font-size:%?24?%;position:absolute;left:%?30?%;top:%?40?%}.area_container_content[data-v-433dfac4]{padding:0 %?30?%}.area_container_content .selectList_con[data-v-433dfac4]{display:flex;flex-wrap:wrap;margin-bottom:%?50?%}.area_container_content .selectList_con_item[data-v-433dfac4]{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-433dfac4]:nth-child(1){display:inline-block;margin-right:%?14?%;white-space:nowrap}.area_container_content .selectList_con_item .iconfont[data-v-433dfac4]{font-size:%?24?%}.area_container_content .selectList_tap[data-v-433dfac4]{border-bottom:1px solid #eee;display:flex}.area_container_content .selectList_tap_item[data-v-433dfac4]{font-size:%?28?%;margin-right:%?60?%;white-space:nowrap}.area_container_content .selectList_tap .selectTap[data-v-433dfac4]{color:#e93323;border-bottom:%?3?% solid #e93323;padding-bottom:%?21?%}.area_container_content .selectList_area .scroll[data-v-433dfac4]{height:%?597?%}.area_container_content .selectList_area .selectList_area_item[data-v-433dfac4]{padding:%?40?% 0;display:flex;justify-content:space-between;font-size:%?28?%}.area_container_content .selectList_area .selectList_area_item .iconfont[data-v-433dfac4]{color:#e93323;font-size:%?40?%}.area_container_content .selectList_area .selectList_area_item .selectList_area_item_name[data-v-433dfac4]{flex:0.7}.area_container_content .handle[data-v-433dfac4]{height:%?126?%}.area_container_content .handle_button[data-v-433dfac4]{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},"177d":function(t,e,a){var i=a("dde8");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=a("4f06").default;n("23943a80",i,!0,{sourceMap:!1,shadowMode:!1})},"1d60":function(t,e,a){"use strict";a.r(e);var i=a("f3d1"),n=a("97da");for(var s in n)["default"].indexOf(s)<0&&function(t){a.d(e,t,(function(){return n[t]}))}(s);a("92d1");var o=a("f0c5"),l=Object(o["a"])(n["default"],i["b"],i["c"],!1,null,"6750d9b2",null,!1,i["a"],void 0);e["default"]=l.exports},"29b8":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("a5eb"),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){this.selectIndex=e,this.selectClassifiedData=(0,i.serialize)(t.children)},pleaseSelect:function(){this.selectIndex=-1,this.selectClassifiedData=this.tapList[this.tapList.length-1].children},close:function(){this.$emit("close")}}};e.default=n},"2e1e":function(t,e,a){"use strict";a.r(e);var i=a("bf96"),n=a("716c");for(var s in n)["default"].indexOf(s)<0&&function(t){a.d(e,t,(function(){return n[t]}))}(s);a("5cef");var o=a("f0c5"),l=Object(o["a"])(n["default"],i["b"],i["c"],!1,null,"986e8832",null,!1,i["a"],void 0);e["default"]=l.exports},"32f6":function(t,e,a){"use strict";a.r(e);var i=a("ea2f"),n=a("ed77");for(var s in n)["default"].indexOf(s)<0&&function(t){a.d(e,t,(function(){return n[t]}))}(s);a("0358");var o=a("f0c5"),l=Object(o["a"])(n["default"],i["b"],i["c"],!1,null,"4674d69a",null,!1,i["a"],void 0);e["default"]=l.exports},3988:function(t,e,a){"use strict";a.r(e);var i=a("65a6"),n=a.n(i);for(var s in i)["default"].indexOf(s)<0&&function(t){a.d(e,t,(function(){return i[t]}))}(s);e["default"]=n.a},"49d6":function(t,e,a){"use strict";a.r(e);var i=a("e060"),n=a("9604");for(var s in n)["default"].indexOf(s)<0&&function(t){a.d(e,t,(function(){return n[t]}))}(s);a("65be");var o=a("f0c5"),l=Object(o["a"])(n["default"],i["b"],i["c"],!1,null,"13917909",null,!1,i["a"],void 0);e["default"]=l.exports},"510d":function(t,e,a){var i=a("24fb");e=i(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.select_popup_container[data-v-3fb66ba7]{background:#fff;border-radius:%?16?% %?16?% 0 0}.popup_title[data-v-3fb66ba7]{display:flex;justify-content:flex-end;padding:%?36?% %?30?%;position:relative}.popup_title .manage_btn[data-v-3fb66ba7]{font-weight:400;color:#e93323;font-size:%?24?%;position:absolute;left:%?30?%;top:%?40?%}.popup_title_msn[data-v-3fb66ba7]{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-3fb66ba7]{position:relative;z-index:10;font-size:%?28?%;color:#8a8a8a}.selected_list[data-v-3fb66ba7]{display:flex;flex-wrap:wrap;padding:%?50?% %?30?%}.selected_list_item[data-v-3fb66ba7]{display:flex;align-items:center;color:#e93323;margin-right:%?31?%;margin-bottom:%?40?%;padding:%?3?% %?11?%;background:#fff6f5}.selected_list_item .iconfont[data-v-3fb66ba7]{display:inline-block;margin-left:%?14?%;font-size:%?24?%}.popup_tap[data-v-3fb66ba7]{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-3fb66ba7]{display:flex}.popup_tap_item[data-v-3fb66ba7]{margin-right:%?60?%;padding-bottom:%?21?%;white-space:nowrap}.popup_tap .selectTapEd[data-v-3fb66ba7]{color:#e93323;border-bottom:%?3?% solid #e93323}.content .popup_sroll[data-v-3fb66ba7]{max-height:%?742?%;min-height:%?300?%}.content_list_item[data-v-3fb66ba7]{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-3fb66ba7]{flex:0.6}.content_list_item > uni-view[data-v-3fb66ba7]:nth-child(2){flex:0.4;display:flex;justify-content:flex-end}.content_list_item .iconfont[data-v-3fb66ba7]{color:#e93323;font-size:%?36?%!important}.selectSingleCase[data-v-3fb66ba7]{color:#e93323}.selectTapEd[data-v-3fb66ba7]{color:#e93323;border-bottom:%?3?% solid #e93323}',""]),t.exports=e},"5cef":function(t,e,a){"use strict";var i=a("8fde"),n=a.n(i);n.a},"65a6":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("a5eb"),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},"65be":function(t,e,a){"use strict";var i=a("b796"),n=a.n(i);n.a},"6ccf":function(t,e,a){var i=a("b4eb");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=a("4f06").default;n("2785eb61",i,!0,{sourceMap:!1,shadowMode:!1})},"716c":function(t,e,a){"use strict";a.r(e);var i=a("1383"),n=a.n(i);for(var s in i)["default"].indexOf(s)<0&&function(t){a.d(e,t,(function(){return i[t]}))}(s);e["default"]=n.a},"85cb":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},"8fde":function(t,e,a){var i=a("a486");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=a("4f06").default;n("1615cf8d",i,!0,{sourceMap:!1,shadowMode:!1})},"92d1":function(t,e,a){"use strict";var i=a("6ccf"),n=a.n(i);n.a},"94a2":function(t,e,a){var i=a("16f8");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=a("4f06").default;n("56e925fc",i,!0,{sourceMap:!1,shadowMode:!1})},9604:function(t,e,a){"use strict";a.r(e);var i=a("85cb"),n=a.n(i);for(var s in i)["default"].indexOf(s)<0&&function(t){a.d(e,t,(function(){return i[t]}))}(s);e["default"]=n.a},"97da":function(t,e,a){"use strict";a.r(e);var i=a("29b8"),n=a.n(i);for(var s in i)["default"].indexOf(s)<0&&function(t){a.d(e,t,(function(){return i[t]}))}(s);e["default"]=n.a},a0a8: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.label))]),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.label))])})),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.label))]),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=[]},a486:function(t,e,a){var i=a("24fb");e=i(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.input_content[data-v-986e8832]{background:#fff;padding:%?20?% %?40?% %?40?% %?30?%;width:%?710?%;margin:auto;box-sizing:border-box;border-radius:%?10?%}.input_content_textarea[data-v-986e8832]{border-bottom:1px solid #eee;padding-bottom:%?19?%}.input_content_textarea uni-textarea[data-v-986e8832]{height:%?114?%}.input_content_textarea > uni-view[data-v-986e8832]{text-align:right;color:#666;font-size:%?24?%}.input_content_photo[data-v-986e8832]{margin-top:%?41?%;display:flex;flex-wrap:wrap}.input_content_photo .photos[data-v-986e8832]{width:%?156?%;height:%?156?%}.input_content_photo_adPh[data-v-986e8832]{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-986e8832]{height:100%;margin:auto}.input_content_photo_adPh > uni-view[data-v-986e8832]: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-986e8832]{width:%?45?%;display:block}.input_content_photo_adPh > uni-view[data-v-986e8832]:nth-child(2){text-align:center;color:#bbb;font-size:%?24?%}.input_content_photo_adPh_jiao[data-v-986e8832]{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-986e8832]{width:%?16?%;height:%?16?%}.input_content_describe[data-v-986e8832]{border-top:1px solid #eee;padding-top:%?30?%;padding-bottom:%?47?%;border-bottom:1px solid #eee}.input_content_describe_title[data-v-986e8832]{display:flex;align-items:center;justify-content:space-between}.input_content_describe_title_msg[data-v-986e8832]{color:#333;font-size:%?30?%}.input_content_describe_title_num[data-v-986e8832]{color:#666;font-size:%?24?%}.input_content_describe_textarea[data-v-986e8832]{border-radius:10px;margin-top:%?20?%;height:%?180?%;background:#f5f5f5;padding:%?20?%}.input_content_describe_textarea uni-textarea[data-v-986e8832]{font-size:%?28?%}.input_content_keyword[data-v-986e8832]{padding-top:%?32?%;display:flex;align-items:center;justify-content:space-between;font-size:%?30?%}.input_content_keyword_value[data-v-986e8832]{flex:1;margin-left:%?30?%}.input_content_keyword_value uni-input[data-v-986e8832]{width:100%;text-align:right}.placeholderClass[data-v-986e8832]{color:#bbb;font-size:%?28?%}',""]),t.exports=e},b4eb:function(t,e,a){var i=a("24fb");e=i(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.select_popup_container[data-v-6750d9b2]{background:#fff;border-radius:%?16?% %?16?% 0 0}.popup_title[data-v-6750d9b2]{display:flex;justify-content:flex-end;padding:%?36?% %?30?%;position:relative}.popup_title_msn[data-v-6750d9b2]{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-6750d9b2]{position:relative;z-index:10;font-size:%?28?%;color:#8a8a8a}.tap_list[data-v-6750d9b2]{margin-top:%?35?%;border-bottom:1px solid #eee;width:%?710?%;margin:auto;margin-bottom:%?40?%;display:flex}.tap_list .border[data-v-6750d9b2]{border-bottom:2px solid #e93323!important;color:#e93323!important}.tap_list_item[data-v-6750d9b2]{padding-bottom:%?18?%;margin-right:%?30?%}.content_list .popup_sroll[data-v-6750d9b2]{height:%?742?%}.content_list .content_list_item[data-v-6750d9b2]{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-6750d9b2]{flex:0.6}.content_list .content_list_item > uni-view[data-v-6750d9b2]:nth-child(2){flex:0.4;display:flex;justify-content:flex-end}.content_list .content_list_item .iconfont[data-v-6750d9b2]{color:#e93323;font-size:%?36?%!important}',""]),t.exports=e},b796:function(t,e,a){var i=a("e830");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=a("4f06").default;n("a72c26f6",i,!0,{sourceMap:!1,shadowMode:!1})},b823:function(t,e,a){"use strict";a.r(e);var i=a("fcae"),n=a.n(i);for(var s in i)["default"].indexOf(s)<0&&function(t){a.d(e,t,(function(){return i[t]}))}(s);e["default"]=n.a},bf96: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:t.title,"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("027e"),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("1e3a"),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",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=[]},c24f:function(t,e,a){"use strict";a.r(e);var i=a("a0a8"),n=a("b823");for(var s in n)["default"].indexOf(s)<0&&function(t){a.d(e,t,(function(){return n[t]}))}(s);a("ff38");var o=a("f0c5"),l=Object(o["a"])(n["default"],i["b"],i["c"],!1,null,"433dfac4",null,!1,i["a"],void 0);e["default"]=l.exports},d97c:function(t,e,a){"use strict";var i=a("f141"),n=a.n(i);n.a},dde8:function(t,e,a){var i=a("24fb");e=i(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.container[data-v-4674d69a]{padding-top:%?20?%;padding-bottom:%?156?%}.tip[data-v-4674d69a]{padding:%?16?% 0 0 %?40?%;font-size:%?22?%;color:#e93323;display:flex;align-items:center;margin-bottom:%?40?%}.tip .iconfont[data-v-4674d69a]{display:inline-block;margin-right:%?10?%}.popup_group[data-v-4674d69a]{background:#fff;margin:%?31?% auto;width:%?710?%;font-size:%?30?%;border-radius:%?10?%}.popup_group .popup_group_item[data-v-4674d69a]{padding:%?32?% %?30?%;display:flex;align-items:center;justify-content:space-between}.popup_group .popup_group_item .popup_group_item_value[data-v-4674d69a]{display:flex;align-items:center}.popup_group .popup_group_item .popup_group_item_value .popup_group_item_message[data-v-4674d69a]{margin-right:%?15?%;color:#bbb;max-width:%?400?%}.popup_group .popup_group_item .popup_group_item_value .popup_group_item_message_value[data-v-4674d69a]{display:inline-block;max-width:%?400?%;color:#000}.popup_group .popup_group_item .popup_group_item_value .iconfont[data-v-4674d69a]{color:#bbb}.popup_group .popup_group_item .popup_group_item_value uni-input[data-v-4674d69a]{text-align:right}.popup_group > uni-view[data-v-4674d69a]:not(:last-child){border-bottom:1px solid #eee}.handle[data-v-4674d69a]{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-4674d69a]{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-4674d69a]{background:#fff;padding:%?20?% %?30?% %?40?% %?30?%;width:%?710?%;margin:auto;box-sizing:border-box;border-radius:%?10?%}.input_content_textarea[data-v-4674d69a]{border-bottom:1px solid #eee;padding-bottom:%?19?%}.input_content_textarea uni-textarea[data-v-4674d69a]{height:%?114?%}.input_content_textarea > uni-view[data-v-4674d69a]{text-align:right;color:#666;font-size:%?24?%}.input_content_photo[data-v-4674d69a]{margin-top:%?30?%;display:flex;flex-wrap:wrap}.input_content_photo_adPh[data-v-4674d69a]{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-4674d69a]:nth-child(3n){margin-right:0}.input_content_photo_adPh > uni-view[data-v-4674d69a]: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-4674d69a]{width:%?45?%;display:block}.input_content_photo_adPh > uni-view[data-v-4674d69a]:nth-child(2){text-align:center;color:#bbb;font-size:%?24?%}.input_content_photo_adPh .photos[data-v-4674d69a]{width:%?206?%}.input_content_photo_adPh_jiao[data-v-4674d69a]{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-4674d69a]{width:%?16?%;height:%?16?%}.input_content_describe[data-v-4674d69a]{border-top:1px solid #eee;padding-top:%?30?%;padding-bottom:%?47?%;border-bottom:1px solid #eee}.input_content_describe_title[data-v-4674d69a]{display:flex;align-items:center;justify-content:space-between}.input_content_describe_title_msg[data-v-4674d69a]{color:#333;font-size:%?30?%}.input_content_describe_title_num[data-v-4674d69a]{color:#666;font-size:%?24?%}.input_content_describe_textarea[data-v-4674d69a]{border-radius:10px;margin-top:%?20?%;height:%?180?%;background:#f5f5f5;padding:%?20?%}.input_content_describe_textarea uni-textarea[data-v-4674d69a]{font-size:%?28?%;height:%?150?%}.input_content_keyword[data-v-4674d69a]{padding-top:%?32?%;display:flex;align-items:center;justify-content:space-between;font-size:%?30?%}.input_content_keyword_value[data-v-4674d69a]{flex:1;margin-left:%?30?%}.input_content_keyword_value uni-input[data-v-4674d69a]{width:100%;text-align:right}.photo_count[data-v-4674d69a]{margin-top:%?28?%}.photo_count .photo_size[data-v-4674d69a]{font-size:%?24?%;color:#999}.radio[data-v-4674d69a]{padding:%?30?%}.radio_label[data-v-4674d69a]{padding-left:%?10?%;color:#333;font-size:%?30?%;display:flex;align-items:center}.radio_label .select_check[data-v-4674d69a]{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-4674d69a]{font-size:%?24?%}.radio_label .select[data-v-4674d69a]{background:#e93323;border:none}.radio_label .select .iconfont[data-v-4674d69a]{color:#fff}.radio .select_group[data-v-4674d69a]{display:flex}.radio .flex_start[data-v-4674d69a]{padding:0 %?10?%;margin-top:%?40?%;justify-content:flex-start}.radio_select[data-v-4674d69a]{display:flex;margin-right:%?110?%}.dobuButton[data-v-4674d69a]{padding:0 %?30?%}.margin_right[data-v-4674d69a]{background:#fd6523;margin-right:%?30?%}',""]),t.exports=e},e060: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=[]},e5e2: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=[]},e830:function(t,e,a){var i=a("24fb");e=i(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.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},ea2f:function(t,e,a){"use strict";a.d(e,"b",(function(){return n})),a.d(e,"c",(function(){return s})),a.d(e,"a",(function(){return i}));var i={uniPopup:a("59c7").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"},[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",[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),i("v-uni-view",{staticClass:"photo_count"},[i("v-uni-text",{staticClass:"photo_size"},[t._v("建议:图片尺寸为750*750px")]),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}}),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("027e"),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("1e3a"),mode:"widthFix"}})],1),i("v-uni-view",[t._v("添加图片")])],1):t._e()],2)],1),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.setFormData.store_info?i("v-uni-text",[t._v(t._s(t.setFormData.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.setFormData.store_info,callback:function(e){t.$set(t.setFormData,"store_info",e)},expression:"setFormData.store_info"}})],1)],1),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:"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",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.selectStoreClass.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.mer_cate_name?i("span",{staticClass:"popup_group_item_message_value"},[t._v(t._s(t.setFormData.mer_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",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.selectBrand.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.brand_name?i("v-uni-text",{staticClass:"popup_group_item_message_value line1"},[t._v(t._s(t.setFormData.brand_name))]):i("v-uni-text",[t._v("请选择商品品牌")])],1),i("v-uni-view",[i("v-uni-text",{staticClass:"iconfont"},[t._v("")])],1)],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),i("v-uni-view",{staticClass:"popup_group"},[i("v-uni-view",{staticClass:"radio"},[i("v-uni-view",{staticClass:"radio_label "},[t._v("规格选择")]),i("v-uni-radio-group",{staticClass:"select_group flex_start",on:{change:function(e){arguments[0]=e=t.$handleEvent(e),t.specificationsRadioChange(e)}}},t._l(t.specificationsRadioList,(function(e,a){return i("v-uni-label",{key:e.value,staticClass:"radio_select"},[i("v-uni-view",[i("v-uni-radio",{attrs:{value:e.value,checked:e.value==t.setFormData.spec_type}})],1),i("v-uni-view",[t._v(t._s(e.name))])],1)})),1)],1),1==t.setFormData.spec_type?i("v-uni-view",{staticClass:"popup_group_item",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.selectSpecification.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.specifica?i("span",{staticClass:"popup_group_item_message_value"},[t._v(t._s(t.setFormData.specifica))]):i("span",[t._v("去选择")])]),i("v-uni-view",[i("span",{staticClass:"iconfont"},[t._v("")])])],1)],1):t._e(),0==t.setFormData.spec_type?i("v-uni-view",{staticClass:"popup_group_item",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.setSpecifica.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.setSpecificaValue?i("span",{staticClass:"popup_group_item_message_value"},[t._v(t._s(t.setFormData.setSpecificaValue))]):i("span",[t._v("去设置")])]),i("v-uni-view",[i("span",{staticClass:"iconfont"},[t._v("")])])],1)],1):t._e(),1==t.setFormData.spec_type&&t.setFormData.specifica?i("v-uni-view",{staticClass:"popup_group_item",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.setSpecifica.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.setSpecificaValue2?i("span",{staticClass:"popup_group_item_message_value"},[t._v(t._s(t.setFormData.setSpecificaValue2))]):i("span",[t._v("去设置")])]),i("v-uni-view",[i("span",{staticClass:"iconfont"},[t._v("")])])],1)],1):t._e()],1),i("v-uni-view",{staticClass:"popup_group"},[2==t.deliveryType.length?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,checked:t.setFormData.delivery_way.includes(e.value)}})],1),i("v-uni-view",[t._v(t._s(e.name))])],1)})),1)],1):t._e(),t.setFormData.delivery_way.includes("2")?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-view",{staticClass:"popup_group_item_message"},[i("v-uni-switch",{staticStyle:{transform:"scale(0.8)"},attrs:{checked:"1"==t.setFormData.delivery_free,color:"#E93323"},on:{change:function(e){arguments[0]=e=t.$handleEvent(e),t.deliveryFreeChange.apply(void 0,arguments)}}})],1)],1)],1):t._e(),t.setFormData.delivery_way.includes("2")&&0==t.setFormData.delivery_free?i("v-uni-view",{staticClass:"popup_group_item",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.tempIdSelect.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.tempName?i("span",{staticClass:"popup_group_item_message_value"},[t._v(t._s(t.setFormData.tempName))]):i("span",[t._v("请选择运费模板")])]),i("v-uni-view",[i("span",{staticClass:"iconfont"},[t._v("")])])],1)],1):t._e()],1),i("v-uni-view",{staticClass:"handle"},[i("v-uni-view",{staticClass:"handle_button",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.handleNextStep.apply(void 0,arguments)}}},[t._v("下一步")])],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},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)},s=[]},ed77:function(t,e,a){"use strict";a.r(e);var i=a("1331"),n=a.n(i);for(var s in i)["default"].indexOf(s)<0&&function(t){a.d(e,t,(function(){return i[t]}))}(s);e["default"]=n.a},f141:function(t,e,a){var i=a("510d");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=a("4f06").default;n("14886b83",i,!0,{sourceMap:!1,shadowMode:!1})},f3d1: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=[]},fcae: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")),s=i(a("c7eb")),o=i(a("1da1"));a("a9e3"),a("14d9"),a("a434"),a("d3b7"),a("d81d"),a("4de4");var l=a("a5eb"),c={props:{allReadySelect:{type:Array,default:function(){return[]}},classifiedData:{type:Array,default:function(){return[]}},mer_id:{type:Number,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,l.serialize)(this.classifiedData)},methods:{selectArea:function(t){var e=this;return(0,o.default)((0,s.default)().mark((function a(){return(0,s.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=14;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 14:if(!t.children||!t.children.length){a.next=20;break}return e.areaList=t.children,e.tapList.push(t),e.isShowLastItem=!0,e.selectTap=-1,a.abrupt("return");case 20:case"end":return a.stop()}}),a)})))()},selectTapItem:function(t,e){var a=this;return(0,o.default)((0,s.default)().mark((function i(){return(0,s.default)().wrap((function(i){while(1)switch(i.prev=i.next){case 0:if(0!=e){i.next=5;break}return a.areaList=(0,l.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,l.serialize)(this.classifiedData)},handlyAddSelect:function(t){if(this.selectList.some((function(e){return e.value==t.value})))(0,l.Toast)("已经选择过了");else if(this.selectTapIndex>-1&&this.tapList.splice(this.selectTapIndex,999),t.parent_id){var e;e=(0,l.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=c},ff38:function(t,e,a){"use strict";var i=a("94a2"),n=a.n(i);n.a}}]);