1 |
- (window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-35e06d74"],{1283:function(t,e,s){"use strict";var i=s("e76a");s.n(i).a},"31b4":function(t,e,s){"use strict";var i=s("9860"),a=s.n(i),n=s("b6bd"),o=s("2f62");function r(t,e){var s=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),s.push.apply(s,i)}return s}function l(t,e,s){return e in t?Object.defineProperty(t,e,{value:s,enumerable:!0,configurable:!0,writable:!0}):t[e]=s,t}var c={name:"edit",components:{formCreate:a.a.$form()},computed:function(t){for(var e=1;e<arguments.length;e++){var s=null!=arguments[e]?arguments[e]:{};e%2?r(s,!0).forEach((function(e){l(t,e,s[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(s)):r(s).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(s,e))}))}return t}({},Object(o.e)("admin/userLevel",["taskId","levelId"])),props:{FromData:{type:Object,default:null},userEdit:{type:Number,default:0}},data:function(){return{modals:!1,type:0,config:{global:{upload:{props:{onSuccess:function(t,e){200===t.status?e.url=t.data.src:this.Message.error(t.msg)}}}}},isDisable:!1}},methods:{couponsType:function(){this.$parent.addType(this.type)},onSubmit:function(t){var e,s=this;(setTimeout((function(){s.isDisable=!1}),1e3),this.isDisable)||(this.isDisable=!0,e=t,Object(n.a)({url:this.FromData.action,method:this.FromData.method,data:e}).then((function(t){s.$parent.getList(),s.$Message.success(t.msg),s.modals=!1,setTimeout((function(){s.$emit("submitFail")}),1e3)})).catch((function(t){s.$Message.error(t.msg)})))},cancel:function(){this.type=0}}},d=(s("1283"),s("2877")),u=Object(d.a)(c,(function(){var t=this,e=t.$createElement,s=t._self._c||e;return t.FromData?s("div",[s("Modal",{class:t.userEdit?"userEdit":"",attrs:{scrollable:"","footer-hide":"",closable:"",title:t.FromData.title,width:"700"},on:{"on-cancel":t.cancel},model:{value:t.modals,callback:function(e){t.modals=e},expression:"modals"}},[["/marketing/coupon/save.html"===t.FromData.action?s("div",{staticClass:"radio acea-row row-middle"},[s("div",{staticClass:"name ivu-form-item-content"},[t._v("优惠券类型")]),s("Radio-group",{on:{"on-change":t.couponsType},model:{value:t.type,callback:function(e){t.type=e},expression:"type"}},[s("Radio",{attrs:{label:0}},[t._v("通用券")]),s("Radio",{attrs:{label:1}},[t._v("品类券")]),s("Radio",{attrs:{label:2}},[t._v("商品券")])],1)],1):t._e()],s("form-create",{ref:"fc",staticClass:"formBox",attrs:{option:t.config,rule:Array.from(t.FromData.rules),handleIcon:"false"},on:{"on-submit":t.onSubmit}})],2)],1):t._e()}),[],!1,null,"d1a058f8",null);e.a=u.exports},"590d":function(t,e,s){t.exports=s.p+"view_admin/img/pclogin.3d27e2c2.png"},"713f":function(t,e,s){t.exports=s.p+"view_admin/img/bluesgin.032bae4b.png"},"82e9":function(t,e,s){"use strict";var i=s("c3cd");s.n(i).a},"89c2":function(t,e,s){t.exports=s.p+"view_admin/img/oragesgin.00077d3a.png"},"90be":function(t,e,s){t.exports=s.p+"view_admin/img/redsgin.d8b0c12e.png"},"943f":function(t,e,s){t.exports=s.p+"view_admin/img/pinksgin.0e1c51b4.png"},bceb:function(t,e,s){t.exports=s.p+"view_admin/img/greesgin.43ae54b5.png"},c3cd:function(t,e,s){},cb18:function(t,e,s){"use strict";s.r(e);var i=s("a34a"),a=s.n(i),n=s("a069"),o=s("d708"),r=s("f478"),l=s("2f62"),c=s("31b4"),d=s("8593"),u=s("310e"),m=s.n(u),g=s("b0e7"),p=s("7af3");function f(t,e,s,i,a,n,o){try{var r=t[n](o),l=r.value}catch(t){return void s(t)}r.done?e(l):Promise.resolve(l).then(i,a)}function v(t){return function(){var e=this,s=arguments;return new Promise((function(i,a){var n=t.apply(e,s);function o(t){f(n,i,a,o,r,"next",t)}function r(t){f(n,i,a,o,r,"throw",t)}o(void 0)}))}}function b(t,e){var s=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),s.push.apply(s,i)}return s}function h(t,e,s){return e in t?Object.defineProperty(t,e,{value:s,enumerable:!0,configurable:!0,writable:!0}):t[e]=s,t}var _={name:"list",components:{editFrom:c.a,draggable:m.a,uploadPictures:g.a,linkaddress:p.a,WangEditor:n.a},computed:function(t){for(var e=1;e<arguments.length;e++){var s=null!=arguments[e]?arguments[e]:{};e%2?b(s,!0).forEach((function(e){h(t,e,s[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(s)):b(s).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(s,e))}))}return t}({bgcolors:function(){return{"--color-theme":this.bgCol}},labelWidth:function(){return this.isMobile?void 0:120},labelPosition:function(){return this.isMobile?"top":"right"}},Object(l.e)("admin/layout",["menuCollapse","isMobile"])),data:function(){return{formValidate:{content:""},agreementList:[{name:"隐私协议",type:"privacy"},{name:"用户协议",type:"user"},{name:"注销协议",type:"cancel"}],ruleValidate:{},agreementType:0,bgimg:0,columns1:[],bgCol:"",name:"routine_home_bast_banner",grid:{xl:7,lg:7,md:12,sm:24,xs:24},loading:!1,sginList:[],swiperOption:{pagination:{el:".swiper-pagination"},navigation:{nextEl:".swiper-button-next",prevEl:".swiper-button-prev"},autoplay:{delay:2e3,disableOnInteraction:!1},loop:!1},url:"",BaseURL:o.a.apiBaseURL.replace(/adminapi/,""),pageId:0,theme3:"light",tabList:[],lastObj:{add_time:"",comment:"",gid:"",id:"",img:"",link:"",sort:"",status:1},isChoice:"单选",modalPic:!1,gridPic:{xl:6,lg:8,md:12,sm:12,xs:12},gridBtn:{xl:4,lg:8,md:8,sm:8,xs:8},groupAll:[],activeIndex:0,sortName:null,activeIndexs:0,cmsList:[],loadingExist:!1,formItem:{time:0,interval_time:24,type:"pic",status:1,value:[],video_link:""},guide:0}},created:function(){this.color()},mounted:function(){this.getGroupAll(),this.info(),this.url=this.BaseURL+"pages/columnGoods/HotNewGoods/index?type=1&name=精品推荐"},methods:{getEditorContent:function(t){this.formValidate.content=t},linkUrl:function(t){this.tabList.list[this.activeIndexs].link=t},color:function(){var t=this;Object(r.h)("color_change").then((function(e){switch(e.data.status){case 1:t.bgCol="#3875EA",t.bgimg=1;break;case 2:t.bgCol="#00C050",t.bgimg=2;break;case 3:t.bgCol="#E93323",t.bgimg=3;break;case 4:t.bgCol="#FF448F",t.bgimg=4;break;case 5:t.bgCol="#FE5C2D",t.bgimg=5;break;case 6:t.bgCol="#E0A558",t.bgimg=6}}))},groupAdd:function(){var t=this;this.$modalForm(Object(d.A)({gid:this.pageId,config_name:this.name},"setting/group_data/create")).then((function(){t.url=t.BaseURL+"pages/users/user_sgin/index",t.info()}))},info:function(){var t=this;Object(d.D)({config_name:this.name},"setting/group_data").then(function(){var e=v(a.a.mark((function e(s){return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t.tabList=s.data,"admin_login_slide"==t.name?t.tabList.list.forEach((function(t,e,s){"string"!=typeof t.slide&&"undefined"!=t.slide&&(t.slide=t.slide[0])})):"sign_day_num"==t.name?t.cmsList=s.data.list:"user_recharge_quota"==t.name?t.sginList=s.data:t.tabList.list.forEach((function(t,e,s){"string"!=typeof t.img&&"undefined"!=t.img&&(t.img=t.img[0])}));case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()).catch((function(e){t.loading=!1,t.$Message.error(e.msg)}))},edits:function(t){var e=this;if(this.pageId=t.id,this.name=t.config_name||"",["privacy","user","cancel"].includes(t))this.agreementType=t,this.guide=0,this.formValidate.content="",this.getAgreement(t);else if(2==t)this.agreementType="",this.guide=2,this.name="",Object(d.w)().then((function(t){t.data.status=parseInt(t.data.status),e.formItem=t.data,e.tabList.list=t.data.value}));else switch(this.info(),this.agreementType="",this.guide=0,t.config_name){case"routine_home_bast_banner":this.url=this.BaseURL+"pages/columnGoods/HotNewGoods/index?type=1&name=精品推荐";break;case"sign_day_num":this.url="",this.getListHeader();break;case"combination_banner":this.url=this.BaseURL+"pages/activity/goods_combination/index";break;case"routine_home_hot_banner":this.url=this.BaseURL+"pages/columnGoods/HotNewGoods/index?type=2&name=热门榜单";break;case"routine_home_new_banner":this.url=this.BaseURL+"pages/columnGoods/HotNewGoods/index?type=3&name=首发新品";break;case"routine_home_benefit_banner":this.url=this.BaseURL+"pages/columnGoods/HotNewGoods/index?type=4&name=促销单品";break;case"user_recharge_quota":this.url="",this.getListHeader();break;case"admin_login_slide":case"integral_shop_banner":this.url=""}},addBox:function(){if(0==this.tabList.list.length)this.tabList.list.push(this.lastObj),this.lastObj={add_time:"",comment:"",gid:"",id:"",img:"",link:"",sort:"",status:1};else if(5==this.tabList.list.length)this.$Message.warning("最多添加五张呦");else{var t=JSON.parse(JSON.stringify(this.lastObj));this.tabList.list.push(t)}},bindDelete:function(t,e){this.tabList.list.splice(e,1)},modalPicTap:function(t,e){this.activeIndex=e,this.modalPic=!0},getPic:function(t){var e=this;this.$nextTick((function(){"admin_login_slide"==e.name?e.tabList.list[e.activeIndex].slide=t.att_dir:e.tabList.list[e.activeIndex].img=t.att_dir,e.modalPic=!1}))},save:function(){var t=this;["privacy","user","cancel"].includes(this.agreementType)?this.onsubmit("formValidate"):2==this.guide?(this.formItem.value=this.tabList.list,Object(d.J)(this.formItem).then((function(e){t.loadingExist=!1,t.$Message.success(e.msg)})).catch((function(e){t.loadingExist=!1,t.$Message.error(e.msg)}))):(this.loadingExist=!0,Object(d.H)({gid:this.pageId,config_name:this.name,data:this.tabList.list}).then((function(e){t.loadingExist=!1,t.$Message.success(e.msg)})).catch((function(e){t.loadingExist=!1,t.$Message.error(e.msg)})))},link:function(t){this.activeIndexs=t,this.$refs.linkaddres.modals=!0},getListHeader:function(){var t=this;this.loading=!0,Object(d.C)({config_name:this.name},"setting/sign_data/header").then((function(e){var s=e.data.header;t.columns1=s,t.loading=!1})).catch((function(e){t.loading=!1,t.$Message.error(e.msg)}))},edit:function(t){var e=this;this.$modalForm(Object(d.B)({gid:this.pageId,config_name:this.name},"setting/group_data/"+t.id+"/edit")).then((function(){e.info(),e.url=e.BaseURL+"pages/users/user_sgin/index"}))},del:function(t,e,s){var i=this,a={title:e,num:s,url:"setting/group_data/"+t.id,method:"DELETE",ids:""};this.$modalSure(a).then((function(t){i.info(),i.$Message.success(t.msg)})).catch((function(t){i.$Message.error(t.msg)}))},onchangeIsShow:function(t){var e=this;Object(d.E)("setting/group_data/set_status/"+t.id+"/"+t.status).then(function(){var t=v(a.a.mark((function t(s){return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:e.url=e.BaseURL+"/pages/users/user_sgin/index",e.$Message.success(s.msg),e.info();case 3:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()).catch((function(t){e.url=e.BaseURL+"/pages/users/user_sgin/index",e.$Message.error(t.msg)}))},getGroupAll:function(){var t=this;Object(d.z)().then(function(){var e=v(a.a.mark((function e(s){return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t.groupAll=s.data,t.sortName=s.data[0].config_name,t.pageId=s.data[0].id;case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()).catch((function(e){t.$Message.error(e.msg)}))},getContent:function(t){this.formValidate.content=t},onsubmit:function(t){var e=this;this.$refs[t].validate((function(t){if(!t)return!1;Object(d.T)(e.formValidate,e.agreementType).then(function(){var t=v(a.a.mark((function t(s){return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:e.$Message.success(s.msg);case 1:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()).catch((function(t){e.$Message.error(t.msg)}))}))},getAgreement:function(t){var e=this;Object(d.t)(t).then(function(){var t=v(a.a.mark((function t(s){var i;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:i=s.data,e.formValidate={content:i.content};case 2:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()).catch((function(t){e.loading=!1,e.$Message.error(t.msg)}))},addCustomDialog:function(t){window.UE.registerUI("test-dialog",(function(t,e){var s=new window.UE.ui.Dialog({iframeUrl:"/admin/widget.images/index.html?fodder=dialog",editor:t,name:e,title:"上传图片",cssRules:"width:1200px;height:500px;padding:20px;"});return this.dialog=s,new window.UE.ui.Button({name:"dialog-button",title:"上传图片",cssRules:"background-image: url(../../../assets/images/icons.png);background-position: -726px -77px;",onclick:function(){s.render(),s.open()}})}),37)}}},C=(s("82e9"),s("2877")),x=Object(C.a)(_,(function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{style:t.bgcolors},[i("div",{staticClass:"i-layout-page-header"},[i("PageHeader",{staticClass:"product_tabs",style:"padding-right:"+(t.menuCollapse?105:20)+"px",attrs:{title:t.$route.meta.title,"hidden-breadcrumb":""}},[i("div",{attrs:{slot:"title"},slot:"title"},[i("div",{staticClass:"float-l"},[i("span",{staticClass:"mr20",domProps:{textContent:t._s(t.$route.meta.title)}})])])])],1),i("Card",{staticClass:"ivu-mt",attrs:{bordered:!1,"dis-hover":""}},[i("Row",{staticClass:"ivu-mt box-wrapper"},[!t.$route.params.id&&t.groupAll.length?i("Col",{staticClass:"left-wrapper",attrs:{xs:24,sm:24,md:6,lg:4}},[i("Menu",{attrs:{theme:t.theme3,"active-name":t.sortName,width:"auto"}},[i("MenuGroup",[t._l(t.groupAll,(function(e,s){return i("MenuItem",{key:s+"menu",staticClass:"menu-item",attrs:{name:e.config_name},nativeOn:{click:function(s){return t.edits(e)}}},[t._v("\r\n\t\t\t\t\t\t\t "+t._s(e.name)+"\r\n\t\t\t\t\t\t\t")])})),i("MenuItem",{staticClass:"menu-item",attrs:{name:"guide"},nativeOn:{click:function(e){return t.edits(2)}}},[t._v("\r\n\t\t\t\t\t\t\t\t开屏广告\r\n\t\t\t\t\t\t\t")])],2)],1)],1):t._e(),"user_recharge_quota"==t.name?i("Col",{staticClass:"iframe"},[i("div",{staticClass:"iframe-boxs"},[i("div",{staticClass:"moneyBox"},[i("div",{staticClass:"box1"},[i("div",{staticClass:"font1"},[t._v("我的余额")]),i("div",[t._v("¥ "),i("i",{staticClass:"font2"},[t._v("0.00")])])]),i("div",{staticClass:"moneyBox_content"},[i("div",{staticClass:"box2"},[i("div",[t._v("账户充值")]),i("div",[t._v("佣金导入")])]),i("div",{staticClass:"box3"},[t._l(t.sginList.list,(function(e,s){return 0!=e.status?i("div",{staticClass:"box3_box"},[i("div",[t._v(t._s(e.price)),i("i",{staticClass:"font"},[t._v("元")])]),i("div",{staticClass:"font"},[t._v("赠送:"+t._s(e.give_money)+"元")])]):t._e()})),i("div",{staticClass:"box3_box"},[i("div",{staticClass:"other"},[t._v("其他")])])],2),i("div",{staticClass:"box4"},[i("div",{staticClass:"tips"},[t._v("注意事项:")]),i("div",{staticClass:"tips-samll"},[i("p",[t._v("充值后帐户的金额不能提现,可用于商城消费使用。")]),i("p",[t._v("佣金导入账户之后不能再次导出、不可提现。")]),i("p",[t._v("账户充值出现问题可联系商城客服,也可拨打商城客服热线:40088888889。")])])]),i("div",{staticClass:"box5"},[t._v("立即充值")])])])])]):t._e(),"admin_login_slide"==t.name?i("Col",{staticClass:"pciframe",attrs:{bordered:!1,"dis-hover":""}},[i("img",{staticClass:"pciframe-box",attrs:{src:s("590d")}}),i("div",{staticClass:"pcmoddile_goods"},[""==t.tabList.list?i("div",{staticClass:"nofont"},[t._v("暂无照片,请添加~")]):i("swiper",{staticClass:"pcswiperimg_goods",attrs:{options:t.swiperOption}},t._l(t.tabList.list,(function(t,e){return i("swiper-slide",{staticClass:"spcwiperimg_goods"},[i("img",{attrs:{src:t.slide}})])})),1)],1)]):t._e(),"integral_shop_banner"==t.name?i("Col",{staticClass:"iframe",attrs:{bordered:!1}},[i("div",{staticClass:"iframe-box"},[i("img",{staticStyle:{width:"100%"},attrs:{src:s("d50d")}}),i("div",{staticClass:"moddile_goods"},[""==t.tabList.list?i("div",{staticClass:"nofonts"},[t._v("暂无照片,请添加~")]):i("swiper",{staticClass:"pcswiperimg_goods",attrs:{options:t.swiperOption}},t._l(t.tabList.list,(function(t,e){return i("swiper-slide",{staticClass:"swiperimg_goods"},[i("img",{attrs:{src:t.img}})])})),1)],1)])]):t._e(),"sign_day_num"==t.name||"admin_login_slide"==t.name||"user_recharge_quota"==t.name||"integral_shop_banner"==t.name||["privacy","user","cancel"].includes(t.agreementType)||2==t.guide?t._e():i("Col",{staticClass:"iframe",attrs:{bordered:!1,"dis-hover":""}},[i("iframe",{staticClass:"iframe-box",attrs:{src:t.url,frameborder:"0"}}),i("div",{staticClass:"moddile"}),"routine_home_bast_banner"==t.name||"routine_home_hot_banner"==t.name||"routine_home_new_banner"==t.name||"routine_home_benefit_banner"==t.name?i("div",{staticClass:"moddile_box"},[""==t.tabList.list?i("div",{staticClass:"nofonts"},[t._v("暂无照片,请添加~")]):i("swiper",{staticClass:"swiperimg",attrs:{options:t.swiperOption}},t._l(t.tabList.list,(function(t,e){return i("swiper-slide",{key:e+"c",staticClass:"swiperimg"},[i("img",{attrs:{src:t.img}})])})),1)],1):t._e(),"combination_banner"==t.name?i("div",{staticClass:"moddile_goods combination_height"},[""==t.tabList.list?i("div",{staticClass:"nofonts"},[t._v("暂无照片,请添加~")]):i("swiper",{staticClass:"swiperimg_goods",attrs:{options:t.swiperOption}},t._l(t.tabList.list,(function(t,e){return i("swiper-slide",{key:e+"b",staticClass:"swiperimg_goods"},[i("img",{attrs:{src:t.img}})])})),1)],1):t._e()]),"sign_day_num"==t.name?i("Col",{staticClass:"iframe",attrs:{bordered:!1}},[i("div",{staticClass:"iframe-box"},[1==t.bgimg?i("img",{attrs:{src:s("713f")}}):t._e(),2==t.bgimg?i("img",{attrs:{src:s("bceb")}}):t._e(),3==t.bgimg?i("img",{attrs:{src:s("90be")}}):t._e(),4==t.bgimg?i("img",{attrs:{src:s("943f")}}):t._e(),5==t.bgimg?i("img",{attrs:{src:s("89c2")}}):t._e(),6==t.bgimg?i("img",{attrs:{src:s("e8f4")}}):t._e()])]):t._e(),["privacy","user"].includes(t.agreementType)?i("Col",{staticClass:"iframe",attrs:{bordered:!1}},[i("div",{staticClass:"agreement-box"},[i("div",{staticClass:"template"}),i("div",{staticClass:"htmls_box"},[i("div",{staticClass:"htmls_top"},[t._v(t._s("privacy"==t.agreementType?"隐私协议":"服务协议"))]),i("div",{staticClass:"htmls_font"},[i("div",{staticClass:"ok"},[t._v("我同意")]),i("div",[t._v("不同意")])]),i("div",{staticClass:"htmls",domProps:{innerHTML:t._s(t.formValidate.content)}})])])]):t._e(),["privacy","user","cancel"].includes(t.agreementType)?i("Col",{staticClass:"ml40",attrs:{xs:24,sm:24,md:12,lg:11}},[i("div",{staticClass:"table_box"},[i("Row",{attrs:{type:"flex"}},[i("Col",t._b({},"Col",t.grid,!1),[i("div",{staticClass:"title"},[t._v(t._s("privacy"==t.agreementType?"隐私权限页面展示":"user"==t.agreementType?"用户协议":"注销协议")+":")])])],1),i("div",[i("Form",{ref:"formValidate",staticClass:"form",attrs:{model:t.formValidate,rules:t.ruleValidate,"label-width":t.labelWidth,"label-position":t.labelPosition},nativeOn:{submit:function(t){t.preventDefault()}}},[i("div",{staticClass:"goodsTitle acea-row"}),i("FormItem",{staticStyle:{margin:"0px"},attrs:{label:"",prop:"content"}},[i("WangEditor",{staticStyle:{width:"90%"},attrs:{content:t.formValidate.content},on:{editorContent:t.getEditorContent}})],1)],1)],1)],1)]):t._e(),2==t.guide?i("Col",[2==t.guide?i("div",{staticClass:"iframe",attrs:{bordered:!1}},[""==t.tabList.list?i("div",{staticClass:"nofonts"},[t._v("暂无照片,请添加~")]):t._e(),i("swiper",{staticClass:"swiperimg on",attrs:{options:t.swiperOption}},t._l(t.tabList.list,(function(t,e){return i("swiper-slide",{key:e+"a",staticClass:"swiperimg on"},[i("img",{attrs:{src:t.img}})])})),1)],1):t._e()]):t._e(),"sign_day_num"==t.name?i("Col",{staticClass:"ml20",attrs:{xs:24,sm:24,md:14,lg:11}},[i("div",{staticClass:"table_box"},[i("Row",{attrs:{type:"flex"}},[i("Col",t._b({},"Col",t.grid,!1),[i("div",{staticClass:"title"},[t._v("签到天数设置")]),i("Button",{staticClass:"mt30 ml14",attrs:{type:"primary",icon:"md-add"},on:{click:function(e){return t.groupAdd("添加数据")}}},[t._v("添加数据")])],1)],1),i("div",{staticClass:"table"},[i("Table",{ref:"table",staticClass:"mt25",attrs:{columns:t.columns1,data:t.cmsList,loading:t.loading,"highlight-row":"","no-userFrom-text":"暂无数据","no-filtered-userFrom-text":"暂无筛选结果"},scopedSlots:t._u([{key:"status",fn:function(e){var s=e.row;return e.index,[i("i-switch",{attrs:{value:s.status,"true-value":1,"false-value":0,size:"large"},on:{"on-change":function(e){return t.onchangeIsShow(s)}},model:{value:s.status,callback:function(e){t.$set(s,"status",e)},expression:"row.status"}},[i("span",{attrs:{slot:"open"},slot:"open"},[t._v("显示")]),i("span",{attrs:{slot:"close"},slot:"close"},[t._v("隐藏")])])]}},{key:"action",fn:function(e){var s=e.row,a=e.index;return[i("a",{on:{click:function(e){return t.edit(s,"编辑")}}},[t._v("编辑")]),i("Divider",{attrs:{type:"vertical"}}),i("a",{on:{click:function(e){return t.del(s,"删除这条信息",a)}}},[t._v("删除")])]}}],null,!1,1790299090)})],1)],1)]):t._e(),"user_recharge_quota"==t.name?i("Col",{staticClass:"ml20",attrs:{xs:24,sm:24,md:14,lg:11}},[i("div",{staticClass:"table_box"},[i("Row",{attrs:{type:"flex"}},[i("Col",t._b({},"Col",t.grid,!1),[i("div",{staticClass:"title"},[t._v("充值金额设置")]),i("Button",{staticClass:"mt30 ml14",attrs:{type:"primary",icon:"md-add"},on:{click:function(e){return t.groupAdd("添加数据")}}},[t._v("添加数据")])],1)],1),i("div",{staticClass:"table"},[i("Table",{ref:"table",staticClass:"mt25",attrs:{columns:t.columns1,data:t.sginList.list,loading:t.loading,"highlight-row":"","no-userFrom-text":"暂无数据","no-filtered-userFrom-text":"暂无筛选结果"},scopedSlots:t._u([{key:"status",fn:function(e){var s=e.row;return e.index,[i("i-switch",{attrs:{value:s.status,"true-value":1,"false-value":0,size:"large"},on:{"on-change":function(e){return t.onchangeIsShow(s)}},model:{value:s.status,callback:function(e){t.$set(s,"status",e)},expression:"row.status"}},[i("span",{attrs:{slot:"open"},slot:"open"},[t._v("显示")]),i("span",{attrs:{slot:"close"},slot:"close"},[t._v("隐藏")])])]}},{key:"action",fn:function(e){var s=e.row,a=e.index;return[i("a",{on:{click:function(e){return t.edit(s,"编辑")}}},[t._v("编辑")]),i("Divider",{attrs:{type:"vertical"}}),i("a",{on:{click:function(e){return t.del(s,"删除这条信息",a)}}},[t._v("删除")])]}}],null,!1,1790299090)})],1)],1)]):t._e(),2==t.guide?i("Col",[i("div",{class:"admin_login_slide"!=t.name?"content":"contents"},[i("div",{staticClass:"right-box"},[i("div",{staticClass:"hot_imgs"},[i("div",{staticClass:"title"},[t._v("引导页设置")]),i("div",{staticClass:"title-text"},[t._v("建议尺寸:750 * 1334px,拖拽图片可调整图片顺序哦,最多添加五张")]),i("div",{staticClass:"list-box"},[i("div",[i("Form",{attrs:{model:t.formItem,"label-width":80}},[i("FormItem",{attrs:{label:"开屏广告:"}},[i("i-switch",{attrs:{"true-value":1,"false-value":0,size:"large"},model:{value:t.formItem.status,callback:function(e){t.$set(t.formItem,"status",e)},expression:"formItem.status"}},[i("span",{attrs:{slot:"open"},slot:"open"},[t._v("开启")]),i("span",{attrs:{slot:"close"},slot:"close"},[t._v("关闭")])])],1),i("FormItem",{attrs:{label:"广告时间:"}},[i("InputNumber",{staticStyle:{width:"150px"},attrs:{min:0,placeholder:"请输入开屏广告时间"},model:{value:t.formItem.time,callback:function(e){t.$set(t.formItem,"time",e)},expression:"formItem.time"}}),t._v("(单位:秒)\r\n ")],1),i("FormItem",{attrs:{label:"展示间隔:"}},[i("InputNumber",{staticStyle:{width:"150px"},attrs:{min:0,placeholder:"请输入展示间隔时间"},model:{value:t.formItem.interval_time,callback:function(e){t.$set(t.formItem,"interval_time",e)},expression:"formItem.interval_time"}}),t._v("(单位:小时)\r\n\t\t\t\t\t\t\t")],1)],1)],1),i("draggable",{staticClass:"dragArea list-group",attrs:{list:t.tabList.list,group:"peoples",handle:".move-icon"}},t._l(t.tabList.list,(function(e,s){return i("div",{key:s+"d",staticClass:"item"},[i("div",{staticClass:"move-icon"},[i("span",{staticClass:"iconfont icondrag2"})]),i("div",{staticClass:"img-box",on:{click:function(e){return t.modalPicTap("单选",s)}}},[e.img?i("img",{attrs:{src:e.img,alt:""}}):i("div",{staticClass:"upload-box"},[i("Icon",{attrs:{type:"ios-camera-outline",size:"36"}})],1),i("div",{staticClass:"delect-btn",on:{click:function(i){return i.stopPropagation(),t.bindDelete(e,s)}}},[i("Icon",{attrs:{type:"md-close-circle",size:"26"}})],1)]),i("div",{staticClass:"info"},[i("div",{staticClass:"info-item"},[i("span",[t._v("图片名称:")]),i("div",{staticClass:"input-box"},[i("Input",{attrs:{placeholder:"请填写名称"},model:{value:e.comment,callback:function(s){t.$set(e,"comment",s)},expression:"item.comment"}})],1)]),i("div",{staticClass:"info-item"},[i("span",[t._v("链接地址:")]),i("div",{staticClass:"input-box",on:{click:function(e){return t.link(s)}}},[i("Input",{attrs:{icon:"ios-arrow-forward",readonly:"",placeholder:"选择链接"},model:{value:e.link,callback:function(s){t.$set(e,"link",s)},expression:"item.link"}})],1)])])])})),0),i("div",[i("Modal",{attrs:{width:"960px",scrollable:"","footer-hide":"",closable:"",title:"上传商品图","mask-closable":!1,"z-index":999},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)],1)],1),[i("div",{staticClass:"add-btn"},[i("Button",{staticClass:"btn-add",attrs:{ghost:""},on:{click:t.addBox}},[t._v("添加图片\r\n ")])],1)]],2)])])]):i("Col",["sign_day_num"==t.name||"user_recharge_quota"==t.name||["privacy","user","cancel"].includes(t.agreementType)||2==t.guide?t._e():i("div",{class:"admin_login_slide"!=t.name?"content":"contents"},[i("div",{staticClass:"right-box"},[i("div",{staticClass:"hot_imgs"},["admin_login_slide"==t.name?i("div",{staticClass:"title"},[t._v("幻灯片设置")]):i("div",{staticClass:"title"},[t._v("轮播图设置")]),i("div",{staticClass:"title-text"},[t._v("建议尺寸:690 * 240px,拖拽图片可调整图片顺序哦,最多添加五张")]),i("div",{staticClass:"list-box"},["admin_login_slide"==t.name?i("draggable",{staticClass:"dragArea list-group Bbox",attrs:{list:t.tabList.list,group:"peoples",handle:".move-icon"}},t._l(t.tabList.list,(function(e,s){return i("div",{key:s+"e",staticClass:"items"},[i("div",{staticClass:"move-icon"},[i("span",{staticClass:"iconfont icondrag2"})]),i("div",{staticClass:"img-box",on:{click:function(e){return t.modalPicTap("单选",s)}}},[e.slide?i("img",{attrs:{src:e.slide,alt:""}}):i("div",{staticClass:"upload-box"},[i("Icon",{attrs:{type:"ios-camera-outline",size:"36"}})],1),i("div",{staticClass:"delect-btn",on:{click:function(i){return i.stopPropagation(),t.bindDelete(e,s)}}},[i("Icon",{attrs:{type:"md-close-circle",size:"26"}})],1)]),i("div",{staticClass:"info"})])})),0):i("draggable",{staticClass:"dragArea list-group",attrs:{list:t.tabList.list,group:"peoples",handle:".move-icon"}},t._l(t.tabList.list,(function(e,s){return i("div",{key:s+"f",staticClass:"item"},[i("div",{staticClass:"move-icon"},[i("span",{staticClass:"iconfont icondrag2"})]),i("div",{staticClass:"img-box",on:{click:function(e){return t.modalPicTap("单选",s)}}},[e.img?i("img",{attrs:{src:e.img,alt:""}}):i("div",{staticClass:"upload-box"},[i("Icon",{attrs:{type:"ios-camera-outline",size:"36"}})],1),i("div",{staticClass:"delect-btn",on:{click:function(i){return i.stopPropagation(),t.bindDelete(e,s)}}},[i("Icon",{attrs:{type:"md-close-circle",size:"26"}})],1)]),i("div",{staticClass:"info"},[i("div",{staticClass:"info-item"},[i("span",[t._v("图片名称:")]),i("div",{staticClass:"input-box"},[i("Input",{attrs:{placeholder:"请填写名称"},model:{value:e.comment,callback:function(s){t.$set(e,"comment",s)},expression:"item.comment"}})],1)]),i("div",{staticClass:"info-item"},[i("span",[t._v("链接地址:")]),i("div",{staticClass:"input-box",on:{click:function(e){return t.link(s)}}},[i("Input",{attrs:{icon:"ios-arrow-forward",readonly:"",placeholder:"选择链接"},model:{value:e.link,callback:function(s){t.$set(e,"link",s)},expression:"item.link"}})],1)])])])})),0),i("div",[i("Modal",{attrs:{width:"960px",scrollable:"","footer-hide":"",closable:"",title:"上传商品图","mask-closable":!1,"z-index":999},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)],1)],1),[i("div",{staticClass:"add-btn"},[i("Button",{staticClass:"btn-add",attrs:{ghost:""},on:{click:t.addBox}},[t._v("添加图片\r\n\t\t\t\t\t\t\t ")])],1)]],2)])])])],1)],1),i("Card",{staticClass:"fixed-card",style:{left:t.menuCollapse?t.isMobile?"0":"80px":"200px"},attrs:{bordered:!1,"dis-hover":""}},[i("div",{staticClass:"acea-row row-center-wrapper"},[i("Button",{staticClass:"bnt",attrs:{type:"primary",loading:t.loadingExist},on:{click:t.save}},[t._v("保存")])],1)]),i("linkaddress",{ref:"linkaddres",on:{linkUrl:t.linkUrl}})],1)}),[],!1,null,"0e24dae0",null);e.default=x.exports},d50d:function(t,e,s){t.exports=s.p+"view_admin/img/integral.fcfc352b.png"},e76a:function(t,e,s){},e8f4:function(t,e,s){t.exports=s.p+"view_admin/img/goldsgin.c477fb98.png"}}]);
|