徐总多门店
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
5.3 KiB

3 months ago
(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-2d2ed1a5"],{1987:function(t,e,i){t.exports=i.p+"view_admin/img/green.ad79683b.jpg"},"2ba2":function(t,e,i){t.exports=i.p+"view_admin/img/pink.a3f8f9ed.jpg"},"2c0f":function(t,e,i){"use strict";i("f861")},"2f46":function(t,e,i){t.exports=i.p+"view_admin/img/red.a05c2bd5.jpg"},"6ca1":function(t,e,i){"use strict";i.r(e);var o=i("2f62"),n=i("f478");function r(t){return(r="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 a(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,o)}return i}function s(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?a(Object(i),!0).forEach((function(e){c(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):a(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}function c(t,e,i){return(e=function(t){var e=function(t,e){if("object"!=r(t)||!t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var o=i.call(t,e||"default");if("object"!=r(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==r(e)?e:e+""}(e))in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}var l={name:"themeStyle",data:function(){return{grid:{xl:7,lg:7,md:12,sm:24,xs:24},imgColor:{},picList:[{image:i("aefb")},{image:i("1987")},{image:i("2f46")},{image:i("2ba2")},{image:i("6de0")},{image:i("71c5")}],current:"",clientHeight:0,loadingExist:!1}},computed:s(s({},Object(o.e)("admin/layout",["isMobile","menuCollapse"])),{},{labelWidth:function(){return this.isMobile?void 0:100},labelPosition:function(){return this.isMobile?"top":"right"}}),created:function(){this.imgColor=this.picList[0],this.getInfo()},mounted:function(){var t=this;this.$nextTick((function(){t.clientHeight="".concat(document.documentElement.clientHeight)-250;var e=t;window.onresize=function(){e.clientHeight="".concat(document.documentElement.clientHeight)-250}}))},methods:{getInfo:function(){var t=this;Object(n.j)("color_change").then((function(e){t.current=e.data.status?e.data.status:3,t.changeColor(t.current)})).catch((function(e){t.$Message.error(e.msg)}))},submit:function(){var t=this;this.loadingExist=!0,Object(n.b)(this.current,"color_change").then((function(e){t.loadingExist=!1,t.$Message.success(e.msg)})).catch((function(){t.loadingExist=!1}))},changeColor:function(t){switch(t){case 1:this.imgColor=this.picList[0];break;case 2:this.imgColor=this.picList[1];break;case 3:this.imgColor=this.picList[2];break;case 4:this.imgColor=this.picList[3];break;case 5:this.imgColor=this.picList[4];break;case 6:this.imgColor=this.picList[5]}}}},u=(i("2c0f"),i("2877")),d=Object(u.a)(l,(function(){var t=this,e=t._self._c;return e("div",[e("div",{staticClass:"i-layout-page-header"},[e("PageHeader",{staticClass:"product_tabs",style:"padding-right:"+(t.menuCollapse?105:20)+"px",attrs:{title:t.$route.meta.title,"hidden-breadcrumb":""}},[e("div",{attrs:{slot:"title"},slot:"title"},[e("div",{staticStyle:{float:"left"}},[e("span",{staticClass:"mr20",domProps:{textContent:t._s(t.$route.meta.title)}})])])])],1),e("Card",{staticClass:"ivu-mt",style:"min-height:"+t.clientHeight+"px",attrs:{bordered:!1,"dis-hover":""}},[e("Form",{attrs:{"label-width":t.labelWidth}},[e("FormItem",{attrs:{label:"选择配色方案:"}},[e("RadioGroup",{on:{"on-change":t.changeColor},model:{value:t.current,callback:function(e){t.current=e},expression:"current"}},[e("Radio",{staticClass:"box",attrs:{label:1,border:""}},[t._v("天空蓝"),e("i",{staticClass:"iconfont iconxuanzhong6"})]),e("Radio",{staticClass:"box green",attrs:{label:2,border:""}},[t._v("生鲜绿"),e("i",{s