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.
1 line
14 KiB
1 line
14 KiB
9 months ago
|
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-7ac193bd"],{"945a":function(e,t,a){"use strict";a("afa9")},"9b92":function(e,t,a){"use strict";a.r(t);var i=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"divBox"},[a("el-card",{staticClass:"box-card mb20"},[e.tabList.length>0?a("el-tabs",{model:{value:e.currentTab,callback:function(t){e.currentTab=t},expression:"currentTab"}},e._l(e.tabList,(function(e,t){return a("el-tab-pane",{key:t,attrs:{name:e.value,label:e.title}})})),1):e._e(),e._v(" "),a("el-form",{directives:[{name:"loading",rawName:"v-loading",value:e.fullscreenLoading,expression:"fullscreenLoading"}],ref:"formValidate",staticClass:"formValidate mt20",attrs:{rules:e.ruleValidate,model:e.formValidate,"label-width":"100px",size:"small"},nativeOn:{submit:function(e){e.preventDefault()}}},[a("div",{directives:[{name:"show",rawName:"v-show",value:1==e.currentTab,expression:"currentTab == 1"}]},[a("el-form-item",{attrs:{label:"边框名称",prop:"activity_name"}},[a("el-input",{staticClass:"selWidth",attrs:{size:"small",placeholder:"请输入边框名称"},model:{value:e.formValidate.activity_name,callback:function(t){e.$set(e.formValidate,"activity_name",t)},expression:"formValidate.activity_name"}})],1),e._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:e.onchangeTime},model:{value:e.timeVal,callback:function(t){e.timeVal=t},expression:"timeVal"}}),e._v(" "),a("p",{staticClass:"desc mt10"},[e._v("设置活动氛围图在商城展示时间")])],1),e._v(" "),a("el-form-item",{attrs:{label:"边框图:"}},[a("div",{staticClass:"upLoadPicBox",on:{click:function(t){return e.modalPicTap("1","dan")}}},[e.formValidate.pic?a("div",{staticClass:"pictrue"},[a("img",{attrs:{src:e.formValidate.pic}})]):a("div",{staticClass:"upLoad"},[a("i",{staticClass:"el-icon-camera cameraIconfont"})])]),e._v(" "),a("p",{staticClass:"desc mt10"},[e._v("宽750px,高750px\n "),a("el-popover",{attrs:{placement:"bottom-start",title:"","min-width":"200",trigger:"hover"}},[a("img",{staticStyle:{height:"270px"},attrs:{src:e.baseURL+"/statics/system/activityBackground.png",alt:""}}),e._v(" "),a("el-button",{attrs:{slot:"reference",type:"text"},slot:"reference"},[e._v("查看示例")])],1)],1)]),e._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:e.formValidate.is_show,callback:function(t){e.$set(e.formValidate,"is_show",t)},expression:"formValidate.is_show"}})],1)],1),e._v(" "),a("div",{directives:[{name:"show",rawName:"v-show",value:2==e.currentTab,expression:"currentTab == 2"}]},[a("el-form-item",{attrs:{"label-width":"0"}},[a("el-radio-group",{model:{value:e.formValidate.scope_type,callback:function(t){e.$set(e.formValidate,"scope_type",t)},expression:"formValidate.scope_type"}},[a("el-radio",{attrs:{label:0}},[e._v("全部商品参与")]),e._v(" "),a("el-radio",{attrs:{label:1}},[e._v("指定商品参与")]),e._v(" "),a("el-radio",{attrs:{label:2}},[e._v("指定分类参与")]),e._v(" "),a("el-radio",{attrs:{label:3}},[e._v("指定商户参与")]),e._v(" "),a("el-radio",{attrs:{label:4}},[e._v("指定商品标签")])],1)],1),e._v(" "),1==e.formValidate.scope_type?a("el-form-item",{attrs:{"label-width":"0"}},[a("el-button",{attrs:{size:"small",type:"primary"},on:{click:e.addGoods}},[e._v("添加商品")]),e._v(" "),a("el-button",{attrs:{size:"small",disabled:!e.multipleSelection.length},on:{click:e.batchDel}},[e._v("批量删除")])],1):e._e(),e._v(" "),1==e.formValidate.scope_type?a("el-form-item",{attrs:{"label-width":"0"}},[a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.listLoading,expression:"listLoading"}],ref:"tableList",attrs:{data:e.tableData.data,size:"small"},on:{"selection-change":e.handleSelection
|