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 lines
22 KiB
1 lines
22 KiB
(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-3a915fb0"],{"1be5":function(t,e,i){t.exports=i.p+"view_admin/img/pcbanner.23f05e2e.png"},"1fa1":function(t,e,i){t.exports=i.p+"view_admin/img/kefu.6c63578f.png"},"31b4":function(t,e,i){"use strict";var n=i("9860"),r=i.n(n),o=i("b6bd"),a=i("2f62");function s(t){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function c(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,n)}return i}function l(t,e,i){return(e=function(t){var e=function(t,e){if("object"!=s(t)||!t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var n=i.call(t,e||"default");if("object"!=s(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==s(e)?e:e+""}(e))in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}var u={name:"edit",components:{formCreate:r.a.$form()},computed:function(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?c(Object(i),!0).forEach((function(e){l(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):c(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}({},Object(a.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,i=this;(setTimeout((function(){i.isDisable=!1}),1e3),this.isDisable)||(this.isDisable=!0,e=t,Object(o.a)({url:this.FromData.action,method:this.FromData.method,data:e}).then((function(t){i.$parent.getList(),i.$Message.success(t.msg),i.modals=!1,setTimeout((function(){i.$emit("submitFail")}),1e3)})).catch((function(t){i.$Message.error(t.msg)})))},cancel:function(){this.type=0}}},d=(i("c262"),i("2877")),f=Object(d.a)(u,(function(){var t=this,e=t._self._c;return t.FromData?e("div",[e("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?e("div",{staticClass:"radio acea-row row-middle"},[e("div",{staticClass:"name ivu-form-item-content"},[t._v("优惠券类型")]),e("Radio-group",{on:{"on-change":t.couponsType},model:{value:t.type,callback:function(e){t.type=e},expression:"type"}},[e("Radio",{attrs:{label:0}},[t._v("通用券")]),e("Radio",{attrs:{label:1}},[t._v("品类券")]),e("Radio",{attrs:{label:2}},[t._v("商品券")])],1)],1):t._e()],e("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,"2850396f",null);e.a=f.exports},"3e5d":function(t,e,i){"use strict";i("be6e")},"5eee":function(t,e,i){},"723b":function(t,e,i){"use strict";i("5eee")},be6e:function(t,e,i){},c262:function(t,e,i){"use strict";i("c54c")},c54c:function(t,e,i){},ce94:function(t,e,i){"use strict";i.r(e);var n=i("2f62"),r=i("a069"),o=(i("f478"),i("31b4")),a=i("8593"),s=i("b76a"),c=i.n(s),l=i("b0e7"),u=i("7af3");function d(t){return(d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function f(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */f=function(){return e};var t,e={},i=Object.prototype,n=i.hasOwnProperty,r=Object.defineProperty||function(t,e,i){t[e]=i.value},o="function"==typeof Symbol?Symbol:{},a=o.iterator||"@@iterator",s=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function l(t,e,i){return Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,i){return t[e]=i}}function u(t,e,i,n){var o=e&&e.prototype instanceof y?e:y,a=Object.create(o.prototype),s=new D(n||[]);return r(a,"_invoke",{value:k(t,i,s)}),a}function p(t,e,i){try{return{type:"normal",arg:t.call(e,i)}}catch(t){return{type:"throw",arg:t}}}e.wrap=u;var h="suspendedStart",m="suspendedYield",g="executing",v="completed",b={};function y(){}function w(){}function _(){}var x={};l(x,a,(function(){return this}));var C=Object.getPrototypeOf,O=C&&C(C($([])));O&&O!==i&&n.call(O,a)&&(x=O);var P=_.prototype=y.prototype=Object.create(x);function j(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function L(t,e){function i(r,o,a,s){var c=p(t[r],t,o);if("throw"!==c.type){var l=c.arg,u=l.value;return u&&"object"==d(u)&&n.call(u,"__await")?e.resolve(u.__await).then((function(t){i("next",t,a,s)}),(function(t){i("throw",t,a,s)})):e.resolve(u).then((function(t){l.value=t,a(l)}),(function(t){return i("throw",t,a,s)}))}s(c.arg)}var o;r(this,"_invoke",{value:function(t,n){function r(){return new e((function(e,r){i(t,n,e,r)}))}return o=o?o.then(r,r):r()}})}function k(e,i,n){var r=h;return function(o,a){if(r===g)throw Error("Generator is already running");if(r===v){if("throw"===o)throw a;return{value:t,done:!0}}for(n.method=o,n.arg=a;;){var s=n.delegate;if(s){var c=I(s,n);if(c){if(c===b)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===h)throw r=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=g;var l=p(e,i,n);if("normal"===l.type){if(r=n.done?v:m,l.arg===b)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r=v,n.method="throw",n.arg=l.arg)}}}function I(e,i){var n=i.method,r=e.iterator[n];if(r===t)return i.delegate=null,"throw"===n&&e.iterator.return&&(i.method="return",i.arg=t,I(e,i),"throw"===i.method)||"return"!==n&&(i.method="throw",i.arg=new TypeError("The iterator does not provide a '"+n+"' method")),b;var o=p(r,e.iterator,i.arg);if("throw"===o.type)return i.method="throw",i.arg=o.arg,i.delegate=null,b;var a=o.arg;return a?a.done?(i[e.resultName]=a.value,i.next=e.nextLoc,"return"!==i.method&&(i.method="next",i.arg=t),i.delegate=null,b):a:(i.method="throw",i.arg=new TypeError("iterator result is not an object"),i.delegate=null,b)}function E(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function S(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function D(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(E,this),this.reset(!0)}function $(e){if(e||""===e){var i=e[a];if(i)return i.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,o=function i(){for(;++r<e.length;)if(n.call(e,r))return i.value=e[r],i.done=!1,i;return i.value=t,i.done=!0,i};return o.next=o}}throw new TypeError(d(e)+" is not iterable")}return w.prototype=_,r(P,"constructor",{value:_,configurable:!0}),r(_,"constructor",{value:w,configurable:!0}),w.displayName=l(_,c,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===w||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,_):(t.__proto__=_,l(t,c,"GeneratorFunction")),t.prototype=Object.create(P),t},e.awrap=function(t){return{__await:t}},j(L.prototype),l(L.prototype,s,(function(){return this})),e.AsyncIterator=L,e.async=function(t,i,n,r,o){void 0===o&&(o=Promise);var a=new L(u(t,i,n,r),o);return e.isGeneratorFunction(i)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},j(P),l(P,c,"Generator"),l(P,a,(function(){return this})),l(P,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),i=[];for(var n in e)i.push(n);return i.reverse(),function t(){for(;i.length;){var n=i.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},e.values=$,D.prototype={constructor:D,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(S),!e)for(var i in this)"t"===i.charAt(0)&&n.call(this,i)&&!isNaN(+i.slice(1))&&(this[i]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var i=this;function r(n,r){return s.type="throw",s.arg=e,i.next=n,r&&(i.method="next",i.arg=t),!!r}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],s=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var c=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(c&&l){if(this.prev<a.catchLoc)return r(a.catchLoc,!0);if(this.prev<a.finallyLoc)return r(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return r(a.catchLoc,!0)}else{if(!l)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return r(a.finallyLoc)}}}},abrupt:function(t,e){for(var i=this.tryEntries.length-1;i>=0;--i){var r=this.tryEntries[i];if(r.tryLoc<=this.prev&&n.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var o=r;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=t,a.arg=e,o?(this.method="next",this.next=o.finallyLoc,b):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),b},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var i=this.tryEntries[e];if(i.finallyLoc===t)return this.complete(i.completion,i.afterLoc),S(i),b}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var i=this.tryEntries[e];if(i.tryLoc===t){var n=i.completion;if("throw"===n.type){var r=n.arg;S(i)}return r}}throw Error("illegal catch attempt")},delegateYield:function(e,i,n){return this.delegate={iterator:$(e),resultName:i,nextLoc:n},"next"===this.method&&(this.arg=t),b}},e}function p(t,e,i,n,r,o,a){try{var s=t[o](a),c=s.value}catch(t){return void i(t)}s.done?e(c):Promise.resolve(c).then(n,r)}function h(t){return function(){var e=this,i=arguments;return new Promise((function(n,r){var o=t.apply(e,i);function a(t){p(o,n,r,a,s,"next",t)}function s(t){p(o,n,r,a,s,"throw",t)}a(void 0)}))}}function m(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,n)}return i}function g(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?m(Object(i),!0).forEach((function(e){v(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):m(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}function v(t,e,i){return(e=function(t){var e=function(t,e){if("object"!=d(t)||!t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var n=i.call(t,e||"default");if("object"!=d(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==d(e)?e:e+""}(e))in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}var b={name:"list",components:{editFrom:o.a,draggable:c.a,uploadPictures:l.a,linkaddress:u.a,WangEditor:r.a},data:function(){return{ruleValidate:{},formValidate:{content:""},content:"",pclogo:"",grid:{xl:7,lg:7,md:12,sm:24,xs:24},swiperOption:{pagination:{el:".swiper-pagination"},navigation:{nextEl:".swiper-button-next",prevEl:".swiper-button-prev"},autoplay:{delay:2e3,disableOnInteraction:!1},loop:!1},pageId:1,tabList:[],lastObj:{add_time:"",config_name:"",id:"",image:"",sort:1,status:1,title:"",url:""},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},activeIndex:0,activeIndexs:0}},computed:g(g({},Object(n.e)("admin/layout",["isMobile","menuCollapse"])),{},{labelWidth:function(){return this.isMobile?void 0:120},labelPosition:function(){return this.isMobile?"top":"right"}}),mounted:function(){this.menu(1),this.info()},methods:{getEditorContent:function(t){this.content=t},linkUrl:function(t){this.tabList.list[this.activeIndexs].url=t},getContent:function(t){this.formValidate.content=t},onsubmit:function(t){var e=this;this.$refs[t].validate((function(t){if(!t)return!1;e.formValidate.content=e.content,Object(a.U)(e.formValidate).then(function(){var t=h(f().mark((function t(i){return f().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:e.$Message.success(i.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)}))}))},getKfAdv:function(){var t=this;Object(a.u)().then((function(e){var i=e.data.content?e.data.content:"";t.formValidate.content=i,t.content=i})).catch((function(e){t.loading=!1,t.$Message.error(e.msg)}))},addCustomDialog:function(t){window.UE.registerUI("test-dialog",(function(t,e){var i=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=i,new window.UE.ui.Button({name:"dialog-button",title:"上传图片",cssRules:"background-image: url(../../../assets/images/icons.png);background-position: -726px -77px;",onclick:function(){i.render(),i.open()}})}),37)},groupAdd:function(){var t=this;this.$modalForm(Object(a.A)({config_name:this.pageId},"setting/group_data/create")).then((function(){return t.info()}))},info:function(){var t=this;"pc_home_banner"==this.pageId&&Object(a.D)({config_name:this.pageId},"setting/group_data").then(function(){var e=h(f().mark((function e(i){return f().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t.tabList=i.data,t.tabList.list.forEach((function(t,e,i){"string"!=typeof t.image&&"undefined"!=t.image&&(t.image=t.image[0])}));case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()).catch((function(e){t.$Message.error(e.msg)})),1==this.pageId&&Object(a.M)("pc_logo").then((function(e){t.pclogo=e.data.value})),3==this.pageId&&this.getKfAdv()},menu:function(t){this.pageId=t,this.info()},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){1==this.tabList.list.length&&(this.lastObj=this.tabList.list[0]),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(){"pc_home_banner"==e.pageId?e.tabList.list[e.activeIndex].image=t.att_dir:e.pclogo=t.att_dir,e.modalPic=!1}))},save:function(){var t=this;"pc_home_banner"==this.pageId&&Object(a.H)({config_name:this.pageId,data:this.tabList.list}).then((function(e){t.$Message.success(e.msg)})).catch((function(e){t.$Message.error(e.msg)})),1==this.pageId&&Object(a.N)({pc_logo:this.pclogo}).then((function(e){t.$Message.success(e.msg)})).catch((function(e){t.$Message.error(e.msg)})),3==this.pageId&&this.onsubmit("formValidate")},link:function(t){this.activeIndexs=t,this.$refs.linkaddres.modals=!0}}},y=(i("723b"),i("3e5d"),i("2877")),w=Object(y.a)(b,(function(){var t=this,e=t._self._c;return e("div",[e("div",{staticClass:"i-layout-page-header"},[e("PageHeader",{staticClass:"product_tabs",attrs:{title:t.$route.meta.title,"hidden-breadcrumb":""}},[e("div",{attrs:{slot:"title"},slot:"title"},[e("div",{staticClass:"float-l"},[e("span",{staticClass:"mr20",domProps:{textContent:t._s(t.$route.meta.title)}})])])])],1),e("Card",{staticClass:"ivu-mt cartH",attrs:{bordered:!1,"dis-hover":""}},[e("Row",{staticClass:"ivu-mt box-wrapper"},[e("Col",{staticClass:"left-wrapper",attrs:{xs:24,sm:24,md:6,lg:3}},[e("div",{staticClass:"left_box"},[e("div",{staticClass:"left_cont",class:1==t.pageId?"on":"",on:{click:function(e){return t.menu(1)}}},[t._v("网站LOGO")]),e("div",{staticClass:"left_cont",class:"pc_home_banner"==t.pageId?"on":"",on:{click:function(e){return t.menu("pc_home_banner")}}},[t._v("首页轮播图")]),e("div",{staticClass:"left_cont",class:3==t.pageId?"on":"",on:{click:function(e){return t.menu(3)}}},[t._v("客服页面广告")])])]),e("div",{staticClass:"banner-add"},[1==t.pageId||"pc_home_banner"==t.pageId?e("Col",{staticClass:"pciframe",attrs:{bordered:!1,"dis-hover":""}},[e("img",{staticClass:"pciframe-box",attrs:{src:i("1be5")}}),1==t.pageId?e("div",{staticClass:"logoimg"},[e("img",{attrs:{src:t.pclogo}})]):t._e(),"pc_home_banner"==t.pageId?e("div",{staticClass:"pcmoddile_goods"},[""==t.tabList.list?e("div",{staticClass:"nofonts"},[t._v("暂无照片,请添加~")]):e("swiper",{staticClass:"pcswiperimg_goods",attrs:{options:t.swiperOption}},t._l(t.tabList.list,(function(t,i){return e("swiper-slide",{staticClass:"spcwiperimg_goods"},[e("img",{attrs:{src:t.image}})])})),1)],1):t._e()]):t._e(),3==t.pageId?e("Col",{staticClass:"pciframe",attrs:{bordered:!1,"dis-hover":""}},[e("img",{staticClass:"pciframe-box",attrs:{src:i("1fa1")}}),e("div",{staticClass:"box3_sile"},[e("div",{domProps:{innerHTML:t._s(t.content)}})])]):t._e(),"pc_home_banner"==t.pageId?e("Col",[e("div",{staticClass:"content"},[e("div",{staticClass:"right-box"},[e("div",{staticClass:"hot_imgs"},[e("div",{staticClass:"title"},[t._v("轮播图设置")]),e("div",{staticClass:"title-text"},[t._v("建议尺寸:1920 * 520px,拖拽图片可调整图片顺序哦,最多添加五张。")]),e("div",{staticClass:"title-text"},[t._v("除轮播图外,页面其他内容仅供参考")]),e("div",{staticClass:"list-box"},["pc_home_banner"==t.pageId?e("draggable",{staticClass:"dragArea list-group",attrs:{list:t.tabList.list,group:"peoples",handle:".move-icon"}},t._l(t.tabList.list,(function(i,n){return e("div",{key:n,staticClass:"item"},[e("div",{staticClass:"move-icon"},[e("span",{staticClass:"iconfont icondrag2"})]),e("div",{staticClass:"img-box imgBoxs",on:{click:function(e){return t.modalPicTap("单选",n)}}},[i.image?e("img",{attrs:{src:i.image,alt:""}}):e("div",{staticClass:"upload-box"},[e("Icon",{attrs:{type:"ios-camera-outline",size:"36"}})],1),e("div",{staticClass:"delect-btn",staticStyle:{"line-height":"0px"},on:{click:function(e){return e.stopPropagation(),t.bindDelete(i,n)}}},[e("Icon",{attrs:{type:"md-close-circle",size:"26"}})],1)]),e("div",{staticClass:"info"},[e("div",{staticClass:"info-item"},[e("span",[t._v("图片名称:")]),e("div",{staticClass:"input-box"},[e("Input",{attrs:{placeholder:"请填写名称"},model:{value:i.title,callback:function(e){t.$set(i,"title",e)},expression:"item.title"}})],1)]),e("div",{staticClass:"info-item"},[e("span",[t._v("链接地址:")]),e("div",{staticClass:"input-box"},[e("Input",{attrs:{placeholder:"请填写链接"},model:{value:i.url,callback:function(e){t.$set(i,"url",e)},expression:"item.url"}})],1)])])])})),0):t._e(),e("div",[e("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?e("uploadPictures",{attrs:{isChoice:t.isChoice,gridBtn:t.gridBtn,gridPic:t.gridPic},on:{getPic:t.getPic}}):t._e()],1)],1)],1),[e("div",{staticClass:"add-btn"},[e("Button",{staticClass:"btn-add",attrs:{ghost:""},on:{click:t.addBox}},[t._v("添加图片\n\t\t\t\t\t\t\t\t\t ")])],1)]],2)])])]):t._e(),1==t.pageId?e("Col",[e("div",{staticClass:"content"},[e("div",{staticClass:"right-box"},[e("div",{staticClass:"hot_imgs"},[e("div",{staticClass:"title"},[t._v("页面设置")]),e("div",{staticClass:"title-text"},[t._v("建议尺寸:140 * 60px")]),e("div",{staticClass:"title-text"},[t._v("除LOGO图标外,页面其他内容仅供参考")]),e("div",{staticClass:"list-box"},[e("div",{staticClass:"img-boxs",on:{click:function(e){return t.modalPicTap("单选",0)}}},[e("img",{attrs:{src:t.pclogo,alt:""}}),e("div",{staticClass:"img_font"}),e("div",{staticClass:"img_fonts"},[t._v("更换图片")])]),e("div",[e("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?e("uploadPictures",{attrs:{isChoice:t.isChoice,gridBtn:t.gridBtn,gridPic:t.gridPic},on:{getPic:t.getPic}}):t._e()],1)],1)])])])])]):t._e(),3==t.pageId?e("Col",{staticClass:"ml40",attrs:{xs:24,sm:24,md:12,lg:14}},[e("div",{staticClass:"table_box"},[e("Row",{attrs:{type:"flex"}},[e("Col",t._b({},"Col",t.grid,!1),[e("div",{staticClass:"title"},[t._v("客户页面广告展示::")])])],1),e("div",[e("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()}}},[e("div",{staticClass:"goodsTitle acea-row"}),e("FormItem",{staticStyle:{margin:"0px"},attrs:{label:""}},[e("WangEditor",{staticStyle:{width:"90%"},attrs:{content:t.formValidate.content},on:{editorContent:t.getEditorContent}})],1)],1)],1)],1)]):t._e()],1)],1)],1),e("Card",{staticClass:"fixed-card",style:{left:"".concat(t.menuCollapse?t.isMobile?"0":"80px":"200px")},attrs:{bordered:!1,"dis-hover":""}},[e("div",{staticClass:"acea-row row-center-wrapper"},[e("Button",{staticClass:"bnt",attrs:{type:"primary"},on:{click:t.save}},[t._v("保存")])],1)]),e("linkaddress",{ref:"linkaddres",on:{linkUrl:t.linkUrl}})],1)}),[],!1,null,"c7363ff6",null);e.default=w.exports}}]); |