chunk-68d362ed.20d2bcd4.js 22 KB

1
  1. (window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-68d362ed"],{"1c6c":function(t,e,a){},"616f":function(t,e,a){"use strict";var i=a("1c6c");a.n(i).a},b500:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAUAAAAAoCAYAAACPQCMpAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAK6wAACusBgosNWgAAABx0RVh0U29mdHdhcmUAQWRvYmUgRmlyZXdvcmtzIENTNui8sowAAAnMSURBVHic7Z15tFV1Fcc/m8cQAmKppCmDhPKE1BapEY6gFpi2lCZKqcApBhUjksApKVNzCAnQHgEmORSKUyvhwUOUUBMThBS1JQiaqITDE0J5sPtj7+c7Hu693DfCe3d/1jrr3t/3N57zO2ef/fude89PVJXdCRHpCHwdmKaqFSLSFTheVWd6fGfgSFW9N0cZg4HjgXeAqaq6WkSOAlqp6uI6aOMJQDGwDVimqktrW2ZjQUR6A91V9fYcaS4GfgIsAC5U1U2JuLOA11X10Rz52wMPAotVdXxC/w5wGXCbqk5O6DcDxwGj6qJ/gx0Rkf7YdfdLD/cEpgPtgeGqWiYiLYASoD9QoqqXe9o+nnYucImqbheRTsAK4DBVXZuqqw0wCtgXaFaLZjcDVmE2YFvGFKqadQPaZdH3rC8d6Ai8ARzk4dGAAp08PAFYkKPNU4CXgd8B9wEvAQcDY4HJufY3Uca5wHkpTYALgJXA28BG394ClgBn5lN2Y928Xy4EVgMP5Ug3DNgETAPWAbNd7+V9Vw6M3kld3/Q+fx1om9B/7vqzgLjWwftDm3of7KJ+3wO4GHgFuMG15t4HJcClwFpgH+BKYDnwY+/773n6R4GzgUeAY1x7ALgmkw3y6/U3wN+Bf9RiWwBcDeyVdf+y7PRnfOf+CywGerr+aeAe1xcCB7u+rxubjUAp0MX1zwEPu/5X4ADXO2N3g43AHKBDqv5ngWH+/SFgCzDYwwsxrwLgTD9Q/T18GlABdE6UNQ24FhgO3IUZt6sSbWkP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GYk4hap6omerxhbJrWScuBAVX2/OvXn8gDbAd39+3ZsrdcgCIK6ZHMqXE7VUpjvpeLeTXxPr/ebzJc3WQ2gqr4MHAOsxZ4WzxKRc6tbQRAEQTZUdRW2wPo6YAUwVFW3evQDwM2YV7gYGJPItwY4F1iDeYJDVHVTdevf6brAItIVKAW6ujRMVW+tbkVBEATZ8IetH2kGgyQibbIZNxFpCVSo6vYa1ZvPwuhuBOcBn3dphKpOqUmFQRAEuwt5/Q5QVV8BTgb+7dJkEbmo3loVBEHQAOT9Vzgfc/cFVrk0UUQuqY9GBUEQNATV+i+wqr4GnIL99gbgJhG5os5bFQRB0ABU+20wbgT7AU9hP4/J+//EQRAEuxN5PQTJmFHkCOACVa3RL7CDIAh2Nf8HXed8mfHZjsYAAAAASUVORK5CYII="},b562:function(t,e,a){"use strict";a.d(e,"l",(function(){return r})),a.d(e,"n",(function(){return s})),a.d(e,"D",(function(){return o})),a.d(e,"h",(function(){return c})),a.d(e,"j",(function(){return n})),a.d(e,"m",(function(){return l})),a.d(e,"y",(function(){return d})),a.d(e,"a",(function(){return u})),a.d(e,"x",(function(){return m})),a.d(e,"s",(function(){return f})),a.d(e,"t",(function(){return p})),a.d(e,"C",(function(){return v})),a.d(e,"g",(function(){return g})),a.d(e,"i",(function(){return h})),a.d(e,"k",(function(){return b})),a.d(e,"d",(function(){return C})),a.d(e,"e",(function(){return A})),a.d(e,"f",(function(){return _})),a.d(e,"z",(function(){return w})),a.d(e,"B",(function(){return V})),a.d(e,"A",(function(){return x})),a.d(e,"H",(function(){return O})),a.d(e,"o",(function(){return k})),a.d(e,"c",(function(){return P})),a.d(e,"G",(function(){return j})),a.d(e,"E",(function(){return I})),a.d(e,"F",(function(){return E})),a.d(e,"w",(function(){return y})),a.d(e,"u",(function(){return B})),a.d(e,"v",(function(){return G})),a.d(e,"p",(function(){return T})),a.d(e,"b",(function(){return q})),a.d(e,"r",(function(){return Y})),a.d(e,"q",(function(){return D}));var i=a("b6bd");function r(t){return Object(i.a)({url:"app/routine",method:"get",params:t})}function s(){return Object(i.a)({url:"app/routine/syncSubscribe",method:"GET"})}function o(){return Object(i.a)({url:"app/wechat/syncSubscribe",method:"GET"})}function c(){return Object(i.a)({url:"app/routine/create",method:"get"})}function n(t){return Object(i.a)({url:"app/routine/".concat(t,"/edit"),method:"get"})}function l(t){return Object(i.a)({url:"app/routine/set_status/".concat(t.id,"/").concat(t.status),method:"PUT"})}function d(t){return Object(i.a)({url:"app/wechat/menu",method:"get"})}function u(t){return Object(i.a)({url:"app/wechat/menu",method:"post",data:t})}function m(t){return Object(i.a)({url:"app/wechat/template",method:"get",params:t})}function f(){return Object(i.a)({url:"app/wechat/template/create",method:"get"})}function p(t){return Object(i.a)({url:"app/wechat/template/".concat(t,"/edit"),method:"get"})}function v(t){return Object(i.a)({url:"app/wechat/template/set_status/".concat(t.id,"/").concat(t.status),method:"PUT"})}function g(t){return Object(i.a)({url:t.url,method:"post",data:t.key})}function h(t){return Object(i.a)({url:"app/routine/download",method:"post",data:t})}function b(){return Object(i.a)({url:"app/routine/info",method:"get"})}function C(t){return Object(i.a)({url:"app/wechat/keyword",method:"get",params:t})}function A(t){return Object(i.a)({url:"app/wechat/keyword/set_status/".concat(t.id,"/").concat(t.status),method:"PUT"})}function _(t,e){return Object(i.a)({url:t,method:"get",params:e.key})}function w(t){return Object(i.a)({url:"/app/wechat/news",method:"POST",data:t})}function V(t){return Object(i.a)({url:"app/wechat/news",method:"GET",params:t})}function x(t){return Object(i.a)({url:"app/wechat/news/".concat(t),method:"GET"})}function O(t){return Object(i.a)({url:"app/wechat/user",method:"GET",params:t})}function k(){return Object(i.a)({url:"app/wechat/user/tag_group",method:"GET"})}function P(t){return Object(i.a)({url:t,method:"GET"})}function j(){return Object(i.a)({url:"app/wechat/tag",method:"GET"})}function I(){return Object(i.a)({url:"app/wechat/tag/create",method:"GET"})}function E(t){return Object(i.a)({url:"app/wechat/tag/".concat(t,"/edit"),method:"GET"})}function y(){return Object(i.a)({url:"app/wechat/group",method:"GET"})}function B(){return Object(i.a)({url:"app/wechat/group/create",method:"GET"})}function G(t){return Object(i.a)({url:"app/wechat/group/".concat(t,"/edit"),method:"GET"})}function T(t){return Object(i.a)({url:"app/wechat/action",method:"GET",params:t})}function q(t){return Object(i.a)({url:"app/wechat/code_reply/".concat(t),method:"GET"})}function Y(){return Object(i.a)({url:"/app/wechat/card",method:"GET"})}function D(t){return Object(i.a)({url:"/app/wechat/card",method:"post",data:t})}},be70:function(t,e,a){"use strict";a.r(e);var i=a("b562"),r=a("b0e7"),s=a("2f62");function o(t,e){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),a.push.apply(a,i)}return a}function c(t,e,a){return e in t?Object.defineProperty(t,e,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[e]=a,t}var n={name:"card",components:{uploadPictures:r.a},data:function(){return{isChoice:"",modalPic:!1,logoPic:!1,gridBtn:{xl:4,lg:8,md:8,sm:8,xs:8},gridPic:{xl:6,lg:8,md:12,sm:12,xs:12},tableIndex:0,colorList:[],colors:"",colorsname:"",formValidate:{logo_url:"",brand_name:"神英优选",selet:0,attrs:[{pic:""}],title:"",prerogative:"",description:"",service_phone:"",background_pic_url:"",color:"",custom_cell:[],center_title:"",center_url:"",center_sub_title:"",center:[]},ruleValidate:{title:[{required:!0,message:"会员卡名称不能为空且长度不超过9个占位符",trigger:"blur"}],prerogative:[{required:!0,message:"特权说明不能为空",trigger:"blur"}],service_phone:[{required:!0,validator:function(t,e,a){if(""===e)a(new Error("请输入电话"));else{if(!(0==e.charAt(0)?/^(0[0-9]{2,3}\-)([2-9][0-9]{4,7})+(\-[0-9]{1,4})?$/:4==e.charAt(0)?/^400-[016789]\d{1,3}-\d{1,4}$/:/^1(3|4|5|6|7|8|9)\d{9}$/).test(e))return a(new Error("请填写正确电话"));a()}},trigger:"blur"}],brand_name:[{required:!0,message:"商户名称不能为空",trigger:"blur"}],center_url:[{required:!0,message:"跳转链接不能为空",trigger:"blur"}],center_sub_title:[{required:!0,message:"提示语不能为空",trigger:"blur"}],center_title:[{required:!0,message:"按钮描述不能为空",trigger:"blur"}]},pic:"",selecolor:!1,index:0,centerstatus:!0}},created:function(){},mounted:function(){var t=this;this.$nextTick((function(){t.getList()})),this.setCopyrightShow({value:!1})},destroyed:function(){this.setCopyrightShow({value:!0})},methods:function(t){for(var e=1;e<arguments.length;e++){var a=null!=arguments[e]?arguments[e]:{};e%2?o(a,!0).forEach((function(e){c(t,e,a[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(a)):o(a).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(a,e))}))}return t}({},Object(s.d)("admin/layout",["setCopyrightShow"]),{getList:function(){var t=this;Object(i.r)().then((function(e){t.colorList=e.data.color,t.formValidate=Object.assign(t.formValidate,e.data.info),t.$set(t.formValidate,"selet",e.data.selet||0);var a=e.data.info.color;!a&&t.colorList[0]&&(a=t.colorList[0].name),t.colors=t.colorList.filter((function(t){if(a==t.name)return t.value})),""!=e.data.info.center_title&&(t.center_title=!1),t.colors[0]&&(t.colorsname=t.colors[0].name,t.colors=t.colors[0].value,""==t.colors&&t.dancolor(t.colorList[0])),1==e.data.selet&&(t.pic=e.data.info.background_pic_url),0==e.data.selet&&(t.pic=e.data.info.color)})).catch((function(e){t.$Message.error(e.msg)}))},seletcolor:function(){this.selecolor=!this.selecolor},dancolor:function(t){this.selecolor=!1,this.colors=t.value,this.colorsname=t.name},modalPicTap:function(t,e){this.modalPic=!0,this.isChoice="dan"===t?"单选":"多选",this.tableIndex=e},getPic:function(t){var e=this;this.$nextTick((function(){e.pic=t.att_dir,e.modalPic=!1}))},logoPicTap:function(t,e){this.logoPic=!0,this.isChoice="dan"===t?"单选":"多选",this.tableIndex=e},getlogoPic:function(t){var e=this;this.$nextTick((function(){e.formValidate.logo_url=t.att_dir,e.logoPic=!1}))},color:function(t){this.formValidate.selet=t},add:function(){this.index++,this.formValidate.custom_cell.push({name:"",tips:"",url:""})},addcenter:function(){this.centerstatus=!1},cancelcenter:function(){this.formValidate.center_title="",this.formValidate.center_sub_title="",this.formValidate.center_url="",this.centerstatus=!0},handleRemove:function(t){this.formValidate.custom_cell.splice(t,1),this.index--},submit:function(){var t=this;this.$refs.formValidate.validate((function(e){e?(0==t.formValidate.selet?t.formValidate.color=t.colorsname:t.formValidate.background_pic_url=t.pic,Object(i.q)(t.formValidate).then((function(e){t.$Message.success(e.msg),t.getList()})).catch((function(e){t.$Message.error(e.msg)}))):t.$Message.error("请完善信息")}))}})},l=(a("616f"),a("2877")),d=Object(l.a)(n,(function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",[i("Card",{staticClass:"ivu-mt flexs",attrs:{bordered:!1,"dis-hover":""}},[i("Row",{attrs:{gutter:24}},[i("Col",{attrs:{xl:8,lg:24,md:24,sm:24,xs:24}},[i("div",{staticClass:"card_box"},[i("div",{staticClass:"item_box"},[i("img",{attrs:{src:a("b500")}}),t.colorList.length&&1==t.formValidate.selet?i("div",{staticClass:"card",style:{background:"url("+t.pic+")",backgroundColor:""+t.colors}},[i("div",{staticClass:"top"},[i("div",{staticClass:"user"},[i("img",{attrs:{src:t.formValidate.logo_url,alt:""}}),i("div",{staticClass:"info_box"},[i("div",{staticClass:"info"},[t._v(t._s(t.formValidate.brand_name))]),i("div",{staticClass:"info_tit"},[t._v(t._s(t.formValidate.title))])])]),i("img",{attrs:{src:a("bfaf")}})]),i("div",{staticClass:"bottom"},[i("div",[t._v("0268 8888 8888")]),i("div",[i("Icon",{staticClass:"fz",attrs:{type:"ios-information-circle-outline"}})],1)])]):t._e(),0==t.formValidate.selet&&t.colorList.length?i("div",{staticClass:"card",style:{"background-color":t.colors||""+t.colorList[0].value}},[i("div",{staticClass:"top"},[i("div",{staticClass:"user"},[i("img",{attrs:{src:t.formValidate.logo_url,alt:""}}),i("div",{staticClass:"info_box"},[i("div",{staticClass:"info"},[t._v(t._s(t.formValidate.brand_name))]),i("div",{staticClass:"info_tit"},[t._v(t._s(t.formValidate.title))])])]),i("img",{attrs:{src:a("bfaf")}})]),i("div",{staticClass:"bottom"},[i("div",[t._v("0268 8888 8888")]),i("div",[i("Icon",{staticClass:"fz",attrs:{type:"ios-information-circle-outline"}})],1)])]):t._e(),t.centerstatus?t._e():i("div",{staticClass:"entry"},[i("div",{staticClass:"entry_btn"},[t._v(t._s(t.formValidate.center_title||"快速进入"))]),i("p",{staticClass:"entry_tit"},[t._v(t._s(t.formValidate.center_sub_title||"添加提示语"))])]),i("div",{staticClass:"card_link"},[i("div",{staticClass:"link"},[t._v("适用门店 "),i("span",{staticClass:"you"},[t._v(">")])]),i("div",{staticClass:"link"},[t._v("公众号 "),i("span",{staticClass:"you"},[t._v(">")])])]),i("div",{staticClass:"custom_card"},[""!=t.formValidate.custom_cell?i("div",{staticClass:"custom_link"},t._l(t.formValidate.custom_cell,(function(e,a){return i("div",{staticClass:"link"},[t._v(t._s(e.name||" 自定义入口(选填)")),i("span",{staticClass:"you"},[i("span",{staticClass:"guide"},[t._v(t._s(e.tips))]),t._v(">")])])})),0):i("div",{staticClass:"custom_link"},[i("div",{staticClass:"link"},[t._v("自定义入口"),i("span",{staticClass:"tip"},[t._v("(选填)")]),i("span",{staticClass:"you"},[t._v(">")])])])])])])]),i("Col",{attrs:{xl:16,lg:24,md:24,sm:24,xs:24}},[i("div",{staticClass:"card_content"},[i("Alert",{attrs:{"show-icon":""}},[t._v("\n 使用会员卡券功能,需要您先开通"),i("a",{attrs:{target:"_blank",href:"https://mp.weixin.qq.com/"}},[t._v("微信公众号")]),t._v("和"),i("a",{attrs:{target:"_blank",href:"https://mp.weixin.qq.com/merchant/membercardmgr?action=overview&t=cardticket/member_card_index&token=20898185&lang=zh_CN"}},[t._v("微信会员卡券")]),t._v(",否则无法配置和使用\n ")]),i("div",{staticClass:"content_box"},[i("div",{staticClass:"title_bar"},[t._v("基本信息")]),i("Form",{ref:"formValidate",attrs:{model:t.formValidate,rules:t.ruleValidate,"label-width":80}},[i("div",{staticClass:"title_text"},[i("div",{staticClass:"left"},[t._v("商户头像:")]),i("div",{staticClass:"right logoPictrue"},[i("div",{staticClass:"img-boxs acea-row row-center-wrapper",on:{click:function(e){return t.logoPicTap("dan",0)}}},[t.formValidate.logo_url?i("img",{attrs:{src:t.formValidate.logo_url,alt:""}}):i("Icon",{attrs:{type:"ios-add",size:"16"}})],1)])]),i("div",{staticClass:"title_text"},[i("div",{staticClass:"left"},[t._v("商户名称:")]),i("div",{staticClass:"right"},[i("FormItem",{staticClass:"nomarb",attrs:{label:"",prop:"brand_name"}},[i("Input",{staticClass:"input-width",attrs:{maxlength:"12","show-word-limit":"",placeholder:"商户名称"},model:{value:t.formValidate.brand_name,callback:function(e){t.$set(t.formValidate,"brand_name",e)},expression:"formValidate.brand_name"}})],1)],1)]),i("div",{staticClass:"title_text"},[i("div",{staticClass:"left"},[t._v("电话:")]),i("div",{staticClass:"right"},[i("FormItem",{staticClass:"nomarb",attrs:{label:"",prop:"service_phone"}},[i("Input",{staticClass:"input-width",attrs:{placeholder:""},model:{value:t.formValidate.service_phone,callback:function(e){t.$set(t.formValidate,"service_phone",e)},expression:"formValidate.service_phone"}})],1)],1)]),i("div",{staticClass:"title_text"},[i("div",{staticClass:"left"},[t._v("卡券封面:")]),i("div",{staticClass:"right"},[i("RadioGroup",{on:{"on-change":t.color},model:{value:t.formValidate.selet,callback:function(e){t.$set(t.formValidate,"selet",e)},expression:"formValidate.selet"}},[i("Radio",{attrs:{label:1}},[i("span",[t._v("图片")])]),i("Radio",{attrs:{label:0}},[i("span",[t._v("颜色")])])],1)],1)]),i("div",{staticClass:"selst"},[1===t.formValidate.selet?i("div",[i("div",{staticClass:"acea-row row-middle",on:{click:function(e){return t.modalPicTap("dan",0)}}},[i("div",{staticClass:"pictrue pictrueTab"},[t.pic?i("img",{directives:[{name:"lazy",rawName:"v-lazy",value:t.pic,expression:"pic"}]}):i("Icon",{attrs:{type:"ios-add",size:"16"}})],1)])]):t._e(),0===t.formValidate.selet&&t.colorList.length?i("div",[i("div",{staticClass:"color_input",on:{click:t.seletcolor}},[i("div",{staticClass:"input_color",style:{backgroundColor:""+t.colors||""+t.colorList[0].value}}),i("span",{staticClass:"xia"},[t._v("﹀")]),t.selecolor?i("div",{staticClass:"color_box"},t._l(t.colorList,(function(e,a){return i("div",{staticClass:"color_link",style:{backgroundColor:""+e.value},on:{click:function(a){return a.stopPropagation(),t.dancolor(e)}}})})),0):t._e()])]):t._e()]),i("div",{staticClass:"title_text mb60"},[i("div",{staticClass:"left"},[t._v("会员卡标题:")]),i("div",{staticClass:"right"},[i("FormItem",{staticClass:"nomarb",attrs:{label:"",prop:"title"}},[i("Input",{staticClass:"input-width",attrs:{maxlength:"9","show-word-limit":"",placeholder:""},model:{value:t.formValidate.title,callback:function(e){t.$set(t.formValidate,"title",e)},expression:"formValidate.title"}}),i("div",{staticClass:"tip"},[t._v("建议会员卡标题包含商户名或服务内容,如腾讯会员黄钻尊享卡")])],1)],1)]),i("Divider",{attrs:{dashed:""}}),i("div",{staticClass:"title_bar"},[t._v("会员卡详情")]),i("div",{staticClass:"title_text required"},[i("div",{staticClass:"left left-add"},[t._v("特权说明:")]),i("div",{staticClass:"right",staticStyle:{flex:"1"}},[i("FormItem",{attrs:{label:"",prop:"prerogative"}},[i("Input",{staticStyle:{resize:"none",border:"none",width:"460px"},attrs:{rows:5,autosize:{maxRows:5,minRows:5},type:"textarea",placeholder:"注:1、上文设置中,如已经填写“积分优惠”“折扣优惠”的内容,将会自动在用户会员卡详情展示,无需重复填写。2、建议填写其他特权,举例:100积分可兑换精美礼品;会员日可享受折上折优惠等"},model:{value:t.formValidate.prerogative,callback:function(e){t.$set(t.formValidate,"prerogative",e)},expression:"formValidate.prerogative"}})],1)],1)]),i("div",{staticClass:"title_text required"},[i("div",{staticClass:"left left-add"},[t._v("介绍:")]),i("div",{staticClass:"right",staticStyle:{flex:"1"}},[i("FormItem",{attrs:{label:"",prop:"notice"}},[i("Input",{staticStyle:{resize:"none",border:"none",width:"460px"},attrs:{maxlength:"300","show-word-limit":"",rows:5,autosize:{maxRows:5,minRows:5},type:"textarea",placeholder:"注:1、上文设置中,如已经填写“积分优惠”“折扣优惠”的内容,将会自动在用户会员卡详情展示,无需重复填写。2、建议填写其他注意事项,举例:积分不支持兑换现金"},model:{value:t.formValidate.description,callback:function(e){t.$set(t.formValidate,"description",e)},expression:"formValidate.description"}})],1)],1)]),i("Divider",{attrs:{dashed:""}}),i("div",{staticClass:"title_bar"},[t._v("商户介绍"),i("span",[t._v("(选填)")])]),t.formValidate.custom_cell&&t.formValidate.custom_cell.length>0?i("div",{staticClass:"addentrance"},t._l(t.formValidate.custom_cell,(function(e,a){return i("div",[i("div",{staticClass:"add_bar"},[0==a?i("div",[t._v("入口一")]):t._e(),1==a?i("div",[t._v("入口二")]):t._e(),2==a?i("div",[t._v("入口三")]):t._e(),i("div",{staticClass:"del",on:{click:function(e){return t.handleRemove(a)}}},[t._v("删除")])]),i("div",{staticClass:"title_text required"},[i("div",{staticClass:"left"},[t._v("入口名称:")]),i("div",{staticClass:"right"},[i("div",[i("FormItem",{attrs:{prop:"custom_cell."+a+".name",rules:{required:!0,message:"请输入入口名称",trigger:"blur"}}},[i("Input",{staticClass:"input-width",attrs:{maxlength:"5","show-word-limit":"",placeholder:""},model:{value:e.name,callback:function(a){t.$set(e,"name",a)},expression:"item.name"}})],1)],1)])]),i("div",{staticClass:"title_text required"},[i("div",{staticClass:"left"},[t._v("跳转链接:")]),i("div",{staticClass:"right"},[i("div",[i("FormItem",{attrs:{prop:"custom_cell."+a+".url",rules:{required:!0,message:"请输入跳转链接",trigger:"blur"}}},[i("Input",{staticClass:"input-width",attrs:{placeholder:""},model:{value:e.url,callback:function(a){t.$set(e,"url",a)},expression:"item.url"}})],1)],1)])]),i("div",{staticClass:"title_text"},[i("div",{staticClass:"left"},[t._v("引导语:")]),i("div",{staticClass:"right"},[i("div",[i("Input",{staticClass:"input-width",attrs:{maxlength:"6","show-word-limit":"",placeholder:""},model:{value:e.tips,callback:function(a){t.$set(e,"tips",a)},expression:"item.tips"}})],1)])])])})),0):t._e(),i("div",[t.formValidate.custom_cell&&t.formValidate.custom_cell.length<=2?i("div",{staticClass:"add",on:{click:t.add}},[t._v("添加自定义入口")]):t._e()])],1)],1)],1)])],1),i("div",{staticClass:"submit"},[i("div",{staticClass:"btn",on:{click:function(e){return t.submit()}}},[t._v("提交")])])],1),i("Modal",{staticClass:"aaaa",attrs:{width:"960px",scrollable:"","footer-hide":"",closable:"",title:"选择图片","mask-closable":!1},model:{value:t.modalPic,callback:function(e){t.modalPic=e},expression:"modalPic"}},[t.modalPic?i("uploadPictures",{attrs:{isChoice:t.isChoice,gridBtn:t.gridBtn,gridPic:t.gridPic},on:{getPic:t.getPic}}):t._e()],1),i("Modal",{staticClass:"aaaa",attrs:{width:"960px",scrollable:"","footer-hide":"",closable:"",title:"选择图片","mask-closable":!1},model:{value:t.logoPic,callback:function(e){t.logoPic=e},expression:"logoPic"}},[t.logoPic?i("uploadPictures",{attrs:{isChoice:t.isChoice,gridBtn:t.gridBtn,gridPic:t.gridPic},on:{getPic:t.getlogoPic}}):t._e()],1)],1)}),[],!1,null,"6421c7f8",null);e.default=d.exports},bfaf:function(t,e,a){t.exports=a.p+"view_admin/img/qr.2004b4f6.png"}}]);