Authored by htoooth

update webapp

Showing 21 changed files with 38 additions and 18 deletions
@@ -5,10 +5,10 @@ @@ -5,10 +5,10 @@
5 <title>ufo后台管理</title> 5 <title>ufo后台管理</title>
6 <meta charset="UTF-8"> 6 <meta charset="UTF-8">
7 <meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=0"> 7 <meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=0">
8 -<link href="css/vendors.daff45d4026062961aae.css" rel="stylesheet"><link href="css/coupon.daff45d4026062961aae.css" rel="stylesheet"></head> 8 +<link href="css/vendors.4a4d0a45ded8e504d301.css" rel="stylesheet"><link href="css/coupon.4a4d0a45ded8e504d301.css" rel="stylesheet"></head>
9 9
10 <body> 10 <body>
11 <div id="app"></div> 11 <div id="app"></div>
12 -<script type="text/javascript" src="js/vendors.daff45d4026062961aae.js"></script><script type="text/javascript" src="js/coupon.daff45d4026062961aae.js"></script></body> 12 +<script type="text/javascript" src="js/vendors.4a4d0a45ded8e504d301.js"></script><script type="text/javascript" src="js/coupon.4a4d0a45ded8e504d301.js"></script></body>
13 13
14 </html> 14 </html>
@@ -203,4 +203,7 @@ @@ -203,4 +203,7 @@
203 203
204 204
205 205
  206 +
  207 +
  208 +
206 .form-group[data-v-35ed785d]{width:100%;height:30px;background-color:#f5f7f9} 209 .form-group[data-v-35ed785d]{width:100%;height:30px;background-color:#f5f7f9}
@@ -165,6 +165,11 @@ @@ -165,6 +165,11 @@
165 165
166 166
167 167
  168 +
  169 +
  170 +
  171 +
  172 +
168 .banner-table[data-v-0ea2604e]{width:100%;border-collapse:collapse}.banner-table tr th[data-v-0ea2604e]{height:200px;border:1px solid #dddee1}tr[data-v-0ea2604e]:hover{background-color:#ebf7ff}.banner-item[data-v-0ea2604e]{padding:20px}.upload-box{width:100px;height:100px;background:#fff;border:1px dashed #dddee1;border-radius:4px;text-align:center;cursor:pointer;position:relative;overflow:hidden;transition:border-color .2s ease;margin:0 auto;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center}.upload-box:hover{border-color:#2d8cf0}.upload-box .ivu-upload{height:30px}.upload-box .ivu-icon{font-size:30px;margin:0 2px;color:#000;transition:color .2s ease}.upload-box .ivu-icon:hover{color:#2d8cf0}.image-purview{margin:0 auto;width:100px;height:100px;text-align:center;border-radius:4px;overflow:hidden;background:#fff;position:relative;box-shadow:0 1px 1px rgba(0,0,0,.2);border:1px solid #e8e8e8;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;display:-ms-flexbox;display:flex}.image-purview .ivu-progress{width:90%}.image-purview img{width:100px;height:100px}.image-purview-cover{display:none;position:absolute;top:0;bottom:0;left:0;right:0;background:rgba(0,0,0,.6);-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center}.image-purview:hover .image-purview-cover{display:-ms-flexbox;display:flex}.image-purview-cover i{color:#fff;font-size:20px;cursor:pointer;margin:0 2px} 173 .banner-table[data-v-0ea2604e]{width:100%;border-collapse:collapse}.banner-table tr th[data-v-0ea2604e]{height:200px;border:1px solid #dddee1}tr[data-v-0ea2604e]:hover{background-color:#ebf7ff}.banner-item[data-v-0ea2604e]{padding:20px}.upload-box{width:100px;height:100px;background:#fff;border:1px dashed #dddee1;border-radius:4px;text-align:center;cursor:pointer;position:relative;overflow:hidden;transition:border-color .2s ease;margin:0 auto;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center}.upload-box:hover{border-color:#2d8cf0}.upload-box .ivu-upload{height:30px}.upload-box .ivu-icon{font-size:30px;margin:0 2px;color:#000;transition:color .2s ease}.upload-box .ivu-icon:hover{color:#2d8cf0}.image-purview{margin:0 auto;width:100px;height:100px;text-align:center;border-radius:4px;overflow:hidden;background:#fff;position:relative;box-shadow:0 1px 1px rgba(0,0,0,.2);border:1px solid #e8e8e8;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;display:-ms-flexbox;display:flex}.image-purview .ivu-progress{width:90%}.image-purview img{width:100px;height:100px}.image-purview-cover{display:none;position:absolute;top:0;bottom:0;left:0;right:0;background:rgba(0,0,0,.6);-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center}.image-purview:hover .image-purview-cover{display:-ms-flexbox;display:flex}.image-purview-cover i{color:#fff;font-size:20px;cursor:pointer;margin:0 2px}
169 174
170 175
@@ -609,6 +614,18 @@ @@ -609,6 +614,18 @@
609 614
610 615
611 616
  617 +
  618 +
  619 +
  620 +
  621 +
  622 +
  623 +
  624 +
  625 +
  626 +
  627 +
  628 +
612 .item { 629 .item {
613 border: 1px solid #dddee1; 630 border: 1px solid #dddee1;
614 padding-top: 10px; 631 padding-top: 10px;
  1 +webpackJsonp([0],Array(31).concat([function(t,e,n){"use strict";function i(t){a||n(243)}var o=n(103),r=n(244),a=!1,s=n(0),l=i,u=s(o.a,r.a,!1,l,null,null);u.options.__file="src/components/select-comp.vue",e.a=u.exports},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,e,n){t.exports={default:n(247),__esModule:!0}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,e,n){"use strict";var i=n(236);e.a={data:function(){return{}},mounted:function(){},beforeDestroy:function(){},methods:{},components:{"home-page":i.a}}},function(t,e,n){"use strict";var i=n(238),o=n(241),r=n(317),a=n(7),s=n(22),l={1:n(101),2:n(320)};e.a={data:function(){return{list:[],resId:null,bg:"",title:""}},mounted:function(){var t=this;this.resId=a.a.getQueryString("id")||1,this.title=a.a.getQueryString("name")||"资源位管理",this.resourceService=new s.a,this.init(),this.$bus.$on("updated",function(){console.log("updated"),t.init()}),this.bg=this.getBg()},methods:{init:function(){var t=this;this.resourceService.info(this.resId).then(function(e){t.list=e})},getBg:function(){return l[this.resId]}},components:{miniapp:i.a,smartfloor:o.a,divide:r.a}}},function(t,e,n){"use strict";e.a={name:"miniapp",props:{title:{type:String,default:function(){return""}},bg:{type:String,default:function(){return n(101)}}}}},function(t,e,n){t.exports=n.p+"img/apptitle.74e80a1.png"},function(t,e,n){"use strict";var i=n(13),o=n.n(i),r=(n(31),n(245)),a=n(287),s=n(294),l=n(301),u=n(314);e.a={name:"smart-floor",functional:!0,props:{item:{type:Object,required:!0}},render:function(t,e){return t(function(){var t=e.props.item;return 0===t.type?r.a:1===t.type?a.a:2===t.type?l.a:"resGoodsPoools"===t.type?s.a:u.a}(),o()({},e.data,{props:e.props.item}),e.children)}}},function(t,e,n){"use strict";e.a={name:"select-comp",props:["cb"]}},function(t,e,n){"use strict";var i=n(61),o=n.n(i),r=n(31),a=n(248),s=n(22);e.a={props:["data","resContentDataId"],data:function(){var t=JSON.parse(this.data);return{imgUrl:n(285),show:!1,list:t.data,allData:t}},mounted:function(){this.resourceService=new s.a},methods:{onClick:function(){this.show=!0},onOk:function(){var t=this;this.allData.data=this.$refs.editor.getValue(),this.resourceService.editResource({id:this.resContentDataId,contentData:o()(this.allData)}).then(function(e){if(t.$bus.$emit("updated"),200!==e.code)return void t.$Message.error("保存失败");t.$Message.success("保存成功")}).catch(function(){t.$bus.$emit("updated")})},onCancel:function(){this.allData=JSON.parse(this.data),this.list=this.allData.data,this.$bus.$emit("updated")}},components:{selectComp:r.a,bannerEditor:a.a}}},function(t,e,n){"use strict";var i=n(250),o=n.n(i),r=n(53),a=n.n(r),s=n(253),l=n(261),u=n(7);e.a={props:["value"],filters:{removeImageParams:function(t){if(t)return t.split("?")[0]}},data:function(){return{value_:this.handleData(u.a.clone(this.value))}},methods:{onDeleteBtnClick:function(t,e){this.value_.splice(e,1),this.$emit("input",this.handleSaveData(this.value_))},onAddBtnClick:function(){this.value_.push({alt:"",bgColor:"",imgId:"0",isFocusRec:"0",src:"",url:{action:"go.h5",url:""}}),this.$emit("input",this.handleSaveData(this.value_))},onUploadSuccess:function(t,e){var n=e.url;this.value_[t].src=n+"?imageView2/{mode}/w/{width}/h/{height}",this.$emit("input",this.handleSaveData(this.value_))},onUploadRemove:function(t){this.value_[t].src="",this.$emit("input",this.handleSaveData(this.value_))},handleData:function(t){var e=a()(t);e.sort(function(t,e){return t=+t,e=+e,t>e?1:t<e?-1:0});var n=[],i=!0,r=!1,s=void 0;try{for(var l,c=o()(e);!(i=(l=c.next()).done);i=!0){var d=l.value,p=t[d];this.addId(p),"go.ufo"===p.url.action&&"productDetail"===u.a.getUrlQueryString(p.url.url,"pagename")&&(p.url.action="go.pool"),n.push(p)}}catch(t){r=!0,s=t}finally{try{!i&&c.return&&c.return()}finally{if(r)throw s}}return n},handleSaveData:function(t){var e=u.a.clone(t),n=!0,i=!1,r=void 0;try{for(var s,l=o()(a()(e));!(n=(s=l.next()).done);n=!0){var c=s.value;"go.pool"===e[c].url.action&&(e[c].url.action="go.ufo")}}catch(t){i=!0,r=t}finally{try{!n&&l.return&&l.return()}finally{if(i)throw r}}var d={},p=!0,h=!1,f=void 0;try{for(var v,m=o()(a()(e));!(p=(v=m.next()).done);p=!0){var g=v.value;d[g]=e[g]}}catch(t){h=!0,f=t}finally{try{!p&&m.return&&m.return()}finally{if(h)throw f}}return d},getValue:function(){return this.handleSaveData(this.value_)},addId:function(t){if("id"in t)return t;t.id=this.$bus.genId()}},watch:{value:function(t){this.value_=this.handleData(u.a.clone(t))}},components:{fileUpload:s.a,bannerParams:l.a}}},function(t,e,n){"use strict";var i=n(255);e.a={name:"drag-file-upload",props:{id:{type:Number},defaultFile:{type:String},bucket:{type:String,default:function(){return"yhb-img01"}}},data:function(){var t=this;return{imgUrl:"",show:!0,visible:!1,uploadList:[],defaultList:t.defaultFile?[{url:t.defaultFile}]:[]}},methods:{handleView:function(t){this.imgUrl=t,this.visible=!0},handleRemove:function(){var t=this.uploadList[0],e=this.$refs.upload.fileList;this.$refs.upload.fileList.splice(e.indexOf(t),1),this.uploadList=this.$refs.upload.fileList,this.$emit("remove",this.id)},handleSuccess:function(t,e,n){t.data&&(e.url=t.data),this.uploadList=n,this.$emit("success",this.id,e)},handleError:function(){this.$Notice.error("上传失败"),this.$emit("error",this.id)},handleFormatError:function(t){this.$Notice.warning({title:"文件格式不正确",desc:"文件 "+t.name+" 格式不正确,请上传 jpg 或 png 格式的图片。"})},handleMaxSize:function(t){this.$Notice.warning({title:"超出文件大小限制",desc:"文件 "+t.name+" 太大,不能超过 2M。"})}},mounted:function(){this.uploadList=this.$refs.upload.fileList},watch:{defaultFile:function(t){t&&(this.defaultList=[{url:t}])}},components:{imagePurview:i.a}}},function(t,e,n){"use strict";var i=n(257);e.a={name:"image-purview",props:{status:{type:String,default:"finished"},url:{type:String},progress:{type:Boolean,default:!1},percentage:{type:Number},remove:{type:Boolean,default:!1}},data:function(){return{showModal:!1}},methods:{purviewImage:function(){this.showModal=!0,this.$emit("purview",this.url)},removeImage:function(){this.$emit("remove-image",this.url)}},components:{modalPurview:i.a}}},function(t,e,n){"use strict";e.a={name:"modal-purview",props:["value","url"],data:function(){return{model:this.value}},methods:{input:function(t){this.model=t,this.$emit("input",t)}},watch:{value:function(t){this.model=t}}}},function(t,e,n){"use strict";var i=n(263),o=n(266),r=n(269);e.a={props:["value"],data:function(){return{url_:this.value.url,action_:this.value.action}},methods:{},watch:{url_:function(t){this.$emit("input",{url:this.url_,action:this.action_})},action_:function(t){"go.pool"===t?this.url_="https://m.yohobuy.com/?pagename=productDetail":"go.ufo"===t?this.url_="https://m.yohobuy.com/?pagename=productList":"go.h5"===t&&(this.url_=""),this.$emit("input",{url:this.url_,action:this.action_})}},components:{h5Url:i.a,poolUrl:o.a,detailUrl:r.a}}},function(t,e,n){"use strict";var i=n(7);e.a={props:["value"],data:function(){return{title:i.a.getUrlQueryString(this.value,"title"),link:i.a.getLink(this.value)}},watch:{value:function(t){this.title=i.a.getUrlQueryString(t,"title"),this.link=i.a.getLink(t)}},methods:{onUpdateTitle:function(t){this.title=t,this.$emit("input",this.getUrl())},onUpdateLink:function(t){this.link=t,this.$emit("input",this.getUrl())},getUrl:function(){return this.link+"?title="+this.title}}}},function(t,e,n){"use strict";var i=n(7);e.a={props:["value"],data:function(){return{pagename:i.a.getUrlQueryString(this.value,"pagename")||"productList",productListTitle:i.a.getUrlQueryString(this.value,"productListTitle"),productPool:i.a.getUrlQueryString(this.value,"productPool"),link:i.a.getLink(this.value)||"https://m.yohobuy.com/"}},watch:{value:function(t){this.pagename=i.a.getUrlQueryString(this.value,"pagename")||"productList",this.productListTitle=i.a.getUrlQueryString(this.value,"productListTitle"),this.productPool=i.a.getUrlQueryString(this.value,"productPool"),this.link=i.a.getLink(this.value)||"https://m.yohobuy.com/"}},methods:{onUpdateTitle:function(t){this.productListTitle=t,this.$emit("input",this.getUrl())},onUpdatePool:function(t){this.productPool=t,this.$emit("input",this.getUrl())},getUrl:function(){var t=new URLSearchParams;return t.append("pagename",this.pagename),t.append("productListTitle",this.productListTitle),t.append("productPool",this.productPool),this.link+"?"+t}}}},function(t,e,n){"use strict";var i=n(7);e.a={props:["value"],data:function(){return{pagename:i.a.getUrlQueryString(this.value,"pagename")||"productDetail",productId:i.a.getUrlQueryString(this.value,"productId"),link:i.a.getLink(this.value)||"https://m.yohobuy.com/"}},watch:{value:function(t){this.pagename=i.a.getUrlQueryString(this.value,"pagename")||"productDetail",this.productId=i.a.getUrlQueryString(this.value,"productId"),this.link=i.a.getLink(this.value)||"https://m.yohobuy.com/"}},methods:{onUpdateProductId:function(t){this.productId=t,this.$emit("input",this.getUrl())},getUrl:function(){var t=new URLSearchParams;return t.append("pagename",this.pagename),t.append("productId",this.productId),this.link+"?"+t}}}},,,,function(t,e,n){"use strict";var i=n(61),o=n.n(i),r=n(31),a=n(289),s=n(22);e.a={name:"hot",props:["data","resContentDataId"],data:function(){var t=JSON.parse(this.data);return{allData:t,show:!1,name:t.template_intro,list:t.data.split(",")}},mounted:function(){this.resourceService=new s.a},methods:{onClick:function(){this.show=!0},onOk:function(){var t=this;this.allData.template_intro=this.name,this.allData.data=this.list.join(","),this.resourceService.editResource({id:this.resContentDataId,contentData:o()(this.allData)}).then(function(e){if(t.$bus.$emit("updated"),200!==e.code)return void t.$Message.error("保存失败");t.$Message.success("保存成功")}).catch(function(){t.$bus.$emit("updated")})},onCancel:function(){this.name=this.allData.template_intro,this.list=this.allData.data.split(","),this.$bus.$emit("updated")}},components:{selectComp:r.a,hotEditor:a.a}}},function(t,e,n){"use strict";e.a={props:["name","list"],data:function(){return{formItem:{input:this.name,ids:this.list.join(",")}}},watch:{"formItem.input":function(t){this.$emit("update:name",t)},"formItem.ids":function(t){this.$emit("update:list",t.split(","))}}}},function(t,e,n){"use strict";var i=n(31),o=n(296),r=n(22),a=n(7);e.a={name:"tab",props:["data"],data:function(){return{show:!1,list:a.a.clone(this.data)}},mounted:function(){this.resourceService=new r.a},methods:{onClick:function(){this.show=!0},onOk:function(){var t=this,e=this.list.map(function(t){return{id:t.id,poolId:t.poolId}});this.resourceService.editGoodsPool(e).then(function(e){if(t.$bus.$emit("updated"),200!==e.code)return void t.$Message.error("保存失败");t.$Message.success("保存成功")})},onCancel:function(){this.list=a.a.clone(this.data),this.$bus.$emit("updated")}},components:{selectComp:i.a,tabEditor:o.a}}},function(t,e,n){"use strict";e.a={props:{list:{type:Array,default:function(){return[]}}},data:function(){return{}},methods:{onUpdate:function(t,e){e.poolId=t,this.$emit("update:list",this.list)}},mounted:function(){}}},function(t,e,n){"use strict";var i=n(61),o=n.n(i),r=n(31),a=n(303),s=n(22);e.a={props:["data","resContentDataId"],data:function(){var t=JSON.parse(this.data);return{show:!1,idStart:1,list:this.addId(t.data),allData:t}},mounted:function(){this.resourceService=new s.a},methods:{onClick:function(){this.show=!0},addId:function(t){var e=this;return t.forEach(function(t){"id"in t||(t.id=e.$bus.genId())}),t},onOk:function(){var t=this;this.allData.data=this.$refs.editor.getValue(),this.resourceService.editResource({id:this.resContentDataId,contentData:o()(this.allData)}).then(function(e){if(t.$bus.$emit("updated"),200!==e.code)return void t.$Message.error("保存失败");t.$Message.success("保存成功")}).catch(function(){t.$bus.$emit("updated")})},onCancel:function(){this.$refs.editor.setValue(this.addId(JSON.parse(this.data).data)),this.$bus.$emit("updated")}},components:{selectComp:r.a,sortTabEditor:a.a}}},function(t,e,n){"use strict";var i=n(305),o=n(7),r=n(309),a=n.n(r);e.a={props:["value"],data:function(){return{list:o.a.clone(this.value),drag:!1}},methods:{onAddBtn:function(){this.list.push({category_name:"",product_ids:"",more_url:{action:"go.ufo",params:{pagename:"productList",productListTitle:"",sort:0}},id:this.$bus.genId()}),console.log(this.list)},onDeleteBtn:function(t){this.list.splice(t,1)},getValue:function(){return this.list},setValue:function(t){this.list=t},onChange:function(t,e){this.$set(this.list,t,e)}},components:{sortTabItem:i.a,draggable:a.a}}},function(t,e,n){"use strict";var i=n(307),o=n.n(i);e.a={props:["value","id"],data:function(){var t="sort"in this.value.more_url.params?"sort":"series",e=this.value.more_url.params[t]||"",n=this.value.more_url.params.productListTitle||"";return{formItem:{category_name:this.value.category_name,product_ids:this.value.product_ids,productListTitle:n,type:t,type_id:e}}},methods:{onDelete:function(){this.$emit("on-remove",this.id)},getValue:function(){var t=this;return{category_name:t.formItem.category_name,product_ids:t.formItem.product_ids,more_url:{action:"go.ufo",params:o()({pagename:"productList",productListTitle:t.formItem.productListTitle},t.formItem.type,t.formItem.type_id)}}},onChangeCate:function(t){this.formItem.category_name=t,this.$emit("on-change",this.getValue())},onChangeTitle:function(t){this.formItem.productListTitle=t,this.$emit("on-change",this.getValue())},onChangeSelect:function(t){this.formItem.type=t,this.$emit("on-change",this.getValue())},onChangeType:function(t){this.formItem.type_id=t,this.$emit("on-change",this.getValue())},onChangeIds:function(t){this.formItem.product_ids=t,this.$emit("on-change",this.getValue())}}}},function(t,e,n){"use strict";e.a={}},function(t,e,n){"use strict";e.a={name:"divide"}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(234),o=n(21);Object(o.a)(i.a)},function(t,e,n){"use strict";function i(t){a||n(235)}var o=n(98),r=n(322),a=!1,s=n(0),l=i,u=s(o.a,r.a,!1,l,null,null);u.options.__file="src/views/resource-edit/index.vue",e.a=u.exports},function(t,e){},function(t,e,n){"use strict";function i(t){a||n(237)}var o=n(99),r=n(321),a=!1,s=n(0),l=i,u=s(o.a,r.a,!1,l,"data-v-724c5842",null);u.options.__file="src/views/resource-edit/home.vue",e.a=u.exports},function(t,e){},function(t,e,n){"use strict";function i(t){a||n(239)}var o=n(100),r=n(240),a=!1,s=n(0),l=i,u=s(o.a,r.a,!1,l,null,null);u.options.__file="src/components/miniapp.vue",e.a=u.exports},function(t,e){},function(t,e,n){"use strict";var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"app-frame"},[n("div",{staticClass:"title"},[t._v(t._s(t.title))]),t._v(" "),n("div",{staticClass:"app-title"},[n("img",{attrs:{src:t.bg,alt:"",srcset:"",width:"100%"}})]),t._v(" "),n("div",[t._t("default")],2)])},o=[];i._withStripped=!0;var r={render:i,staticRenderFns:o};e.a=r},function(t,e,n){"use strict";function i(t){r||n(242)}var o=n(102),r=!1,a=n(0),s=i,l=a(o.a,null,!1,s,null,null);l.options.__file="src/components/smart-floor.vue",e.a=l.exports},function(t,e){},function(t,e){},function(t,e,n){"use strict";var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"select-comp"},[n("div",{staticClass:"select-comp__mask__btn",on:{click:function(e){t.cb&&t.cb(e)}}},[t._v("编辑")]),t._v(" "),n("div",{staticClass:"select-comp__mask"}),t._v(" "),t._t("default")],2)},o=[];i._withStripped=!0;var r={render:i,staticRenderFns:o};e.a=r},function(t,e,n){"use strict";function i(t){a||n(246)}var o=n(104),r=n(286),a=!1,s=n(0),l=i,u=s(o.a,r.a,!1,l,null,null);u.options.__file="src/components/banner.vue",e.a=u.exports},function(t,e){},function(t,e,n){var i=n(1),o=i.JSON||(i.JSON={stringify:JSON.stringify});t.exports=function(t){return o.stringify.apply(o,arguments)}},function(t,e,n){"use strict";function i(t){a||n(249)}var o=n(105),r=n(273),a=!1,s=n(0),l=i,u=s(o.a,r.a,!1,l,"data-v-0ea2604e",null);u.options.__file="src/components/banner-editor.vue",e.a=u.exports},function(t,e){},function(t,e,n){t.exports={default:n(251),__esModule:!0}},function(t,e,n){n(50),n(48),t.exports=n(252)},function(t,e,n){var i=n(6),o=n(73);t.exports=n(1).getIterator=function(t){var e=o(t);if("function"!=typeof e)throw TypeError(t+" is not iterable!");return i(e.call(t))}},function(t,e,n){"use strict";function i(t){a||n(254)}var o=n(106),r=n(260),a=!1,s=n(0),l=i,u=s(o.a,r.a,!1,l,null,null);u.options.__file="src/components/drag-file-upload.vue",e.a=u.exports},function(t,e){},function(t,e,n){"use strict";function i(t){a||n(256)}var o=n(107),r=n(259),a=!1,s=n(0),l=i,u=s(o.a,r.a,!1,l,null,null);u.options.__file="src/components/image-purview.vue",e.a=u.exports},function(t,e){},function(t,e,n){"use strict";var i=n(108),o=n(258),r=n(0),a=r(i.a,o.a,!1,null,null,null);a.options.__file="src/components/modal-purview.vue",e.a=a.exports},function(t,e,n){"use strict";var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("Modal",{attrs:{title:"查看图片",value:t.model},on:{input:t.input}},[t.model?n("img",{staticStyle:{width:"100%"},attrs:{src:t.url}}):t._e(),t._v(" "),n("div",{attrs:{slot:"footer"},slot:"footer"})])},o=[];i._withStripped=!0;var r={render:i,staticRenderFns:o};e.a=r},function(t,e,n){"use strict";var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"image-purview"},["finished"===t.status||t.url?[n("img",{attrs:{src:t.url}}),t._v(" "),n("div",{staticClass:"image-purview-cover"},[n("Icon",{attrs:{type:"ios-eye-outline",size:"30"},nativeOn:{click:function(e){return t.purviewImage(e)}}}),t._v(" "),t.remove?n("Icon",{attrs:{type:"ios-trash-outline",size:"30"},nativeOn:{click:function(e){return t.removeImage(e)}}}):t._e()],1)]:[t.progress?n("Progress",{attrs:{percent:t.percentage,"hide-info":""}}):t._e()],t._v(" "),n("modal-purview",{attrs:{url:t.url},model:{value:t.showModal,callback:function(e){t.showModal=e},expression:"showModal"}})],2)},o=[];i._withStripped=!0;var r={render:i,staticRenderFns:o};e.a=r},function(t,e,n){"use strict";var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.show?n("div",[t.uploadList[0]?n("image-purview",{attrs:{status:t.uploadList[0].status,url:t.uploadList[0].url,progress:t.uploadList[0].showProgress,percentage:t.uploadList[0].percentage,remove:!0},on:{"remove-image":t.handleRemove}}):t._e(),t._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:!t.uploadList[0],expression:"!uploadList[0]"}],staticClass:"upload-box"},[n("Upload",{ref:"upload",attrs:{"show-upload-list":!1,data:{bucket:t.bucket},"on-success":t.handleSuccess,"on-error":t.handleError,"default-file-list":t.defaultList,format:["jpg","jpeg","png"],"max-size":2048,"on-format-error":t.handleFormatError,"on-exceeded-size":t.handleMaxSize,action:"/ufoPlatform/fileupload/upload?debug=XYZ"}},[n("Icon",{attrs:{type:"ios-cloud-upload-outline",title:"上传图片"}})],1)],1)],1):t._e()},o=[];i._withStripped=!0;var r={render:i,staticRenderFns:o};e.a=r},function(t,e,n){"use strict";function i(t){a||n(262)}var o=n(109),r=n(272),a=!1,s=n(0),l=i,u=s(o.a,r.a,!1,l,null,null);u.options.__file="src/components/banner-params.vue",e.a=u.exports},function(t,e){},function(t,e,n){"use strict";function i(t){a||n(264)}var o=n(110),r=n(265),a=!1,s=n(0),l=i,u=s(o.a,r.a,!1,l,null,null);u.options.__file="src/components/banner-h5.vue",e.a=u.exports},function(t,e){},function(t,e,n){"use strict";var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("Input",{attrs:{value:t.title,placeholder:"标题"},on:{input:t.onUpdateTitle}}),t._v(" "),n("Input",{attrs:{value:t.link,placeholder:"链接"},on:{input:t.onUpdateLink}})],1)},o=[];i._withStripped=!0;var r={render:i,staticRenderFns:o};e.a=r},function(t,e,n){"use strict";function i(t){a||n(267)}var o=n(111),r=n(268),a=!1,s=n(0),l=i,u=s(o.a,r.a,!1,l,null,null);u.options.__file="src/components/banner-pool.vue",e.a=u.exports},function(t,e){},function(t,e,n){"use strict";var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("Input",{attrs:{value:t.productListTitle,placeholder:"标题"},on:{input:t.onUpdateTitle}}),t._v(" "),n("Input",{attrs:{value:t.productPool,placeholder:"商品池ID"},on:{input:t.onUpdatePool}})],1)},o=[];i._withStripped=!0;var r={render:i,staticRenderFns:o};e.a=r},function(t,e,n){"use strict";function i(t){a||n(270)}var o=n(112),r=n(271),a=!1,s=n(0),l=i,u=s(o.a,r.a,!1,l,null,null);u.options.__file="src/components/banner-detail.vue",e.a=u.exports},function(t,e){},function(t,e,n){"use strict";var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("Input",{attrs:{value:t.productId,placeholder:"商品编码"},on:{input:t.onUpdateProductId}})],1)},o=[];i._withStripped=!0;var r={render:i,staticRenderFns:o};e.a=r},function(t,e,n){"use strict";var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("Form",[n("FormItem",[n("Select",{model:{value:t.action_,callback:function(e){t.action_=e},expression:"action_"}},[n("Option",{attrs:{value:"go.h5"}},[t._v("H5网页")]),t._v(" "),n("Option",{attrs:{value:"go.ufo"}},[t._v("商品池")]),t._v(" "),n("Option",{attrs:{value:"go.pool"}},[t._v("商品详情")])],1)],1),t._v(" "),n("FormItem",["go.h5"===t.action_?n("h5-url",{model:{value:t.url_,callback:function(e){t.url_=e},expression:"url_"}}):"go.ufo"===t.action_?n("pool-url",{model:{value:t.url_,callback:function(e){t.url_=e},expression:"url_"}}):"go.pool"===t.action_?n("detail-url",{model:{value:t.url_,callback:function(e){t.url_=e},expression:"url_"}}):t._e()],1)],1)],1)},o=[];i._withStripped=!0;var r={render:i,staticRenderFns:o};e.a=r},function(t,e,n){"use strict";var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("table",{staticClass:"banner-table"},[n("tbody",t._l(t.value_,function(e,i){return n("tr",{key:e.id},[n("th",{attrs:{width:"5%"}},[t._v(t._s(+i+1))]),t._v(" "),n("th",[n("file-upload",{attrs:{"default-file":t._f("removeImageParams")(e.src),id:i},on:{success:t.onUploadSuccess,remove:t.onUploadRemove}})],1),t._v(" "),n("th",{staticClass:"banner-item"},[n("banner-params",{model:{value:e.url,callback:function(n){t.$set(e,"url",n)},expression:"i.url"}})],1),t._v(" "),n("th",[n("Button",{attrs:{type:"error"},on:{click:function(n){t.onDeleteBtnClick(e,i)}}},[t._v("删除")])],1)])}))]),t._v(" "),n("div",{staticStyle:{"margin-top":"20px"}},[n("Button",{attrs:{type:"primary"},on:{click:t.onAddBtnClick}},[t._v("添加一张")])],1)])},o=[];i._withStripped=!0;var r={render:i,staticRenderFns:o};e.a=r},,,,,,,,,,,,function(t,e,n){t.exports=n.p+"img/banner-img.fd71ac9.png"},function(t,e,n){"use strict";var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("select-comp",{attrs:{cb:t.onClick}},[n("img",{attrs:{src:t.imgUrl,alt:"",srcset:"",width:"100%"}})]),t._v(" "),n("Modal",{attrs:{title:"轮播图资源位",width:"650"},on:{"on-ok":t.onOk,"on-cancel":t.onCancel},model:{value:t.show,callback:function(e){t.show=e},expression:"show"}},[n("banner-editor",{ref:"editor",model:{value:t.list,callback:function(e){t.list=e},expression:"list"}})],1)],1)},o=[];i._withStripped=!0;var r={render:i,staticRenderFns:o};e.a=r},function(t,e,n){"use strict";function i(t){a||n(288)}var o=n(116),r=n(292),a=!1,s=n(0),l=i,u=s(o.a,r.a,!1,l,null,null);u.options.__file="src/components/hot.vue",e.a=u.exports},function(t,e){},function(t,e,n){"use strict";function i(t){a||n(290)}var o=n(117),r=n(291),a=!1,s=n(0),l=i,u=s(o.a,r.a,!1,l,null,null);u.options.__file="src/components/hot-editor.vue",e.a=u.exports},function(t,e){},function(t,e,n){"use strict";var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("Form",{attrs:{model:t.formItem,"label-width":60}},[n("FormItem",{attrs:{label:"标题"}},[n("Input",{attrs:{placeholder:"热门系列"},model:{value:t.formItem.input,callback:function(e){t.$set(t.formItem,"input",e)},expression:"formItem.input"}})],1),t._v(" "),n("FormItem",{attrs:{label:"商品编码"}},[n("Input",{attrs:{type:"textarea",rows:4,placeholder:"多个商品以英文逗号分隔"},model:{value:t.formItem.ids,callback:function(e){t.$set(t.formItem,"ids",e)},expression:"formItem.ids"}})],1),t._v(" "),n("Alert",{attrs:{type:"warning"}},[t._v("\n 说明: "),n("br"),t._v("\n 1、前台根据商品编码取商品图片展示 "),n("br"),t._v("\n 2、系列名称取商品对应的系列名称 "),n("br"),t._v("\n 3、一排最多展示四个商品 "),n("br"),t._v("\n 4、多个商品编码用英文逗号分隔 "),n("br")])],1)],1)},o=[];i._withStripped=!0;var r={render:i,staticRenderFns:o};e.a=r},function(t,e,n){"use strict";var i=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",[i("selectComp",{attrs:{cb:t.onClick}},[i("div",{staticClass:"hot"},[i("div",{staticClass:"hot-title"},[t._v(t._s(t.name))]),t._v(" "),i("div",{staticClass:"hot-body"},t._l(t.list,function(t){return i("img",{key:t.id,staticClass:"hot-image",attrs:{src:n(293),alt:"",srcset:""}})}))])]),t._v(" "),i("Modal",{attrs:{title:"系列资源位"},on:{"on-ok":t.onOk,"on-cancel":t.onCancel},model:{value:t.show,callback:function(e){t.show=e},expression:"show"}},[i("hot-editor",{attrs:{name:t.name,list:t.list},on:{"update:name":function(e){t.name=e},"update:list":function(e){t.list=e}}})],1)],1)},o=[];i._withStripped=!0;var r={render:i,staticRenderFns:o};e.a=r},function(t,e,n){t.exports=n.p+"img/item_bg.bc8a5b1.png"},function(t,e,n){"use strict";function i(t){a||n(295)}var o=n(118),r=n(299),a=!1,s=n(0),l=i,u=s(o.a,r.a,!1,l,null,null);u.options.__file="src/components/tab.vue",e.a=u.exports},function(t,e){},function(t,e,n){"use strict";function i(t){a||n(297)}var o=n(119),r=n(298),a=!1,s=n(0),l=i,u=s(o.a,r.a,!1,l,null,null);u.options.__file="src/components/tab-editor.vue",e.a=u.exports},function(t,e){},function(t,e,n){"use strict";var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("Form",{attrs:{"label-width":100}},t._l(t.list,function(e){return n("FormItem",{key:e.id,attrs:{label:e.poolName}},[n("Input",{attrs:{value:e.poolId,maxlength:9},on:{input:function(n){t.onUpdate(n,e)}}})],1)}))],1)},o=[];i._withStripped=!0;var r={render:i,staticRenderFns:o};e.a=r},function(t,e,n){"use strict";var i=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",[i("select-comp",{attrs:{cb:t.onClick}},[i("img",{attrs:{src:n(300),alt:"",srcset:"",width:"100%"}})]),t._v(" "),i("Modal",{attrs:{title:"商品池资源位"},on:{"on-ok":t.onOk,"on-cancel":t.onCancel},model:{value:t.show,callback:function(e){t.show=e},expression:"show"}},[i("tab-editor",{attrs:{list:t.list},on:{"update:list":function(e){t.list=e}}})],1)],1)},o=[];i._withStripped=!0;var r={render:i,staticRenderFns:o};e.a=r},function(t,e,n){t.exports=n.p+"img/floor-recommend.574eff0.png"},function(t,e,n){"use strict";function i(t){a||n(302)}var o=n(120),r=n(312),a=!1,s=n(0),l=i,u=s(o.a,r.a,!1,l,null,null);u.options.__file="src/components/sortTab.vue",e.a=u.exports},function(t,e){},function(t,e,n){"use strict";function i(t){a||n(304)}var o=n(121),r=n(311),a=!1,s=n(0),l=i,u=s(o.a,r.a,!1,l,null,null);u.options.__file="src/components/sortTab-editor.vue",e.a=u.exports},function(t,e){},function(t,e,n){"use strict";function i(t){a||n(306)}var o=n(122),r=n(308),a=!1,s=n(0),l=i,u=s(o.a,r.a,!1,l,"data-v-9ccc4946",null);u.options.__file="src/components/sortTab-editor-item.vue",e.a=u.exports},function(t,e){},function(t,e,n){"use strict";e.__esModule=!0;var i=n(79),o=function(t){return t&&t.__esModule?t:{default:t}}(i);e.default=function(t,e,n){return e in t?(0,o.default)(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}},function(t,e,n){"use strict";var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("Form",{attrs:{model:t.formItem,"label-width":60}},[n("FormItem",{attrs:{label:"标题"}},[n("Input",{attrs:{value:t.formItem.category_name,placeholder:"标题"},on:{input:t.onChangeCate}})],1),t._v(" "),n("FormItem",{attrs:{label:"more"}},[n("Input",{attrs:{value:t.formItem.productListTitle,placeholder:"跳转列表标题"},on:{input:t.onChangeTitle}})],1),t._v(" "),n("FormItem",[n("Select",{attrs:{value:t.formItem.type},on:{input:t.onChangeSelect}},[n("Option",{attrs:{value:"sort"}},[t._v("分类")]),t._v(" "),n("Option",{attrs:{value:"series"}},[t._v("系列")])],1)],1),t._v(" "),n("FormItem",[n("Input",{attrs:{value:t.formItem.type_id,placeholder:"ID"},on:{input:t.onChangeType}})],1),t._v(" "),n("FormItem",{attrs:{label:"商品编码"}},[n("Input",{attrs:{value:t.formItem.product_ids,type:"textarea",rows:4,placeholder:"多个商品以英文逗号分隔"},on:{input:t.onChangeIds}})],1),t._v(" "),n("Button",{attrs:{type:"error"},on:{click:t.onDelete}},[t._v("删除")]),t._v("  提示:可拖动排序\n")],1)},o=[];i._withStripped=!0;var r={render:i,staticRenderFns:o};e.a=r},function(t,e,n){"use strict";function i(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}var o=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t};!function(){function e(t,e,n){return void 0==n?t:(t=null==t?{}:t,t[e]=n,t)}function r(t){function n(t){t.parentElement.removeChild(t)}function r(t,e,n){var i=0===n?t.children[0]:t.children[n-1].nextSibling;t.insertBefore(e,i)}function a(t,e){return t.map(function(t){return t.elm}).indexOf(e)}function s(t,e,n){if(!t)return[];var o=t.map(function(t){return t.elm}),r=[].concat(i(e)).map(function(t){return o.indexOf(t)});return n?r.filter(function(t){return-1!==t}):r}function l(t,e){var n=this;this.$nextTick(function(){return n.$emit(t.toLowerCase(),e)})}function u(t){var e=this;return function(n){null!==e.realList&&e["onDrag"+t](n),l.call(e,t,n)}}var c=["Start","Add","Remove","Update","End"],d=["Choose","Sort","Filter","Clone"],p=["Move"].concat(c,d).map(function(t){return"on"+t}),h=null;return{name:"draggable",props:{options:Object,list:{type:Array,required:!1,default:null},value:{type:Array,required:!1,default:null},noTransitionOnDrag:{type:Boolean,default:!1},clone:{type:Function,default:function(t){return t}},element:{type:String,default:"div"},move:{type:Function,default:null},componentData:{type:Object,required:!1,default:null}},data:function(){return{transitionMode:!1,noneFunctionalComponentMode:!1,init:!1}},render:function(t){var n=this.$slots.default;if(n&&1===n.length){var o=n[0];o.componentOptions&&"transition-group"===o.componentOptions.tag&&(this.transitionMode=!0)}var r=n,a=this.$slots.footer;a&&(r=n?[].concat(i(n),i(a)):[].concat(i(a)));var s=null,l=function(t,n){s=e(s,t,n)};if(l("attrs",this.$attrs),this.componentData){var u=this.componentData,c=u.on,d=u.props;l("on",c),l("props",d)}return t(this.element,s,r)},mounted:function(){var e=this;if(this.noneFunctionalComponentMode=this.element.toLowerCase()!==this.$el.nodeName.toLowerCase(),this.noneFunctionalComponentMode&&this.transitionMode)throw new Error("Transition-group inside component is not supported. Please alter element value or remove transition-group. Current element value: "+this.element);var n={};c.forEach(function(t){n["on"+t]=u.call(e,t)}),d.forEach(function(t){n["on"+t]=l.bind(e,t)});var i=o({},this.options,n,{onMove:function(t,n){return e.onDragMove(t,n)}});!("draggable"in i)&&(i.draggable=">*"),this._sortable=new t(this.rootContainer,i),this.computeIndexes()},beforeDestroy:function(){this._sortable.destroy()},computed:{rootContainer:function(){return this.transitionMode?this.$el.children[0]:this.$el},isCloning:function(){return!!this.options&&!!this.options.group&&"clone"===this.options.group.pull},realList:function(){return this.list?this.list:this.value}},watch:{options:{handler:function(t){for(var e in t)-1==p.indexOf(e)&&this._sortable.option(e,t[e])},deep:!0},realList:function(){this.computeIndexes()}},methods:{getChildrenNodes:function(){if(this.init||(this.noneFunctionalComponentMode=this.noneFunctionalComponentMode&&1==this.$children.length,this.init=!0),this.noneFunctionalComponentMode)return this.$children[0].$slots.default;var t=this.$slots.default;return this.transitionMode?t[0].child.$slots.default:t},computeIndexes:function(){var t=this;this.$nextTick(function(){t.visibleIndexes=s(t.getChildrenNodes(),t.rootContainer.children,t.transitionMode)})},getUnderlyingVm:function(t){var e=a(this.getChildrenNodes()||[],t);return-1===e?null:{index:e,element:this.realList[e]}},getUnderlyingPotencialDraggableComponent:function(t){var e=t.__vue__;return e&&e.$options&&"transition-group"===e.$options._componentTag?e.$parent:e},emitChanges:function(t){var e=this;this.$nextTick(function(){e.$emit("change",t)})},alterList:function(t){if(this.list)t(this.list);else{var e=[].concat(i(this.value));t(e),this.$emit("input",e)}},spliceList:function(){var t=arguments,e=function(e){return e.splice.apply(e,t)};this.alterList(e)},updatePosition:function(t,e){var n=function(n){return n.splice(e,0,n.splice(t,1)[0])};this.alterList(n)},getRelatedContextFromMoveEvent:function(t){var e=t.to,n=t.related,i=this.getUnderlyingPotencialDraggableComponent(e);if(!i)return{component:i};var r=i.realList,a={list:r,component:i};if(e!==n&&r&&i.getUnderlyingVm){var s=i.getUnderlyingVm(n);if(s)return o(s,a)}return a},getVmIndex:function(t){var e=this.visibleIndexes,n=e.length;return t>n-1?n:e[t]},getComponent:function(){return this.$slots.default[0].componentInstance},resetTransitionData:function(t){if(this.noTransitionOnDrag&&this.transitionMode){this.getChildrenNodes()[t].data=null;var e=this.getComponent();e.children=[],e.kept=void 0}},onDragStart:function(t){this.context=this.getUnderlyingVm(t.item),t.item._underlying_vm_=this.clone(this.context.element),h=t.item},onDragAdd:function(t){var e=t.item._underlying_vm_;if(void 0!==e){n(t.item);var i=this.getVmIndex(t.newIndex);this.spliceList(i,0,e),this.computeIndexes();var o={element:e,newIndex:i};this.emitChanges({added:o})}},onDragRemove:function(t){if(r(this.rootContainer,t.item,t.oldIndex),this.isCloning)return void n(t.clone);var e=this.context.index;this.spliceList(e,1);var i={element:this.context.element,oldIndex:e};this.resetTransitionData(e),this.emitChanges({removed:i})},onDragUpdate:function(t){n(t.item),r(t.from,t.item,t.oldIndex);var e=this.context.index,i=this.getVmIndex(t.newIndex);this.updatePosition(e,i);var o={element:this.context.element,oldIndex:e,newIndex:i};this.emitChanges({moved:o})},computeFutureIndex:function(t,e){if(!t.element)return 0;var n=[].concat(i(e.to.children)).filter(function(t){return"none"!==t.style.display}),o=n.indexOf(e.related),r=t.component.getVmIndex(o);return-1==n.indexOf(h)&&e.willInsertAfter?r+1:r},onDragMove:function(t,e){var n=this.move;if(!n||!this.realList)return!0;var i=this.getRelatedContextFromMoveEvent(t),r=this.context,a=this.computeFutureIndex(i,t);return o(r,{futureIndex:a}),o(t,{relatedContext:i,draggedContext:r}),n(t,e)},onDragEnd:function(t){this.computeIndexes(),h=null}}}}Array.from||(Array.from=function(t){return[].slice.call(t)});var a=n(310);t.exports=r(a)}()},function(t,e,n){var i,o;/**!
  2 + * Sortable
  3 + * @author RubaXa <trash@rubaxa.org>
  4 + * @license MIT
  5 + */
  6 +!function(r){"use strict";i=r,void 0!==(o="function"==typeof i?i.call(e,n,e,t):i)&&(t.exports=o)}(function(){"use strict";function t(e,n){if(!e||!e.nodeType||1!==e.nodeType)throw"Sortable: `el` must be HTMLElement, and not "+{}.toString.call(e);this.el=e,this.options=n=b({},n),e[z]=this;var i={group:Math.random(),sort:!0,disabled:!1,store:null,handle:null,scroll:!0,scrollSensitivity:30,scrollSpeed:10,draggable:/[uo]l/i.test(e.nodeName)?"li":">*",ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,setData:function(t,e){t.setData("Text",e.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:!1!==t.supportPointer};for(var o in i)!(o in n)&&(n[o]=i[o]);ct(n);for(var a in this)"_"===a.charAt(0)&&"function"==typeof this[a]&&(this[a]=this[a].bind(this));this.nativeDraggable=!n.forceFallback&&nt,r(e,"mousedown",this._onTapStart),r(e,"touchstart",this._onTapStart),n.supportPointer&&r(e,"pointerdown",this._onTapStart),this.nativeDraggable&&(r(e,"dragover",this),r(e,"dragenter",this)),lt.push(this._onDragOver),n.store&&this.sort(n.store.get(this))}function e(t,e){"clone"!==t.lastPullMode&&(e=!0),$&&$.state!==e&&(l($,"display",e?"none":""),e||$.state&&(t.options.group.revertClone?(k.insertBefore($,T),t._animate(x,$)):k.insertBefore($,x)),$.state=e)}function n(t,e,n){if(t){n=n||q;do{if(">*"===e&&t.parentNode===n||g(t,e))return t}while(t=i(t))}return null}function i(t){var e=t.host;return e&&e.nodeType?e:t.parentNode}function o(t){t.dataTransfer&&(t.dataTransfer.dropEffect="move"),t.preventDefault()}function r(t,e,n){t.addEventListener(e,n,tt)}function a(t,e,n){t.removeEventListener(e,n,tt)}function s(t,e,n){if(t)if(t.classList)t.classList[n?"add":"remove"](e);else{var i=(" "+t.className+" ").replace(Q," ").replace(" "+e+" "," ");t.className=(i+(n?" "+e:"")).replace(Q," ")}}function l(t,e,n){var i=t&&t.style;if(i){if(void 0===n)return q.defaultView&&q.defaultView.getComputedStyle?n=q.defaultView.getComputedStyle(t,""):t.currentStyle&&(n=t.currentStyle),void 0===e?n:n[e];e in i||(e="-webkit-"+e),i[e]=n+("string"==typeof n?"":"px")}}function u(t,e,n){if(t){var i=t.getElementsByTagName(e),o=0,r=i.length;if(n)for(;o<r;o++)n(i[o],o);return i}return[]}function c(t,e,n,i,o,r,a,s){t=t||e[z];var l=q.createEvent("Event"),u=t.options,c="on"+n.charAt(0).toUpperCase()+n.substr(1);l.initEvent(n,!0,!0),l.to=o||e,l.from=r||e,l.item=i||e,l.clone=$,l.oldIndex=a,l.newIndex=s,e.dispatchEvent(l),u[c]&&u[c].call(t,l)}function d(t,e,n,i,o,r,a,s){var l,u,c=t[z],d=c.options.onMove;return l=q.createEvent("Event"),l.initEvent("move",!0,!0),l.to=e,l.from=t,l.dragged=n,l.draggedRect=i,l.related=o||e,l.relatedRect=r||e.getBoundingClientRect(),l.willInsertAfter=s,t.dispatchEvent(l),d&&(u=d.call(c,l,a)),u}function p(t){t.draggable=!1}function h(){ot=!1}function f(t,e){var n=t.lastElementChild,i=n.getBoundingClientRect();return e.clientY-(i.top+i.height)>5||e.clientX-(i.left+i.width)>5}function v(t){for(var e=t.tagName+t.className+t.src+t.href+t.textContent,n=e.length,i=0;n--;)i+=e.charCodeAt(n);return i.toString(36)}function m(t,e){var n=0;if(!t||!t.parentNode)return-1;for(;t&&(t=t.previousElementSibling);)"TEMPLATE"===t.nodeName.toUpperCase()||">*"!==e&&!g(t,e)||n++;return n}function g(t,e){if(t){e=e.split(".");var n=e.shift().toUpperCase(),i=new RegExp("\\s("+e.join("|")+")(?=\\s)","g");return!(""!==n&&t.nodeName.toUpperCase()!=n||e.length&&((" "+t.className+" ").match(i)||[]).length!=e.length)}return!1}function _(t,e){var n,i;return function(){void 0===n&&(n=arguments,i=this,G(function(){1===n.length?t.call(i,n[0]):t.apply(i,n),n=void 0},e))}}function b(t,e){if(t&&e)for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t}function y(t){return K&&K.dom?K.dom(t).cloneNode(!0):Z?Z(t).clone(!0)[0]:t.cloneNode(!0)}function w(t){for(var e=t.getElementsByTagName("input"),n=e.length;n--;){var i=e[n];i.checked&&st.push(i)}}function C(t){return G(t,0)}function D(t){return clearTimeout(t)}if("undefined"==typeof window||!window.document)return function(){throw new Error("Sortable.js requires a window with a document")};var x,I,S,$,k,T,E,L,F,U,M,O,P,R,N,B,A,V,Y,X,j={},Q=/\s+/g,J=/left|right|inline/,z="Sortable"+(new Date).getTime(),H=window,q=H.document,W=H.parseInt,G=H.setTimeout,Z=H.jQuery||H.Zepto,K=H.Polymer,tt=!1,et=!1,nt="draggable"in q.createElement("div"),it=function(t){return!navigator.userAgent.match(/(?:Trident.*rv[ :]?11\.|msie)/i)&&(t=q.createElement("x"),t.style.cssText="pointer-events:auto","auto"===t.style.pointerEvents)}(),ot=!1,rt=Math.abs,at=Math.min,st=[],lt=[],ut=_(function(t,e,n){if(n&&e.scroll){var i,o,r,a,s,l,u=n[z],c=e.scrollSensitivity,d=e.scrollSpeed,p=t.clientX,h=t.clientY,f=window.innerWidth,v=window.innerHeight;if(F!==n&&(L=e.scroll,F=n,U=e.scrollFn,!0===L)){L=n;do{if(L.offsetWidth<L.scrollWidth||L.offsetHeight<L.scrollHeight)break}while(L=L.parentNode)}L&&(i=L,o=L.getBoundingClientRect(),r=(rt(o.right-p)<=c)-(rt(o.left-p)<=c),a=(rt(o.bottom-h)<=c)-(rt(o.top-h)<=c)),r||a||(r=(f-p<=c)-(p<=c),a=(v-h<=c)-(h<=c),(r||a)&&(i=H)),j.vx===r&&j.vy===a&&j.el===i||(j.el=i,j.vx=r,j.vy=a,clearInterval(j.pid),i&&(j.pid=setInterval(function(){if(l=a?a*d:0,s=r?r*d:0,"function"==typeof U)return U.call(u,s,l,t);i===H?H.scrollTo(H.pageXOffset+s,H.pageYOffset+l):(i.scrollTop+=l,i.scrollLeft+=s)},24)))}},30),ct=function(t){function e(t,e){return void 0!==t&&!0!==t||(t=n.name),"function"==typeof t?t:function(n,i){var o=i.options.group.name;return e?t:t&&(t.join?t.indexOf(o)>-1:o==t)}}var n={},i=t.group;i&&"object"==typeof i||(i={name:i}),n.name=i.name,n.checkPull=e(i.pull,!0),n.checkPut=e(i.put),n.revertClone=i.revertClone,t.group=n};try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:function(){et=!1,tt={capture:!1,passive:et}}}))}catch(t){}return t.prototype={constructor:t,_onTapStart:function(t){var e,i=this,o=this.el,r=this.options,a=r.preventOnFilter,s=t.type,l=t.touches&&t.touches[0],u=(l||t).target,d=t.target.shadowRoot&&t.path&&t.path[0]||u,p=r.filter;if(w(o),!x&&!(/mousedown|pointerdown/.test(s)&&0!==t.button||r.disabled)&&!d.isContentEditable&&(u=n(u,r.draggable,o))&&E!==u){if(e=m(u,r.draggable),"function"==typeof p){if(p.call(this,t,u,this))return c(i,d,"filter",u,o,o,e),void(a&&t.preventDefault())}else if(p&&(p=p.split(",").some(function(t){if(t=n(d,t.trim(),o))return c(i,t,"filter",u,o,o,e),!0})))return void(a&&t.preventDefault());r.handle&&!n(d,r.handle,o)||this._prepareDragStart(t,l,u,e)}},_prepareDragStart:function(t,e,n,i){var o,a=this,l=a.el,d=a.options,h=l.ownerDocument;n&&!x&&n.parentNode===l&&(V=t,k=l,x=n,I=x.parentNode,T=x.nextSibling,E=n,B=d.group,R=i,this._lastX=(e||t).clientX,this._lastY=(e||t).clientY,x.style["will-change"]="all",o=function(){a._disableDelayedDrag(),x.draggable=a.nativeDraggable,s(x,d.chosenClass,!0),a._triggerDragStart(t,e),c(a,k,"choose",x,k,k,R)},d.ignore.split(",").forEach(function(t){u(x,t.trim(),p)}),r(h,"mouseup",a._onDrop),r(h,"touchend",a._onDrop),r(h,"touchcancel",a._onDrop),r(h,"selectstart",a),d.supportPointer&&r(h,"pointercancel",a._onDrop),d.delay?(r(h,"mouseup",a._disableDelayedDrag),r(h,"touchend",a._disableDelayedDrag),r(h,"touchcancel",a._disableDelayedDrag),r(h,"mousemove",a._disableDelayedDrag),r(h,"touchmove",a._disableDelayedDrag),d.supportPointer&&r(h,"pointermove",a._disableDelayedDrag),a._dragStartTimer=G(o,d.delay)):o())},_disableDelayedDrag:function(){var t=this.el.ownerDocument;clearTimeout(this._dragStartTimer),a(t,"mouseup",this._disableDelayedDrag),a(t,"touchend",this._disableDelayedDrag),a(t,"touchcancel",this._disableDelayedDrag),a(t,"mousemove",this._disableDelayedDrag),a(t,"touchmove",this._disableDelayedDrag),a(t,"pointermove",this._disableDelayedDrag)},_triggerDragStart:function(t,e){e=e||("touch"==t.pointerType?t:null),e?(V={target:x,clientX:e.clientX,clientY:e.clientY},this._onDragStart(V,"touch")):this.nativeDraggable?(r(x,"dragend",this),r(k,"dragstart",this._onDragStart)):this._onDragStart(V,!0);try{q.selection?C(function(){q.selection.empty()}):window.getSelection().removeAllRanges()}catch(t){}},_dragStarted:function(){if(k&&x){var e=this.options;s(x,e.ghostClass,!0),s(x,e.dragClass,!1),t.active=this,c(this,k,"start",x,k,k,R)}else this._nulling()},_emulateDragOver:function(){if(Y){if(this._lastX===Y.clientX&&this._lastY===Y.clientY)return;this._lastX=Y.clientX,this._lastY=Y.clientY,it||l(S,"display","none");var t=q.elementFromPoint(Y.clientX,Y.clientY),e=t,n=lt.length;if(t&&t.shadowRoot&&(t=t.shadowRoot.elementFromPoint(Y.clientX,Y.clientY),e=t),e)do{if(e[z]){for(;n--;)lt[n]({clientX:Y.clientX,clientY:Y.clientY,target:t,rootEl:e});break}t=e}while(e=e.parentNode);it||l(S,"display","")}},_onTouchMove:function(e){if(V){var n=this.options,i=n.fallbackTolerance,o=n.fallbackOffset,r=e.touches?e.touches[0]:e,a=r.clientX-V.clientX+o.x,s=r.clientY-V.clientY+o.y,u=e.touches?"translate3d("+a+"px,"+s+"px,0)":"translate("+a+"px,"+s+"px)";if(!t.active){if(i&&at(rt(r.clientX-this._lastX),rt(r.clientY-this._lastY))<i)return;this._dragStarted()}this._appendGhost(),X=!0,Y=r,l(S,"webkitTransform",u),l(S,"mozTransform",u),l(S,"msTransform",u),l(S,"transform",u),e.preventDefault()}},_appendGhost:function(){if(!S){var t,e=x.getBoundingClientRect(),n=l(x),i=this.options;S=x.cloneNode(!0),s(S,i.ghostClass,!1),s(S,i.fallbackClass,!0),s(S,i.dragClass,!0),l(S,"top",e.top-W(n.marginTop,10)),l(S,"left",e.left-W(n.marginLeft,10)),l(S,"width",e.width),l(S,"height",e.height),l(S,"opacity","0.8"),l(S,"position","fixed"),l(S,"zIndex","100000"),l(S,"pointerEvents","none"),i.fallbackOnBody&&q.body.appendChild(S)||k.appendChild(S),t=S.getBoundingClientRect(),l(S,"width",2*e.width-t.width),l(S,"height",2*e.height-t.height)}},_onDragStart:function(t,e){var n=this,i=t.dataTransfer,o=n.options;n._offUpEvents(),B.checkPull(n,n,x,t)&&($=y(x),$.draggable=!1,$.style["will-change"]="",l($,"display","none"),s($,n.options.chosenClass,!1),n._cloneId=C(function(){k.insertBefore($,x),c(n,k,"clone",x)})),s(x,o.dragClass,!0),e?("touch"===e?(r(q,"touchmove",n._onTouchMove),r(q,"touchend",n._onDrop),r(q,"touchcancel",n._onDrop),o.supportPointer&&(r(q,"pointermove",n._onTouchMove),r(q,"pointerup",n._onDrop))):(r(q,"mousemove",n._onTouchMove),r(q,"mouseup",n._onDrop)),n._loopId=setInterval(n._emulateDragOver,50)):(i&&(i.effectAllowed="move",o.setData&&o.setData.call(n,i,x)),r(q,"drop",n),n._dragStartId=C(n._dragStarted))},_onDragOver:function(i){var o,r,a,s,u=this.el,c=this.options,p=c.group,v=t.active,m=B===p,g=!1,_=c.sort;if(void 0!==i.preventDefault&&(i.preventDefault(),!c.dragoverBubble&&i.stopPropagation()),!x.animated&&(X=!0,v&&!c.disabled&&(m?_||(s=!k.contains(x)):A===this||(v.lastPullMode=B.checkPull(this,v,x,i))&&p.checkPut(this,v,x,i))&&(void 0===i.rootEl||i.rootEl===this.el))){if(ut(i,c,this.el),ot)return;if(o=n(i.target,c.draggable,u),r=x.getBoundingClientRect(),A!==this&&(A=this,g=!0),s)return e(v,!0),I=k,void($||T?k.insertBefore(x,$||T):_||k.appendChild(x));if(0===u.children.length||u.children[0]===S||u===i.target&&f(u,i)){if(0!==u.children.length&&u.children[0]!==S&&u===i.target&&(o=u.lastElementChild),o){if(o.animated)return;a=o.getBoundingClientRect()}e(v,m),!1!==d(k,u,x,r,o,a,i)&&(x.contains(u)||(u.appendChild(x),I=u),this._animate(r,x),o&&this._animate(a,o))}else if(o&&!o.animated&&o!==x&&void 0!==o.parentNode[z]){M!==o&&(M=o,O=l(o),P=l(o.parentNode)),a=o.getBoundingClientRect();var b=a.right-a.left,y=a.bottom-a.top,w=J.test(O.cssFloat+O.display)||"flex"==P.display&&0===P["flex-direction"].indexOf("row"),C=o.offsetWidth>x.offsetWidth,D=o.offsetHeight>x.offsetHeight,E=(w?(i.clientX-a.left)/b:(i.clientY-a.top)/y)>.5,L=o.nextElementSibling,F=!1;if(w){var U=x.offsetTop,R=o.offsetTop;F=U===R?o.previousElementSibling===x&&!C||E&&C:o.previousElementSibling===x||x.previousElementSibling===o?(i.clientY-a.top)/y>.5:R>U}else g||(F=L!==x&&!D||E&&D);var N=d(k,u,x,r,o,a,i,F);!1!==N&&(1!==N&&-1!==N||(F=1===N),ot=!0,G(h,30),e(v,m),x.contains(u)||(F&&!L?u.appendChild(x):o.parentNode.insertBefore(x,F?L:o)),I=x.parentNode,this._animate(r,x),this._animate(a,o))}}},_animate:function(t,e){var n=this.options.animation;if(n){var i=e.getBoundingClientRect();1===t.nodeType&&(t=t.getBoundingClientRect()),l(e,"transition","none"),l(e,"transform","translate3d("+(t.left-i.left)+"px,"+(t.top-i.top)+"px,0)"),e.offsetWidth,l(e,"transition","all "+n+"ms"),l(e,"transform","translate3d(0,0,0)"),clearTimeout(e.animated),e.animated=G(function(){l(e,"transition",""),l(e,"transform",""),e.animated=!1},n)}},_offUpEvents:function(){var t=this.el.ownerDocument;a(q,"touchmove",this._onTouchMove),a(q,"pointermove",this._onTouchMove),a(t,"mouseup",this._onDrop),a(t,"touchend",this._onDrop),a(t,"pointerup",this._onDrop),a(t,"touchcancel",this._onDrop),a(t,"pointercancel",this._onDrop),a(t,"selectstart",this)},_onDrop:function(e){var n=this.el,i=this.options;clearInterval(this._loopId),clearInterval(j.pid),clearTimeout(this._dragStartTimer),D(this._cloneId),D(this._dragStartId),a(q,"mouseover",this),a(q,"mousemove",this._onTouchMove),this.nativeDraggable&&(a(q,"drop",this),a(n,"dragstart",this._onDragStart)),this._offUpEvents(),e&&(X&&(e.preventDefault(),!i.dropBubble&&e.stopPropagation()),S&&S.parentNode&&S.parentNode.removeChild(S),k!==I&&"clone"===t.active.lastPullMode||$&&$.parentNode&&$.parentNode.removeChild($),x&&(this.nativeDraggable&&a(x,"dragend",this),p(x),x.style["will-change"]="",s(x,this.options.ghostClass,!1),s(x,this.options.chosenClass,!1),c(this,k,"unchoose",x,I,k,R),k!==I?(N=m(x,i.draggable))>=0&&(c(null,I,"add",x,I,k,R,N),c(this,k,"remove",x,I,k,R,N),c(null,I,"sort",x,I,k,R,N),c(this,k,"sort",x,I,k,R,N)):x.nextSibling!==T&&(N=m(x,i.draggable))>=0&&(c(this,k,"update",x,I,k,R,N),c(this,k,"sort",x,I,k,R,N)),t.active&&(null!=N&&-1!==N||(N=R),c(this,k,"end",x,I,k,R,N),this.save()))),this._nulling()},_nulling:function(){k=x=I=S=T=$=E=L=F=V=Y=X=N=M=O=A=B=t.active=null,st.forEach(function(t){t.checked=!0}),st.length=0},handleEvent:function(t){switch(t.type){case"drop":case"dragend":this._onDrop(t);break;case"dragover":case"dragenter":x&&(this._onDragOver(t),o(t));break;case"mouseover":this._onDrop(t);break;case"selectstart":t.preventDefault()}},toArray:function(){for(var t,e=[],i=this.el.children,o=0,r=i.length,a=this.options;o<r;o++)t=i[o],n(t,a.draggable,this.el)&&e.push(t.getAttribute(a.dataIdAttr)||v(t));return e},sort:function(t){var e={},i=this.el;this.toArray().forEach(function(t,o){var r=i.children[o];n(r,this.options.draggable,i)&&(e[t]=r)},this),t.forEach(function(t){e[t]&&(i.removeChild(e[t]),i.appendChild(e[t]))})},save:function(){var t=this.options.store;t&&t.set(this)},closest:function(t,e){return n(t,e||this.options.draggable,this.el)},option:function(t,e){var n=this.options;if(void 0===e)return n[t];n[t]=e,"group"===t&&ct(n)},destroy:function(){var t=this.el;t[z]=null,a(t,"mousedown",this._onTapStart),a(t,"touchstart",this._onTapStart),a(t,"pointerdown",this._onTapStart),this.nativeDraggable&&(a(t,"dragover",this),a(t,"dragenter",this)),Array.prototype.forEach.call(t.querySelectorAll("[draggable]"),function(t){t.removeAttribute("draggable")}),lt.splice(lt.indexOf(this._onDragOver),1),this._onDrop(),this.el=t=null}},r(q,"touchmove",function(e){t.active&&e.preventDefault()}),t.utils={on:r,off:a,css:l,find:u,is:function(t,e){return!!n(t,e,t)},extend:b,throttle:_,closest:n,toggleClass:s,clone:y,index:m,nextTick:C,cancelNextTick:D},t.create=function(e,n){return new t(e,n)},t.version="1.7.0",t})},function(t,e,n){"use strict";var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("draggable",{on:{start:function(e){t.drag=!0},end:function(e){t.drag=!1}},model:{value:t.list,callback:function(e){t.list=e},expression:"list"}},t._l(t.list,function(e,i){return n("div",{key:e.id,staticClass:"item"},[n("sort-tab-item",{attrs:{value:e,id:i},on:{"on-remove":t.onDeleteBtn,"on-change":function(e){return t.onChange(i,e)}}})],1)})),t._v(" "),n("Button",{staticStyle:{"margin-top":"20px"},attrs:{type:"primary"},on:{click:t.onAddBtn}},[t._v("添加一组")])],1)},o=[];i._withStripped=!0;var r={render:i,staticRenderFns:o};e.a=r},function(t,e,n){"use strict";var i=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",[i("select-comp",{attrs:{cb:t.onClick}},[i("img",{attrs:{src:n(313),alt:"",srcset:"",width:"100%"}})]),t._v(" "),i("Modal",{attrs:{title:"品类资源位"},on:{"on-ok":t.onOk,"on-cancel":t.onCancel},model:{value:t.show,callback:function(e){t.show=e},expression:"show"}},[i("sort-tab-editor",{ref:"editor",attrs:{value:t.list}})],1)],1)},o=[];i._withStripped=!0;var r={render:i,staticRenderFns:o};e.a=r},function(t,e,n){t.exports=n.p+"img/sort_item.3b5c8f7.png"},function(t,e,n){"use strict";function i(t){a||n(315)}var o=n(123),r=n(316),a=!1,s=n(0),l=i,u=s(o.a,r.a,!1,l,null,null);u.options.__file="src/components/empty.vue",e.a=u.exports},function(t,e){},function(t,e,n){"use strict";var i=function(){var t=this,e=t.$createElement;return(t._self._c||e)("div")},o=[];i._withStripped=!0;var r={render:i,staticRenderFns:o};e.a=r},function(t,e,n){"use strict";function i(t){a||n(318)}var o=n(124),r=n(319),a=!1,s=n(0),l=i,u=s(o.a,r.a,!1,l,null,null);u.options.__file="src/components/divide.vue",e.a=u.exports},function(t,e){},function(t,e,n){"use strict";var i=function(){var t=this,e=t.$createElement;return(t._self._c||e)("div",{staticClass:"divide"})},o=[];i._withStripped=!0;var r={render:i,staticRenderFns:o};e.a=r},function(t,e,n){t.exports=n.p+"img/sort_title.ba4687f.png"},function(t,e,n){"use strict";var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"index"},[n("miniapp",{attrs:{title:t.title,bg:t.bg}},[[t._l(t.list,function(e){return[n("smartfloor",{key:e.resContentId,attrs:{item:e}}),t._v(" "),n("divide")]})]],2)],1)},o=[];i._withStripped=!0;var r={render:i,staticRenderFns:o};e.a=r},function(t,e,n){"use strict";var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("LayoutContent",{attrs:{breads:[{url:"resource-list.html",title:"资源位列表"},{title:"资源位编辑"}]}},[n("home-page")],1)},o=[];i._withStripped=!0;var r={render:i,staticRenderFns:o};e.a=r}]),[233]);
1 -webpackJsonp([0],Array(31).concat([function(t,e,n){"use strict";function i(t){a||n(243)}var o=n(103),r=n(244),a=!1,s=n(0),l=i,u=s(o.a,r.a,!1,l,null,null);u.options.__file="src/components/select-comp.vue",e.a=u.exports},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,e,n){t.exports={default:n(247),__esModule:!0}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,e,n){"use strict";var i=n(236);e.a={data:function(){return{}},mounted:function(){},beforeDestroy:function(){},methods:{},components:{"home-page":i.a}}},function(t,e,n){"use strict";var i=n(238),o=n(241),r=n(317),a=n(7),s=n(22),l={1:n(101),2:n(320)};e.a={data:function(){return{list:[],resId:null,bg:"",title:""}},mounted:function(){var t=this;this.resId=a.a.getQueryString("id")||1,this.title=a.a.getQueryString("name")||"资源位管理",this.resourceService=new s.a,this.init(),this.$bus.$on("updated",function(){console.log("updated"),t.init()}),this.bg=this.getBg()},methods:{init:function(){var t=this;this.resourceService.info(this.resId).then(function(e){t.list=e})},getBg:function(){return l[this.resId]}},components:{miniapp:i.a,smartfloor:o.a,divide:r.a}}},function(t,e,n){"use strict";e.a={name:"miniapp",props:{title:{type:String,default:function(){return""}},bg:{type:String,default:function(){return n(101)}}}}},function(t,e,n){t.exports=n.p+"img/apptitle.74e80a1.png"},function(t,e,n){"use strict";var i=n(13),o=n.n(i),r=(n(31),n(245)),a=n(287),s=n(294),l=n(301),u=n(314);e.a={name:"smart-floor",functional:!0,props:{item:{type:Object,required:!0}},render:function(t,e){return t(function(){var t=e.props.item;return 0===t.type?r.a:1===t.type?a.a:2===t.type?l.a:"resGoodsPoools"===t.type?s.a:u.a}(),o()({},e.data,{props:e.props.item}),e.children)}}},function(t,e,n){"use strict";e.a={name:"select-comp",props:["cb"]}},function(t,e,n){"use strict";var i=n(61),o=n.n(i),r=n(31),a=n(248),s=n(22);e.a={props:["data","resContentDataId"],data:function(){var t=JSON.parse(this.data);return{imgUrl:n(285),show:!1,list:t.data,allData:t}},mounted:function(){this.resourceService=new s.a},methods:{onClick:function(){this.show=!0},onOk:function(){var t=this;this.allData.data=this.$refs.editor.getValue(),this.resourceService.editResource({id:this.resContentDataId,contentData:o()(this.allData)}).then(function(){t.$bus.$emit("updated")}).catch(function(){t.$bus.$emit("updated")})},onCancel:function(){this.allData=JSON.parse(this.data),this.list=this.allData.data,this.$bus.$emit("updated")}},components:{selectComp:r.a,bannerEditor:a.a}}},function(t,e,n){"use strict";var i=n(250),o=n.n(i),r=n(53),a=n.n(r),s=n(253),l=n(261),u=n(7);e.a={props:["value"],filters:{removeImageParams:function(t){if(t)return t.split("?")[0]}},data:function(){return{value_:this.handleData(u.a.clone(this.value))}},methods:{onDeleteBtnClick:function(t,e){this.value_.splice(e,1),this.$emit("input",this.handleSaveData(this.value_))},onAddBtnClick:function(){this.value_.push({alt:"",bgColor:"",imgId:"0",isFocusRec:"0",src:"",url:{action:"go.h5",url:""}}),this.$emit("input",this.handleSaveData(this.value_))},onUploadSuccess:function(t,e){var n=e.url;this.value_[t].src=n+"?imageView2/{mode}/w/{width}/h/{height}",this.$emit("input",this.handleSaveData(this.value_))},onUploadRemove:function(t){this.value_[t].src="",this.$emit("input",this.handleSaveData(this.value_))},handleData:function(t){var e=a()(t);e.sort(function(t,e){return t=+t,e=+e,t>e?1:t<e?-1:0});var n=[],i=!0,r=!1,s=void 0;try{for(var l,c=o()(e);!(i=(l=c.next()).done);i=!0){var d=l.value,p=t[d];this.addId(p),"go.ufo"===p.url.action&&"productDetail"===u.a.getUrlQueryString(p.url.url,"pagename")&&(p.url.action="go.pool"),n.push(p)}}catch(t){r=!0,s=t}finally{try{!i&&c.return&&c.return()}finally{if(r)throw s}}return n},handleSaveData:function(t){var e=u.a.clone(t),n=!0,i=!1,r=void 0;try{for(var s,l=o()(a()(e));!(n=(s=l.next()).done);n=!0){var c=s.value;"go.pool"===e[c].url.action&&(e[c].url.action="go.ufo")}}catch(t){i=!0,r=t}finally{try{!n&&l.return&&l.return()}finally{if(i)throw r}}var d={},p=!0,h=!1,f=void 0;try{for(var v,m=o()(a()(e));!(p=(v=m.next()).done);p=!0){var g=v.value;d[g]=e[g]}}catch(t){h=!0,f=t}finally{try{!p&&m.return&&m.return()}finally{if(h)throw f}}return d},getValue:function(){return this.handleSaveData(this.value_)},addId:function(t){if("id"in t)return t;t.id=this.$bus.genId()}},watch:{value:function(t){this.value_=this.handleData(u.a.clone(t))}},components:{fileUpload:s.a,bannerParams:l.a}}},function(t,e,n){"use strict";var i=n(255);e.a={name:"drag-file-upload",props:{id:{type:Number},defaultFile:{type:String},bucket:{type:String,default:function(){return"yhb-img01"}}},data:function(){var t=this;return{imgUrl:"",show:!0,visible:!1,uploadList:[],defaultList:t.defaultFile?[{url:t.defaultFile}]:[]}},methods:{handleView:function(t){this.imgUrl=t,this.visible=!0},handleRemove:function(){var t=this.uploadList[0],e=this.$refs.upload.fileList;this.$refs.upload.fileList.splice(e.indexOf(t),1),this.uploadList=this.$refs.upload.fileList,this.$emit("remove",this.id)},handleSuccess:function(t,e,n){t.data&&(e.url=t.data),this.uploadList=n,this.$emit("success",this.id,e)},handleError:function(){this.$Notice.error("上传失败"),this.$emit("error",this.id)},handleFormatError:function(t){this.$Notice.warning({title:"文件格式不正确",desc:"文件 "+t.name+" 格式不正确,请上传 jpg 或 png 格式的图片。"})},handleMaxSize:function(t){this.$Notice.warning({title:"超出文件大小限制",desc:"文件 "+t.name+" 太大,不能超过 2M。"})}},mounted:function(){this.uploadList=this.$refs.upload.fileList},watch:{defaultFile:function(t){t&&(this.defaultList=[{url:t}])}},components:{imagePurview:i.a}}},function(t,e,n){"use strict";var i=n(257);e.a={name:"image-purview",props:{status:{type:String,default:"finished"},url:{type:String},progress:{type:Boolean,default:!1},percentage:{type:Number},remove:{type:Boolean,default:!1}},data:function(){return{showModal:!1}},methods:{purviewImage:function(){this.showModal=!0,this.$emit("purview",this.url)},removeImage:function(){this.$emit("remove-image",this.url)}},components:{modalPurview:i.a}}},function(t,e,n){"use strict";e.a={name:"modal-purview",props:["value","url"],data:function(){return{model:this.value}},methods:{input:function(t){this.model=t,this.$emit("input",t)}},watch:{value:function(t){this.model=t}}}},function(t,e,n){"use strict";var i=n(263),o=n(266),r=n(269);e.a={props:["value"],data:function(){return{url_:this.value.url,action_:this.value.action}},methods:{},watch:{url_:function(t){this.$emit("input",{url:this.url_,action:this.action_})},action_:function(t){"go.pool"===t?this.url_="https://m.yohobuy.com/?pagename=productDetail":"go.ufo"===t?this.url_="https://m.yohobuy.com/?pagename=productList":"go.h5"===t&&(this.url_=""),this.$emit("input",{url:this.url_,action:this.action_})}},components:{h5Url:i.a,poolUrl:o.a,detailUrl:r.a}}},function(t,e,n){"use strict";var i=n(7);e.a={props:["value"],data:function(){return{title:i.a.getUrlQueryString(this.value,"title"),link:i.a.getLink(this.value)}},watch:{value:function(t){this.title=i.a.getUrlQueryString(t,"title"),this.link=i.a.getLink(t)}},methods:{onUpdateTitle:function(t){this.title=t,this.$emit("input",this.getUrl())},onUpdateLink:function(t){this.link=t,this.$emit("input",this.getUrl())},getUrl:function(){return this.link+"?title="+this.title}}}},function(t,e,n){"use strict";var i=n(7);e.a={props:["value"],data:function(){return{pagename:i.a.getUrlQueryString(this.value,"pagename")||"productList",productListTitle:i.a.getUrlQueryString(this.value,"productListTitle"),productPool:i.a.getUrlQueryString(this.value,"productPool"),link:i.a.getLink(this.value)||"https://m.yohobuy.com/"}},watch:{value:function(t){this.pagename=i.a.getUrlQueryString(this.value,"pagename")||"productList",this.productListTitle=i.a.getUrlQueryString(this.value,"productListTitle"),this.productPool=i.a.getUrlQueryString(this.value,"productPool"),this.link=i.a.getLink(this.value)||"https://m.yohobuy.com/"}},methods:{onUpdateTitle:function(t){this.productListTitle=t,this.$emit("input",this.getUrl())},onUpdatePool:function(t){this.productPool=t,this.$emit("input",this.getUrl())},getUrl:function(){var t=new URLSearchParams;return t.append("pagename",this.pagename),t.append("productListTitle",this.productListTitle),t.append("productPool",this.productPool),this.link+"?"+t}}}},function(t,e,n){"use strict";var i=n(7);e.a={props:["value"],data:function(){return{pagename:i.a.getUrlQueryString(this.value,"pagename")||"productDetail",productId:i.a.getUrlQueryString(this.value,"productId"),link:i.a.getLink(this.value)||"https://m.yohobuy.com/"}},watch:{value:function(t){this.pagename=i.a.getUrlQueryString(this.value,"pagename")||"productDetail",this.productId=i.a.getUrlQueryString(this.value,"productId"),this.link=i.a.getLink(this.value)||"https://m.yohobuy.com/"}},methods:{onUpdateProductId:function(t){this.productId=t,this.$emit("input",this.getUrl())},getUrl:function(){var t=new URLSearchParams;return t.append("pagename",this.pagename),t.append("productId",this.productId),this.link+"?"+t}}}},,,,function(t,e,n){"use strict";var i=n(61),o=n.n(i),r=n(31),a=n(289),s=n(22);e.a={name:"hot",props:["data","resContentDataId"],data:function(){var t=JSON.parse(this.data);return{allData:t,show:!1,name:t.template_intro,list:t.data.split(",")}},mounted:function(){this.resourceService=new s.a},methods:{onClick:function(){this.show=!0},onOk:function(){var t=this;this.allData.template_intro=this.name,this.allData.data=this.list.join(","),this.resourceService.editResource({id:this.resContentDataId,contentData:o()(this.allData)}).then(function(){t.$bus.$emit("updated")}).catch(function(){t.$bus.$emit("updated")})},onCancel:function(){this.name=this.allData.template_intro,this.list=this.allData.data.split(","),this.$bus.$emit("updated")}},components:{selectComp:r.a,hotEditor:a.a}}},function(t,e,n){"use strict";e.a={props:["name","list"],data:function(){return{formItem:{input:this.name,ids:this.list.join(",")}}},watch:{"formItem.input":function(t){this.$emit("update:name",t)},"formItem.ids":function(t){this.$emit("update:list",t.split(","))}}}},function(t,e,n){"use strict";var i=n(31),o=n(296),r=n(22),a=n(7);e.a={name:"tab",props:["data"],data:function(){return{show:!1,list:a.a.clone(this.data)}},mounted:function(){this.resourceService=new r.a},methods:{onClick:function(){this.show=!0},onOk:function(){var t=this.list.map(function(t){return{id:t.id,poolId:t.poolId}});this.resourceService.editGoodsPool(t),this.$bus.$emit("updated")},onCancel:function(){this.list=a.a.clone(this.data),this.$bus.$emit("updated")}},components:{selectComp:i.a,tabEditor:o.a}}},function(t,e,n){"use strict";e.a={props:{list:{type:Array,default:function(){return[]}}},data:function(){return{}},methods:{onUpdate:function(t,e){e.poolId=t,this.$emit("update:list",this.list)}},mounted:function(){}}},function(t,e,n){"use strict";var i=n(61),o=n.n(i),r=n(31),a=n(303),s=n(22);e.a={props:["data","resContentDataId"],data:function(){var t=JSON.parse(this.data);return{show:!1,idStart:1,list:this.addId(t.data),allData:t}},mounted:function(){this.resourceService=new s.a},methods:{onClick:function(){this.show=!0},addId:function(t){var e=this;return t.forEach(function(t){"id"in t||(t.id=e.$bus.genId())}),t},onOk:function(){var t=this;this.allData.data=this.$refs.editor.getValue(),this.resourceService.editResource({id:this.resContentDataId,contentData:o()(this.allData)}).then(function(){t.$bus.$emit("updated")}).catch(function(){t.$bus.$emit("updated")})},onCancel:function(){this.$refs.editor.setValue(this.addId(this.allData.data)),this.$bus.$emit("updated")}},components:{selectComp:r.a,sortTabEditor:a.a}}},function(t,e,n){"use strict";var i=n(305),o=n(7),r=n(309),a=n.n(r);e.a={props:["value"],data:function(){return{list:o.a.clone(this.value),drag:!1}},methods:{onAddBtn:function(){this.list.push({category_name:"",product_ids:"",more_url:{action:"go.ufo",params:{pagename:"productList",productListTitle:"",sort:0}},id:this.$bus.genId()}),console.log(this.list)},onDeleteBtn:function(t){this.list.splice(t,1)},getValue:function(){return this.list},setValue:function(t){this.list=t},onChange:function(t,e){this.$set(this.list,t,e)}},components:{sortTabItem:i.a,draggable:a.a}}},function(t,e,n){"use strict";var i=n(307),o=n.n(i);e.a={props:["value","id"],data:function(){var t="sort"in this.value.more_url.params?"sort":"series",e=this.value.more_url.params[t]||"",n=this.value.more_url.params.productListTitle||"";return{formItem:{category_name:this.value.category_name,product_ids:this.value.product_ids,productListTitle:n,type:t,type_id:e}}},methods:{onDelete:function(){this.$emit("on-remove",this.id)},getValue:function(){var t=this;return{category_name:t.formItem.category_name,product_ids:t.formItem.product_ids,more_url:{action:"go.ufo",params:o()({pagename:"productList",productListTitle:t.formItem.productListTitle},t.formItem.type,t.formItem.type_id)}}},onChangeCate:function(t){this.formItem.category_name=t,this.$emit("on-change",this.getValue())},onChangeTitle:function(t){this.formItem.productListTitle=t,this.$emit("on-change",this.getValue())},onChangeSelect:function(t){this.formItem.type=t,this.$emit("on-change",this.getValue())},onChangeType:function(t){this.formItem.type_id=t,this.$emit("on-change",this.getValue())},onChangeIds:function(t){this.formItem.product_ids=t,this.$emit("on-change",this.getValue())}}}},function(t,e,n){"use strict";e.a={}},function(t,e,n){"use strict";e.a={name:"divide"}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(234),o=n(21);Object(o.a)(i.a)},function(t,e,n){"use strict";function i(t){a||n(235)}var o=n(98),r=n(322),a=!1,s=n(0),l=i,u=s(o.a,r.a,!1,l,null,null);u.options.__file="src/views/resource-edit/index.vue",e.a=u.exports},function(t,e){},function(t,e,n){"use strict";function i(t){a||n(237)}var o=n(99),r=n(321),a=!1,s=n(0),l=i,u=s(o.a,r.a,!1,l,"data-v-724c5842",null);u.options.__file="src/views/resource-edit/home.vue",e.a=u.exports},function(t,e){},function(t,e,n){"use strict";function i(t){a||n(239)}var o=n(100),r=n(240),a=!1,s=n(0),l=i,u=s(o.a,r.a,!1,l,null,null);u.options.__file="src/components/miniapp.vue",e.a=u.exports},function(t,e){},function(t,e,n){"use strict";var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"app-frame"},[n("div",{staticClass:"title"},[t._v(t._s(t.title))]),t._v(" "),n("div",{staticClass:"app-title"},[n("img",{attrs:{src:t.bg,alt:"",srcset:"",width:"100%"}})]),t._v(" "),n("div",[t._t("default")],2)])},o=[];i._withStripped=!0;var r={render:i,staticRenderFns:o};e.a=r},function(t,e,n){"use strict";function i(t){r||n(242)}var o=n(102),r=!1,a=n(0),s=i,l=a(o.a,null,!1,s,null,null);l.options.__file="src/components/smart-floor.vue",e.a=l.exports},function(t,e){},function(t,e){},function(t,e,n){"use strict";var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"select-comp"},[n("div",{staticClass:"select-comp__mask__btn",on:{click:function(e){t.cb&&t.cb(e)}}},[t._v("编辑")]),t._v(" "),n("div",{staticClass:"select-comp__mask"}),t._v(" "),t._t("default")],2)},o=[];i._withStripped=!0;var r={render:i,staticRenderFns:o};e.a=r},function(t,e,n){"use strict";function i(t){a||n(246)}var o=n(104),r=n(286),a=!1,s=n(0),l=i,u=s(o.a,r.a,!1,l,null,null);u.options.__file="src/components/banner.vue",e.a=u.exports},function(t,e){},function(t,e,n){var i=n(1),o=i.JSON||(i.JSON={stringify:JSON.stringify});t.exports=function(t){return o.stringify.apply(o,arguments)}},function(t,e,n){"use strict";function i(t){a||n(249)}var o=n(105),r=n(273),a=!1,s=n(0),l=i,u=s(o.a,r.a,!1,l,"data-v-0ea2604e",null);u.options.__file="src/components/banner-editor.vue",e.a=u.exports},function(t,e){},function(t,e,n){t.exports={default:n(251),__esModule:!0}},function(t,e,n){n(50),n(48),t.exports=n(252)},function(t,e,n){var i=n(6),o=n(73);t.exports=n(1).getIterator=function(t){var e=o(t);if("function"!=typeof e)throw TypeError(t+" is not iterable!");return i(e.call(t))}},function(t,e,n){"use strict";function i(t){a||n(254)}var o=n(106),r=n(260),a=!1,s=n(0),l=i,u=s(o.a,r.a,!1,l,null,null);u.options.__file="src/components/drag-file-upload.vue",e.a=u.exports},function(t,e){},function(t,e,n){"use strict";function i(t){a||n(256)}var o=n(107),r=n(259),a=!1,s=n(0),l=i,u=s(o.a,r.a,!1,l,null,null);u.options.__file="src/components/image-purview.vue",e.a=u.exports},function(t,e){},function(t,e,n){"use strict";var i=n(108),o=n(258),r=n(0),a=r(i.a,o.a,!1,null,null,null);a.options.__file="src/components/modal-purview.vue",e.a=a.exports},function(t,e,n){"use strict";var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("Modal",{attrs:{title:"查看图片",value:t.model},on:{input:t.input}},[t.model?n("img",{staticStyle:{width:"100%"},attrs:{src:t.url}}):t._e(),t._v(" "),n("div",{attrs:{slot:"footer"},slot:"footer"})])},o=[];i._withStripped=!0;var r={render:i,staticRenderFns:o};e.a=r},function(t,e,n){"use strict";var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"image-purview"},["finished"===t.status||t.url?[n("img",{attrs:{src:t.url}}),t._v(" "),n("div",{staticClass:"image-purview-cover"},[n("Icon",{attrs:{type:"ios-eye-outline",size:"30"},nativeOn:{click:function(e){return t.purviewImage(e)}}}),t._v(" "),t.remove?n("Icon",{attrs:{type:"ios-trash-outline",size:"30"},nativeOn:{click:function(e){return t.removeImage(e)}}}):t._e()],1)]:[t.progress?n("Progress",{attrs:{percent:t.percentage,"hide-info":""}}):t._e()],t._v(" "),n("modal-purview",{attrs:{url:t.url},model:{value:t.showModal,callback:function(e){t.showModal=e},expression:"showModal"}})],2)},o=[];i._withStripped=!0;var r={render:i,staticRenderFns:o};e.a=r},function(t,e,n){"use strict";var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.show?n("div",[t.uploadList[0]?n("image-purview",{attrs:{status:t.uploadList[0].status,url:t.uploadList[0].url,progress:t.uploadList[0].showProgress,percentage:t.uploadList[0].percentage,remove:!0},on:{"remove-image":t.handleRemove}}):t._e(),t._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:!t.uploadList[0],expression:"!uploadList[0]"}],staticClass:"upload-box"},[n("Upload",{ref:"upload",attrs:{"show-upload-list":!1,data:{bucket:t.bucket},"on-success":t.handleSuccess,"on-error":t.handleError,"default-file-list":t.defaultList,format:["jpg","jpeg","png"],"max-size":2048,"on-format-error":t.handleFormatError,"on-exceeded-size":t.handleMaxSize,action:"/ufoPlatform/fileupload/upload?debug=XYZ"}},[n("Icon",{attrs:{type:"ios-cloud-upload-outline",title:"上传图片"}})],1)],1)],1):t._e()},o=[];i._withStripped=!0;var r={render:i,staticRenderFns:o};e.a=r},function(t,e,n){"use strict";function i(t){a||n(262)}var o=n(109),r=n(272),a=!1,s=n(0),l=i,u=s(o.a,r.a,!1,l,null,null);u.options.__file="src/components/banner-params.vue",e.a=u.exports},function(t,e){},function(t,e,n){"use strict";function i(t){a||n(264)}var o=n(110),r=n(265),a=!1,s=n(0),l=i,u=s(o.a,r.a,!1,l,null,null);u.options.__file="src/components/banner-h5.vue",e.a=u.exports},function(t,e){},function(t,e,n){"use strict";var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("Input",{attrs:{value:t.title,placeholder:"标题"},on:{input:t.onUpdateTitle}}),t._v(" "),n("Input",{attrs:{value:t.link,placeholder:"链接"},on:{input:t.onUpdateLink}})],1)},o=[];i._withStripped=!0;var r={render:i,staticRenderFns:o};e.a=r},function(t,e,n){"use strict";function i(t){a||n(267)}var o=n(111),r=n(268),a=!1,s=n(0),l=i,u=s(o.a,r.a,!1,l,null,null);u.options.__file="src/components/banner-pool.vue",e.a=u.exports},function(t,e){},function(t,e,n){"use strict";var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("Input",{attrs:{value:t.productListTitle,placeholder:"标题"},on:{input:t.onUpdateTitle}}),t._v(" "),n("Input",{attrs:{value:t.productPool,placeholder:"商品池ID"},on:{input:t.onUpdatePool}})],1)},o=[];i._withStripped=!0;var r={render:i,staticRenderFns:o};e.a=r},function(t,e,n){"use strict";function i(t){a||n(270)}var o=n(112),r=n(271),a=!1,s=n(0),l=i,u=s(o.a,r.a,!1,l,null,null);u.options.__file="src/components/banner-detail.vue",e.a=u.exports},function(t,e){},function(t,e,n){"use strict";var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("Input",{attrs:{value:t.productId,placeholder:"商品编码"},on:{input:t.onUpdateProductId}})],1)},o=[];i._withStripped=!0;var r={render:i,staticRenderFns:o};e.a=r},function(t,e,n){"use strict";var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("Form",[n("FormItem",[n("Select",{model:{value:t.action_,callback:function(e){t.action_=e},expression:"action_"}},[n("Option",{attrs:{value:"go.h5"}},[t._v("H5网页")]),t._v(" "),n("Option",{attrs:{value:"go.ufo"}},[t._v("商品池")]),t._v(" "),n("Option",{attrs:{value:"go.pool"}},[t._v("商品详情")])],1)],1),t._v(" "),n("FormItem",["go.h5"===t.action_?n("h5-url",{model:{value:t.url_,callback:function(e){t.url_=e},expression:"url_"}}):"go.ufo"===t.action_?n("pool-url",{model:{value:t.url_,callback:function(e){t.url_=e},expression:"url_"}}):"go.pool"===t.action_?n("detail-url",{model:{value:t.url_,callback:function(e){t.url_=e},expression:"url_"}}):t._e()],1)],1)],1)},o=[];i._withStripped=!0;var r={render:i,staticRenderFns:o};e.a=r},function(t,e,n){"use strict";var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("table",{staticClass:"banner-table"},[n("tbody",t._l(t.value_,function(e,i){return n("tr",{key:e.id},[n("th",{attrs:{width:"5%"}},[t._v(t._s(+i+1))]),t._v(" "),n("th",[n("file-upload",{attrs:{"default-file":t._f("removeImageParams")(e.src),id:i},on:{success:t.onUploadSuccess,remove:t.onUploadRemove}})],1),t._v(" "),n("th",{staticClass:"banner-item"},[n("banner-params",{model:{value:e.url,callback:function(n){t.$set(e,"url",n)},expression:"i.url"}})],1),t._v(" "),n("th",[n("Button",{attrs:{type:"error"},on:{click:function(n){t.onDeleteBtnClick(e,i)}}},[t._v("删除")])],1)])}))]),t._v(" "),n("div",{staticStyle:{"margin-top":"20px"}},[n("Button",{attrs:{type:"primary"},on:{click:t.onAddBtnClick}},[t._v("添加一张")])],1)])},o=[];i._withStripped=!0;var r={render:i,staticRenderFns:o};e.a=r},,,,,,,,,,,,function(t,e,n){t.exports=n.p+"img/banner-img.fd71ac9.png"},function(t,e,n){"use strict";var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("select-comp",{attrs:{cb:t.onClick}},[n("img",{attrs:{src:t.imgUrl,alt:"",srcset:"",width:"100%"}})]),t._v(" "),n("Modal",{attrs:{title:"轮播图资源位",width:"650"},on:{"on-ok":t.onOk,"on-cancel":t.onCancel},model:{value:t.show,callback:function(e){t.show=e},expression:"show"}},[n("banner-editor",{ref:"editor",model:{value:t.list,callback:function(e){t.list=e},expression:"list"}})],1)],1)},o=[];i._withStripped=!0;var r={render:i,staticRenderFns:o};e.a=r},function(t,e,n){"use strict";function i(t){a||n(288)}var o=n(116),r=n(292),a=!1,s=n(0),l=i,u=s(o.a,r.a,!1,l,null,null);u.options.__file="src/components/hot.vue",e.a=u.exports},function(t,e){},function(t,e,n){"use strict";function i(t){a||n(290)}var o=n(117),r=n(291),a=!1,s=n(0),l=i,u=s(o.a,r.a,!1,l,null,null);u.options.__file="src/components/hot-editor.vue",e.a=u.exports},function(t,e){},function(t,e,n){"use strict";var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("Form",{attrs:{model:t.formItem,"label-width":60}},[n("FormItem",{attrs:{label:"标题"}},[n("Input",{attrs:{placeholder:"热门系列"},model:{value:t.formItem.input,callback:function(e){t.$set(t.formItem,"input",e)},expression:"formItem.input"}})],1),t._v(" "),n("FormItem",{attrs:{label:"商品编码"}},[n("Input",{attrs:{type:"textarea",rows:4,placeholder:"多个商品以英文逗号分隔"},model:{value:t.formItem.ids,callback:function(e){t.$set(t.formItem,"ids",e)},expression:"formItem.ids"}})],1),t._v(" "),n("Alert",{attrs:{type:"warning"}},[t._v("\n 说明: "),n("br"),t._v("\n 1、前台根据商品编码取商品图片展示 "),n("br"),t._v("\n 2、系列名称取商品对应的系列名称 "),n("br"),t._v("\n 3、一排最多展示四个商品 "),n("br"),t._v("\n 4、多个商品编码用英文逗号分隔 "),n("br")])],1)],1)},o=[];i._withStripped=!0;var r={render:i,staticRenderFns:o};e.a=r},function(t,e,n){"use strict";var i=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",[i("selectComp",{attrs:{cb:t.onClick}},[i("div",{staticClass:"hot"},[i("div",{staticClass:"hot-title"},[t._v(t._s(t.name))]),t._v(" "),i("div",{staticClass:"hot-body"},t._l(t.list,function(t){return i("img",{key:t.id,staticClass:"hot-image",attrs:{src:n(293),alt:"",srcset:""}})}))])]),t._v(" "),i("Modal",{attrs:{title:"系列资源位"},on:{"on-ok":t.onOk,"on-cancel":t.onCancel},model:{value:t.show,callback:function(e){t.show=e},expression:"show"}},[i("hot-editor",{attrs:{name:t.name,list:t.list},on:{"update:name":function(e){t.name=e},"update:list":function(e){t.list=e}}})],1)],1)},o=[];i._withStripped=!0;var r={render:i,staticRenderFns:o};e.a=r},function(t,e,n){t.exports=n.p+"img/item_bg.bc8a5b1.png"},function(t,e,n){"use strict";function i(t){a||n(295)}var o=n(118),r=n(299),a=!1,s=n(0),l=i,u=s(o.a,r.a,!1,l,null,null);u.options.__file="src/components/tab.vue",e.a=u.exports},function(t,e){},function(t,e,n){"use strict";function i(t){a||n(297)}var o=n(119),r=n(298),a=!1,s=n(0),l=i,u=s(o.a,r.a,!1,l,null,null);u.options.__file="src/components/tab-editor.vue",e.a=u.exports},function(t,e){},function(t,e,n){"use strict";var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("Form",{attrs:{"label-width":100}},t._l(t.list,function(e){return n("FormItem",{key:e.id,attrs:{label:e.poolName}},[n("Input",{attrs:{value:e.poolId,maxlength:9},on:{input:function(n){t.onUpdate(n,e)}}})],1)}))],1)},o=[];i._withStripped=!0;var r={render:i,staticRenderFns:o};e.a=r},function(t,e,n){"use strict";var i=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",[i("select-comp",{attrs:{cb:t.onClick}},[i("img",{attrs:{src:n(300),alt:"",srcset:"",width:"100%"}})]),t._v(" "),i("Modal",{attrs:{title:"商品池资源位"},on:{"on-ok":t.onOk,"on-cancel":t.onCancel},model:{value:t.show,callback:function(e){t.show=e},expression:"show"}},[i("tab-editor",{attrs:{list:t.list},on:{"update:list":function(e){t.list=e}}})],1)],1)},o=[];i._withStripped=!0;var r={render:i,staticRenderFns:o};e.a=r},function(t,e,n){t.exports=n.p+"img/floor-recommend.574eff0.png"},function(t,e,n){"use strict";function i(t){a||n(302)}var o=n(120),r=n(312),a=!1,s=n(0),l=i,u=s(o.a,r.a,!1,l,null,null);u.options.__file="src/components/sortTab.vue",e.a=u.exports},function(t,e){},function(t,e,n){"use strict";function i(t){a||n(304)}var o=n(121),r=n(311),a=!1,s=n(0),l=i,u=s(o.a,r.a,!1,l,null,null);u.options.__file="src/components/sortTab-editor.vue",e.a=u.exports},function(t,e){},function(t,e,n){"use strict";function i(t){a||n(306)}var o=n(122),r=n(308),a=!1,s=n(0),l=i,u=s(o.a,r.a,!1,l,"data-v-9ccc4946",null);u.options.__file="src/components/sortTab-editor-item.vue",e.a=u.exports},function(t,e){},function(t,e,n){"use strict";e.__esModule=!0;var i=n(79),o=function(t){return t&&t.__esModule?t:{default:t}}(i);e.default=function(t,e,n){return e in t?(0,o.default)(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}},function(t,e,n){"use strict";var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("Form",{attrs:{model:t.formItem,"label-width":60}},[n("FormItem",{attrs:{label:"标题"}},[n("Input",{attrs:{value:t.formItem.category_name,placeholder:"标题"},on:{input:t.onChangeCate}})],1),t._v(" "),n("FormItem",{attrs:{label:"more"}},[n("Input",{attrs:{value:t.formItem.productListTitle,placeholder:"跳转列表标题"},on:{input:t.onChangeTitle}})],1),t._v(" "),n("FormItem",[n("Select",{attrs:{value:t.formItem.type},on:{input:t.onChangeSelect}},[n("Option",{attrs:{value:"sort"}},[t._v("分类")]),t._v(" "),n("Option",{attrs:{value:"series"}},[t._v("系列")])],1)],1),t._v(" "),n("FormItem",[n("Input",{attrs:{value:t.formItem.type_id,placeholder:"ID"},on:{input:t.onChangeType}})],1),t._v(" "),n("FormItem",{attrs:{label:"商品编码"}},[n("Input",{attrs:{value:t.formItem.product_ids,type:"textarea",rows:4,placeholder:"多个商品以英文逗号分隔"},on:{input:t.onChangeIds}})],1),t._v(" "),n("Button",{attrs:{type:"error"},on:{click:t.onDelete}},[t._v("删除")]),t._v("  提示:可拖动排序\n")],1)},o=[];i._withStripped=!0;var r={render:i,staticRenderFns:o};e.a=r},function(t,e,n){"use strict";function i(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}var o=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t};!function(){function e(t,e,n){return void 0==n?t:(t=null==t?{}:t,t[e]=n,t)}function r(t){function n(t){t.parentElement.removeChild(t)}function r(t,e,n){var i=0===n?t.children[0]:t.children[n-1].nextSibling;t.insertBefore(e,i)}function a(t,e){return t.map(function(t){return t.elm}).indexOf(e)}function s(t,e,n){if(!t)return[];var o=t.map(function(t){return t.elm}),r=[].concat(i(e)).map(function(t){return o.indexOf(t)});return n?r.filter(function(t){return-1!==t}):r}function l(t,e){var n=this;this.$nextTick(function(){return n.$emit(t.toLowerCase(),e)})}function u(t){var e=this;return function(n){null!==e.realList&&e["onDrag"+t](n),l.call(e,t,n)}}var c=["Start","Add","Remove","Update","End"],d=["Choose","Sort","Filter","Clone"],p=["Move"].concat(c,d).map(function(t){return"on"+t}),h=null;return{name:"draggable",props:{options:Object,list:{type:Array,required:!1,default:null},value:{type:Array,required:!1,default:null},noTransitionOnDrag:{type:Boolean,default:!1},clone:{type:Function,default:function(t){return t}},element:{type:String,default:"div"},move:{type:Function,default:null},componentData:{type:Object,required:!1,default:null}},data:function(){return{transitionMode:!1,noneFunctionalComponentMode:!1,init:!1}},render:function(t){var n=this.$slots.default;if(n&&1===n.length){var o=n[0];o.componentOptions&&"transition-group"===o.componentOptions.tag&&(this.transitionMode=!0)}var r=n,a=this.$slots.footer;a&&(r=n?[].concat(i(n),i(a)):[].concat(i(a)));var s=null,l=function(t,n){s=e(s,t,n)};if(l("attrs",this.$attrs),this.componentData){var u=this.componentData,c=u.on,d=u.props;l("on",c),l("props",d)}return t(this.element,s,r)},mounted:function(){var e=this;if(this.noneFunctionalComponentMode=this.element.toLowerCase()!==this.$el.nodeName.toLowerCase(),this.noneFunctionalComponentMode&&this.transitionMode)throw new Error("Transition-group inside component is not supported. Please alter element value or remove transition-group. Current element value: "+this.element);var n={};c.forEach(function(t){n["on"+t]=u.call(e,t)}),d.forEach(function(t){n["on"+t]=l.bind(e,t)});var i=o({},this.options,n,{onMove:function(t,n){return e.onDragMove(t,n)}});!("draggable"in i)&&(i.draggable=">*"),this._sortable=new t(this.rootContainer,i),this.computeIndexes()},beforeDestroy:function(){this._sortable.destroy()},computed:{rootContainer:function(){return this.transitionMode?this.$el.children[0]:this.$el},isCloning:function(){return!!this.options&&!!this.options.group&&"clone"===this.options.group.pull},realList:function(){return this.list?this.list:this.value}},watch:{options:{handler:function(t){for(var e in t)-1==p.indexOf(e)&&this._sortable.option(e,t[e])},deep:!0},realList:function(){this.computeIndexes()}},methods:{getChildrenNodes:function(){if(this.init||(this.noneFunctionalComponentMode=this.noneFunctionalComponentMode&&1==this.$children.length,this.init=!0),this.noneFunctionalComponentMode)return this.$children[0].$slots.default;var t=this.$slots.default;return this.transitionMode?t[0].child.$slots.default:t},computeIndexes:function(){var t=this;this.$nextTick(function(){t.visibleIndexes=s(t.getChildrenNodes(),t.rootContainer.children,t.transitionMode)})},getUnderlyingVm:function(t){var e=a(this.getChildrenNodes()||[],t);return-1===e?null:{index:e,element:this.realList[e]}},getUnderlyingPotencialDraggableComponent:function(t){var e=t.__vue__;return e&&e.$options&&"transition-group"===e.$options._componentTag?e.$parent:e},emitChanges:function(t){var e=this;this.$nextTick(function(){e.$emit("change",t)})},alterList:function(t){if(this.list)t(this.list);else{var e=[].concat(i(this.value));t(e),this.$emit("input",e)}},spliceList:function(){var t=arguments,e=function(e){return e.splice.apply(e,t)};this.alterList(e)},updatePosition:function(t,e){var n=function(n){return n.splice(e,0,n.splice(t,1)[0])};this.alterList(n)},getRelatedContextFromMoveEvent:function(t){var e=t.to,n=t.related,i=this.getUnderlyingPotencialDraggableComponent(e);if(!i)return{component:i};var r=i.realList,a={list:r,component:i};if(e!==n&&r&&i.getUnderlyingVm){var s=i.getUnderlyingVm(n);if(s)return o(s,a)}return a},getVmIndex:function(t){var e=this.visibleIndexes,n=e.length;return t>n-1?n:e[t]},getComponent:function(){return this.$slots.default[0].componentInstance},resetTransitionData:function(t){if(this.noTransitionOnDrag&&this.transitionMode){this.getChildrenNodes()[t].data=null;var e=this.getComponent();e.children=[],e.kept=void 0}},onDragStart:function(t){this.context=this.getUnderlyingVm(t.item),t.item._underlying_vm_=this.clone(this.context.element),h=t.item},onDragAdd:function(t){var e=t.item._underlying_vm_;if(void 0!==e){n(t.item);var i=this.getVmIndex(t.newIndex);this.spliceList(i,0,e),this.computeIndexes();var o={element:e,newIndex:i};this.emitChanges({added:o})}},onDragRemove:function(t){if(r(this.rootContainer,t.item,t.oldIndex),this.isCloning)return void n(t.clone);var e=this.context.index;this.spliceList(e,1);var i={element:this.context.element,oldIndex:e};this.resetTransitionData(e),this.emitChanges({removed:i})},onDragUpdate:function(t){n(t.item),r(t.from,t.item,t.oldIndex);var e=this.context.index,i=this.getVmIndex(t.newIndex);this.updatePosition(e,i);var o={element:this.context.element,oldIndex:e,newIndex:i};this.emitChanges({moved:o})},computeFutureIndex:function(t,e){if(!t.element)return 0;var n=[].concat(i(e.to.children)).filter(function(t){return"none"!==t.style.display}),o=n.indexOf(e.related),r=t.component.getVmIndex(o);return-1==n.indexOf(h)&&e.willInsertAfter?r+1:r},onDragMove:function(t,e){var n=this.move;if(!n||!this.realList)return!0;var i=this.getRelatedContextFromMoveEvent(t),r=this.context,a=this.computeFutureIndex(i,t);return o(r,{futureIndex:a}),o(t,{relatedContext:i,draggedContext:r}),n(t,e)},onDragEnd:function(t){this.computeIndexes(),h=null}}}}Array.from||(Array.from=function(t){return[].slice.call(t)});var a=n(310);t.exports=r(a)}()},function(t,e,n){var i,o;/**!  
2 - * Sortable  
3 - * @author RubaXa <trash@rubaxa.org>  
4 - * @license MIT  
5 - */  
6 -!function(r){"use strict";i=r,void 0!==(o="function"==typeof i?i.call(e,n,e,t):i)&&(t.exports=o)}(function(){"use strict";function t(e,n){if(!e||!e.nodeType||1!==e.nodeType)throw"Sortable: `el` must be HTMLElement, and not "+{}.toString.call(e);this.el=e,this.options=n=b({},n),e[J]=this;var i={group:Math.random(),sort:!0,disabled:!1,store:null,handle:null,scroll:!0,scrollSensitivity:30,scrollSpeed:10,draggable:/[uo]l/i.test(e.nodeName)?"li":">*",ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,setData:function(t,e){t.setData("Text",e.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:!1!==t.supportPointer};for(var o in i)!(o in n)&&(n[o]=i[o]);ct(n);for(var a in this)"_"===a.charAt(0)&&"function"==typeof this[a]&&(this[a]=this[a].bind(this));this.nativeDraggable=!n.forceFallback&&nt,r(e,"mousedown",this._onTapStart),r(e,"touchstart",this._onTapStart),n.supportPointer&&r(e,"pointerdown",this._onTapStart),this.nativeDraggable&&(r(e,"dragover",this),r(e,"dragenter",this)),lt.push(this._onDragOver),n.store&&this.sort(n.store.get(this))}function e(t,e){"clone"!==t.lastPullMode&&(e=!0),$&&$.state!==e&&(l($,"display",e?"none":""),e||$.state&&(t.options.group.revertClone?(k.insertBefore($,T),t._animate(x,$)):k.insertBefore($,x)),$.state=e)}function n(t,e,n){if(t){n=n||q;do{if(">*"===e&&t.parentNode===n||g(t,e))return t}while(t=i(t))}return null}function i(t){var e=t.host;return e&&e.nodeType?e:t.parentNode}function o(t){t.dataTransfer&&(t.dataTransfer.dropEffect="move"),t.preventDefault()}function r(t,e,n){t.addEventListener(e,n,tt)}function a(t,e,n){t.removeEventListener(e,n,tt)}function s(t,e,n){if(t)if(t.classList)t.classList[n?"add":"remove"](e);else{var i=(" "+t.className+" ").replace(Q," ").replace(" "+e+" "," ");t.className=(i+(n?" "+e:"")).replace(Q," ")}}function l(t,e,n){var i=t&&t.style;if(i){if(void 0===n)return q.defaultView&&q.defaultView.getComputedStyle?n=q.defaultView.getComputedStyle(t,""):t.currentStyle&&(n=t.currentStyle),void 0===e?n:n[e];e in i||(e="-webkit-"+e),i[e]=n+("string"==typeof n?"":"px")}}function u(t,e,n){if(t){var i=t.getElementsByTagName(e),o=0,r=i.length;if(n)for(;o<r;o++)n(i[o],o);return i}return[]}function c(t,e,n,i,o,r,a,s){t=t||e[J];var l=q.createEvent("Event"),u=t.options,c="on"+n.charAt(0).toUpperCase()+n.substr(1);l.initEvent(n,!0,!0),l.to=o||e,l.from=r||e,l.item=i||e,l.clone=$,l.oldIndex=a,l.newIndex=s,e.dispatchEvent(l),u[c]&&u[c].call(t,l)}function d(t,e,n,i,o,r,a,s){var l,u,c=t[J],d=c.options.onMove;return l=q.createEvent("Event"),l.initEvent("move",!0,!0),l.to=e,l.from=t,l.dragged=n,l.draggedRect=i,l.related=o||e,l.relatedRect=r||e.getBoundingClientRect(),l.willInsertAfter=s,t.dispatchEvent(l),d&&(u=d.call(c,l,a)),u}function p(t){t.draggable=!1}function h(){ot=!1}function f(t,e){var n=t.lastElementChild,i=n.getBoundingClientRect();return e.clientY-(i.top+i.height)>5||e.clientX-(i.left+i.width)>5}function v(t){for(var e=t.tagName+t.className+t.src+t.href+t.textContent,n=e.length,i=0;n--;)i+=e.charCodeAt(n);return i.toString(36)}function m(t,e){var n=0;if(!t||!t.parentNode)return-1;for(;t&&(t=t.previousElementSibling);)"TEMPLATE"===t.nodeName.toUpperCase()||">*"!==e&&!g(t,e)||n++;return n}function g(t,e){if(t){e=e.split(".");var n=e.shift().toUpperCase(),i=new RegExp("\\s("+e.join("|")+")(?=\\s)","g");return!(""!==n&&t.nodeName.toUpperCase()!=n||e.length&&((" "+t.className+" ").match(i)||[]).length!=e.length)}return!1}function _(t,e){var n,i;return function(){void 0===n&&(n=arguments,i=this,G(function(){1===n.length?t.call(i,n[0]):t.apply(i,n),n=void 0},e))}}function b(t,e){if(t&&e)for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t}function y(t){return K&&K.dom?K.dom(t).cloneNode(!0):Z?Z(t).clone(!0)[0]:t.cloneNode(!0)}function w(t){for(var e=t.getElementsByTagName("input"),n=e.length;n--;){var i=e[n];i.checked&&st.push(i)}}function C(t){return G(t,0)}function D(t){return clearTimeout(t)}if("undefined"==typeof window||!window.document)return function(){throw new Error("Sortable.js requires a window with a document")};var x,I,S,$,k,T,E,L,F,U,O,M,P,R,N,B,A,V,Y,X,j={},Q=/\s+/g,z=/left|right|inline/,J="Sortable"+(new Date).getTime(),H=window,q=H.document,W=H.parseInt,G=H.setTimeout,Z=H.jQuery||H.Zepto,K=H.Polymer,tt=!1,et=!1,nt="draggable"in q.createElement("div"),it=function(t){return!navigator.userAgent.match(/(?:Trident.*rv[ :]?11\.|msie)/i)&&(t=q.createElement("x"),t.style.cssText="pointer-events:auto","auto"===t.style.pointerEvents)}(),ot=!1,rt=Math.abs,at=Math.min,st=[],lt=[],ut=_(function(t,e,n){if(n&&e.scroll){var i,o,r,a,s,l,u=n[J],c=e.scrollSensitivity,d=e.scrollSpeed,p=t.clientX,h=t.clientY,f=window.innerWidth,v=window.innerHeight;if(F!==n&&(L=e.scroll,F=n,U=e.scrollFn,!0===L)){L=n;do{if(L.offsetWidth<L.scrollWidth||L.offsetHeight<L.scrollHeight)break}while(L=L.parentNode)}L&&(i=L,o=L.getBoundingClientRect(),r=(rt(o.right-p)<=c)-(rt(o.left-p)<=c),a=(rt(o.bottom-h)<=c)-(rt(o.top-h)<=c)),r||a||(r=(f-p<=c)-(p<=c),a=(v-h<=c)-(h<=c),(r||a)&&(i=H)),j.vx===r&&j.vy===a&&j.el===i||(j.el=i,j.vx=r,j.vy=a,clearInterval(j.pid),i&&(j.pid=setInterval(function(){if(l=a?a*d:0,s=r?r*d:0,"function"==typeof U)return U.call(u,s,l,t);i===H?H.scrollTo(H.pageXOffset+s,H.pageYOffset+l):(i.scrollTop+=l,i.scrollLeft+=s)},24)))}},30),ct=function(t){function e(t,e){return void 0!==t&&!0!==t||(t=n.name),"function"==typeof t?t:function(n,i){var o=i.options.group.name;return e?t:t&&(t.join?t.indexOf(o)>-1:o==t)}}var n={},i=t.group;i&&"object"==typeof i||(i={name:i}),n.name=i.name,n.checkPull=e(i.pull,!0),n.checkPut=e(i.put),n.revertClone=i.revertClone,t.group=n};try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:function(){et=!1,tt={capture:!1,passive:et}}}))}catch(t){}return t.prototype={constructor:t,_onTapStart:function(t){var e,i=this,o=this.el,r=this.options,a=r.preventOnFilter,s=t.type,l=t.touches&&t.touches[0],u=(l||t).target,d=t.target.shadowRoot&&t.path&&t.path[0]||u,p=r.filter;if(w(o),!x&&!(/mousedown|pointerdown/.test(s)&&0!==t.button||r.disabled)&&!d.isContentEditable&&(u=n(u,r.draggable,o))&&E!==u){if(e=m(u,r.draggable),"function"==typeof p){if(p.call(this,t,u,this))return c(i,d,"filter",u,o,o,e),void(a&&t.preventDefault())}else if(p&&(p=p.split(",").some(function(t){if(t=n(d,t.trim(),o))return c(i,t,"filter",u,o,o,e),!0})))return void(a&&t.preventDefault());r.handle&&!n(d,r.handle,o)||this._prepareDragStart(t,l,u,e)}},_prepareDragStart:function(t,e,n,i){var o,a=this,l=a.el,d=a.options,h=l.ownerDocument;n&&!x&&n.parentNode===l&&(V=t,k=l,x=n,I=x.parentNode,T=x.nextSibling,E=n,B=d.group,R=i,this._lastX=(e||t).clientX,this._lastY=(e||t).clientY,x.style["will-change"]="all",o=function(){a._disableDelayedDrag(),x.draggable=a.nativeDraggable,s(x,d.chosenClass,!0),a._triggerDragStart(t,e),c(a,k,"choose",x,k,k,R)},d.ignore.split(",").forEach(function(t){u(x,t.trim(),p)}),r(h,"mouseup",a._onDrop),r(h,"touchend",a._onDrop),r(h,"touchcancel",a._onDrop),r(h,"selectstart",a),d.supportPointer&&r(h,"pointercancel",a._onDrop),d.delay?(r(h,"mouseup",a._disableDelayedDrag),r(h,"touchend",a._disableDelayedDrag),r(h,"touchcancel",a._disableDelayedDrag),r(h,"mousemove",a._disableDelayedDrag),r(h,"touchmove",a._disableDelayedDrag),d.supportPointer&&r(h,"pointermove",a._disableDelayedDrag),a._dragStartTimer=G(o,d.delay)):o())},_disableDelayedDrag:function(){var t=this.el.ownerDocument;clearTimeout(this._dragStartTimer),a(t,"mouseup",this._disableDelayedDrag),a(t,"touchend",this._disableDelayedDrag),a(t,"touchcancel",this._disableDelayedDrag),a(t,"mousemove",this._disableDelayedDrag),a(t,"touchmove",this._disableDelayedDrag),a(t,"pointermove",this._disableDelayedDrag)},_triggerDragStart:function(t,e){e=e||("touch"==t.pointerType?t:null),e?(V={target:x,clientX:e.clientX,clientY:e.clientY},this._onDragStart(V,"touch")):this.nativeDraggable?(r(x,"dragend",this),r(k,"dragstart",this._onDragStart)):this._onDragStart(V,!0);try{q.selection?C(function(){q.selection.empty()}):window.getSelection().removeAllRanges()}catch(t){}},_dragStarted:function(){if(k&&x){var e=this.options;s(x,e.ghostClass,!0),s(x,e.dragClass,!1),t.active=this,c(this,k,"start",x,k,k,R)}else this._nulling()},_emulateDragOver:function(){if(Y){if(this._lastX===Y.clientX&&this._lastY===Y.clientY)return;this._lastX=Y.clientX,this._lastY=Y.clientY,it||l(S,"display","none");var t=q.elementFromPoint(Y.clientX,Y.clientY),e=t,n=lt.length;if(t&&t.shadowRoot&&(t=t.shadowRoot.elementFromPoint(Y.clientX,Y.clientY),e=t),e)do{if(e[J]){for(;n--;)lt[n]({clientX:Y.clientX,clientY:Y.clientY,target:t,rootEl:e});break}t=e}while(e=e.parentNode);it||l(S,"display","")}},_onTouchMove:function(e){if(V){var n=this.options,i=n.fallbackTolerance,o=n.fallbackOffset,r=e.touches?e.touches[0]:e,a=r.clientX-V.clientX+o.x,s=r.clientY-V.clientY+o.y,u=e.touches?"translate3d("+a+"px,"+s+"px,0)":"translate("+a+"px,"+s+"px)";if(!t.active){if(i&&at(rt(r.clientX-this._lastX),rt(r.clientY-this._lastY))<i)return;this._dragStarted()}this._appendGhost(),X=!0,Y=r,l(S,"webkitTransform",u),l(S,"mozTransform",u),l(S,"msTransform",u),l(S,"transform",u),e.preventDefault()}},_appendGhost:function(){if(!S){var t,e=x.getBoundingClientRect(),n=l(x),i=this.options;S=x.cloneNode(!0),s(S,i.ghostClass,!1),s(S,i.fallbackClass,!0),s(S,i.dragClass,!0),l(S,"top",e.top-W(n.marginTop,10)),l(S,"left",e.left-W(n.marginLeft,10)),l(S,"width",e.width),l(S,"height",e.height),l(S,"opacity","0.8"),l(S,"position","fixed"),l(S,"zIndex","100000"),l(S,"pointerEvents","none"),i.fallbackOnBody&&q.body.appendChild(S)||k.appendChild(S),t=S.getBoundingClientRect(),l(S,"width",2*e.width-t.width),l(S,"height",2*e.height-t.height)}},_onDragStart:function(t,e){var n=this,i=t.dataTransfer,o=n.options;n._offUpEvents(),B.checkPull(n,n,x,t)&&($=y(x),$.draggable=!1,$.style["will-change"]="",l($,"display","none"),s($,n.options.chosenClass,!1),n._cloneId=C(function(){k.insertBefore($,x),c(n,k,"clone",x)})),s(x,o.dragClass,!0),e?("touch"===e?(r(q,"touchmove",n._onTouchMove),r(q,"touchend",n._onDrop),r(q,"touchcancel",n._onDrop),o.supportPointer&&(r(q,"pointermove",n._onTouchMove),r(q,"pointerup",n._onDrop))):(r(q,"mousemove",n._onTouchMove),r(q,"mouseup",n._onDrop)),n._loopId=setInterval(n._emulateDragOver,50)):(i&&(i.effectAllowed="move",o.setData&&o.setData.call(n,i,x)),r(q,"drop",n),n._dragStartId=C(n._dragStarted))},_onDragOver:function(i){var o,r,a,s,u=this.el,c=this.options,p=c.group,v=t.active,m=B===p,g=!1,_=c.sort;if(void 0!==i.preventDefault&&(i.preventDefault(),!c.dragoverBubble&&i.stopPropagation()),!x.animated&&(X=!0,v&&!c.disabled&&(m?_||(s=!k.contains(x)):A===this||(v.lastPullMode=B.checkPull(this,v,x,i))&&p.checkPut(this,v,x,i))&&(void 0===i.rootEl||i.rootEl===this.el))){if(ut(i,c,this.el),ot)return;if(o=n(i.target,c.draggable,u),r=x.getBoundingClientRect(),A!==this&&(A=this,g=!0),s)return e(v,!0),I=k,void($||T?k.insertBefore(x,$||T):_||k.appendChild(x));if(0===u.children.length||u.children[0]===S||u===i.target&&f(u,i)){if(0!==u.children.length&&u.children[0]!==S&&u===i.target&&(o=u.lastElementChild),o){if(o.animated)return;a=o.getBoundingClientRect()}e(v,m),!1!==d(k,u,x,r,o,a,i)&&(x.contains(u)||(u.appendChild(x),I=u),this._animate(r,x),o&&this._animate(a,o))}else if(o&&!o.animated&&o!==x&&void 0!==o.parentNode[J]){O!==o&&(O=o,M=l(o),P=l(o.parentNode)),a=o.getBoundingClientRect();var b=a.right-a.left,y=a.bottom-a.top,w=z.test(M.cssFloat+M.display)||"flex"==P.display&&0===P["flex-direction"].indexOf("row"),C=o.offsetWidth>x.offsetWidth,D=o.offsetHeight>x.offsetHeight,E=(w?(i.clientX-a.left)/b:(i.clientY-a.top)/y)>.5,L=o.nextElementSibling,F=!1;if(w){var U=x.offsetTop,R=o.offsetTop;F=U===R?o.previousElementSibling===x&&!C||E&&C:o.previousElementSibling===x||x.previousElementSibling===o?(i.clientY-a.top)/y>.5:R>U}else g||(F=L!==x&&!D||E&&D);var N=d(k,u,x,r,o,a,i,F);!1!==N&&(1!==N&&-1!==N||(F=1===N),ot=!0,G(h,30),e(v,m),x.contains(u)||(F&&!L?u.appendChild(x):o.parentNode.insertBefore(x,F?L:o)),I=x.parentNode,this._animate(r,x),this._animate(a,o))}}},_animate:function(t,e){var n=this.options.animation;if(n){var i=e.getBoundingClientRect();1===t.nodeType&&(t=t.getBoundingClientRect()),l(e,"transition","none"),l(e,"transform","translate3d("+(t.left-i.left)+"px,"+(t.top-i.top)+"px,0)"),e.offsetWidth,l(e,"transition","all "+n+"ms"),l(e,"transform","translate3d(0,0,0)"),clearTimeout(e.animated),e.animated=G(function(){l(e,"transition",""),l(e,"transform",""),e.animated=!1},n)}},_offUpEvents:function(){var t=this.el.ownerDocument;a(q,"touchmove",this._onTouchMove),a(q,"pointermove",this._onTouchMove),a(t,"mouseup",this._onDrop),a(t,"touchend",this._onDrop),a(t,"pointerup",this._onDrop),a(t,"touchcancel",this._onDrop),a(t,"pointercancel",this._onDrop),a(t,"selectstart",this)},_onDrop:function(e){var n=this.el,i=this.options;clearInterval(this._loopId),clearInterval(j.pid),clearTimeout(this._dragStartTimer),D(this._cloneId),D(this._dragStartId),a(q,"mouseover",this),a(q,"mousemove",this._onTouchMove),this.nativeDraggable&&(a(q,"drop",this),a(n,"dragstart",this._onDragStart)),this._offUpEvents(),e&&(X&&(e.preventDefault(),!i.dropBubble&&e.stopPropagation()),S&&S.parentNode&&S.parentNode.removeChild(S),k!==I&&"clone"===t.active.lastPullMode||$&&$.parentNode&&$.parentNode.removeChild($),x&&(this.nativeDraggable&&a(x,"dragend",this),p(x),x.style["will-change"]="",s(x,this.options.ghostClass,!1),s(x,this.options.chosenClass,!1),c(this,k,"unchoose",x,I,k,R),k!==I?(N=m(x,i.draggable))>=0&&(c(null,I,"add",x,I,k,R,N),c(this,k,"remove",x,I,k,R,N),c(null,I,"sort",x,I,k,R,N),c(this,k,"sort",x,I,k,R,N)):x.nextSibling!==T&&(N=m(x,i.draggable))>=0&&(c(this,k,"update",x,I,k,R,N),c(this,k,"sort",x,I,k,R,N)),t.active&&(null!=N&&-1!==N||(N=R),c(this,k,"end",x,I,k,R,N),this.save()))),this._nulling()},_nulling:function(){k=x=I=S=T=$=E=L=F=V=Y=X=N=O=M=A=B=t.active=null,st.forEach(function(t){t.checked=!0}),st.length=0},handleEvent:function(t){switch(t.type){case"drop":case"dragend":this._onDrop(t);break;case"dragover":case"dragenter":x&&(this._onDragOver(t),o(t));break;case"mouseover":this._onDrop(t);break;case"selectstart":t.preventDefault()}},toArray:function(){for(var t,e=[],i=this.el.children,o=0,r=i.length,a=this.options;o<r;o++)t=i[o],n(t,a.draggable,this.el)&&e.push(t.getAttribute(a.dataIdAttr)||v(t));return e},sort:function(t){var e={},i=this.el;this.toArray().forEach(function(t,o){var r=i.children[o];n(r,this.options.draggable,i)&&(e[t]=r)},this),t.forEach(function(t){e[t]&&(i.removeChild(e[t]),i.appendChild(e[t]))})},save:function(){var t=this.options.store;t&&t.set(this)},closest:function(t,e){return n(t,e||this.options.draggable,this.el)},option:function(t,e){var n=this.options;if(void 0===e)return n[t];n[t]=e,"group"===t&&ct(n)},destroy:function(){var t=this.el;t[J]=null,a(t,"mousedown",this._onTapStart),a(t,"touchstart",this._onTapStart),a(t,"pointerdown",this._onTapStart),this.nativeDraggable&&(a(t,"dragover",this),a(t,"dragenter",this)),Array.prototype.forEach.call(t.querySelectorAll("[draggable]"),function(t){t.removeAttribute("draggable")}),lt.splice(lt.indexOf(this._onDragOver),1),this._onDrop(),this.el=t=null}},r(q,"touchmove",function(e){t.active&&e.preventDefault()}),t.utils={on:r,off:a,css:l,find:u,is:function(t,e){return!!n(t,e,t)},extend:b,throttle:_,closest:n,toggleClass:s,clone:y,index:m,nextTick:C,cancelNextTick:D},t.create=function(e,n){return new t(e,n)},t.version="1.7.0",t})},function(t,e,n){"use strict";var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("draggable",{on:{start:function(e){t.drag=!0},end:function(e){t.drag=!1}},model:{value:t.list,callback:function(e){t.list=e},expression:"list"}},t._l(t.list,function(e,i){return n("div",{key:e.id,staticClass:"item"},[n("sort-tab-item",{attrs:{value:e,id:i},on:{"on-remove":t.onDeleteBtn,"on-change":function(e){return t.onChange(i,e)}}})],1)})),t._v(" "),n("Button",{staticStyle:{"margin-top":"20px"},attrs:{type:"primary"},on:{click:t.onAddBtn}},[t._v("添加一组")])],1)},o=[];i._withStripped=!0;var r={render:i,staticRenderFns:o};e.a=r},function(t,e,n){"use strict";var i=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",[i("select-comp",{attrs:{cb:t.onClick}},[i("img",{attrs:{src:n(313),alt:"",srcset:"",width:"100%"}})]),t._v(" "),i("Modal",{attrs:{title:"品类资源位"},on:{"on-ok":t.onOk,"on-cancel":t.onCancel},model:{value:t.show,callback:function(e){t.show=e},expression:"show"}},[i("sort-tab-editor",{ref:"editor",attrs:{value:t.list}})],1)],1)},o=[];i._withStripped=!0;var r={render:i,staticRenderFns:o};e.a=r},function(t,e,n){t.exports=n.p+"img/sort_item.3b5c8f7.png"},function(t,e,n){"use strict";function i(t){a||n(315)}var o=n(123),r=n(316),a=!1,s=n(0),l=i,u=s(o.a,r.a,!1,l,null,null);u.options.__file="src/components/empty.vue",e.a=u.exports},function(t,e){},function(t,e,n){"use strict";var i=function(){var t=this,e=t.$createElement;return(t._self._c||e)("div")},o=[];i._withStripped=!0;var r={render:i,staticRenderFns:o};e.a=r},function(t,e,n){"use strict";function i(t){a||n(318)}var o=n(124),r=n(319),a=!1,s=n(0),l=i,u=s(o.a,r.a,!1,l,null,null);u.options.__file="src/components/divide.vue",e.a=u.exports},function(t,e){},function(t,e,n){"use strict";var i=function(){var t=this,e=t.$createElement;return(t._self._c||e)("div",{staticClass:"divide"})},o=[];i._withStripped=!0;var r={render:i,staticRenderFns:o};e.a=r},function(t,e,n){t.exports=n.p+"img/sort_title.ba4687f.png"},function(t,e,n){"use strict";var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"index"},[n("miniapp",{attrs:{title:t.title,bg:t.bg}},[[t._l(t.list,function(e){return[n("smartfloor",{key:e.resContentId,attrs:{item:e}}),t._v(" "),n("divide")]})]],2)],1)},o=[];i._withStripped=!0;var r={render:i,staticRenderFns:o};e.a=r},function(t,e,n){"use strict";var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("LayoutContent",{attrs:{breads:[{url:"resource-list.html",title:"资源位列表"},{title:"资源位编辑"}]}},[n("home-page")],1)},o=[];i._withStripped=!0;var r={render:i,staticRenderFns:o};e.a=r}]),[233]);  
@@ -5,10 +5,10 @@ @@ -5,10 +5,10 @@
5 <title>ufo后台管理</title> 5 <title>ufo后台管理</title>
6 <meta charset="UTF-8"> 6 <meta charset="UTF-8">
7 <meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=0"> 7 <meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=0">
8 -<link href="css/vendors.daff45d4026062961aae.css" rel="stylesheet"><link href="css/price-compare.daff45d4026062961aae.css" rel="stylesheet"></head> 8 +<link href="css/vendors.4a4d0a45ded8e504d301.css" rel="stylesheet"><link href="css/price-compare.4a4d0a45ded8e504d301.css" rel="stylesheet"></head>
9 9
10 <body> 10 <body>
11 <div id="app"></div> 11 <div id="app"></div>
12 -<script type="text/javascript" src="js/vendors.daff45d4026062961aae.js"></script><script type="text/javascript" src="js/price-compare.daff45d4026062961aae.js"></script></body> 12 +<script type="text/javascript" src="js/vendors.4a4d0a45ded8e504d301.js"></script><script type="text/javascript" src="js/price-compare.4a4d0a45ded8e504d301.js"></script></body>
13 13
14 </html> 14 </html>
@@ -5,10 +5,10 @@ @@ -5,10 +5,10 @@
5 <title>ufo后台管理</title> 5 <title>ufo后台管理</title>
6 <meta charset="UTF-8"> 6 <meta charset="UTF-8">
7 <meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=0"> 7 <meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=0">
8 -<link href="css/vendors.daff45d4026062961aae.css" rel="stylesheet"><link href="css/resource-edit.daff45d4026062961aae.css" rel="stylesheet"></head> 8 +<link href="css/vendors.4a4d0a45ded8e504d301.css" rel="stylesheet"><link href="css/resource-edit.4a4d0a45ded8e504d301.css" rel="stylesheet"></head>
9 9
10 <body> 10 <body>
11 <div id="app"></div> 11 <div id="app"></div>
12 -<script type="text/javascript" src="js/vendors.daff45d4026062961aae.js"></script><script type="text/javascript" src="js/resource-edit.daff45d4026062961aae.js"></script></body> 12 +<script type="text/javascript" src="js/vendors.4a4d0a45ded8e504d301.js"></script><script type="text/javascript" src="js/resource-edit.4a4d0a45ded8e504d301.js"></script></body>
13 13
14 </html> 14 </html>
@@ -5,10 +5,10 @@ @@ -5,10 +5,10 @@
5 <title>ufo后台管理</title> 5 <title>ufo后台管理</title>
6 <meta charset="UTF-8"> 6 <meta charset="UTF-8">
7 <meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=0"> 7 <meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=0">
8 -<link href="css/vendors.daff45d4026062961aae.css" rel="stylesheet"><link href="css/resource-list.daff45d4026062961aae.css" rel="stylesheet"></head> 8 +<link href="css/vendors.4a4d0a45ded8e504d301.css" rel="stylesheet"><link href="css/resource-list.4a4d0a45ded8e504d301.css" rel="stylesheet"></head>
9 9
10 <body> 10 <body>
11 <div id="app"></div> 11 <div id="app"></div>
12 -<script type="text/javascript" src="js/vendors.daff45d4026062961aae.js"></script><script type="text/javascript" src="js/resource-list.daff45d4026062961aae.js"></script></body> 12 +<script type="text/javascript" src="js/vendors.4a4d0a45ded8e504d301.js"></script><script type="text/javascript" src="js/resource-list.4a4d0a45ded8e504d301.js"></script></body>
13 13
14 </html> 14 </html>
@@ -5,10 +5,10 @@ @@ -5,10 +5,10 @@
5 <title>ufo后台管理</title> 5 <title>ufo后台管理</title>
6 <meta charset="UTF-8"> 6 <meta charset="UTF-8">
7 <meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=0"> 7 <meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=0">
8 -<link href="css/vendors.daff45d4026062961aae.css" rel="stylesheet"><link href="css/send-record.daff45d4026062961aae.css" rel="stylesheet"></head> 8 +<link href="css/vendors.4a4d0a45ded8e504d301.css" rel="stylesheet"><link href="css/send-record.4a4d0a45ded8e504d301.css" rel="stylesheet"></head>
9 9
10 <body> 10 <body>
11 <div id="app"></div> 11 <div id="app"></div>
12 -<script type="text/javascript" src="js/vendors.daff45d4026062961aae.js"></script><script type="text/javascript" src="js/send-record.daff45d4026062961aae.js"></script></body> 12 +<script type="text/javascript" src="js/vendors.4a4d0a45ded8e504d301.js"></script><script type="text/javascript" src="js/send-record.4a4d0a45ded8e504d301.js"></script></body>
13 13
14 </html> 14 </html>
@@ -5,10 +5,10 @@ @@ -5,10 +5,10 @@
5 <title>ufo后台管理</title> 5 <title>ufo后台管理</title>
6 <meta charset="UTF-8"> 6 <meta charset="UTF-8">
7 <meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=0"> 7 <meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=0">
8 -<link href="css/vendors.daff45d4026062961aae.css" rel="stylesheet"><link href="css/shop.daff45d4026062961aae.css" rel="stylesheet"></head> 8 +<link href="css/vendors.4a4d0a45ded8e504d301.css" rel="stylesheet"><link href="css/shop.4a4d0a45ded8e504d301.css" rel="stylesheet"></head>
9 9
10 <body> 10 <body>
11 <div id="app"></div> 11 <div id="app"></div>
12 -<script type="text/javascript" src="js/vendors.daff45d4026062961aae.js"></script><script type="text/javascript" src="js/shop.daff45d4026062961aae.js"></script></body> 12 +<script type="text/javascript" src="js/vendors.4a4d0a45ded8e504d301.js"></script><script type="text/javascript" src="js/shop.4a4d0a45ded8e504d301.js"></script></body>
13 13
14 </html> 14 </html>