(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-7a87c7a6","chunk-ae7cb8dc","chunk-ae7cb8dc"],{"0b67":function(t,e,a){},"0d5c":function(t,e,a){"use strict";a.r(e);var r=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("custom-bread",{attrs:{breadList:t.$options.breadList}}),a("a-layout",{staticStyle:{"margin-top":"24px"}},[a("a-layout-content",{style:{background:"#fff",marginBottom:"16px",padding:"24px"}},[a("div",{staticClass:"tableForm"},[a("div",{staticClass:"table-page-search-wrapper"},[a("a-form",{attrs:{layout:"inline",form:t.form,labelCol:{span:4},wrapperCol:{span:16}},nativeOn:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.search(e)}}},[a("a-row",{attrs:{gutter:24}},[a("a-col",{attrs:{md:6,sm:24,xxl:6}},[a("a-form-item",[a("span",{attrs:{slot:"label"},slot:"label"},[t._v("\n 规则ID\n "),a("a-tooltip",{attrs:{title:"支持批量查询,最多1000个,输入多个时用英文逗号隔开"}},[a("a-icon",{attrs:{type:"exclamation-circle"}})],1)],1),a("a-input",{attrs:{placeholder:"请输入"},model:{value:t.queryParam.rule_ids,callback:function(e){t.$set(t.queryParam,"rule_ids",e)},expression:"queryParam.rule_ids"}})],1)],1),a("a-col",{attrs:{md:6,sm:24,xxl:6}},[a("a-form-item",{attrs:{label:"规则名称"}},[a("a-input",{attrs:{placeholder:"请输入"},model:{value:t.queryParam.name,callback:function(e){t.$set(t.queryParam,"name",e)},expression:"queryParam.name"}})],1)],1),a("a-col",{attrs:{md:6,sm:24,xxl:6}},[a("a-form-item",{attrs:{label:"搭配类型"}},[a("a-select",{attrs:{placeholder:"请选择"},model:{value:t.queryParam.type,callback:function(e){t.$set(t.queryParam,"type",e)},expression:"queryParam.type"}},[a("a-select-option",{attrs:{value:-1}},[t._v("全部")]),a("a-select-option",{attrs:{value:3}},[t._v("SPU编码")]),a("a-select-option",{attrs:{value:2}},[t._v("商户SKU")]),a("a-select-option",{attrs:{value:1}},[t._v("商品ID")])],1)],1)],1),a("a-col",{attrs:{md:6,sm:24,xxl:6}},[a("a-form-item",[a("span",{attrs:{slot:"label"},slot:"label"},[t._v("\n 搭配商品\n "),a("a-tooltip",{attrs:{title:"支持批量查询,最多1000个,输入多个时用英文逗号隔开;筛选出至少匹配一个搭配商品的搭配规则"}},[a("a-icon",{attrs:{type:"exclamation-circle"}})],1)],1),a("a-input",{attrs:{placeholder:"请输入"},model:{value:t.queryParam.related_products,callback:function(e){t.$set(t.queryParam,"related_products",e)},expression:"queryParam.related_products"}})],1)],1)],1),a("a-row",{attrs:{gutter:24}},[a("a-col",{attrs:{md:6,sm:24,xxl:6}},[a("a-form-item",{attrs:{label:"状态"}},[a("a-select",{attrs:{placeholder:"请选择"},model:{value:t.queryParam.status,callback:function(e){t.$set(t.queryParam,"status",e)},expression:"queryParam.status"}},[a("a-select-option",{attrs:{value:-1}},[t._v("全部")]),a("a-select-option",{attrs:{value:1}},[t._v("启用")]),a("a-select-option",{attrs:{value:2}},[t._v("禁用")])],1)],1)],1),a("a-col",{attrs:{md:6,sm:24,xxl:6}},[a("a-form-item",[a("span",{attrs:{slot:"label"},slot:"label"},[t._v("\n 商户搭配规则ID\n "),a("a-tooltip",{attrs:{title:"支持批量查询,最多1000个,输入多个时用英文逗号隔开"}},[a("a-icon",{attrs:{type:"exclamation-circle"}})],1)],1),a("a-input",{attrs:{placeholder:"请输入"},model:{value:t.queryParam.merchant_rule_ids,callback:function(e){t.$set(t.queryParam,"merchant_rule_ids",e)},expression:"queryParam.merchant_rule_ids"}})],1)],1)],1),a("a-row",[a("a-col",{attrs:{md:6,sm:24,xxl:6}},[a("div",{staticClass:"page-user-button"},[a("a-button",{attrs:{type:"primary"},on:{click:t.search}},[t._v(t._s(t.$t("message.Search")))]),a("a-button",{on:{click:t.reset}},[t._v(t._s(t.$t("message.Reset")))])],1)])],1)],1)],1)])]),a("a-layout-content",{style:{background:"#fff",padding:"24px"}},[a("a-button",{directives:[{name:"permission",rawName:"v-permission",value:"product:/product/tool/pairUp/create",expression:"'product:/product/tool/pairUp/create'"}],attrs:{type:"primary"},on:{click:t.add}},[t._v("新建")]),t.isShowDropdown?a("a-dropdown",[a("a-menu",{attrs:{slot:"overlay"},slot:"overlay"},[a("a-menu-item",{directives:[{name:"permission",rawName:"v-permission",value:"product:/product/tool/pairUp/batch-create",expression:"'product:/product/tool/pairUp/batch-create'"}],key:"1",on:{click:t.batchAdd}},[t._v("批量新建商品搭配规则")]),a("a-menu-item",{directives:[{name:"permission",rawName:"v-permission",value:"product:/product/tool/pairUp/batch-edit",expression:"'product:/product/tool/pairUp/batch-edit'"}],key:"2",on:{click:t.batchEdit}},[t._v("批量编辑商品搭配规则")]),a("a-menu-item",{directives:[{name:"permission",rawName:"v-permission",value:"product:/product/tool/pairUp/batch-delete",expression:"'product:/product/tool/pairUp/batch-delete'"}],key:"3",on:{click:t.batchDel}},[t._v("批量删除商品搭配规则")])],1),a("a-button",{staticClass:"ml8"},[t._v("批量导入 "),a("a-icon",{attrs:{type:"down"}})],1)],1):t._e(),a("a-button",{directives:[{name:"permission",rawName:"v-permission",value:"product:/product/tool/pairUp/export",expression:"'product:/product/tool/pairUp/export'"}],staticClass:"ml8",on:{click:t.batchExport}},[t._v("导出")]),a("a-table",{staticStyle:{"margin-top":"24px"},attrs:{"table-layout":"fixed",columns:t.columns,dataSource:t.dataSource,pagination:!1,loading:t.loading,"row-selection":{selectedRowKeys:t.selectedRowKeys,onChange:t.onSelectChange}},scopedSlots:t._u([{key:"plainStr",fn:function(e){return[e?a("a-tooltip",{attrs:{placement:"topLeft"}},[a("template",{slot:"title"},[t._v("\n "+t._s(e)+"\n ")]),t._v("\n "+t._s(e)+"\n ")],2):[t._v("- -")]]}},{key:"type",fn:function(e){return[t._v("\n "+t._s(t._f("typeFilter")(e))+"\n ")]}},{key:"status",fn:function(e){return[t._v("\n "+t._s(1===e?"启用":2===e?"禁用":"")+"\n ")]}},{key:"actions",fn:function(e,r){return[a("a",{attrs:{href:"javascript:void(0)"},on:{click:function(e){return t.edit(r.rule_id)}}},[t._v("编辑")]),t._v("\n  \n "),a("a",{attrs:{href:"javascript:void(0)"},on:{click:function(e){return t.del(r.rule_id)}}},[t._v("删除")])]}}])}),t.dataSource&&t.dataSource.length?a("p-agination",{attrs:{total:t.pageTotal,currentPage:t.queryParam.page,computedPageNumber:t.computedPageNumber,pageSize:t.queryParam.limit},on:{jumpTableChange:t.jumpTableChange,selectPageSizeChange:t.selectPageSizeChange}}):t._e()],1)],1),a("PairModal",{attrs:{visible:t.modalVisible,editable:t.editable,ruleId:t.ruleId},on:{close:function(e){t.modalVisible=!1},update:t.getList}}),a("import-component",{ref:"batch_add",attrs:{fieldType:"product",templatePath:"/api-product/admin/import/template?action=product_related_rule_create",submitMethod:t.postProductPairBatchAdd},on:{uploadSuccess:t.uploadSuccess}},[a("p",[t._v("1、导入时请严格按模板导入,不要对模板格式做任何修改;")]),a("p",[t._v("2、Sheet1中的第一行和第二行禁止删除和修改;")]),a("p",[t._v("3、模板内容请参考Sheet2中的示例进行填写;")]),a("p",[t._v("4、单次导入最多10000条数据,文件最大20M;")])]),a("import-component",{ref:"batch_edit",attrs:{fieldType:"product",templatePath:"/api-product/admin/import/template?action=product_related_rule_update",submitMethod:t.postProductPairBatchEdit},on:{uploadSuccess:t.uploadSuccess}},[a("p",[t._v("1、导入时请严格按模板导入,不要对模板格式做任何修改;")]),a("p",[t._v("2、Sheet1中的第一行和第二行禁止删除和修改;")]),a("p",[t._v("3、模板内容请参考Sheet2中的示例进行填写;")]),a("p",[t._v("4、单次导入最多10000条数据,文件最大20M;")])]),a("import-component",{ref:"batch_del",attrs:{fieldType:"product",templatePath:"/api-product/admin/import/template?action=product_related_rule_delete",submitMethod:t.postProductPairBatchDel},on:{uploadSuccess:t.uploadSuccess}},[a("p",[t._v("1、导入时请严格按模板导入,不要对模板格式做任何修改;")]),a("p",[t._v("2、Sheet1中的第一行和第二行禁止删除和修改;")]),a("p",[t._v("3、模板内容请参考Sheet2中的示例进行填写;")]),a("p",[t._v("4、单次导入最多10000条数据,文件最大20M;")])]),a("export-task",{ref:"exportModule",attrs:{visible:t.exportVisible,"query-param":t.queryParam,"page-total":t.pageTotal,selectedRow:t.selectedRowKeys},on:{exportSuccess:t.exportSuccess,close:function(e){t.exportVisible=!1}}}),a("export-success",{ref:"exportSuccess",attrs:{windowOpen:""}})],1)},s=[],i=(a("8e6e"),a("ac6a"),a("456d"),a("ade3")),n=(a("c5f6"),a("5633")),o=a("bf43"),l=a("6b5c"),c=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("a-modal",{attrs:{visible:t.visible,title:t.title,width:800,destroyOnClose:!0},on:{ok:t.handleSubmit,cancel:function(e){return t.$emit("close")}}},[a("a-form",{attrs:{form:t.form,"label-col":{span:5},"wrapper-col":{span:16}},on:{submit:t.handleSubmit}},[a("a-form-item",[a("span",{attrs:{slot:"label"},slot:"label"},[t._v("\n 规则名称\n "),a("a-tooltip",{attrs:{placement:"right",title:"商品搭配规则名称,显示在客户端"}},[a("a-icon",{attrs:{type:"exclamation-circle"}})],1)],1),a("a-input",{directives:[{name:"decorator",rawName:"v-decorator",value:["ruleName",{initialValue:t.params.name,rules:[{max:200,message:"规则名称不超过200个字符"}]}],expression:"[\n 'ruleName',\n {\n initialValue: params.name,\n rules: [\n { max: 200, message: '规则名称不超过200个字符' }\n ]\n }\n ]"}],attrs:{placeholder:"请输入"},on:{input:t.inputRuleName}},[a("span",{attrs:{slot:"suffix"},slot:"suffix"},[t._v("\n "+t._s(t.params.name.length)+"/200\n ")])])],1),a("a-form-item",{attrs:{required:""}},[a("span",{attrs:{slot:"label"},slot:"label"},[t._v("\n 搭配类型\n "),a("a-tooltip",{attrs:{placement:"right"}},[a("template",{slot:"title"},[t._v("\n 搭配类型=SPU编码,表示必须按SPU编码设置搭配商品,客户端按SPU维度展示搭配商品,并且商品搭配规则可以跨店铺生效;"),a("br"),t._v("\n 搭配类型=商户SKU,表示必须按商户SKU设置搭配商品,客户端按SKU维度展示搭配商品,并且商品搭配规则可以跨店铺生效;"),a("br"),t._v("\n 搭配类型=商品ID,表示必须按商品ID设置搭配商品,客户端按SKU维度展示搭配商品,商品搭配规则不支持跨店铺生效\n ")]),a("a-icon",{attrs:{type:"exclamation-circle"}})],2)],1),a("a-select",{directives:[{name:"decorator",rawName:"v-decorator",value:["pairUpType",{initialValue:t.params.type,rules:[{validator:t.selectValidator}]}],expression:"[\n 'pairUpType',\n {\n initialValue: params.type,\n rules: [\n { validator: selectValidator }\n ]\n }\n ]"}],attrs:{placeholder:"请选择"},on:{change:t.handleTypeChange}},[a("a-select-option",{attrs:{value:3}},[t._v("SPU 编码")]),a("a-select-option",{attrs:{value:2}},[t._v("商户 SKU")]),a("a-select-option",{attrs:{value:1}},[t._v("商品 ID")])],1)],1),a("a-form-item",{staticClass:"textarea-suffix"},[a("span",{attrs:{slot:"label"},slot:"label"},[t._v("\n 搭配商品\n "),a("a-tooltip",{attrs:{placement:"right",title:"请根据选择的搭配类型,输入相应的商品字段值"}},[a("a-icon",{attrs:{type:"exclamation-circle"}})],1)],1),a("a-textarea",{directives:[{name:"decorator",rawName:"v-decorator",value:["relatedProducts",{initialValue:t.params.related_products,rules:[{required:!0,message:"请输入搭配商品"},{max:2e3,message:"搭配商品不超过2000个字符"}]}],expression:"[\n 'relatedProducts',\n {\n initialValue: params.related_products,\n rules: [\n { required: true, message: '请输入搭配商品' },\n { max: 2000, message: '搭配商品不超过2000个字符' }\n ]\n }\n ]"}],attrs:{placeholder:"多个数据用英文逗号隔开。搭配类型选择“商户SKU”,请输入商户SKU;搭配类型选择“SPU编码”,请输入SPU编码;搭配类型选择“商品ID”,请输入商品ID",autosize:{minRows:4,maxRows:8}},on:{input:t.inputRelatedProducts}}),a("span",{staticClass:"suffix"},[t._v("\n "+t._s(t.params.related_products.length)+"/2000\n ")])],1),a("a-form-item",{attrs:{label:"状态",required:""}},[a("a-radio-group",{model:{value:t.params.status,callback:function(e){t.$set(t.params,"status",e)},expression:"params.status"}},[a("a-radio",{attrs:{value:1}},[t._v("启用")]),a("a-radio",{attrs:{value:2}},[t._v("禁用")])],1)],1),a("a-form-item",[a("span",{attrs:{slot:"label"},slot:"label"},[t._v("\n 商户搭配规则ID\n "),a("a-tooltip",{attrs:{title:"商户侧搭配规则ID"}},[a("a-icon",{attrs:{type:"exclamation-circle"}})],1)],1),a("a-input",{directives:[{name:"decorator",rawName:"v-decorator",value:["merchantRuleId",{initialValue:t.params.merchant_rule_id,rules:[{max:200,message:"商户搭配规则ID不超过200个字符"}]}],expression:"[\n 'merchantRuleId',\n {\n initialValue: params.merchant_rule_id,\n rules: [\n { max: 200, message: '商户搭配规则ID不超过200个字符' }\n ]\n }\n ]"}],attrs:{placeholder:"请输入"},on:{input:t.inputRuleId}},[a("span",{attrs:{slot:"suffix"},slot:"suffix"},[t._v("\n "+t._s(t.params.merchant_rule_id.length)+"/200\n ")])])],1)],1)],1)},u=[];a("7f7f");function d(t,e){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),a.push.apply(a,r)}return a}function p(t){for(var e=1;e3e5)return this.errText="单次最多导出30万条数据",void(this.showError=!0);this.showError=!1}-1===e.status&&delete e.status,-1===e.type&&delete e.type,Object(l["ic"])({condition_params:JSON.stringify(e)}).then((function(e){0===e.status?t.$emit("exportSuccess"):t.$message.error(e.message)})).finally((function(){t.$emit("close")}))},handleChange:function(){this.showError=!1}}},S=w,P=(a("6c0e"),Object(h["a"])(S,g,x,!1,null,"0605dbbf",null)),k=P.exports;function O(t,e){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),a.push.apply(a,r)}return a}function C(t){for(var e=1;ee?e:a,0===e&&(a=this.queryParam.page),this.queryParam.page=a,this.getList()},onSelectChange:function(t){this.selectedRowKeys=t},edit:function(t){this.editable=!0,this.ruleId=t,this.modalVisible=!0},del:function(t){var e=this;this.$confirm({title:"确认要删除商品搭配规则吗?",onOk:function(){Object(l["hc"])({rule_id:t}).then((function(t){0===t.status&&e.getList()}))}})},add:function(){this.editable=!1,this.ruleId=-1,this.modalVisible=!0},batchAdd:function(){this.$refs.batch_add.powerShow("批量新建商品搭配规则")},batchEdit:function(){this.$refs.batch_edit.powerShow("批量编辑商品搭配规则")},batchDel:function(){this.$refs.batch_del.powerShow("批量删除商品搭配规则")},uploadSuccess:function(){this.$refs.exportSuccess.showModal("导入任务已提交","导入中心","/analysis/import/list")},exportSuccess:function(){this.$refs.exportSuccess.showModal("导出任务已提交","导出中心","/analysis/export/list")},postProductPairBatchAdd:l["dc"],postProductPairBatchEdit:l["fc"],postProductPairBatchDel:l["ec"],batchExport:function(){this.$refs.exportModule.checked=1,this.$refs.exportModule.errText="",this.$refs.exportModule.showError=!1,this.exportVisible=!0}},filters:{typeFilter:function(t){switch(t){case 1:return"商品ID";case 2:return"商户SKU";case 3:return"SPU编码";default:return""}}},beforeCreate:function(){this.form=this.$form.createForm(this,{name:"pairUpForm"})}},U=j,D=Object(h["a"])(U,r,s,!1,null,"c0bfe4aa",null);e["default"]=D.exports},"177e":function(t,e,a){"use strict";var r=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticStyle:{display:"inline-block"}},[a("a-modal",{attrs:{title:t.modalTitle,destroyOnClose:!0,okText:"确定",cancelText:"取消"},on:{ok:t.handleOk,cancel:t.handleCancel},model:{value:t.visible,callback:function(e){t.visible=e},expression:"visible"}},[a("a-form",{attrs:{"label-col":t.labelCol,"wrapper-col":t.wrapperCol}},[a("a-form-item",{staticClass:"form-item-hide-margin-bottom",attrs:{label:"文件",required:""}},[a("div",{staticClass:"flex-layout pr"},[a("a-upload",{attrs:{name:"file",action:t.uploadPath,headers:t.headers,remove:t.removeUpload,fileList:t.fileList,beforeUpload:t.beforeUpload},on:{change:t.handleChange}},[a("a-button",[a("a-icon",{attrs:{type:"upload"}}),t._v(" 选择文件 ")],1)],1),a("a",{staticClass:"down",attrs:{href:t.templatePath,download:""}},[t._v("下载模板")])],1),a("div",{staticClass:"customizeErrorRight"},[t._v(t._s(t.importDecideInfo))])]),a("a-form-item",{staticClass:"upload-intro form-item-hide-margin-bottom",attrs:{label:"说明"}},[a("div",{staticStyle:{"line-height":"27px","margin-top":"6px"}},[t._t("default")],2)])],1)],1)],1)},s=[],i=(a("7f7f"),a("2909")),n=(a("96cf"),a("1da1")),o={props:{templatePath:{type:String,default:function(){return"/api-product/admin/import/template"}},submitMethod:{type:Function,required:!0},fieldType:{type:String,default:function(){return""}}},computed:{uploadPath:function(){var t="";if(this.fieldType){var e=this.fieldType;switch(e){case"product":t="/api-product/admin/file/upload";break}}else t="/api-cms/cms/file/import_upload";return t}},data:function(){return{visible:!1,modalTitle:"",fileId:null,fileName:null,headers:{"Access-Token":this.$ls.get("token"),"Website-ID":this.$ls.get("website-id")},labelCol:{span:4},wrapperCol:{span:20},importDecideStatus:!1,importDecideInfo:"",fileList:[],throttle:!1,attrs:{}}},methods:{powerShow:function(t,e){this.modalTitle=t||"批量新建普通商品",this.attrs=e||{},this.visible=!0},handleOk:function(){var t=Object(n["a"])(regeneratorRuntime.mark((function t(e){var a;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(this.fileId){t.next=3;break}return this.confirmMessage(),t.abrupt("return");case 3:if(!this.throttle){t.next=5;break}return t.abrupt("return");case 5:return this.throttle=!0,t.next=8,this.startImport(this.fileId);case 8:a=t.sent,a&&(this.$store.commit("Decide_toggleLanguage_success"),this.$emit("uploadSuccess"),this.handleCancel()),this.throttle=!1;case 11:case"end":return t.stop()}}),t,this)})));function e(e){return t.apply(this,arguments)}return e}(),handleChange:function(t){var e=Object(i["a"])(t.fileList);if(e=e.slice(-1),this.fileList=e,t.fileList=e,"done"===t.file.status){var a=t.file.response;0===a.status?(this.fileId=a.data.file_id,this.fileName=t.file.name,this.resetUploadStatus()):(this.fileId="",this.importDecideStatus=!0,this.importDecideInfo=a.message)}},startImport:function(){var t=Object(n["a"])(regeneratorRuntime.mark((function t(e){var a;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(e){t.next=2;break}return t.abrupt("return");case 2:return a=Object.assign(this.attrs,{file_id:e,name:this.fileName}),t.abrupt("return",this.submitMethod(a));case 4:case"end":return t.stop()}}),t,this)})));function e(e){return t.apply(this,arguments)}return e}(),removeUpload:function(t){this.resetUploadStatus(),this.fileId=null,this.fileList=[]},confirmMessage:function(){this.importDecideStatus||(this.importDecideStatus=!0,this.importDecideInfo="文件不能为空")},resetUploadStatus:function(){this.importDecideStatus=!1,this.importDecideInfo=""},handleCancel:function(){this.visible=!1,this.removeUpload(),this.resetUploadStatus()},beforeUpload:function(t){var e=t.size<20971520;return e||(this.importDecideStatus=!0,this.importDecideInfo="请选择小于20M的文件"),e}}},l=o,c=(a("e843"),a("2877")),u=Object(c["a"])(l,r,s,!1,null,null,null);e["a"]=u.exports},"22c1":function(t,e,a){"use strict";a("8d8d")},5633:function(t,e,a){"use strict";var r=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"customBread"},[a("div",{staticClass:"page-header clearfix"},[a("div",{staticClass:"page-header-index-wide",staticStyle:{float:"left"}},[a("a-breadcrumb",{staticClass:"breadcrumb"},t._l(t.breadList.loopBread,(function(e){return a("a-breadcrumb-item",{key:e.name},[e.href?a("router-link",{attrs:{to:{path:e.href}}},[t._v("\n "+t._s(e.title)+"\n ")]):a("span",[t._v(t._s(e.title))])],1)})),1),a("div",{staticClass:"detail"},[a("div",{staticClass:"customBreadcrumb-current"},[a("h1",{staticClass:"title"},[t._v(t._s(t.breadList.current))]),t.breadList.showNote&&t.breadList.isText?a("a-tooltip",{attrs:{placement:"bottomLeft"}},[a("template",{slot:"title"},[a("div",{domProps:{innerHTML:t._s(t.noteRender())}})]),a("a-icon",{staticClass:"customBreadcrumb-icon",attrs:{type:"exclamation-circle"}})],2):t.breadList.showNote?a("a-popover",{attrs:{placement:"bottomLeft",overlayClassName:"custom-crumbcrumb-tips"}},[a("template",{slot:"content"},[a("div",{domProps:{innerHTML:t._s(t.noteRender())}})]),a("a-icon",{staticClass:"customBreadcrumb-icon",attrs:{type:"exclamation-circle"}})],2):t._e()],1)])],1),a("div",{staticClass:"customBreadRight"},[t._t("default")],2)])])},s=[],i={props:{breadList:{type:Object,required:!0}},methods:{noteRender:function(){var t=this.breadList.current;switch(t){case"热搜词":return'\n
\n
\n
\n \n
\n
\n
\n ';case"搜索暗文":return'\n
\n
\n
\n \n
\n
\n
\n ';case"搜索跳转":return'\n
\n
\n
\n 设置搜索词跳转到指定的落地页\n
\n
\n
\n ';case"搜索联想词":return'\n
\n
\n
\n \n
\n
\n
\n ';case"热推商品":return'\n
\n
\n
\n 搜索商品列表页、运营分类商品列表页、品牌商品列表页、店铺商品列表页的商品,优先展示热推商品,同为热推商品,按排序值由小到大展示。\n
\n
\n
\n ';case"搜索无结果关联词":return'\n
\n
\n
\n \n
\n
\n
\n ';case"商品排序得分":return'\n
\n
\n

商品综合排序规则说明:

\n
    \n
  1. 无库存商品,排在有库存商品之后
  2. \n
  3. 热推商品展示在前,非热推商品展示在后;热推商品按热推商品排序值由小到大排序
  4. \n
  5. 运营分类商品列表:按运营分类人工排值由小到大排序(不适用搜索商品列表页、品牌商品列表页、店铺商品列表页)
  6. \n
  7. \n 排序值相同,按系统自动计算的商品排序得分由大到小排序。
    \n 商品排序得分="0.7*支付件数+0.03*下单件数+0.02*加购件数+0.05*访问uv+0.2*新品得分(新品=1,否则=0)
    \n 支付件数:最近一年已支付状态订单的sku件数合计
    \n 下单件数:最近一年所有状态订单的sku件数合计
    \n 加购件数:最近一年加入购物车的sku件数合计
    \n 访问uv:最近一年商品浏览访问uv合计
    \n 新品得分:新品=1,否则=0。设置新品规则 >>\n
  8. \n
  9. 若人工排序值和系统排序值都相同,则按照搜索引擎返回的顺序排序
  10. \n
\n
\n
\n ';case"异款SPU规则":return'\n
\n
\n
\n 将属于规则设置范围内,且属于同一店铺、同一品牌、同一品类,且符合价格最大极差的不同款商品,聚合成一个SPU商品\n
\n
\n
\n ';case"主图视频":return'\n
\n
\n
\n 按SPU编码维度,通过第三方视频生成服务,使用商品主图生成主图视频\n
\n
\n
\n ';default:return""}}}},n=i,o=(a("22c1"),a("2877")),l=Object(o["a"])(n,r,s,!1,null,"ceaaba20",null);e["a"]=l.exports},"6c0e":function(t,e,a){"use strict";a("814f")},"74d7":function(t,e,a){"use strict";a("0b67")},"814f":function(t,e,a){},"8d8d":function(t,e,a){},d3be:function(t,e,a){},e843:function(t,e,a){"use strict";a("d3be")}}]);