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
93 KiB

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-13a44add"],{"03c7":function(t,e,i){t.exports=i.p+"static/img/defaultVideo.d29e8b34.png"},"0524":function(t,e,i){"use strict";var n=i("7317"),a=i.n(n);a.a},"05ac":function(t,e,i){},"0670":function(t,e,i){"use strict";var n=i("85cc"),a=i.n(n);a.a},"09f4":function(t,e,i){"use strict";i.d(e,"a",(function(){return c})),Math.easeInOutQuad=function(t,e,i,n){return t/=n/2,t<1?i/2*t*t+e:(t--,-i/2*(t*(t-2)-1)+e)};var n=function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(t){window.setTimeout(t,1e3/60)}}();function a(t){document.documentElement.scrollTop=t,document.body.parentNode.scrollTop=t,document.body.scrollTop=t}function s(){return document.documentElement.scrollTop||document.body.parentNode.scrollTop||document.body.scrollTop}function c(t,e,i){var c=s(),o=t-c,r=20,l=0;e="undefined"===typeof e?500:e;var u=function t(){l+=r;var s=Math.easeInOutQuad(l,c,o,e);a(s),l<e?n(t):i&&"function"===typeof i&&i()};u()}},"10b2":function(t,e,i){"use strict";var n=i("eab3"),a=i.n(n);a.a},"14a7":function(t,e,i){},"161d":function(t,e,i){"use strict";var n=i("9256"),a={getPlatformTemplate:"/cmsTemplate/getPlatformTemplate",updateTemplate:"/cmsTemplate/updateTemplate",getCmsTemplate:"/cmsTemplate/",getStorePage:"/store/findStoreListForPlatform"};e["a"]={getStorePage:function(t){return Object(n["a"])({method:"POST",url:a.getStorePage,data:t})},getCmsTemplate:function(t){return Object(n["a"])({method:"GET",url:a.getCmsTemplate+t})},getPlatformTemplate:function(){return Object(n["a"])({method:"GET",url:a.getPlatformTemplate})},updateTemplate:function(t){return Object(n["a"])({method:"POST",url:a.updateTemplate,data:t})}}},"1c55":function(t,e,i){"use strict";var n=i("221e"),a=i.n(n);a.a},"1df8":function(t,e,i){"use strict";var n=i("14a7"),a=i.n(n);a.a},"1eb5":function(t,e,i){},2125:function(t,e,i){},"221e":function(t,e,i){},"23c6":function(t,e,i){},"249b":function(t,e,i){"use strict";var n=i("fa36"),a=i.n(n);a.a},"29e4":function(t,e,i){t.exports=i.p+"static/img/defaultSingle.790c5a24.png"},"2bcc":function(t,e,i){"use strict";var n=i("1eb5"),a=i.n(n);a.a},"2d64e":function(t,e,i){},"32ee":function(t,e,i){"use strict";var n=i("7167"),a=i.n(n);a.a},"335d":function(t,e,i){},"33e7":function(t,e,i){"use strict";var n=i("d62d"),a=i.n(n);a.a},3569:function(t,e,i){},"3a7d":function(t,e,i){t.exports=i.p+"static/img/image-default-2.18c71f6b.png"},"3e7e":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAYAAABw4pVUAAAOa0lEQVR4Xu1da4wkVRU+t6pnZhe2p7tvd++L3WVnWRSzK/4QRIPgCySKUf4hRjcRgR+6arIK/oPsT4nvgCawaILI45/4DPERxBAl4A8RdFFgdmHf3V1dPTPL7sx01TVf0XdSU1Pddevd8zhJZydb93Hu+e4599xzX4yGnKanp+uWZV0uhNhj2/YuxthOItpMRDUi4kQ0QkQbes2YIaJ5IjKIqElEp4QQRzRNe50x9rKu6y8Wi8XGMDeZDRtznU5nt2VZNxDR1b3fjoR5fIOInsVP1/WnSqXSqwmXH6u4oQCk2Wxepmna54noZiLaHatF4TMDkCds236kVqsdDp892Ry5AdLpdLhlWZ8jIgBxVbLNilzac0T0iK7rj5ZKJZi9zClzQBqNxjt1XT9ARPuIaF3mLVar8DwRPWxZ1vfq9foralmSSZUZII1G4x26rt9NRLcQkZYM+6mXYhPR45ZlHazX6/9NvTYiSh2QqampWrfbPUhEdxBRIYtGpVBHl4geKBQK94yPj8N7S41SA0QIwQzDuJUx9h0iKqfWgmwLNoUQd3LOH2KMiTSqTgWQdru9UwjxMyL6cBpMD0GZTzPGvlipVI4kzUvigBiGAa/pfi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,e,i){},"49f2":function(t,e,i){},"4de4a":function(t,e,i){},"4ffc":function(t,e,i){"use strict";var n=i("3569"),a=i.n(n);a.a},"50f9":function(t,e,i){},"5a0a":function(t,e,i){t.exports=i.p+"static/img/default.5f833453.png"},"5b5e":function(t,e,i){"use strict";var n=i("05ac"),a=i.n(n);a.a},6329:function(t,e,i){},6445:function(t,e,i){t.exports=i.p+"static/img/image-default-1.0802aa01.png"},"645c":function(t,e,i){"use strict";var n=i("335d"),a=i.n(n);a.a},"6b83":function(t,e,i){"use strict";var n=i("998c"),a=i.n(n);a.a},"6d0e":function(t,e,i){"use strict";var n=i("9256"),a={cmsTemplatePage:"/cmsTemplate/page",addTemplate:"/cmsTemplate",deleteTemplate:"/cmsTemplate"};e["a"]={cmsTemplatePage:function(t){return Object(n["a"])({method:"POST",url:a.cmsTemplatePage,data:t})},addTemplate:function(t){return Object(n["a"])({method:"POST",url:a.addTemplate,data:t})},deleteTemplate:function(t){return Object(n["a"])({method:"DELETE",url:a.deleteTemplate,data:t})},updateTemplate:function(t){return Object(n["a"])({method:"PUT",url:a.deleteTemplate,data:t})}}},"6ded":function(t,e,i){},"6e37":function(t,e,i){"use strict";var n=i("6329"),a=i.n(n);a.a},7167:function(t,e,i){},7317:function(t,e,i){},"75fb":function(t,e,i){},"7acf":function(t,e,i){"use strict";var n=i("bd47"),a=i.n(n);a.a},"7c40":function(t,e,i){"use strict";var n=i("ccfe"),a=i.n(n);a.a},"7edc":function(t,e,i){"use strict";var n=i("50f9"),a=i.n(n);a.a},"80f2":function(t,e,i){},"83b3":function(t,e,i){t.exports=i.p+"static/img/category-default.ff246f58.png"},"85cc":function(t,e,i){},8704:function(t,e,i){},"8cc5":function(t,e,i){t.exports=i.p+"static/img/defaultBanner.ce0d70c4.png"},"8f07":function(t,e,i){"use strict";var n=i("2125"),a=i.n(n);a.a},9256:function(t,e,i){"use strict";i("99af"),i("4160"),i("caad"),i("4fad"),i("d3b7"),i("159b");var n=i("5530"),a=i("bc3a"),s=i.n(a),c=i("5c96"),o=i("5657");i("27ae");function r(t,e){"ECONNABORTED"===t.code?Object(c["Message"])({message:"请求超时"}):t.response&&t.response.data?Object(c["Message"])({message:t.response.data}):t.message&&Object(c["Message"])({message:t.message}),e(t)}function l(t,e){t.data.isError&&(4e4===t.data.code||40001===t.data.code||40002===t.data.code||40003===t.data.code||40005===t.data.code||40006===t.data.code||40008===t.data.code?c["MessageBox"].alert(t.data.msg,"提醒",{confirmButtonText:"确定",callback:function(){window.location.hash="/login"}}):c["Message"].error(t.data.msg)),e(t)}s.a.interceptors.request.use((function(t){var e=!1!==t.headers["X-isToken"]||t.headers["X-isToken"],i=o["a"].get("TOKEN","");i&&e&&(t.headers.token="Bearer "+i);var n="ceres_admin_web",a="ceres_admin_web";return t.headers["Authorization"]="Basic ".concat("".concat(n,":").concat(a)),t}),(function(t){return Promise.reject(t)})),s.a.interceptors.response.use((function(t){return t}),(function(t){return Promise.reject(t)}));var u=function(t){console.log(t,"opts");var e={ts:Date.now()},i=t.method.toUpperCase(),a={method:i,url:"".concat("https://pos.admin.api.lotus-wallet.com").concat(t.url),responseType:t.responseType||"",timeout:2e4},c=["PUT","POST","PATCH"];c.includes(i)?a.data=t.data||{}:a.params=Object(n["a"])(Object(n["a"])({},e),t.data||{}),t.formData&&(a.transformRequest=[function(t){var e=new FormData;return t&&Object.entries(t).forEach((function(t){e.append(t[0],t[1])})),e}]);var o=new Promise((function(t,e){s()(a).then((function(e){l(e,t)})).catch((function(t){r(t,e)}))}));return o};e["a"]=u},"998c":function(t,e,i){},"99ba":function(t,e,i){"use strict";var n=i("c2846"),a=i.n(n);a.a},"9de1":function(t,e,i){},a658:function(t,e,i){"use strict";var n=i("23c6"),a=i.n(n);a.a},a65c:function(t,e,i){},a945:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAYAAABw4pVUAAAI20lEQVR4Xu2cf2xeVRnHv8+9XX8MygrCBjKFbp3irJ1777nt1k2wBn+B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eyl4Oj/ZVKpberq+s/aWEYPUOGhoZC3/dfXlzxnawzRFz5yBmOK5h5bbLybgQgs0ZWzy8R0aTneT/YunXr9OKAxQczy+7ojUQkC7ZLTAZUpc0QM+8Ow3AqWZvsByDPC2lyu5IdgYWP7Ay8QERTAOTzzJo1a/5++i5B2nhSz5BkCl9HRNuTbYjgLM/5yYAeBXD3cgcpZVulra1tBzNLdiMLtrxLg2Qb5h4iunPhZNTAwMBFvu9fWl9ff2xubu54VtXtywFKDSSOY8nL71vO8aK/l2ThValUvtPZ2Tmawu7UpQKntbX1vclJW7mPy7Moyya33c8EQTCepVNTX6mBSEdRFN1KRPe8xm2lwswHPM/bW1dX9/Os/qeEsbGxtaVSSY4ofB5Aq+mgE7unmFlm68O1OpO+VPxGQMSRVKkz8/VEpJJNQkkBn2fmJ0ul0kB3d/fhKgU7o3lfX19dc3OzpJZfA9Ceoh/NzH2e5/2oUCj80iYQC2MwBpJChFwvjeO4QEQflE1BZpb3H7L/JGn2LADJ+GTn9wl5per7/h8KhYI8lK1tKx6ItcoaBuaAGAqXl5kDkpeyhn4dEEPh8jJzQPJS1tCvA2IoXF5mDkheyhr6dUAMhcvLzAHJS1lDvw6IoXB5mTkgeSlr6NcBMRQuLzMHJC9lDf06IIbC5WXmgOSlrKFfB8RQuLzMHJC8lDX064AYCpeXmQOSl7KGfh0QQ+HyMnNA8lLW0K8DYihcXmYOSF7KGvp1QAyFy8vMAclLWUO/DoihcHmZOSB5KWvo1wExFC4vs/8C39DZg4PEYy4AAAAASUVORK5CYII="},b33c:function(t,e,i){"use strict";var n=i("2d64e"),a=i.n(n);a.a},b3f3:function(t,e,i){"use strict";var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"creation-camp-component"},[i("PreviewContent",{staticClass:"preview-content-class"}),i("OperationArea",{staticClass:"operation-area-class"})],1)},a=[],s=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"operation-area-component"},[i("div",{staticClass:"phone-component"},[i("div",{staticClass:"phone-body"}),i("div",{staticClass:"phone-main"},t._l(t.diyComponents,(function(t,e){return i(t.keyCode,{key:e,tag:"component",staticClass:"component-item",attrs:{config:t}})})),1),t.footerComponent?i("div",{staticClass:"phone-footer"},[i("Footer")],1):t._e()])])},c=[],o=i("5530"),r=i("2f62"),l=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"carousel-component"},[t.configList.length?i("Carousel",{attrs:{arrow:"never",interval:t.config.interval,height:"200px"}},t._l(t.configList,(function(e,n){return i("CarouselItem",{key:n},[i("img",{attrs:{src:e.src||t.defaultImg}})])})),1):i("div",{staticClass:"default-image"},[i("img",{attrs:{src:t.item.src||t.defaultImg}})])],1)},u=[],d=i("5c96"),m=i("8cc5"),f=i.n(m),p={components:{Carousel:d["Carousel"],CarouselItem:d["CarouselItem"]},props:{config:{type:Object,default:function(){return{}}}},data:function(){return{defaultImg:f.a}},computed:{configContent:function(){return this.config.content},configList:function(){var t=this.configContent.list;return t||[]}}},g=p,C=(i("1df8"),i("2877")),v=Object(C["a"])(g,l,u,!1,null,"dda7d63a",null),h=v.exports,b=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"video-config"},[i("div",{staticClass:"video-title"},[t._v(t._s(t.configContent.title||" "))]),i("div",{staticClass:"vide-box"},[t.configContent.link?i("video",{attrs:{width:"100%",height:"100%",src:t.configContent.link,controls:""}}):i("img",{attrs:{src:t.defaultVideo}})])])},y=[],S=i("03c7"),O=i.n(S),w={props:{config:{type:Object,default:function(){return{}}}},data:function(){return{defaultVideo:O.a}},computed:{configContent:function(){return this.config.content}}},_=w,x=(i("ed30"),Object(C["a"])(_,b,y,!1,null,"57c8812f",null)),I=x.exports,k=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"search-component"},[i("div",{staticClass:"search-box"},[i("i",{staticClass:"el-icon-search"}),i("input",{attrs:{placeholder:t.configContent.placeholder,type:"text"}})])])},j=[],A={props:{config:{type:Object,default:function(){return{}}}},computed:{configContent:function(){return this.config.content}}},P=A,L=(i("d40d"),Object(C["a"])(P,k,j,!1,null,"a8048138",null)),E=L.exports,T=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"single-item-component"},[t._m(0),i("div",{staticClass:"single-item-content"},[i("img",{attrs:{src:t.goods.imgs[0]||t.defaultImg}})]),i("div",{staticClass:"single-item-footer"},[t.configContent.sellingPoint?i("div",{staticClass:"shop-name"},[t._v(t._s(t.goods.productName||"商品A"))]):t._e(),i("div",{staticClass:"shop-bottom"},[i("div",{staticClass:"shop-price-wrap"},[t.configContent.sellingPrice?i("div",{staticClass:"concessional-rate"},[t._v("¥ "+t._s(t.goods.price||0))]):t._e(),t.configContent.originalPrice?i("div",{staticClass:"original-price"},[t._v("¥ "+t._s(t.goods.applyPrice||0))]):t._e()]),t.configContent.button?i("div",{staticClass:"shop-btn"},[t._v("立即购买")]):t._e()])])])},N=[function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"single-item-title"},[i("div",{staticClass:"recommend"},[t._v("推荐")]),i("div",{staticClass:"title"},[t._v("商城好物")])])}],B=(i("d81d"),i("96cf"),i("1da1")),G=i("29e4"),V=i.n(G),K=i("9256"),D={getGroupList:"/productGroup/page",productGroup:"/productGroup",deleteGroup:"/productGroup/delProductCategory",getProductList:"/product/findAdminProductList",findCategoryList:"/productCategory/findCategoryListByDepth/",saveProduct:"/product/save",findAdminProductList:"/platformProduct/findAdminProductList",findGoods:"/platformProduct/findProductListByCategoryOrProductIdList",queryAllCategory:"/productCategory/queryAllCategory"},Q={queryAllCategory:function(){return Object(K["a"])({method:"POST",url:D.queryAllCategory})},findGoods:function(t){return Object(K["a"])({method:"POST",url:D.findGoods,data:t})},findAdminProductList:function(t){return Object(K["a"])({method:"POST",url:D.findAdminProductList,data:t})},saveProduct:function(t){return Object(K["a"])({method:"POST",url:D.saveProduct,data:t})},findCategoryList:function(t){return Object(K["a"])({method:"GET",url:D.findCategoryList+t})},getProductList:function(t){return Object(K["a"])({method:"POST",url:D.getProductList,data:t})},getGroupList:function(t){return Object(K["a"])({method:"POST",url:D.getGroupList,data:t})},addGroup:function(t){return Object(K["a"])({method:"POST",url:D.productGroup,data:t})},eidtGroup:function(t){return Object(K["a"])({method:"PUT",url:D.productGroup,data:t})},deleteGroup:function(t){return Object(K["a"])({method:"POST",url:D.deleteGroup,data:t})}},z={props:{config:{type:Object,default:function(){return{}}}},data:function(){return{defaultImg:V.a,goods:[]}},computed:{configContent:function(){return this.config.content}},watch:{"config.content.goodsList":{handler:function(){this.findGoods()},deep:!0}},created:function(){this.findGoods()},methods:{findGoods:function(){var t=this;return Object(B["a"])(regeneratorRuntime.mark((function e(){var i,n,a,s,c;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(i=t.configContent.goodsList,!i||!i.length){e.next=10;break}return n=i.map((function(t){return t.id})),e.next=5,Q.findGoods({productIdList:n});case 5:a=e.sent,s=a.data.data||{},c=s.goodsList||[],t.goods=c[0]||{},console.log(t.goods,"23");case 10:case"end":return e.stop()}}),e)})))()}}},F=z,M=(i("10b2"),Object(C["a"])(F,T,N,!1,null,"1386d4f2",null)),R=M.exports,U=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"category-navigation-component"},[i("div",{staticClass:"category-list"},t._l(t.configList,(function(e,n){return i("div",{key:n,staticClass:"category-item text-overflow",on:{click:function(e){return t.selectIndex(n)}}},[t._v(" "+t._s(e.name)+" ")])})),0),i("div",{staticClass:"shops-content"},t._l(t.goods,(function(e,n){return i("div",{key:n,staticClass:"shops-item"},[i("div",{staticClass:"shop-image"},[i("img",{attrs:{src:e.imgs&&e.imgs[0]||t.categoryDefault,alt:""}})]),i("div",{staticClass:"shop-info"},[t.configContent.sellingPoint?i("div",{staticClass:"shop-name"},[t._v(t._s(e.productName))]):t._e(),t.configContent.paymentNumber?i("div",{staticClass:"payment-number"},[t._v(t._s(e.buyCount)+"人付款")]):t._e(),i("div",{staticClass:"shop-price-wrap"},[t.configContent.sellingPrice?i("div",{staticClass:"concessional-rate"},[t._v("¥ "+t._s(e.price))]):t._e(),t.configContent.originalPrice?i("div",{staticClass:"original-price"},[t._v("¥ "+t._s(e.applyPrice))]):t._e()])])])})),0)])},q=[],J=(i("99af"),i("83b3")),Z=i.n(J),H={props:{config:{type:Object,default:function(){return{}}}},data:function(){return{categoryDefault:Z.a,selectClassIndex:0,goods:[]}},computed:{configContent:function(){return this.config.content},configList:function(){var t=this.configContent.list;return t||[]}},watch:{"config.content.list":{handler:function(){this.selectIndex()},deep:!0}},created:function(){this.selectIndex()},methods:{selectIndex:function(){var t,e=this,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.selectClassIndex=i,this.configContent.list.map((function(i,n){e.selectClassIndex===n&&(t=i)}));var n=t,a=n.categoryList,s=n.goodsList,c=(a||[]).map((function(t){return t.id})),o=(s||[]).map((function(t){return t.id}));this.findGoods(c,o)},findGoods:function(t,e){var i=this;return Object(B["a"])(regeneratorRuntime.mark((function n(){var a,s,c,o;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.next=2,Q.findGoods({categoryIdList:t,productIdList:e});case 2:a=n.sent,s=a.data.data||{},c=s.categoryList||[],o=s.goodsList||[],i.goods=o.concat(c);case 7:case"end":return n.stop()}}),n)})))()}}},Y=H,W=(i("c51b"),Object(C["a"])(Y,U,q,!1,null,"99c1c0a4",null)),X=W.exports,$=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"commodity-item-component"},[t.configContent.show?i("div",{staticClass:"commodity-item-title"},[i("div",{staticClass:"title text-overflow"},[t._v(t._s(t.configContent.groupName))]),t._m(0)]):t._e(),i("div",{staticClass:"commodity-list"},[t.goods.length?t._l(t.goods,(function(e,n){return i("div",{key:n,staticClass:"commodity-item"},[i("div",{staticClass:"commodity-image"},[i("img",{attrs:{src:e.imgs&&e.imgs[0]||t.defaultImg,alt:""}})]),i("div",{staticClass:"commodity-content"},[t.configContent.sellingPoint?i("div",{staticClass:"commodity-title"},[t._v(t._s(e.productName))]):t._e(),i("div",{staticClass:"payment-number"},[t._v(t._s(e.buyCount)+"人付款")]),i("div",{staticClass:"price-wrap"},[i("div",{staticClass:"left"},[t.configContent.sellingPrice?i("div",{staticClass:"price"},[t._v("¥"+t._s(e.price))]):t._e(),t.configContent.originalPrice?i("div",{staticClass:"original-price"},[t._v("¥"+t._s(e.applyPrice))]):t._e()]),t.configContent.button?i("div",{staticClass:"right"},[i("span",{staticClass:"circular"}),i("span",{staticClass:"circular"}),i("span",{staticClass:"circular"})]):t._e()])])])})):i("div",{staticClass:"commodity-item"},[i("div",{staticClass:"commodity-image"},[i("img",{attrs:{src:t.defaultImg,alt:""}})]),i("div",{staticClass:"commodity-content"},[t.configContent.sellingPoint?i("div",{staticClass:"commodity-title"},[t._v("商品名称")]):t._e(),i("div",{staticClass:"payment-number"},[t._v("0人付款")]),i("div",{staticClass:"price-wrap"},[i("div",{staticClass:"left"},[t.configContent.sellingPrice?i("div",{staticClass:"price"},[t._v("¥ 10")]):t._e(),t.configContent.originalPrice?i("div",{staticClass:"original-price"},[t._v("¥100")]):t._e()]),t.configContent.button?i("div",{staticClass:"right"},[i("span",{staticClass:"circular"}),i("span",{staticClass:"circular"}),i("span",{staticClass:"circular"})]):t._e()])])])],2)])},tt=[function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"more-title"},[t._v(" 查看全部 "),i("i",{staticClass:"el-icon-arrow-right"})])}],et=i("d57c"),it=i.n(et),nt={props:{config:{type:Object,default:function(){return{}}}},data:function(){return{defaultImg:it.a,goods:[]}},computed:{configContent:function(){return this.config.content},configContentList:function(){return[]}},watch:{"config.content.categoryList":{handler:function(){this.findGoods()},deep:!0}},created:function(){this.findGoods()},methods:{findGoods:function(){var t=this;return Object(B["a"])(regeneratorRuntime.mark((function e(){var i,n,a,s;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(i=t.configContent.categoryList,!i||!i.length){e.next=8;break}return n=i.map((function(t){return t.id})),e.next=5,Q.findGoods({categoryIdList:n});case 5:a=e.sent,s=a.data.data||{},t.goods=s.categoryList||[];case 8:case"end":return e.stop()}}),e)})))()}}},at=nt,st=(i("99ba"),Object(C["a"])(at,$,tt,!1,null,"6afc8bc8",null)),ct=st.exports,ot=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"editor-component"},[i("div",{staticClass:"editor-content",domProps:{innerHTML:t._s(t.configContent.html)}})])},rt=[],lt={props:{config:{type:Object,default:function(){return{}}}},computed:{configContent:function(){return this.config.content}}},ut=lt,dt=(i("645c"),Object(C["a"])(ut,ot,rt,!1,null,"2a21bf52",null)),mt=dt.exports,ft=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"graphic-navigation-component"},[i("div",{staticClass:"graphic-navigation-list"},t._l(t.configContentList,(function(e,n){return i("div",{key:n,staticClass:"graphic-navigation-item"},[i("div",{staticClass:"img-box"},[i("img",{attrs:{src:e.src||t.defaultImg,alt:""}})]),i("div",{staticClass:"navigation-name text-overflow"},[t._v(t._s(e.name||" "))])])})),0)])},pt=[],gt=(i("fb6a"),i("3e7e")),Ct=i.n(gt),vt={props:{config:{type:Object,default:function(){return{}}}},data:function(){return{defaultImg:Ct.a}},computed:{configContent:function(){return this.config.content},configContentList:function(){var t=this.configContent,e=t.list,i=t.number;return e.slice(0,i)}}},ht=vt,bt=(i("6e37"),Object(C["a"])(ht,ft,pt,!1,null,"acf13d3e",null)),yt=bt.exports,St=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"image-component"},[i("div",{staticClass:"image-box"},[1===t.configContent.number?i("div",{staticClass:"img-item-1"},[i("img",{attrs:{src:t.imageList[0].src||t.default1,alt:""}})]):t._e(),2===t.configContent.number?i("div",{staticClass:"img-item-2"},t._l(t.imageList,(function(e,n){return i("div",{key:n,staticClass:"img-item"},[i("img",{attrs:{src:e.src||t.default2,alt:""}})])})),0):t._e(),3===t.configContent.number?i("div",{staticClass:"img-item-3"},[i("div",{staticClass:"img-item-left"},[i("img",{attrs:{src:t.imageList[0].src||t.default2,alt:""}})]),i("div",{staticClass:"img-item-right"},[i("div",{staticClass:"img-item"},[i("img",{attrs:{src:t.imageList[1].src||t.default3,alt:""}})]),i("div",{staticClass:"img-item"},[i("img",{attrs:{src:t.imageList[2].src||t.default3,alt:""}})])])]):t._e()])])},Ot=[],wt=i("6445"),_t=i.n(wt),xt=i("3a7d"),It=i.n(xt),kt=i("df8c"),jt=i.n(kt),At={props:{config:{type:Object,default:function(){return{}}}},data:function(){return{default1:_t.a,default2:It.a,default3:jt.a}},computed:{configContent:function(){return this.config.content},imageList:function(){var t=this.configContent.number;return this.configContent.list.slice(0,t)}}},Pt=At,Lt=(i("7edc"),Object(C["a"])(Pt,St,Ot,!1,null,"ac20ee52",null)),Et=Lt.exports,Tt=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"group-item-component"},[t.configContent.show?i("div",{staticClass:"group-item-title text-overflow"},[i("div",{staticClass:"title text-overflow"},[t._v(t._s(t.configContent.groupName))]),t._m(0)]):t._e(),i("div",{staticClass:"group-list"},t._l(t.configContentList,(function(e,n){return i("div",{key:n,staticClass:"group-item"},[i("div",{staticClass:"group-image"},[i("img",{attrs:{src:e.src||t.defaultImg,alt:""}})]),i("div",{staticClass:"group-title-1 text-overflow"},[t._v(" "+t._s(e.categoryList[0]&&e.categoryList[0].categoryName||"列表名称"+(n+1))+" ")])])})),0)])},Nt=[function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"more-title"},[t._v(" 查看全部 "),i("i",{staticClass:"el-icon-arrow-right"})])}],Bt=i("a945"),Gt=i.n(Bt),Vt={props:{config:{type:Object,default:function(){return{}}}},data:function(){return{defaultImg:Gt.a}},computed:{configContent:function(){return this.config.content},configContentList:function(){var t=this.configContent,e=t.list,i=t.quantity;return e.slice(0,i)}}},Kt=Vt,Dt=(i("cdd0"),Object(C["a"])(Kt,Tt,Nt,!1,null,"82bb84ca",null)),Qt=Dt.exports,zt=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"footer-component"},[i("div",{staticClass:"footer-list"},t._l(t.configList,(function(e,n){return i("div",{key:n,staticClass:"footer-item",on:{click:function(e){return t.clickIndex(n)}}},[i("img",{attrs:{src:(t.activeIndex===n?e.selectedIconPath:e.iconPath)||t.defaultImg,alt:""}}),i("div",{staticClass:"title text-overflow",class:t.activeIndex===n?"active":""},[t._v(t._s(e.text))])])})),0)])},Ft=[],Mt=i("5a0a"),Rt=i.n(Mt),Ut={data:function(){return{activeIndex:0,defaultImg:Rt.a}},computed:Object(o["a"])(Object(o["a"])({},Object(r["c"])("creationCamp",["footerComponent"])),{},{configContent:function(){return this.footerComponent},configList:function(){var t=this.configContent.list;return t||[]}}),methods:{clickIndex:function(t){this.activeIndex=t}}},qt=Ut,Jt=(i("1c55"),Object(C["a"])(qt,zt,Ft,!1,null,"4f06de68",null)),Zt=Jt.exports,Ht={name:"PreviewContent",components:{Search:E,Carousel:h,Video:I,SingleItem:R,CategoryNavigation:X,Commodity:ct,Editor:mt,GraphicNavigation:yt,ImageBox:Et,GroupList:Qt,Footer:Zt},computed:Object(o["a"])({},Object(r["c"])("creationCamp",["diyComponents","footerComponent"]))},Yt=Ht,Wt=(i("5b5e"),Object(C["a"])(Yt,s,c,!1,null,"c84a8d50",null)),Xt=Wt.exports,$t=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"operation-area-component"},[i("div",{staticClass:"preview-list"},[i("div",{attrs:{id:"previewBox"}},[t._l(t.customComponents,(function(e,n){return[t.isShow?i("div",{key:n,staticClass:"component-item",class:t.selectIndex===n?"active":"",attrs:{"data-index":e.index},on:{click:function(i){return t.seletConfig(e,n)}}},[i("div",{staticClass:"movie-icon"}),i("div",{staticClass:"component-title"},[t._v(" "+t._s(e.name)+" ")]),i("div",{staticClass:"delete-icon",on:{click:function(i){return i.stopPropagation(),t.deleteSub(e.keyCode)}}})]):t._e()]}))],2),i("div",{staticClass:"component-item add-component",class:""===t.selectIndex?"active":"",on:{click:t.seletConfig}},[t._m(0),i("div",{staticClass:"component-title"},[t._v(" 添加组件 ")])]),t.footerComponent?i("div",{staticClass:"component-item",class:"Footer"===t.selectIndex?"active":"",on:{click:function(e){return t.seletConfig({keyCode:"Footer"},"Footer")}}},[t._m(1),i("div",{staticClass:"component-title"},[t._v(" 底部导航 ")])]):t._e()]),i("div",{staticClass:"operation-container"},[i("Allocation")],1)])},te=[function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"fixed-item"},[i("i",{staticClass:"el-icon-plus"})])},function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"fixed-item"},[i("i",{staticClass:"el-icon-position"})])}],ee=(i("4de4"),i("c975"),function(){var t=this,e=t.$createElement,i=t._self._c||e;return i(t.currentComponentKeyCode,{tag:"component",staticClass:"config-padding"})}),ie=[],ne=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"search-config"},[i("div",{staticClass:"config-header"},[t._v("内容")]),i("div",{staticClass:"confit-item"},[i("div",{staticClass:"config-title"},[t._v(" 提示文案 ")]),i("div",{staticClass:"config-setting"},[i("Input",{staticClass:"full-input",on:{input:t.change},model:{value:t.placeholder,callback:function(e){t.placeholder=e},expression:"placeholder"}})],1)])])},ae=[],se={components:{Input:d["Input"]},computed:Object(o["a"])(Object(o["a"])({},Object(r["c"])("creationCamp",["currentComponentKeyCode","currentComponentConfig"])),{},{placeholder:function(){return this.currentComponentConfig.placeholder}}),methods:Object(o["a"])(Object(o["a"])({},Object(r["b"])("creationCamp",["setComponentConfig"])),{},{change:function(t){var e={};e.placeholder=t,this.setComponentConfig({keyCode:this.currentComponentKeyCode,content:e})}})},ce=se,oe=Object(C["a"])(ce,ne,ae,!1,null,null,null),re=oe.exports,le=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"add-component"},[i("div",{staticClass:"config-header"},[t._v("基础组件")]),i("div",{staticClass:"parts-list"},t._l(t.basicComponents,(function(e,n){return i("div",{key:n,staticClass:"parts-item",on:{click:function(i){return t.selectItem(e)}}},[i("div",{staticClass:"parts-icon"},[i("i",{class:e.icon})]),i("div",{staticClass:"parts-name"},[t._v(t._s(e.name))])])})),0),i("div",{staticClass:"config-header"},[t._v("商品组件")]),i("div",{staticClass:"parts-list"},t._l(t.commodityComponents,(function(e,n){return i("div",{key:n,staticClass:"parts-item",on:{click:function(i){return t.selectItem(e)}}},[i("div",{staticClass:"parts-icon"},[i("i",{class:e.icon})]),i("div",{staticClass:"parts-name"},[t._v(t._s(e.name))])])})),0)])},ue=[],de={data:function(){return{basicComponents:[{icon:"el-icon-document",name:"富文本框",keyCode:"Editor",content:{html:""}},{icon:"el-icon-picture-outline",name:"图片",keyCode:"ImageBox",content:{fillStyle:1,number:3,list:[{href:"",src:"",isCustom:"",collapseState:!1},{href:"",src:"",isCustom:"",collapseState:!1},{href:"",src:"",isCustom:"",collapseState:!1},{href:"",src:"",isCustom:"",collapseState:!0}]}},{icon:"el-icon-files",name:"轮播",keyCode:"Carousel",content:{fillStyle:1,interval:5e3,list:[{href:"",src:"",isCustom:"",collapseState:!1}]}},{icon:"el-icon-search",name:"搜索",keyCode:"Search",content:{placeholder:"请输入您想要的宝贝"}},{icon:"el-icon-video-play",name:"视频",keyCode:"Video",content:{show:!0,title:"Video",link:""}}],commodityComponents:[{icon:"el-icon-shopping-bag-1",name:"单商品",keyCode:"SingleItem",content:{sellingPoint:!0,originalPrice:!0,sellingPrice:!0,button:!0,goodsList:[]}},{icon:"el-icon-s-grid",name:"商品类别",keyCode:"Commodity",content:{show:!0,groupName:"商城好物",arrangement:1,quantity:4,sellingPoint:!0,originalPrice:!0,sellingPrice:!0,button:!0,categoryList:[]}},{icon:"el-icon-s-fold",name:"类别列表",keyCode:"GroupList",content:{show:!0,groupName:"商品分组列表",arrangement:1,quantity:4,list:[]}},{icon:"el-icon-picture",name:"图文导航",keyCode:"GraphicNavigation",content:{number:3,list:[{href:"",src:"",isCustom:"",name:"",collapseState:!1},{href:"",src:"",isCustom:"",name:"",collapseState:!1},{href:"",src:"",isCustom:"",name:"",collapseState:!1},{href:"",src:"",isCustom:"",name:"",collapseState:!0}]}},{icon:"el-icon-guide",name:"标签导航",keyCode:"CategoryNavigation",content:{show:!0,groupName:"商城好物",arrangement:1,quantity:4,sellingPoint:!0,originalPrice:!0,sellingPrice:!0,paymentNumber:!0,list:[{name:"",categoryList:[],goodsList:[]}]}}]}},methods:Object(o["a"])(Object(o["a"])({},Object(r["b"])("creationCamp",["setComponents"])),{},{selectItem:function(t){this.setComponents(t)}})},me=de,fe=(i("0670"),Object(C["a"])(me,le,ue,!1,null,"b3b1ae68",null)),pe=fe.exports,ge=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"carousel-config"},[i("div",{staticClass:"config-header"},[t._v("设置")]),i("div",{staticClass:"confit-item"},[i("div",{staticClass:"config-title"},[t._v(" 样式 ")]),i("div",{staticClass:"config-setting"},[i("div",{staticClass:"config-setting"},[i("el-select",{staticClass:"full-input",attrs:{placeholder:"请选择"},on:{change:function(e){return t.change("fillStyle",e)}},model:{value:t.currentSub.fillStyle,callback:function(e){t.$set(t.currentSub,"fillStyle",e)},expression:"currentSub.fillStyle"}},t._l(t.fillStyleLit,(function(t){return i("el-option",{key:t.value,attrs:{label:t.label,value:t.value}})})),1)],1)])]),i("div",{staticClass:"confit-item"},[i("div",{staticClass:"config-title"},[t._v(" 轮播间隔 ")]),i("div",{staticClass:"config-setting"},[i("el-select",{staticClass:"full-input",attrs:{placeholder:"请选择"},on:{change:function(e){return t.change("interval",e)}},model:{value:t.currentSub.interval,callback:function(e){t.$set(t.currentSub,"interval",e)},expression:"currentSub.interval"}},t._l(t.intervalList,(function(t){return i("el-option",{key:t.value,attrs:{label:t.label,value:t.value}})})),1)],1)]),i("div",{staticClass:"config-header"},[t._v("内容")]),i("div",{staticClass:"config-item"},[i("div",{staticClass:"config-setting"},[i("div",{staticClass:"collapse-list"},t._l(t.currentSub.list,(function(e,n){return i("div",{key:n,staticClass:"collapse-item"},[i("div",{staticClass:"collapse-item-header",on:{click:function(i){return t.collapseToggle(e)}}},[i("i",{staticClass:"header-icon el-icon-rank"}),i("div",{staticClass:"header-thumbnail"},[e.src?i("img",{attrs:{src:e.src}}):i("div",{staticClass:"el-icon-picture-outline"})]),i("div",{staticClass:"header-name"},[t._v("图片")]),i("div",{staticClass:"header-arrow"},[i("i",{staticClass:"el-icon-delete",on:{click:function(e){return t.delectItem(t.currentSub.list,n)}}})]),i("div",{staticClass:"header-arrow"},[i("i",{staticClass:"el-icon-arrow-down",class:e.collapseState?"open":""})])]),e.collapseState?i("div",{staticClass:"collapse-item-content"},[i("div",{staticClass:"config-title"},[t._v("选择图片")]),i("ImageUpload",{key:n+"-1",attrs:{item:[e],src:e.src},on:{success:t.success}}),i("Jump",{attrs:{item:e}})],1):t._e()])})),0)]),i("a",{staticClass:"add-widget",attrs:{href:"javascript:;"},on:{click:t.addCarousel}},[i("i",{staticClass:"el-icon-plus"}),t._v(" 添加图片 ")])])])},Ce=[],ve=(i("a434"),function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"upload-widget"},[i("el-upload",{staticClass:"upload-uploader",attrs:{headers:t.headers,data:t.dataObj,multiple:!1,"show-file-list":!1,"file-list":t.item,"on-success":t.handleImageSuccess,action:t.action}},[t.src?i("img",{staticClass:"upload-images",attrs:{src:t.src}}):i("div",{staticClass:"upload-btn",attrs:{slot:"trigger"},slot:"trigger"},[i("i",{staticClass:"el-icon-upload"}),i("span",{staticClass:"upload-title"},[t._v("选择图片")])])])],1)}),he=[],be=i("5657"),ye={components:{"el-upload":d["Upload"]},props:{item:{type:Array,default:function(){return[]}},src:{type:String,default:""}},data:function(){return{headers:{Authorization:""},action:"".concat("https://pos.admin.api.lotus-wallet.com","/file/upload"),dataObj:{folderId:1}}},created:function(){this.headers.token="Bearer "+be["a"].get("TOKEN",""),this.headers.tenant="MDAwMA=="},methods:{handleImageSuccess:function(t,e,i){var n=this;(function(t,e,i){n.$emit("success",t,e,i)})(t,e,i)}}},Se=ye,Oe=Object(C["a"])(Se,ve,he,!1,null,null,null),we=Oe.exports,_e=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"jump-component"},[i("div",{staticClass:"config-title"},[t._v("跳转至")]),i("el-select",{staticClass:"full-input",attrs:{placeholder:"请选择"},on:{change:function(e){return t.selectHref(t.item)}},model:{value:t.item.href,callback:function(e){t.$set(t.item,"href",e)},expression:"item.href"}},t._l(t.templatePage,(function(t){return i("el-option",{key:t.value,attrs:{label:t.label,value:t.value}})})),1),t.item.detailId&&t.item.detailId.length?i("div",t._l(t.item.detailId,(function(e,n){return i("div",{key:n,staticClass:"class-item"},[i("div",{staticClass:"left"},[t._v(" 商品 ")]),i("div",{staticClass:"content text-overflow"},[t._v(t._s(e.productName))]),i("div",{staticClass:"right"},[i("i",{staticClass:"el-icon-delete",on:{click:function(e){return t.delectGoods(t.item)}}})])])})),0):t._e(),t.item.hasOwnProperty("detailId")&&!t.item.detailId?i("a",{staticClass:"add-shop",attrs:{href:"javascript:;"},on:{click:function(e){return t.addGoods()}}},[i("i",{staticClass:"el-icon-plus"}),t._v(" 添加商品 ")]):t._e(),t.item.category3Id&&t.item.category3Id.length?i("div",t._l(t.item.category3Id,(function(e,n){return i("div",{key:n,staticClass:"class-item"},[i("div",{staticClass:"left"},[t._v(" 类别 ")]),i("div",{staticClass:"content text-overflow"},[t._v(t._s(e.categoryName))]),i("div",{staticClass:"right"},[i("i",{staticClass:"el-icon-delete",on:{click:function(e){return t.delectCategory(t.item)}}})])])})),0):t._e(),t.item.hasOwnProperty("category3Id")&&!t.item.category3Id?i("a",{staticClass:"add-shop",attrs:{href:"javascript:;"},on:{click:function(e){return t.addGoodsClass()}}},[i("i",{staticClass:"el-icon-plus"}),t._v(" 添加类别 ")]):t._e(),t.item.shopId&&t.item.shopId.length?i("div",t._l(t.item.shopId,(function(e,n){return i("div",{key:n,staticClass:"class-item"},[i("div",{staticClass:"left"},[t._v(" 店铺 ")]),i("div",{staticClass:"content text-overflow"},[t._v(t._s(e.storeName))]),i("div",{staticClass:"right"},[i("i",{staticClass:"el-icon-delete",on:{click:function(e){return t.delectShop(t.item)}}})])])})),0):t._e(),t.item.hasOwnProperty("shopId")&&!t.item.shopId?i("a",{staticClass:"add-shop",attrs:{href:"javascript:;"},on:{click:function(e){return t.addShop()}}},[i("i",{staticClass:"el-icon-plus"}),t._v(" 添加店铺 ")]):t._e(),i("goods-class",{ref:"edit",attrs:{"dialog-visible":t.dialog1.isVisible,type:t.dialog1.type,deep:3},on:{close:t.close1,success:t.success1}}),i("goods-dialog",{ref:"edit",attrs:{"dialog-visible":t.dialog2.isVisible,type:t.dialog2.type,"radio-state":!0},on:{close:t.close2,success:t.success2}}),i("shop-dialog",{ref:"edit",attrs:{"dialog-visible":t.dialog3.isVisible,type:t.dialog3.type,"radio-state":!0},on:{close:t.close3,success:t.success3}})],1)},xe=[],Ie=(i("ac1f"),function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("el-dialog",{staticClass:"group-dialog",attrs:{"close-on-click-modal":!1,title:t.title,visible:t.isVisible,width:"60%"},on:{"update:visible":function(e){t.isVisible=e},open:t.open}},[i("div",{staticClass:"add-dialog-component"},[i("el-form",{ref:"form",staticClass:"form-inline",attrs:{"label-width":"80px"}},[1===t.deep?[i("el-form-item",{attrs:{label:"一级分类"}},[i("el-select",{attrs:{placeholder:"请选择"},on:{change:function(e){return t.change(t.value,1)}},model:{value:t.value,callback:function(e){t.value=e},expression:"value"}},t._l(t.categorys,(function(t){return i("el-option",{key:t.id,attrs:{label:t.categoryName,value:t.id}})})),1)],1),i("el-form-item",{attrs:{label:"二级分类"}},[i("el-select",{attrs:{placeholder:"请选择"},on:{change:function(e){return t.change(t.value1,2)}},model:{value:t.value1,callback:function(e){t.value1=e},expression:"value1"}},t._l(t.secondaryList,(function(t){return i("el-option",{key:t.id,attrs:{label:t.categoryName,value:t.id}})})),1)],1)]:t._e(),i("el-form-item",{attrs:{label:"三级分类"}},[i("el-select",{attrs:{placeholder:"请选择"},on:{change:function(e){return t.change(t.value2,3)}},model:{value:t.value2,callback:function(e){t.value2=e},expression:"value2"}},t._l(t.level3List,(function(t){return i("el-option",{key:t.id,attrs:{label:t.categoryName,value:t.id}})})),1)],1)],2),i("div",{staticClass:"add-btn-wrap",attrs:{slot:"footer"},slot:"footer"},[i("el-button",{on:{click:t.close}},[t._v("取 消")]),i("el-button",{attrs:{type:"primary"},on:{click:t.onSubmit}},[t._v("确 定")])],1)],1)])}),ke=[],je=(i("a9e3"),i("c754")),Ae={props:{exclude:{type:Array,default:function(){return[]}},deep:{type:Number,default:function(){return 1}},dialogVisible:{type:Boolean,default:!1}},data:function(){return{formParams:{pageSize:100,pageIndex:1},value:"",value1:"",value2:"",categoryList:[],secondaryList:[],level3List:[],currentObj:{}}},computed:{isVisible:{get:function(){return this.dialogVisible},set:function(){this.close(),this.reset()}},title:function(){return"选择分类"},categorys:function(){var t=this;return this.categoryList.filter((function(e){return-1===t.exclude.indexOf(e.id)}))}},methods:{getProductCategory:function(){var t=this;return Object(B["a"])(regeneratorRuntime.mark((function e(){var i,n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,je["a"].getProductCategory(t.formParams);case 2:i=e.sent,n=i.data.data&&i.data.data.productCategoryList||[],t.categoryList=n.filter((function(e){return-1===t.exclude.indexOf(e.id)&&e.categoryName}));case 5:case"end":return e.stop()}}),e)})))()},change:function(t,e){var i=this;1===e&&this.categoryList.map((function(e){e.id===t&&(i.currentObj={id:t,categoryName:e.categoryName})})),2===e&&(this.value2="",this.secondaryList.map((function(e){e.id===t&&(i.currentObj={id:t,categoryName:e.categoryName})}))),3===e&&this.level3List.filter((function(e){e.id===t&&(i.currentObj={id:t,categoryName:e.categoryName})})),3!==e&&this.queryChildCategory(t,e)},queryChildCategory:function(t,e){var i=this;return Object(B["a"])(regeneratorRuntime.mark((function n(){var a,s;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.next=2,je["a"].queryChildCategory({id:t});case 2:a=n.sent,s=a.data.data||[],1===e&&(i.secondaryList=s.filter((function(t){return-1===i.exclude.indexOf(t.id)})),i.value1="",i.value2="",i.level3List=[]),2===e&&(i.value2="",i.level3List=s.filter((function(t){return-1===i.exclude.indexOf(t.id)})));case 6:case"end":return n.stop()}}),n)})))()},findCategoryList:function(){var t=this;return Object(B["a"])(regeneratorRuntime.mark((function e(){var i,n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Q.findCategoryList(t.deep);case 2:i=e.sent,n=i.data.data||[],t.level3List=n;case 5:case"end":return e.stop()}}),e)})))()},onSubmit:function(){this.$emit("success",this.currentObj),this.close()},close:function(){this.$emit("close"),this.reset()},open:function(){1===this.deep?this.getProductCategory():this.findCategoryList()},reset:function(){this.value="",this.value1="",this.value2="",this.currentObj={},this.secondaryList=[],this.level3List=[]}}},Pe=Ae,Le=(i("cc44"),i("33e7"),Object(C["a"])(Pe,Ie,ke,!1,null,"1696f9ea",null)),Ee=Le.exports,Te=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("el-dialog",{staticClass:"goods-dialog",attrs:{"close-on-click-modal":!1,title:t.title,top:"25px",visible:t.isVisible},on:{"update:visible":function(e){t.isVisible=e},opened:t.open}},[i("div",{staticClass:"product-page"},[i("div",{staticClass:"toolbar"},[i("el-form",{attrs:{inline:!0,model:t.formParams}},[i("el-form-item",[i("el-input",{attrs:{size:"mini",placeholder:"店铺名称/商品ID/商品分组"},model:{value:t.formParams.keyword,callback:function(e){t.$set(t.formParams,"keyword",e)},expression:"formParams.keyword"}})],1),i("el-form-item",{attrs:{label:"上架状态"}},[i("el-select",{attrs:{size:"mini"},model:{value:t.formParams.status,callback:function(e){t.$set(t.formParams,"status",e)},expression:"formParams.status"}},[i("el-option",{attrs:{label:"全部",value:""}}),i("el-option",{attrs:{label:"上架",value:1}}),i("el-option",{attrs:{label:"下架",value:0}})],1)],1),i("el-form-item",{attrs:{label:"官方分类"}},[i("el-cascader",{staticClass:"category-select",attrs:{size:"mini",options:t.categoryList,clearable:"",props:{checkStrictly:!0,expandTrigger:"hover",label:"categoryName",value:"id",children:"childs"}},model:{value:t.formParams.categoryId,callback:function(e){t.$set(t.formParams,"categoryId",e)},expression:"formParams.categoryId"}})],1),i("el-form-item",[i("el-button",{attrs:{type:"primary",size:"mini"},on:{click:t.fetch}},[t._v(" 查询 ")])],1)],1)],1),i("div",{staticClass:"product-content"},[i("el-table",{ref:"multipleTable",staticStyle:{width:"100%"},attrs:{data:t.tableData.adminProductVOList,"row-key":t.getRowKeys},on:{"selection-change":t.handleSelectionChange}},[t.radioState?i("el-table-column",{attrs:{align:"center"},scopedSlots:t._u([{key:"default",fn:function(e){return[i("el-radio",{staticClass:"textRadio",attrs:{label:e.row.id,size:"medium"},nativeOn:{change:function(i){return t.getCurrentRow(e.row)}},model:{value:t.radioId,callback:function(e){t.radioId=e},expression:"radioId"}})]}}],null,!1,2371253588)}):i("el-table-column",{attrs:{"reserve-selection":!0,type:"selection",width:"55"}}),i("el-table-column",{attrs:{label:"产品主图"},scopedSlots:t._u([{key:"default",fn:function(t){return[i("img",{staticClass:"product-img",attrs:{height:"80",width:"80",src:t.row.productImg}})]}}])}),i("el-table-column",{attrs:{prop:"productName",label:"产品名称"}}),i("el-table-column",{staticClass:"text-overflow",attrs:{prop:"id",width:"200",label:"产品ID"}}),i("el-table-column",{attrs:{prop:"price",label:"售价"}}),i("el-table-column",{attrs:{prop:"applyPrice",label:"原价"}}),i("el-table-column",{attrs:{prop:"stock",label:"库存"}}),i("el-table-column",{attrs:{prop:"sellCount",label:"销量"}})],1)],1),i("pagination",{directives:[{name:"show",rawName:"v-show",value:t.tableData.total>0,expression:"tableData.total > 0"}],attrs:{limit:t.formParams.pageSize,page:t.formParams.pageIndex,total:Number(t.tableData.total)},on:{"update:limit":function(e){return t.$set(t.formParams,"pageSize",e)},"update:page":function(e){return t.$set(t.formParams,"pageIndex",e)},pagination:t.fetch}})],1),i("div",{staticClass:"add-btn-wrap",attrs:{slot:"footer"},slot:"footer"},[i("el-button",{on:{click:t.close}},[t._v("取 消")]),i("el-button",{attrs:{type:"primary"},on:{click:t.onSubmit}},[t._v("确 定")])],1)])},Ne=[],Be=(i("4160"),i("45fc"),i("159b"),i("53ca")),Ge=i("333d"),Ve={components:{Pagination:Ge["a"]},props:{exclude:{type:Array,default:function(){return[]}},dialogVisible:{type:Boolean,default:!1},radioState:{type:Boolean,default:!1}},data:function(){return{formParams:{categoryId:"",hasStock:"",keyword:"",pageSize:10,pageIndex:1,status:""},tableData:[],categoryList:[],multipleSelectionMap:[],select_orderId:[],select_order_number:0,selectOneGoods:{},radioId:null,getRowKeys:function(t){return t.id}}},computed:{isVisible:{get:function(){return this.dialogVisible},set:function(){this.close(),this.reset()}},title:function(){return"选择商品"}},watch:{exclude:function(){this.select_orderId=[],this.multipleSelection=[]}},methods:{getCurrentRow:function(t){this.radioId=t.id,this.selectOneGoods={id:t.id,productName:t.productName}},handleSelectionChange:function(t){var e=this;this.multipleSelection=t,this.select_order_number=this.multipleSelection.length,this.select_orderId=[],t&&t.forEach((function(t){if(t&&t.id){var i=e.select_orderId.some((function(e){return e.id===t.id}));i||e.select_orderId.push({productName:t.productName,id:t.id})}}))},getProductList:function(){var t=this;return Object(B["a"])(regeneratorRuntime.mark((function e(){var i,n,a,s;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return i=t.formParams.categoryId,"object"===Object(Be["a"])(i)&&(t.formParams.categoryId=i.splice(-1,1)[0]),e.next=4,Q.findAdminProductList(t.formParams);case 4:n=e.sent,a=n.data,s=a.code,0===s&&(t.tableData=a.data,t.formatData());case 8:case"end":return e.stop()}}),e)})))()},queryAllCategory:function(){var t=this;return Object(B["a"])(regeneratorRuntime.mark((function e(){var i,n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Q.queryAllCategory();case 2:i=e.sent,n=i.data,t.categoryList=n.data;case 5:case"end":return e.stop()}}),e)})))()},fetch:function(t){var e=t.limit,i=t.page;this.formParams.pageIndex=i||1,this.formParams.pageSize=e||10,this.getProductList()},editClose:function(){this.dialog.isVisible=!1},onSubmit:function(){this.radioState?this.$emit("success",[this.selectOneGoods]):this.$emit("success",this.select_orderId),this.close()},close:function(){this.$emit("close")},open:function(){this.getProductList(),this.queryAllCategory()},formatData:function(){var t=this;if(this.radioState)this.tableData.adminProductVOList.map((function(e){t.radioId===e.id&&(t.selectOneGoods={id:e.id,productName:e.productName})}));else{var e=this.exclude.map((function(t){return t.id}));this.tableData.adminProductVOList.map((function(i){e.indexOf(i.id)>0?t.$refs.multipleTable&&t.$refs.multipleTable.toggleRowSelection(i,!0):t.$refs.multipleTable&&t.$refs.multipleTable.toggleRowSelection(i,!1)}))}},reset:function(){this.radioId=null,this.formParams={categoryId:"",hasStock:"",keyword:"",pageSize:10,pageIndex:1,status:""}}}},Ke=Ve,De=(i("db70"),i("249b"),Object(C["a"])(Ke,Te,Ne,!1,null,"100665d7",null)),Qe=De.exports,ze=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("el-dialog",{staticClass:"goods-dialog",attrs:{"close-on-click-modal":!1,title:t.title,top:"25px",visible:t.isVisible},on:{"update:visible":function(e){t.isVisible=e},opened:t.open}},[i("div",{staticClass:"product-page"},[i("div",{staticClass:"toolbar"},[i("el-form",{attrs:{inline:!0,model:t.formParams}},[i("el-form-item",[i("el-input",{attrs:{size:"mini",placeholder:"店铺名称"},model:{value:t.formParams.storeName,callback:function(e){t.$set(t.formParams,"storeName",e)},expression:"formParams.storeName"}})],1),i("el-form-item",[i("el-button",{attrs:{type:"primary",size:"mini"},on:{click:t.fetch}},[t._v(" 查询 ")])],1)],1)],1),i("div",{staticClass:"product-content"},[i("el-table",{ref:"multipleTable",staticStyle:{width:"100%"},attrs:{data:t.tableData.records}},[i("el-table-column",{attrs:{width:"55",align:"center"},scopedSlots:t._u([{key:"default",fn:function(e){return[i("el-radio",{staticClass:"textRadio",attrs:{label:e.row.id,size:"medium"},nativeOn:{change:function(i){return t.getCurrentRow(e.row)}},model:{value:t.radioId,callback:function(e){t.radioId=e},expression:"radioId"}})]}}])}),i("el-table-column",{attrs:{prop:"storeName",label:"店铺名称"}}),i("el-table-column",{attrs:{prop:"mobile",label:"手机号"}})],1)],1),i("pagination",{directives:[{name:"show",rawName:"v-show",value:t.tableData.total>0,expression:"tableData.total > 0"}],attrs:{limit:t.formParams.size,page:t.formParams.current,total:Number(t.tableData.total)},on:{"update:limit":function(e){return t.$set(t.formParams,"size",e)},"update:page":function(e){return t.$set(t.formParams,"current",e)},pagination:t.fetch}})],1),i("div",{staticClass:"add-btn-wrap",attrs:{slot:"footer"},slot:"footer"},[i("el-button",{on:{click:t.close}},[t._v("取 消")]),i("el-button",{attrs:{type:"primary"},on:{click:t.onSubmit}},[t._v("确 定")])],1)])},Fe=[],Me=i("161d"),Re={components:{Pagination:Ge["a"]},props:{exclude:{type:Array,default:function(){return[]}},dialogVisible:{type:Boolean,default:!1}},data:function(){return{tableData:{},formParams:{current:1,map:{},model:{id:0,isAutoSendRefundAddress:0,logo:"",mobile:"",refundAddress:"",refundContact:"",refundTel:"",remark:"",shipAddress:"",storeName:""},order:"descending",size:10,sort:"id"},radioId:null}},computed:{isVisible:{get:function(){return this.dialogVisible},set:function(){this.close(),this.reset()}},title:function(){return"选择商品"}},methods:{getCurrentRow:function(t){this.radioId=t.id,this.selectOneShop={id:t.id,storeName:t.storeName}},getStorePage:function(){var t=this;return Object(B["a"])(regeneratorRuntime.mark((function e(){var i,n,a;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Me["a"].getStorePage(t.formParams);case 2:i=e.sent,n=i.data,a=n.code,0===a&&(t.tableData=n.data);case 6:case"end":return e.stop()}}),e)})))()},fetch:function(t){var e=t.limit,i=t.page;this.formParams.current=i||1,this.formParams.size=e||10,this.getStorePage()},editClose:function(){this.dialog.isVisible=!1},onSubmit:function(){this.$emit("success",[this.selectOneShop]),this.close()},close:function(){this.$emit("close")},open:function(){this.getStorePage()},reset:function(){this.radioId=null,this.formParams={current:1,map:{},model:{id:0,isAutoSendRefundAddress:0,logo:"",mobile:"",refundAddress:"",refundContact:"",refundTel:"",remark:"",shipAddress:"",storeName:""},order:"descending",size:10,sort:"id"}}}},Ue=Re,qe=(i("6b83"),i("2bcc"),Object(C["a"])(Ue,ze,Fe,!1,null,"5c28a86b",null)),Je=qe.exports,Ze={components:{GoodsClass:Ee,GoodsDialog:Qe,ShopDialog:Je},props:{item:{type:Object,default:function(){return{}}}},data:function(){return{dialog1:{type:"add",isVisible:!1},dialog2:{type:"add",isVisible:!1},dialog3:{type:"add",isVisible:!1}}},computed:Object(o["a"])(Object(o["a"])({},Object(r["c"])("creationCamp",["templatePage"])),{},{currentSub:function(){return this.currentComponentConfig}}),methods:{addGoodsClass:function(){this.dialog1.isVisible=!0},addGoods:function(){this.dialog2.isVisible=!0},addShop:function(){this.dialog3.isVisible=!0},success1:function(t){this.item.category3Id=[t]},close1:function(){this.dialog1.isVisible=!1},success2:function(t){this.item.detailId=t},close2:function(){this.dialog2.isVisible=!1},success3:function(t){this.item.shopId=t},close3:function(){this.dialog3.isVisible=!1},selectHref:function(t){var e=t.href,i=/{(.*?)}/g,n=i.exec(e);delete t.detailId,delete t.category3Id,delete t.shopId,n&&this.$set(t,n[1],""),e.indexOf("/")>-1?t.isCustom=!1:t.isCustom=!0},delectGoods:function(t){t.detailId=""},delectCategory:function(t){t.category3Id=""},delectShop:function(t){t.shopId=""}}},He=Ze,Ye=(i("7acf"),Object(C["a"])(He,_e,xe,!1,null,"aa97f2f4",null)),We=Ye.exports,Xe={components:{ImageUpload:we,Jump:We},data:function(){return{fillStyleLit:[{value:1,label:"留边"},{value:2,label:"填充"}],intervalList:[{value:2e3,label:"2秒"},{value:5e3,label:"5秒"},{value:7e3,label:"7秒"}]}},computed:Object(o["a"])(Object(o["a"])({},Object(r["c"])("creationCamp",["templatePage","currentComponentKeyCode","currentComponentConfig"])),{},{currentSub:function(){return this.currentComponentConfig}}),watch:{currentSub:{handler:function(){this.setComponentConfig({keyCode:this.currentComponentKeyCode,content:this.currentSub})},deep:!0}},methods:Object(o["a"])(Object(o["a"])({},Object(r["b"])("creationCamp",["setComponentConfig"])),{},{collapseToggle:function(t){t.collapseState=!t.collapseState},success:function(t,e,i){var n=t.data.url;i[0].src=n},delectItem:function(t,e){t.splice(e,1)},addCarousel:function(){this.currentSub.list.length>=20||(this.currentSub.list=this.currentSub.list.map((function(t){return t.collapseState=!1,t})),this.currentSub.list.push({href:"",src:"",collapseState:!0}),console.log(this.currentSub.list))}})},$e=Xe,ti=(i("b593"),Object(C["a"])($e,ge,Ce,!1,null,"15a14ee4",null)),ei=ti.exports,ii=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"video-config"},[i("div",{staticClass:"config-header"},[t._v("设置")]),i("widgetFormitem",[t._v(" 展示视频名称 "),i("el-switch",{attrs:{slot:"right"},on:{change:function(e){return t.change("show",e)}},slot:"right",model:{value:t.currentSub.show,callback:function(e){t.$set(t.currentSub,"show",e)},expression:"currentSub.show"}})],1),i("div",{staticClass:"confit-item"},[i("div",{staticClass:"config-title"},[t._v(" 视频名称 ")]),i("div",{staticClass:"config-setting"},[i("Input",{staticClass:"full-input",on:{input:function(e){return t.change("title",e)}},model:{value:t.currentSub.title,callback:function(e){t.$set(t.currentSub,"title",e)},expression:"currentSub.title"}})],1)]),i("div",{staticClass:"confit-item"},[i("div",{staticClass:"config-title"},[t._v(" 视频链接 ")]),i("div",{staticClass:"config-setting"},[i("Input",{staticClass:"full-input",on:{input:function(e){return t.change("link",e)}},model:{value:t.currentSub.link,callback:function(e){t.$set(t.currentSub,"link",e)},expression:"currentSub.link"}})],1)])],1)},ni=[],ai=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("el-row",{staticClass:"widget-formitem"},[i("el-col",{staticClass:"content-wrapper",attrs:{span:18}},[t._t("default")],2),i("el-col",{staticClass:"control-wrapper",attrs:{span:6}},[t._t("right")],2)],1)},si=[],ci=(i("0524"),{}),oi=Object(C["a"])(ci,ai,si,!1,null,"103cde27",null),ri=oi.exports,li={components:{widgetFormitem:ri,Input:d["Input"]},computed:Object(o["a"])(Object(o["a"])({},Object(r["c"])("creationCamp",["currentComponentKeyCode","currentComponentConfig"])),{},{currentSub:function(){return this.currentComponentConfig}}),methods:Object(o["a"])(Object(o["a"])({},Object(r["b"])("creationCamp",["setComponentConfig"])),{},{change:function(t,e){var i={};i[t]=e,this.setComponentConfig({keyCode:this.currentComponentKeyCode,content:i})}})},ui=li,di=Object(C["a"])(ui,ii,ni,!1,null,"eb53fc86",null),mi=di.exports,fi=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"single-item-config"},[i("div",{staticClass:"config-header"},[t._v("设置")]),i("widgetFormitem",[t._v(" 卖点 "),i("el-switch",{attrs:{slot:"right"},on:{change:function(e){return t.change("sellingPoint",e)}},slot:"right",model:{value:t.currentSub.sellingPoint,callback:function(e){t.$set(t.currentSub,"sellingPoint",e)},expression:"currentSub.sellingPoint"}})],1),i("widgetFormitem",[t._v(" 原价 "),i("el-switch",{attrs:{slot:"right"},on:{change:function(e){return t.change("originalPrice",e)}},slot:"right",model:{value:t.currentSub.originalPrice,callback:function(e){t.$set(t.currentSub,"originalPrice",e)},expression:"currentSub.originalPrice"}})],1),i("widgetFormitem",[t._v(" 售价 "),i("el-switch",{attrs:{slot:"right"},on:{change:function(e){return t.change("sellingPrice",e)}},slot:"right",model:{value:t.currentSub.sellingPrice,callback:function(e){t.$set(t.currentSub,"sellingPrice",e)},expression:"currentSub.sellingPrice"}})],1),i("widgetFormitem",[t._v(" 按钮 "),i("el-switch",{attrs:{slot:"right"},on:{change:function(e){return t.change("button",e)}},slot:"right",model:{value:t.currentSub.button,callback:function(e){t.$set(t.currentSub,"button",e)},expression:"currentSub.button"}})],1),i("div",{staticClass:"config-header"},[t._v("内容")]),i("div",{staticClass:"config-item"},[i("div",{staticClass:"config-setting"},[i("div",{staticClass:"collapse-list"},[t.currentSub.goodsList.length?i("div",{staticClass:"collapse-item"},[i("div",{staticClass:"collapse-item-header"},[i("div",{staticClass:"title"},[t._v("商品来源")]),i("div",{staticClass:"right"},[i("i",{staticClass:"el-icon-delete",on:{click:function(e){return t.delectItem(t.currentSub.goodsList,0)}}})])]),i("div",{staticClass:"collapse-item-content"},t._l(t.currentSub.goodsList,(function(e,n){return i("div",{key:n,staticClass:"class-item"},[i("div",{staticClass:"left"},[t._v(" 商品 ")]),i("div",{staticClass:"content text-overflow"},[t._v(" "+t._s(e.productName)+" ")])])})),0)]):t._e()])])]),t.currentSub.goodsList.length?t._e():i("a",{staticClass:"add-widget",attrs:{href:"javascript:;"},on:{click:t.addGoods}},[i("i",{staticClass:"el-icon-plus"}),t._v(" 添加商品 ")]),i("goods-dialog",{ref:"edit",attrs:{"dialog-visible":t.dialog2.isVisible,type:t.dialog2.type,"radio-state":!0},on:{close:t.close2,success:t.success2}})],1)},pi=[],gi={components:{widgetFormitem:ri,GoodsDialog:Qe},data:function(){return{value1:!0,dialog2:{type:"add",isVisible:!1}}},computed:Object(o["a"])(Object(o["a"])({},Object(r["c"])("creationCamp",["currentComponentKeyCode","currentComponentConfig"])),{},{currentSub:function(){return this.currentComponentConfig}}),methods:Object(o["a"])(Object(o["a"])({},Object(r["b"])("creationCamp",["setComponentConfig"])),{},{change:function(t,e){var i={};i[t]=e,this.setComponentConfig({keyCode:this.currentComponentKeyCode,content:i})},addGoods:function(){this.dialog2.isVisible=!0},success2:function(t){this.currentSub.goodsList=t},close2:function(){this.dialog2.isVisible=!1},delectItem:function(t,e){t.splice(e,1)}})},Ci=gi,vi=(i("e212"),Object(C["a"])(Ci,fi,pi,!1,null,"8f4578ea",null)),hi=vi.exports,bi=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"carousel-config"},[i("div",{staticClass:"config-header"},[t._v("设置")]),i("widgetFormitem",[t._v(" 卖点 "),i("el-switch",{attrs:{slot:"right"},slot:"right",model:{value:t.currentSub.sellingPoint,callback:function(e){t.$set(t.currentSub,"sellingPoint",e)},expression:"currentSub.sellingPoint"}})],1),i("widgetFormitem",[t._v(" 原价 "),i("el-switch",{attrs:{slot:"right"},slot:"right",model:{value:t.currentSub.originalPrice,callback:function(e){t.$set(t.currentSub,"originalPrice",e)},expression:"currentSub.originalPrice"}})],1),i("widgetFormitem",[t._v(" 售价 "),i("el-switch",{attrs:{slot:"right"},slot:"right",model:{value:t.currentSub.sellingPrice,callback:function(e){t.$set(t.currentSub,"sellingPrice",e)},expression:"currentSub.sellingPrice"}})],1),i("widgetFormitem",[t._v(" 购买人数 "),i("el-switch",{attrs:{slot:"right"},slot:"right",model:{value:t.currentSub.paymentNumber,callback:function(e){t.$set(t.currentSub,"paymentNumber",e)},expression:"currentSub.paymentNumber"}})],1),i("div",{staticClass:"config-header"},[t._v("内容")]),i("div",{staticClass:"config-item"},[i("div",{staticClass:"config-setting"},[i("div",{staticClass:"collapse-list"},t._l(t.currentSub.list,(function(e,n){return i("div",{key:n,staticClass:"collapse-item"},[i("div",{staticClass:"collapse-item-header"},[i("div",{staticClass:"title"},[t._v("商品来源")]),i("div",{staticClass:"right"},[i("i",{staticClass:"el-icon-delete",on:{click:function(e){return t.delectItem(t.currentSub.list,n)}}})])]),i("div",{staticClass:"collapse-item-content"},[i("div",{staticClass:"config-title"},[t._v("标签名称")]),i("el-input",{staticClass:"full-input",attrs:{placeholder:"请选择"},model:{value:e.name,callback:function(i){t.$set(e,"name",i)},expression:"item.name"}}),t._l(e.categoryList,(function(n,a){return i("div",{key:a,staticClass:"class-item"},[i("div",{staticClass:"left"},[t._v(" 类别 ")]),i("div",{staticClass:"content text-overflow"},[t._v(" "+t._s(n.categoryName)+" ")]),i("div",{staticClass:"right"},[i("i",{staticClass:"el-icon-delete",on:{click:function(i){return t.delectItem(e.categoryList,a)}}})])])})),t._l(e&&e.goodsList,(function(a,s){return i("div",{key:n+"-"+s,staticClass:"class-item"},[i("div",{staticClass:"left"},[t._v(" 商品 ")]),i("div",{staticClass:"content text-overflow"},[t._v(" "+t._s(a.productName)+" ")]),i("div",{staticClass:"right"},[i("i",{staticClass:"el-icon-delete",on:{click:function(i){return t.delectItem(e.goodsList,s)}}})])])})),i("a",{staticClass:"add-shop",attrs:{href:"javascript:;"},on:{click:function(e){return t.addGoodsClass(n)}}},[i("i",{staticClass:"el-icon-plus"}),t._v(" 添加类别 ")]),i("a",{staticClass:"add-shop",attrs:{href:"javascript:;"},on:{click:function(e){return t.addGoods(n)}}},[i("i",{staticClass:"el-icon-plus"}),t._v(" 添加商品 ")])],2)])})),0)])]),i("a",{staticClass:"add-widget",attrs:{href:"javascript:;"},on:{click:t.addCarousel}},[i("i",{staticClass:"el-icon-plus"}),t._v(" 添加标签 ")]),i("goods-class",{ref:"edit",attrs:{"dialog-visible":t.dialog1.isVisible,type:t.dialog1.type,exclude:t.exclude1},on:{close:t.close1,success:t.success1}}),i("goods-dialog",{ref:"edit",attrs:{"dialog-visible":t.dialog2.isVisible,type:t.dialog2.type,exclude:t.exclude2},on:{close:t.close2,success:t.success2}})],1)},yi=[],Si={components:{widgetFormitem:ri,GoodsClass:Ee,GoodsDialog:Qe},data:function(){return{arrangementList:[{value:1,label:"网格"},{value:2,label:"列表"}],carouselList:[],value:"",Slidervalue1:100,headers:{Authorization:""},dataObj:{folderId:1},dialog1:{type:"add",isVisible:!1},dialog2:{type:"add",isVisible:!1},addClassIndex:null,addGoodsIndex:null,exclude2:[]}},computed:Object(o["a"])(Object(o["a"])({},Object(r["c"])("creationCamp",["currentComponentKeyCode","currentComponentConfig"])),{},{currentSub:function(){return this.currentComponentConfig},exclude1:function(){var t=[];return this.currentSub.list.map((function(e){e.categoryList.map((function(e){t.push(e.id)}))})),t}}),watch:{currentSub:{handler:function(){this.setComponentConfig({keyCode:this.currentComponentKeyCode,content:this.currentSub})},deep:!0}},created:function(){this.headers.token="Bearer "+be["a"].get("TOKEN",""),this.headers.tenant="MDAwMA=="},methods:Object(o["a"])(Object(o["a"])({},Object(r["b"])("creationCamp",["setComponentConfig"])),{},{addGoodsClass:function(t){this.addClassIndex=t,this.dialog1.isVisible=!0},addGoods:function(t){this.addGoodsIndex=t,this.dialog2.isVisible=!0;var e=[];this.currentSub.list[this.addGoodsIndex].goodsList.map((function(t){e.push({productName:t.productName,id:t.id})})),this.exclude2=e},delectItem:function(t,e){t.splice(e,1)},success1:function(t){this.currentSub.list[this.addClassIndex].categoryList.push(t)},close1:function(){this.dialog1.isVisible=!1},success2:function(t){console.log(t),this.currentSub.list[this.addGoodsIndex].goodsList=t},close2:function(){this.dialog2.isVisible=!1},addCarousel:function(){this.currentSub.list.length>=20||(this.currentSub.list=this.currentSub.list.map((function(t){return t.collapseState=!1,t})),this.currentSub.list.push({name:"",categoryList:[],goodsList:[]}))}})},Oi=Si,wi=(i("e190"),Object(C["a"])(Oi,bi,yi,!1,null,"025b2b60",null)),_i=wi.exports,xi=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"carousel-config"},[i("div",{staticClass:"config-header"},[t._v("设置")]),i("widgetFormitem",[t._v(" 分组名称是否展示 "),i("el-switch",{attrs:{slot:"right"},slot:"right",model:{value:t.currentSub.show,callback:function(e){t.$set(t.currentSub,"show",e)},expression:"currentSub.show"}})],1),i("div",{staticClass:"confit-item"},[i("div",{staticClass:"config-title"},[t._v(" 分组名称 ")]),i("div",{staticClass:"config-setting"},[i("el-input",{staticClass:"full-input",attrs:{placeholder:"分组名称"},model:{value:t.currentSub.groupName,callback:function(e){t.$set(t.currentSub,"groupName",e)},expression:"currentSub.groupName"}})],1)]),i("div",{staticClass:"confit-item"},[i("div",{staticClass:"config-title"},[t._v(" 排列方式 ")]),i("div",{staticClass:"config-setting"},[i("el-select",{staticClass:"full-input",attrs:{placeholder:"请选择"},model:{value:t.currentSub.arrangement,callback:function(e){t.$set(t.currentSub,"arrangement",e)},expression:"currentSub.arrangement"}},t._l(t.arrangementList,(function(t){return i("el-option",{key:t.value,attrs:{label:t.label,value:t.value}})})),1)],1)]),i("div",{staticClass:"confit-item"},[i("div",{staticClass:"config-title"},[i("div",{staticClass:"left"},[t._v("展示数量")]),i("span",[t._v(t._s(t.currentSub.quantity))])]),i("div",{staticClass:"config-setting"},[i("el-slider",{attrs:{max:20,"input-size":"mini"},model:{value:t.currentSub.quantity,callback:function(e){t.$set(t.currentSub,"quantity",e)},expression:"currentSub.quantity"}})],1)]),i("widgetFormitem",[t._v(" 卖点 "),i("el-switch",{attrs:{slot:"right"},slot:"right",model:{value:t.currentSub.sellingPoint,callback:function(e){t.$set(t.currentSub,"sellingPoint",e)},expression:"currentSub.sellingPoint"}})],1),i("widgetFormitem",[t._v(" 原价 "),i("el-switch",{attrs:{slot:"right"},slot:"right",model:{value:t.currentSub.originalPrice,callback:function(e){t.$set(t.currentSub,"originalPrice",e)},expression:"currentSub.originalPrice"}})],1),i("widgetFormitem",[t._v(" 售价 "),i("el-switch",{attrs:{slot:"right"},slot:"right",model:{value:t.currentSub.sellingPrice,callback:function(e){t.$set(t.currentSub,"sellingPrice",e)},expression:"currentSub.sellingPrice"}})],1),i("widgetFormitem",[t._v(" 按钮 "),i("el-switch",{attrs:{slot:"right"},slot:"right",model:{value:t.currentSub.button,callback:function(e){t.$set(t.currentSub,"button",e)},expression:"currentSub.button"}})],1),i("div",{staticClass:"config-header"},[t._v("内容")]),i("div",{staticClass:"config-item"},[i("div",{staticClass:"config-setting"},[i("div",{staticClass:"collapse-list"},[t.currentSub.categoryList.length?i("div",{staticClass:"collapse-item"},[i("div",{staticClass:"collapse-item-header"},[i("div",{staticClass:"title"},[t._v("商品来源")]),i("div",{staticClass:"right"},[i("i",{staticClass:"el-icon-delete",on:{click:function(e){return t.delectItem(t.currentSub.categoryList,0)}}})])]),i("div",{staticClass:"collapse-item-content"},t._l(t.currentSub.categoryList,(function(e,n){return i("div",{key:n,staticClass:"class-item"},[i("div",{staticClass:"left"},[t._v(" 类别 ")]),i("div",{staticClass:"content text-overflow"},[t._v(" "+t._s(e.categoryName)+" ")])])})),0)]):t._e()])])]),t.currentSub.categoryList.length?t._e():i("a",{staticClass:"add-widget",attrs:{href:"javascript:;"},on:{click:t.addGategory}},[i("i",{staticClass:"el-icon-plus"}),t._v(" 添加类别 ")]),i("goods-class",{ref:"edit",attrs:{"dialog-visible":t.dialog1.isVisible,type:t.dialog1.type},on:{close:t.close1,success:t.success1}})],1)},Ii=[],ki={components:{widgetFormitem:ri,GoodsClass:Ee},data:function(){return{arrangementList:[{value:1,label:"网格"},{value:2,label:"列表"}],carouselList:[],value:"",Slidervalue1:100,dialog1:{type:"add",isVisible:!1}}},computed:Object(o["a"])(Object(o["a"])({},Object(r["c"])("creationCamp",["currentComponentKeyCode","currentComponentConfig"])),{},{currentSub:function(){return this.currentComponentConfig}}),watch:{currentSub:{handler:function(){this.setComponentConfig({keyCode:this.currentComponentKeyCode,content:this.currentSub})},deep:!0}},methods:Object(o["a"])(Object(o["a"])({},Object(r["b"])("creationCamp",["setComponentConfig"])),{},{addGategory:function(){this.dialog1.isVisible=!0},success1:function(t){this.currentSub.categoryList=[t]},close1:function(){this.dialog1.isVisible=!1},delectItem:function(t,e){t.splice(e,1)}})},ji=ki,Ai=(i("4ffc"),Object(C["a"])(ji,xi,Ii,!1,null,"5a3002b8",null)),Pi=Ai.exports,Li=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"editor-config"},[i("div",{staticClass:"config-header"},[t._v("内容")]),i("div",{staticClass:"confit-item"},[i("div",{staticClass:"config-title"},[t._v(" 富文本内容 ")]),i("div",{staticClass:"config-setting"},[i("quillEditor",{attrs:{options:t.options},on:{change:function(e){return t.onEditorChange(e)}},model:{value:t.currentSub.html,callback:function(e){t.$set(t.currentSub,"html",e)},expression:"currentSub.html"}})],1),i("div",{staticClass:"editor-tips"},[t._v(t._s(t.tiLength)+"/"+t._s(t.max))])])])},Ei=[],Ti=i("953d"),Ni={components:{quillEditor:Ti["quillEditor"]},data:function(){return{tiLength:0,max:1e3,options:{placeholder:"请输入内容",modules:{toolbar:[[{size:["small",!1,"large"]}],["bold","italic"],[{header:1},{header:2}],[{list:"ordered"},{list:"bullet"}],["link"],[{color:[]},{background:[]}],[{align:[]}]],history:{delay:1e3,maxStack:50,userOnly:!1}}}}},computed:Object(o["a"])(Object(o["a"])({},Object(r["c"])("creationCamp",["currentComponentKeyCode","currentComponentConfig"])),{},{currentSub:function(){return this.currentComponentConfig}}),watch:{currentSub:{handler:function(){this.setComponentConfig({keyCode:this.currentComponentKeyCode,content:this.currentSub})},deep:!0}},methods:Object(o["a"])(Object(o["a"])({},Object(r["b"])("creationCamp",["setComponentConfig"])),{},{onEditorChange:function(t){var e=t.quill;t.html,t.text;e.deleteText(this.max,1,0),""===this.content?this.tiLength=0:this.tiLength=e.getLength()-1}})},Bi=Ni,Gi=(i("dba9"),Object(C["a"])(Bi,Li,Ei,!1,null,"ab29626a",null)),Vi=Gi.exports,Ki=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"carousel-config"},[i("div",{staticClass:"config-header"},[t._v("设置")]),i("div",{staticClass:"confit-item"},[i("div",{staticClass:"config-title"},[t._v(" 一行显示 ")]),i("div",{staticClass:"config-setting"},[i("Select",{staticClass:"full-input",attrs:{placeholder:"请选择"},model:{value:t.currentSub.number,callback:function(e){t.$set(t.currentSub,"number",e)},expression:"currentSub.number"}},t._l(t.numberList,(function(t){return i("Option",{key:t.value,attrs:{label:t.label,value:t.value}})})),1)],1)]),i("div",{staticClass:"config-header"},[t._v("内容")]),i("div",{staticClass:"config-item"},[i("div",{staticClass:"config-setting"},[i("div",{staticClass:"collapse-list"},t._l(t.currentSub.list,(function(e,n){return i("div",{key:n,staticClass:"collapse-item"},[i("div",{staticClass:"collapse-item-header",on:{click:function(i){return t.collapseToggle(e)}}},[i("i",{staticClass:"header-icon el-icon-rank"}),i("div",{staticClass:"header-thumbnail"},[e.src?i("img",{attrs:{src:e.src}}):i("div",{staticClass:"el-icon-picture-outline"})]),i("div",{staticClass:"header-name"},[t._v("图片")]),i("div",{staticClass:"header-arrow"},[i("i",{staticClass:"el-icon-delete",on:{click:function(e){return t.delectItem(t.currentSub.list,n)}}})]),i("div",{staticClass:"header-arrow"},[i("i",{staticClass:"el-icon-arrow-down",class:e.collapseState?"open":""})])]),e.collapseState?i("div",{staticClass:"collapse-item-content"},[i("div",{staticClass:"config-title"},[t._v("选择图片")]),i("ImageUpload",{key:n+"-1",attrs:{item:[e],src:e.src},on:{success:t.success}}),i("div",{staticClass:"confit-item"},[i("div",{staticClass:"config-title"},[t._v(" 名称 ")]),i("div",{staticClass:"config-setting"},[i("Input",{staticClass:"full-input",model:{value:e.name,callback:function(i){t.$set(e,"name",i)},expression:"item.name"}})],1)]),i("Jump",{attrs:{item:e}})],1):t._e()])})),0)])]),i("a",{staticClass:"add-widget",attrs:{href:"javascript:;"},on:{click:t.addCarousel}},[i("i",{staticClass:"el-icon-plus"}),t._v(" 添加图片 ")])])},Di=[],Qi={components:{Select:d["Select"],Option:d["Option"],ImageUpload:we,Input:d["Input"],Jump:We},data:function(){return{numberList:[{value:3,label:"三个"},{value:4,label:"四个"},{value:5,label:"五个"}]}},computed:Object(o["a"])(Object(o["a"])({},Object(r["c"])("creationCamp",["diyComponents","templatePage","currentComponentKeyCode","currentComponentConfig"])),{},{currentSub:function(){return this.currentComponentConfig}}),watch:{currentSub:{handler:function(){this.setComponentConfig({keyCode:this.currentComponentKeyCode,content:this.currentSub})},deep:!0}},methods:Object(o["a"])(Object(o["a"])({},Object(r["b"])("creationCamp",["setComponentConfig"])),{},{collapseToggle:function(t){t.collapseState=!t.collapseState},success:function(t,e,i){var n=t.data.url;i[0].src=n},delectItem:function(t,e){t.splice(e,1)},addCarousel:function(){this.currentSub.list.length>=20||(this.currentSub.list=this.currentSub.list.map((function(t){return t.collapseState=!1,t})),this.currentSub.list.push({href:"",src:"",name:"",collapseState:!0}))}})},zi=Qi,Fi=(i("c1b6"),Object(C["a"])(zi,Ki,Di,!1,null,"6c8c6008",null)),Mi=Fi.exports,Ri=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"image-config"},[i("div",{staticClass:"config-header"},[t._v("设置")]),i("div",{staticClass:"confit-item"},[i("div",{staticClass:"config-title"},[t._v(" 一行显示 ")]),i("div",{staticClass:"config-setting"},[i("Select",{staticClass:"full-input",attrs:{placeholder:"请选择"},model:{value:t.currentSub.number,callback:function(e){t.$set(t.currentSub,"number",e)},expression:"currentSub.number"}},t._l(t.numberList,(function(t){return i("Option",{key:t.value,attrs:{label:t.label,value:t.value}})})),1)],1)]),i("div",{staticClass:"confit-item"},[i("div",{staticClass:"config-title"},[t._v(" 样式 ")]),i("div",{staticClass:"config-setting"},[i("div",{staticClass:"config-setting"},[i("Select",{staticClass:"full-input",attrs:{placeholder:"请选择"},on:{change:function(e){return t.change("fillStyle",e)}},model:{value:t.currentSub.fillStyle,callback:function(e){t.$set(t.currentSub,"fillStyle",e)},expression:"currentSub.fillStyle"}},t._l(t.fillStyleLit,(function(t){return i("Option",{key:t.value,attrs:{label:t.label,value:t.value}})})),1)],1)])]),i("div",{staticClass:"config-header"},[t._v("内容")]),i("div",{staticClass:"config-item"},[i("div",{staticClass:"config-setting"},[i("div",{staticClass:"collapse-list"},t._l(t.currentSub.list,(function(e,n){return i("div",{key:n,staticClass:"collapse-item"},[i("div",{staticClass:"collapse-item-header",on:{click:function(i){return t.collapseToggle(e)}}},[i("i",{staticClass:"header-icon el-icon-rank"}),i("div",{staticClass:"header-thumbnail"},[e.src?i("img",{attrs:{src:e.src}}):i("div",{staticClass:"el-icon-picture-outline"})]),i("div",{staticClass:"header-name"},[t._v("图片")]),i("div",{staticClass:"header-arrow"},[i("i",{staticClass:"el-icon-delete",on:{click:function(e){return t.delectItem(t.currentSub.list,n)}}})]),i("div",{staticClass:"header-arrow"},[i("i",{staticClass:"el-icon-arrow-down",class:e.collapseState?"open":""})])]),e.collapseState?i("div",{staticClass:"collapse-item-content"},[i("div",{staticClass:"config-title"},[t._v("选择图片")]),i("ImageUpload",{key:n+"-1",attrs:{item:[e],src:e.src},on:{success:t.success}}),i("Jump",{attrs:{item:e}}),i("div")],1):t._e()])})),0)])]),i("a",{staticClass:"add-widget",attrs:{href:"javascript:;"},on:{click:t.addImage}},[i("i",{staticClass:"el-icon-plus"}),t._v(" 添加图片 ")])])},Ui=[],qi={components:{Select:d["Select"],Option:d["Option"],Jump:We},data:function(){return{fillStyleLit:[{value:1,label:"留边"},{value:2,label:"填充"}],numberList:[{value:1,label:"一个"},{value:2,label:"二个"},{value:3,label:"三个"}]}},computed:Object(o["a"])(Object(o["a"])({},Object(r["c"])("creationCamp",["templatePage","currentComponentKeyCode","currentComponentConfig"])),{},{currentSub:function(){return this.currentComponentConfig}}),watch:{currentSub:{handler:function(){this.setComponentConfig({keyCode:this.currentComponentKeyCode,content:this.currentSub})},deep:!0}},methods:Object(o["a"])(Object(o["a"])({},Object(r["b"])("creationCamp",["setComponentConfig"])),{},{collapseToggle:function(t){t.collapseState=!t.collapseState},success:function(t,e,i){var n=t.data.url;i[0].src=n},delectItem:function(t,e){t.splice(e,1)},addImage:function(){this.currentSub.list.length>=20||(this.currentSub.list=this.currentSub.list.map((function(t){return t.collapseState=!1,t})),this.currentSub.list.push({href:"",src:"",name:"",collapseState:!0}))}})},Ji=qi,Zi=(i("a658"),Object(C["a"])(Ji,Ri,Ui,!1,null,"00f3f3a9",null)),Hi=Zi.exports,Yi=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"carousel-config"},[i("div",{staticClass:"config-header"},[t._v("设置")]),i("widgetFormitem",[t._v(" 分组名称是否展示 "),i("el-switch",{attrs:{slot:"right"},slot:"right",model:{value:t.currentSub.show,callback:function(e){t.$set(t.currentSub,"show",e)},expression:"currentSub.show"}})],1),i("div",{staticClass:"confit-item"},[i("div",{staticClass:"config-title"},[t._v(" 分组名称 ")]),i("div",{staticClass:"config-setting"},[i("el-input",{staticClass:"full-input",attrs:{placeholder:"分组名称"},model:{value:t.currentSub.groupName,callback:function(e){t.$set(t.currentSub,"groupName",e)},expression:"currentSub.groupName"}})],1)]),i("div",{staticClass:"confit-item"},[i("div",{staticClass:"config-title"},[t._v(" 排列方式 ")]),i("div",{staticClass:"config-setting"},[i("el-select",{staticClass:"full-input",attrs:{placeholder:"请选择"},model:{value:t.currentSub.arrangement,callback:function(e){t.$set(t.currentSub,"arrangement",e)},expression:"currentSub.arrangement"}},t._l(t.arrangementList,(function(t){return i("el-option",{key:t.value,attrs:{label:t.label,value:t.value}})})),1)],1)]),i("div",{staticClass:"confit-item"},[i("div",{staticClass:"config-title"},[i("div",{staticClass:"left"},[t._v("展示数量")]),i("span",[t._v(t._s(t.currentSub.quantity))])]),i("div",{staticClass:"config-setting"},[i("el-slider",{attrs:{max:20,"input-size":"mini"},model:{value:t.currentSub.quantity,callback:function(e){t.$set(t.currentSub,"quantity",e)},expression:"currentSub.quantity"}})],1)]),i("div",{staticClass:"config-header"},[t._v("内容")]),i("div",{staticClass:"config-item"},[i("div",{staticClass:"config-setting"},[i("div",{staticClass:"collapse-list"},t._l(t.currentSub.list,(function(e,n){return i("div",{key:n,staticClass:"collapse-item"},[i("div",{staticClass:"collapse-item-header",on:{click:function(i){return t.collapseToggle(e)}}},[i("i",{staticClass:"header-icon el-icon-rank"}),i("div",{staticClass:"header-thumbnail"},[e.src?i("img",{attrs:{src:e.src}}):i("div",{staticClass:"el-icon-picture-outline"})]),i("div",{staticClass:"header-name"},[t._v("图片")]),i("div",{staticClass:"header-arrow"},[i("i",{staticClass:"el-icon-delete",on:{click:function(e){return t.delectItem(t.currentSub.list,n)}}})]),i("div",{staticClass:"header-arrow"},[i("i",{staticClass:"el-icon-arrow-down",class:e.collapseState?"open":""})])]),e.collapseState?i("div",{staticClass:"collapse-item-content"},[i("div",{staticClass:"config-title"},[t._v("选择图片")]),i("ImageUpload",{key:n+"-1",attrs:{item:[e],src:e.src},on:{success:t.success}}),t._m(0,!0),i("div",{staticClass:"collapse-item-content"},[t._l(e.categoryList,(function(n,a){return i("div",{key:a,staticClass:"class-item"},[i("div",{staticClass:"left"},[t._v(" 类别 ")]),i("div",{staticClass:"content text-overflow"},[t._v(" "+t._s(n.categoryName)+" ")]),i("div",{staticClass:"right"},[i("i",{staticClass:"el-icon-delete",on:{click:function(i){return t.delectItem(e.categoryList,a)}}})])])})),e.categoryList.length?t._e():i("a",{staticClass:"add-shop",attrs:{href:"javascript:;"},on:{click:function(e){return t.addGoodsClass(n)}}},[i("i",{staticClass:"el-icon-plus"}),t._v(" 添加类别 ")])],2)],1):t._e()])})),0)])]),i("a",{staticClass:"add-widget",attrs:{href:"javascript:;"},on:{click:t.addGategory}},[i("i",{staticClass:"el-icon-plus"}),t._v(" 添加类别 ")]),i("goods-class",{ref:"edit",attrs:{"dialog-visible":t.dialog1.isVisible,type:t.dialog1.type,exclude:t.exclude1},on:{close:t.close1,success:t.success1}})],1)},Wi=[function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"collapse-item-header"},[i("div",{staticClass:"title"},[t._v("商品来源")])])}],Xi={components:{widgetFormitem:ri,GoodsClass:Ee,ImageUpload:we},data:function(){return{arrangementList:[{value:1,label:"网格"},{value:2,label:"列表"}],carouselList:[],value:"",Slidervalue1:100,dialog1:{type:"add",isVisible:!1},addClassIndex:null}},computed:Object(o["a"])(Object(o["a"])({},Object(r["c"])("creationCamp",["currentComponentKeyCode","currentComponentConfig"])),{},{currentSub:function(){return this.currentComponentConfig},exclude1:function(){var t=[];return this.currentSub.list.map((function(e){e.categoryList.map((function(e){t.push(e.id)}))})),t}}),watch:{currentSub:{handler:function(){this.setComponentConfig({keyCode:this.currentComponentKeyCode,content:this.currentSub})},deep:!0}},methods:Object(o["a"])(Object(o["a"])({},Object(r["b"])("creationCamp",["setComponentConfig"])),{},{collapseToggle:function(t){t.collapseState=!t.collapseState},addGategory:function(){this.currentSub.list.map((function(t){t.collapseState=!1})),this.currentSub.list.push({src:"",categoryList:[],collapseState:!0})},addGoodsClass:function(t){this.addClassIndex=t,this.dialog1.isVisible=!0},success:function(t,e,i){var n=t.data.url;i[0].src=n},success1:function(t){this.currentSub.list[this.addClassIndex].categoryList.push(t)},close1:function(){this.dialog1.isVisible=!1},delectItem:function(t,e){t.splice(e,1)}})},$i=Xi,tn=(i("8f07"),Object(C["a"])($i,Yi,Wi,!1,null,"fcd96264",null)),en=tn.exports,nn=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"image-config"},[i("div",{staticClass:"config-header"},[t._v("内容")]),i("div",{staticClass:"config-item"},[i("div",{staticClass:"config-setting"},[i("div",{staticClass:"collapse-list"},t._l(t.currentSub.list,(function(e,n){return i("div",{key:n,staticClass:"collapse-item"},[i("div",{staticClass:"collapse-item-header",on:{click:function(i){return t.collapseToggle(e)}}},[i("i",{staticClass:"header-icon el-icon-rank"}),i("div",{staticClass:"header-thumbnail"},[e.src?i("img",{attrs:{src:e.src}}):i("div",{staticClass:"el-icon-picture-outline"})]),i("div",{staticClass:"header-name"},[t._v("图片")]),i("div",{staticClass:"header-arrow"},[i("i",{staticClass:"el-icon-delete",on:{click:function(e){return t.delectItem(t.currentSub.list,n)}}})]),i("div",{staticClass:"header-arrow"},[i("i",{staticClass:"el-icon-arrow-down",class:e.collapseState?"open":""})])]),e.collapseState?i("div",{staticClass:"collapse-item-content"},[i("div",{staticClass:"config-title"},[t._v("导航名称")]),i("el-input",{staticClass:"full-input",attrs:{placeholder:"请选择",maxlength:"6"},model:{value:e.text,callback:function(i){t.$set(e,"text",i)},expression:"item.text"}}),i("div",{staticClass:"config-title"},[t._v("默认图标")]),i("ImageUpload",{key:n+"-1",attrs:{item:[e],src:e.iconPath},on:{success:t.handleImageSuccess1}}),i("div",{staticClass:"config-title"},[t._v("选中图标")]),i("ImageUpload",{key:n+"-2",attrs:{item:[e],src:e.selectedIconPath},on:{success:t.handleImageSuccess2}}),i("Jump",{attrs:{item:e}})],1):t._e()])})),0)])]),i("a",{staticClass:"add-widget",attrs:{href:"javascript:;"},on:{click:t.addImage}},[i("i",{staticClass:"el-icon-plus"}),t._v(" 添加图片 ")])])},an=[],sn={components:{ImageUpload:we,Jump:We},computed:Object(o["a"])(Object(o["a"])({},Object(r["c"])("creationCamp",["templatePage","currentComponentKeyCode","currentComponentConfig"])),{},{currentSub:function(){return this.currentComponentConfig}}),watch:{currentSub:{handler:function(){this.setComponentConfig({keyCode:this.currentComponentKeyCode,content:this.currentSub})},deep:!0}},methods:Object(o["a"])(Object(o["a"])({},Object(r["b"])("creationCamp",["setComponentConfig"])),{},{collapseToggle:function(t){t.collapseState=!t.collapseState},handleImageSuccess1:function(t,e,i){var n=t.data.url;i[0].iconPath=n},handleImageSuccess2:function(t,e,i){var n=t.data.url;i[0].selectedIconPath=n},delectItem:function(t,e){t.splice(e,1)},addImage:function(){this.currentSub.list.length>=5||(this.currentSub.list=this.currentSub.list.map((function(t){return t.collapseState=!1,t})),this.currentSub.list.push({href:"",iconPath:"",selectedIconPath:"",text:"",collapseState:!0}))}})},cn=sn,on=(i("e76f"),Object(C["a"])(cn,nn,an,!1,null,"0894b79c",null)),rn=on.exports,ln={components:{Search:re,AddComponent:pe,Carousel:ei,Video:mi,SingleItem:hi,CategoryNavigation:_i,Commodity:Pi,Editor:Vi,GraphicNavigation:Mi,ImageBox:Hi,GroupList:en,Footer:rn},data:function(){return{}},computed:Object(o["a"])({},Object(r["c"])("creationCamp",["currentComponentKeyCode"]))},un=ln,dn=(i("b33c"),Object(C["a"])(un,ee,ie,!1,null,"e79f5e6c",null)),mn=dn.exports,fn=i("612e"),pn=i.n(fn),gn={name:"OperationArea",components:{Allocation:mn},data:function(){return{isShow:!0,selectIndex:"",dragulaExp:null,customComponents:[]}},computed:Object(o["a"])({},Object(r["c"])("creationCamp",["diyComponents","footerComponent"])),watch:{"diyComponents.length":{handler:function(){this.getComponentsList()}}},created:function(){this.customComponents=JSON.parse(JSON.stringify(this.diyComponents))},mounted:function(){this.init()},methods:Object(o["a"])(Object(o["a"])({},Object(r["b"])("creationCamp",["diyComponentsSort","setCurrentComponentKeyCode","deleteComponent"])),{},{getComponentsList:function(){var t=this,e=this.customComponents.map((function(t){return t.keyCode}));this.diyComponents.map((function(i){var n=i.keyCode;-1===e.indexOf(n)&&t.customComponents.push(i)}))},init:function(){var t=this;this.dragulaExp=pn()([document.querySelector("#previewBox")]).on("dragend",(function(e){var i=document.querySelectorAll("#previewBox>.component-item"),n=[];Array.prototype.slice.call(i).map((function(t,e){var i=1*t.dataset.index;n.push(i)})),t.diyComponents.sort((function(t,e){return n.indexOf(t.index)-n.indexOf(e.index)}))}))},seletConfig:function(t,e){this.selectIndex=e;var i=t||{},n=i.keyCode;this.setCurrentComponentKeyCode(n)},deleteSub:function(t){this.customComponents=this.customComponents.filter((function(e){return t!==e.keyCode})),this.deleteComponent(t)}})},Cn=gn,vn=(i("7c40"),Object(C["a"])(Cn,$t,te,!1,null,"23219cfa",null)),hn=vn.exports,bn={components:{PreviewContent:Xt,OperationArea:hn},data:function(){return{}}},yn=bn,Sn=(i("32ee"),Object(C["a"])(yn,n,a,!1,null,"802613de",null));e["a"]=Sn.exports},b593:function(t,e,i){"use strict";var n=i("a65c"),a=i.n(n);a.a},b870:function(t,e,i){},bd47:function(t,e,i){},c122:function(t,e,i){},c1b6:function(t,e,i){"use strict";var n=i("9de1"),a=i.n(n);a.a},c2846:function(t,e,i){},c51b:function(t,e,i){"use strict";var n=i("6ded"),a=i.n(n);a.a},c754:function(t,e,i){"use strict";var n=i("9256"),a={productCategory:"/productCategory/findPageCategory",addCategory:"/productCategory/addCategory",uploadCategory:"/productCategory/updateCategory",deletCategory:"/productCategory/delCategory",queryOneCategory:"/productCategory/queryOneCategory",queryChildCategory:"/productCategory/queryChildCategory"};e["a"]={deletCategory:function(t){return Object(n["a"])({method:"POST",url:a.deletCategory,data:t})},queryChildCategory:function(t){return Object(n["a"])({method:"POST",url:a.queryChildCategory,data:t})},queryOneCategory:function(t){return Object(n["a"])({method:"POST",url:a.queryOneCategory,data:t})},getProductCategory:function(t){return Object(n["a"])({method:"POST",url:a.productCategory,data:t})},addCategory:function(t){return Object(n["a"])({method:"POST",url:a.addCategory,data:t})},uploadCategory:function(t){return Object(n["a"])({method:"POST",url:a.uploadCategory,data:t})}}},cc44:function(t,e,i){"use strict";var n=i("cd04"),a=i.n(n);a.a},ccfe:function(t,e,i){},cd04:function(t,e,i){},cdd0:function(t,e,i){"use strict";var n=i("c122"),a=i.n(n);a.a},d40d:function(t,e,i){"use strict";var n=i("4de4a"),a=i.n(n);a.a},d57c:function(t,e,i){t.exports=i.p+"static/img/commodityDefault.43fe8c8d.png"},d62d:function(t,e,i){},db70:function(t,e,i){"use strict";var n=i("b870"),a=i.n(n);a.a},dba9:function(t,e,i){"use strict";var n=i("80f2"),a=i.n(n);a.a},df8c:function(t,e,i){t.exports=i.p+"static/img/image-default-3.5b64022a.png"},e190:function(t,e,i){"use strict";var n=i("49f2"),a=i.n(n);a.a},e212:function(t,e,i){"use strict";var n=i("4757"),a=i.n(n);a.a},e76f:function(t,e,i){"use strict";var n=i("75fb"),a=i.n(n);a.a},eab3:function(t,e,i){},ed30:function(t,e,i){"use strict";var n=i("8704"),a=i.n(n);a.a},fa36:function(t,e,i){}}]);