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/system/js/chunk-1dff22e4.05843b88.js

1 line
26 KiB

1 year ago
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-1dff22e4"],{"0a18":function(t,e,a){"use strict";a("1769")},1769:function(t,e,a){},"9b92":function(t,e,a){"use strict";a.r(e);var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"divBox"},[a("el-card",{staticClass:"box-card mb20",attrs:{"body-style":{padding:"0 20px 20px"}}},[t.tabList.length>0?a("el-tabs",{model:{value:t.currentTab,callback:function(e){t.currentTab=e},expression:"currentTab"}},t._l(t.tabList,(function(t,e){return a("el-tab-pane",{key:e,attrs:{name:t.value,label:t.title}})})),1):t._e(),t._v(" "),a("el-form",{directives:[{name:"loading",rawName:"v-loading",value:t.fullscreenLoading,expression:"fullscreenLoading"}],ref:"formValidate",staticClass:"formValidate mt20",attrs:{rules:t.ruleValidate,model:t.formValidate,"label-width":"110px"},nativeOn:{submit:function(t){t.preventDefault()}}},[a("div",{directives:[{name:"show",rawName:"v-show",value:1==t.currentTab,expression:"currentTab == 1"}]},[a("el-form-item",{attrs:{label:"边框名称",prop:"activity_name"}},[a("el-input",{staticClass:"selWidth",attrs:{size:"small",placeholder:"请输入边框名称"},model:{value:t.formValidate.activity_name,callback:function(e){t.$set(t.formValidate,"activity_name",e)},expression:"formValidate.activity_name"}})],1),t._v(" "),a("el-form-item",{attrs:{label:"活动时间:",required:""}},[a("el-date-picker",{staticClass:"selWidth",attrs:{size:"small",type:"datetimerange",placement:"bottom-end",placeholder:"请选择显示时间","default-time":["00:00:00","23:59:59"]},on:{change:t.onchangeTime},model:{value:t.timeVal,callback:function(e){t.timeVal=e},expression:"timeVal"}}),t._v(" "),a("p",{staticClass:"desc mt10"},[t._v("设置活动氛围图在商城展示时间")])],1),t._v(" "),a("el-form-item",{attrs:{label:"边框图:"}},[a("div",{staticClass:"upLoadPicBox",on:{click:function(e){return t.modalPicTap("1","dan")}}},[t.formValidate.pic?a("div",{staticClass:"pictrue"},[a("img",{attrs:{src:t.formValidate.pic}})]):a("div",{staticClass:"upLoad"},[a("i",{staticClass:"el-icon-camera cameraIconfont"})])]),t._v(" "),a("p",{staticClass:"desc mt10"},[t._v("宽750px,高750px\n "),a("el-popover",{attrs:{placement:"bottom-start",title:"","min-width":"200",trigger:"hover"}},[a("img",{staticStyle:{height:"270px"},attrs:{src:t.baseURL+"/statics/system/activityBackground.png",alt:""}}),t._v(" "),a("el-button",{attrs:{slot:"reference",type:"text"},slot:"reference"},[t._v("查看示例")])],1)],1)]),t._v(" "),a("el-form-item",{attrs:{label:"是否开启:"}},[a("el-switch",{attrs:{width:56,"active-value":1,"inactive-value":0,"active-text":"开启","inactive-text":"关闭"},model:{value:t.formValidate.is_show,callback:function(e){t.$set(t.formValidate,"is_show",e)},expression:"formValidate.is_show"}})],1)],1),t._v(" "),a("div",{directives:[{name:"show",rawName:"v-show",value:2==t.currentTab,expression:"currentTab == 2"}]},[a("el-form-item",{attrs:{"label-width":"0"}},[a("el-radio-group",{model:{value:t.formValidate.scope_type,callback:function(e){t.$set(t.formValidate,"scope_type",e)},expression:"formValidate.scope_type"}},[a("el-radio",{attrs:{label:0}},[t._v("全部商品参与")]),t._v(" "),a("el-radio",{attrs:{label:1}},[t._v("指定商品参与")]),t._v(" "),a("el-radio",{attrs:{label:2}},[t._v("指定分类参与")]),t._v(" "),a("el-radio",{attrs:{label:3}},[t._v("指定商户参与")])],1)],1),t._v(" "),1==t.formValidate.scope_type?a("el-form-item",{attrs:{"label-width":"0"}},[a("el-button",{attrs:{size:"small",type:"primary"},on:{click:t.addGoods}},[t._v("添加商品")]),t._v(" "),a("el-button",{attrs:{size:"small",disabled:!t.multipleSelection.length},on:{click:t.batchDel}},[t._v("批量删除")])],1):t._e(),t._v(" "),1==t.formValidate.scope_type?a("el-form-item",{attrs:{"label-width":"0"}},[a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.listLoading,expression:"listLoading"}],ref:"tableList",staticStyle:{width:"100%"},attrs:{data:t.tableData.data,size:"mini"},on:{"selection-change":t.handl