text: webpackJsonp([63],{278:function(n,t,a){"use strict";function e(n){d||a(994)}Object.defineProperty(t,"__esModule",{value:!0});var i=a(838),o=a.n(i);for(var s in i)"default"!==s&&function(n){a.d(t,n,function(){return i[n]})}(s);var r=a(996),l=a.n(r),d=!1,u=a(1),c=e,v=u(o.a,l.a,!1,c,"data-v-b8e0a9e8",null);v.options.__file="src\\views\\contents\\columns-list.vue",t.default=v.exports},838:function(n,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={name:"columns-list",data:function(){var n=this;return{loading:!1,columns:[{type:"selection",width:60,align:"center"},{title:"排序",key:"sort",width:120,render:function(n,t){return n("div",[n("input",{props:{type:"default"},style:{width:"60px",height:"30px","padding-left":"5px"},attrs:{value:0,type:"number",min:0}})])}},{title:"ID",key:"id",width:100},{title:"栏目名称",key:"name"},{title:"别名",key:"alias"},{title:"是否导航显示",key:"isNav",width:120},{title:"操作",key:"action",render:function(t,a){return t("div",[t("Button",{props:{type:"default",size:"small"},style:{marginRight:"5px"},on:{click:function(){n.show(a.index)}}},"查看"),t("Button",{props:{type:"default",size:"small"},style:{marginRight:"5px"},on:{click:function(){}}},"编辑"),t("Button",{props:{type:"default",size:"small"},on:{click:function(){n.remove(a.index)}}},"删除")])}}],data:[{id:1,name:"John Brown11",alias:"111",isNav:"是"},{id:2,name:"John Brown222",alias:"222",isNav:"是"},{id:3,name:"John Brown333",alias:"333",isNav:"是"},{id:4,name:"John Brown444",alias:"44",isNav:"是"},{id:3,name:"John Brown333",alias:"333",isNav:"是"},{id:3,name:"John Brown333",alias:"333",isNav:"是"},{id:3,name:"John Brown333",alias:"333",isNav:"是"},{id:3,name:"John Brown333",alias:"333",isNav:"是"},{id:3,name:"John Brown333",alias:"333",isNav:"是"},{id:3,name:"John Brown333",alias:"333",isNav:"是"},{id:3,name:"John Brown333",alias:"333",isNav:"是"},{id:3,name:"John Brown333",alias:"333",isNav:"是"},{id:3,name:"John Brown333",alias:"333",isNav:"是"}],cityList:[{value:"New York",label:"New York"},{value:"London",label:"London"},{value:"Sydney",label:"Sydney"},{value:"Ottawa",label:"Ottawa"},{value:"Paris",label:"Paris"},{value:"Canberra",label:"Canberra"}]}},methods:{show:function(n){this.$Modal.info({title:"User Info",content:"Name："+this.data[n].name+"<br>Age："+this.data[n].age+"<br>Address："+this.data[n].address})},remove:function(n){this.data.splice(n,1)}}}},994:function(n,t,a){var e=a(995);"string"==typeof e&&(e=[[n.i,e,""]]),e.locals&&(n.exports=e.locals);a(17)("1f4d4751",e,!1)},995:function(n,t,a){t=n.exports=a(16)(!1),t.push([n.i,"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",""])},996:function(n,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var e=function(){var n=this,t=n.$createElement,a=n._self._c||t;return a("div",{staticClass:"home-main"},[a("Row",{attrs:{gutter:10}},[a("Col",{attrs:{md:24,lg:24}},[a("Card",{attrs:{"dis-hover":""}},[a("Row",{style:{marginBottom:"10px"},attrs:{gutter:10}},[a("a",{attrs:{href:"#/contents/add-column"}},[a("Button",{attrs:{type:"primary"}},[n._v("添加栏目")])],1)]),n._v(" "),a("Row",{style:{marginBottom:"10px"},attrs:{gutter:10}},[a("Table",{attrs:{loading:n.loading,border:"",columns:n.columns,data:n.data}}),n._v(" "),a("div",{staticStyle:{margin:"10px 0 10px 0",overflow:"hidden"}},[a("div",{staticStyle:{float:"left"}},[a("a",{attrs:{href:"javascript:void(0)"}},[a("Button",[n._v("排序")])],1),n._v(" "),a("a",{attrs:{href:"javascript:void(0)"}},[a("Button",[n._v("移动到")])],1),n._v(" "),a("Select",{staticStyle:{width:"120px"},attrs:{name:"select",transfer:"",placement:"top",placeholder:"请选择..."}},n._l(n.cityList,function(n){return a("Option",{key:n.label,attrs:{value:n.value}})}))],1),n._v(" "),a("div",{staticStyle:{float:"right"}},[a("Page",{attrs:{total:100,current:1,"show-total":""}})],1)])],1)],1)],1)],1)],1)},i=[];e._withStripped=!0;var o={render:e,staticRenderFns:i};t.default=o}});