1 line
24 KiB
JavaScript
1 line
24 KiB
JavaScript
![]() |
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-dcbb8af8"],{"0a96":function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"vipmangeadd"},[a("div",{staticClass:"outmain ba_f heighthv pad_20 bor_rad5"},[e._m(0),a("el-form",{ref:"form",attrs:{model:e.form,"label-width":"180px"}},[a("div",{staticClass:"mar_t20 flex-bet flex-y-top"},[a("div",{staticClass:"flex-g-1"},[a("el-form-item",{attrs:{label:"等级名称",required:!0,prop:"name"}},[a("el-input",{attrs:{placeholder:"请输入等级名称"},model:{value:e.form.name,callback:function(t){e.$set(e.form,"name",t)},expression:"form.name"}})],1),a("el-form-item",{attrs:{label:"等级背景"}},[a("el-radio-group",{model:{value:e.form.bgType,callback:function(t){e.$set(e.form,"bgType",t)},expression:"form.bgType"}},[a("el-radio",{attrs:{label:"1"}},[e._v("背景色")]),a("el-radio",{attrs:{label:"2"}},[e._v("背景图")])],1)],1),a("el-form-item",{directives:[{name:"show",rawName:"v-show",value:"1"==e.form.bgType,expression:"form.bgType=='1'"}],attrs:{label:"背景色"}},[a("el-color-picker",{model:{value:e.form.color,callback:function(t){e.$set(e.form,"color",t)},expression:"form.color"}})],1),a("el-form-item",{directives:[{name:"show",rawName:"v-show",value:"2"==e.form.bgType,expression:"form.bgType=='2'"}],attrs:{label:"背景图"}},[e.form.bgImg?a("div",{staticClass:"uploadSource bor_de rel flex"},[a("label",{staticClass:"statusLabel curs",on:{mouseenter:function(t){return e.enter(1)},mouseleave:function(t){return e.leave(1)}}},[a("i",{ref:"imgicon1",staticClass:"el-icon-check"}),a("i",{staticClass:"el-icon-close",on:{click:function(t){return e.deleteMultiImage(e.form.bgImg,1)}}})]),a("img",{staticClass:"wid",attrs:{src:e.form.bgImg},on:{click:function(t){return e.test(1)}}})]):a("div",{staticClass:"uploadSource flex-center curs",on:{click:function(t){return e.test(1)}}},[a("i",{staticClass:"el-icon-plus fon_40 color_d9"})]),a("div",{staticClass:"yb_margin"},[e._v("建议尺寸:1000*600像素")])]),"1"!=this.form.level?a("el-form-item",{attrs:{label:"获得条件",required:!0}},[a("el-input",{attrs:{placeholder:"请输入成长值"},model:{value:e.form.condition,callback:function(t){e.$set(e.form,"condition",t)},expression:"form.condition"}}),a("span",{staticClass:"mar_l10"},[e._v("成长值")]),a("div",{staticClass:"yb_margin lh16"},[e._v("修改等级所需成长值后,部分客户会因无法达到该成长值要求而发生会员等级的变化")])],1):e._e()],1),a("div",{staticClass:"flex-g-0 pad_lr_20"},[a("div",{staticClass:"cardshow",style:{background:1==e.form.bgType?e.form.color:e.form.bgImg&&"url("+e.form.bgImg+") center center / cover no-repeat"}},[a("div",{staticClass:"cardbg"}),a("div",{staticClass:"fon_18 lh22 wei"},[e._v(e._s(e.form.name))]),"1"!=this.form.level?a("div",{staticClass:"mar_t20"},[a("span",{staticClass:"mar_r10 fon_26"},[e._v(e._s(e.form.condition))]),a("span",[e._v("成长值")])]):e._e(),a("div",{staticClass:"line"},[a("div",{staticClass:"lineright"})]),a("div",{staticClass:"mar_t20 fon_12"},[e._v(e._s(e.form.name))])]),a("div",{staticClass:"yb_margin lh16 t_c"},[e._v("仅为预览,实际以用户查看时为准")])])]),a("div",{staticClass:"shuju_title mar_b20"},[a("div",{staticClass:"shuju_title_text"},[a("span",[e._v("权益礼包")])])]),a("el-form-item",{attrs:{label:"会员权益"}},[a("div",{},[a("div",{staticClass:"mar_lr10"},[a("el-checkbox-group",{model:{value:e.form.rights,callback:function(t){e.$set(e.form,"rights",t)},expression:"form.rights"}},e._l(e.rightsList,(function(t){return a("el-checkbox",{key:t.id,attrs:{label:t.id}},[e._v(e._s(t.name))])})),1)],1)])]),a("el-form-item",{attrs:{label:"当面付折扣"}},[a("div",{staticClass:"t_l numberInput"},[a("div",{staticClass:"mar_lr10"},[a("el-checkbox-group",{model:{value:e.form.isCashier,callback:function(t){e.$set(e.form,"isCashier",t)},expression:"form.isCashier"}},[a("el-checkbox",{attrs:{"true-label":"1","false-label":"2"}},[e._v("会员折扣")])],1)],1),a("div",{directives:[{nam
|