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8lSB7wLtt2AX5st74olCDikPWskfRZNSVIi2OKst2+c5P1QaEEEYuH2V7N4Lqv2msrlCDisa5FrqkEUSwIL7E93sDrPW6vqVCC5AaN0l/kVZ+iBGlxfMR2awOuc6u9lkIJkjvcwXagjuc/YK+hUILkEgnVdxeRDfYaCiVIbvEk2546nHePPbdCCZJ7rMvJORVKkEzwBtuOGp5vhz2nQgnSNMBu6uM1OM84Nedu80qQFscY1SYfx2Z7LoUSpOlwH9ubi/j9m/YcCiWIDth1YK4EaUU8z7Z7Ab/bbX+rUII0PdY36DcKJUgu8R7btnkcv83+RqEEaRncwnZkDscdsccqlCAthQrbDXM47gZ7rEIJ0nJ4lO2VE3z/ij1GoQRpWaxb4HcKJUhL4GW2XTN8vst+p1CCtDw+Oc6Y6/hEoQRpCRxm23rcv7fazxRKEIXFXZRuwBDZvxUC4GsIREHflguDkyQqaVYotIulUChBFAoliEKhBFEolCAKhRJEoVCCKBRKEIVCCaJQKJQgCoUSRKFQgigUShCFIhP8vwADACog5YM65zugAAAAAElFTkSuQmCC"},Ce6b:function(t,e){},CuRo:function(t,e){},DkvJ:function(t,e,a){t.exports=a.p+"static/img/hamburger.50e4091.png"},FApf:function(t,e){},NHnr:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=a("7+uW"),r=(a("CuRo"),a("tvR6"),{render:function(){var t=this.$createElement,e=this._self._c||t;return e("div",{attrs:{id:"app"}},[this._m(0),this._v(" "),e("router-view"),this._v(" "),e("footer",{staticClass:"text-center"},[this._v("\n    Copyright Reserved\n  ")])],1)},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("header",{staticClass:"enclose-float"},[e("img",{attrs:{src:a("7Otq")}})])}]});var o=a("VU/8")({name:"App"},r,!1,function(t){a("pGtT")},null,null).exports,i=a("/ocq"),s=a("zL8q"),l=a("+6Bu"),c=a.n(l),u=a("Xxa5"),d=a.n(u),f=a("exGp"),m=a.n(f),h=a("mtWM"),p="http://daily.scrm.haoyiku.com.cn",g=a.n(h).a.create({baseURL:p,transformResponse:[function(t){return JSON.parse(t)}],withCredentials:!0}),v=a("mvHQ"),b=a.n(v),w={getUrlParam:function(t){var e={};return location.search.substr(1).split("&").forEach(function(t){var a=t.split("=");e[a[0]]=a[1]}),e[t]},formatDateNew:function(t,e){if(!t)return"";var a=new Date(t),n=function(t){return t.toString().padStart(2,"0")};return e.replace(/yyyy|MM|dd|HH|mm|ss/g,function(t){switch(t){case"yyyy":return n(a.getFullYear());case"MM":return n(a.getMonth()+1);case"dd":return n(a.getDate());case"HH":return n(a.getHours());case"mm":return n(a.getMinutes());default:return n(a.getSeconds())}})},isValidBarcode:function(t){return/^([0-9]\d*)$/.test(t)},checkPointTwo:function(t){return!!/^\d+(\.\d{1,2})?$/g.test(t)},returnStrLength:function(t){return null===t?0:t.toString().replace(/[\u0391-\uFFE5]/g,"aa").length},returnEnStrLength:function(t){return null===t?0:t.toString().length},toast:function(t,e,a,n){var r={succeed:"toast-icon-ok",failed:"toast-icon-false",notice:"toast-icon-notice"};if(document.getElementById("J_Toast"))return!1;var o=r[e]?r[e]:"toast-icon-"+e,i=document.createElement("div");return i.style.cssText="z-index:100000 !important;",i.id="J_Toast",i.className="toast",i.innerHTML='<div class="toast-cont"><i class="toast-icon '+o+'"></i><p class="toast-text">'+t+"</p></div>",document.body.appendChild(i),a&&clearTimeout(a),setTimeout(function(){var t=document.getElementById("J_Toast");t.parentNode.removeChild(t),n&&n()},a),!0},getStorage:function(t){return JSON.parse(localStorage.getItem(t))||{}},setStorage:function(t,e){localStorage.setItem(t,b()(e))},spliteByComma:function(t){return t?t.replace(/(\s*\,\s*)|(\s*，\s*)/g,",").split(","):[]},mergeObjToArray:function(){for(var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"id",n=0;n<e.length;n+=1)if(t.length)for(var r=0;r<t.length&&e[n][a]!==t[r][a];r+=1)r===t.length-1&&e[n][a]!==t[r][a]&&t.push(e[n]);else t.push(e[n]);return t},timeFormat:function(t){if(!t)return null;var e=new Date(t);return console.log(e),e.getFullYear()+"-"+(e.getMonth()+1).toString().padStart(2,"0")+"-"+e.getDate().toString().padStart(2,"0")+" "+e.getHours().toString().padStart(2,"0")+":"+e.getMinutes().toString().padStart(2,"0")+":"+e.getSeconds().toString().padStart(2,"0")},timeFormatSafari:function(t){if(!t)return null;var e=new Date(t);return console.log(e),e.getFullYear()+"/"+(e.getMonth()+1).toString().padStart(2,"0")+"/"+e.getDate().toString().padStart(2,"0")+" "+e.getHours().toString().padStart(2,"0")+":"+e.getMinutes().toString().padStart(2,"0")+":"+e.getSeconds().toString().padStart(2,"0")},numberValidate:function(t){return!/^(([1-9]+[0-9]*(\.[0-9]+)?)|(0\.([1-9][0-9]*|[0-9][1-9][0-9]*)))$/.test(t)},intValidate:function(t){return!/^([0-9]+[0-9]*)$/.test(t)},dividePrice:function(t){return null==t?null:(+t/100).toFixed(2)},multiplyPrice:function(t){return null==t?null:(100*+t).toFixed(0)},uploadBannerUrl:p+"/message/oss/imgUpload",imgCdnPath:"http://cdn.elephtribe.com/",localTime:{filters:{localTime:function(t){if(!t)return null;var e=new Date(t);return e.getFullYear()+"-"+(e.getMonth()+1)+"-"+e.getDate()+" "+e.getHours().toString().padStart(2,"0")+":"+e.getMinutes().toString().padStart(2,"0")+":"+e.getSeconds().toString().padStart(2,"0")},DateTimer:function(t,e){var a=new Date(t),n=new Date(e);return a.getFullYear()+"-"+(a.getMonth()+1)+"-"+a.getDate()+"  "+n.getHours().toString().padStart(2,"0")+":"+n.getMinutes().toString().padStart(2,"0")+":"+n.getSeconds().toString().padStart(2,"0")}}}};function y(t){var e=t.method,a=t.url,n=t.data,r=void 0===n?null:n,o=t.success,i=void 0===o?null:o,s=t.failure,l=void 0===s?null:s;switch(e){case"GET":g.get(a,i).then(function(t){t.data.status?i(t.data):(w.toast(t.data.message,"failed",1500),l&&l(t.data))}).catch(function(t){t.response?w.toast(t.response.data.message,"failed",1500):t.request?w.toast(t.request,"failed",2e3):w.toast(t,"failed",2e3)});break;case"POST":g({method:e,url:a,data:r}).then(function(t){t.data.status?i(t.data):(w.toast(t.data.message,"failed",1500),l&&l(t.data))}).catch(function(t){t.response?w.toast(t.response.data.message,"failed",1500):t.request?w.toast(t.request,"failed",2e3):w.toast(t,"failed",2e3)});break;case"PUT":case"DELETE":break;default:try{throw new RangeError("The method of the HTTP request is not allowed","ajax.js")}catch(t){console.warn(t.message)}}}n.default.use(s.TableColumn),n.default.use(s.Table),n.default.use(s.Pagination);var C={name:"DbTable",components:{},props:{columnNameField:{required:!0,type:Object},pages:{type:Object,default:{multiple:!1}},selection:Boolean,index:Boolean,rowClassName:Array,stripe:Boolean},created:function(){this.getPage()},mounted:function(){void 0!==this.stripe&&this.addClassToRow()},methods:{getPage:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;return m()(d.a.mark(function a(){var n;return d.a.wrap(function(a){for(;;)switch(a.prev=a.next){case 0:y({method:"POST",url:(n=t).pages.src,data:{pageNo:e,pageSize:10},success:function(t){n.table=t.entry,n.page.total=t.count,void 0!==n.rowClassName&&n.handleRowClasses()}});case 2:case"end":return a.stop()}},a,t)}))()},queryAttributes:function(){for(var t=this,e=arguments.length,a=Array(e),n=0;n<e;n++)a[n]=arguments[n];a.forEach(function(e){var a=!1;if(t.colNameField.forEach(function(t){e===t.prop&&(a=!0)}),!a)return console.error("The attribute "+e+" is not existed.","DbTable.vue"),!1});var r={};return a.forEach(function(e){r[e]=[],t.table.forEach(function(t){r[e].push(t[e])})}),r},queryTuples:function(){for(var t=this,e=arguments.length,a=Array(e),n=0;n<e;n++)a[n]=arguments[n];a.forEach(function(e){if(e<0||e>t.table.length-1)return console.error("The row "+e+" is not existed.","DbTable.vue"),!1});for(var r=[],o=0;o<a.length;o++){var i=this.table[a[o]];r.push(i)}return r},queryTable:function(){return this.table},setAttributes:function(t){var e=c()(t,[]);for(var a in e){if(e[a].length>this.table.length)try{throw new RangeError("The length of attribute values is out of range","DbTable.vue")}catch(t){console.error(t.name,t.message)}}for(var n in e)for(var r=e[n],o=0;o<r.length;o++)this.table[o][n]=r[o];return this.table},setTuple:function(t){var e=t.index,a=t.row;if(e<0)try{throw new RangeError("The row index "+e+" must be a non-negative number.")}catch(t){console.error(t.name,t.message)}var n=this.table;if(e>n.length-1){var r={};for(var o in n[0])r[o]=null;n[e]=r}if(e>=0&&e<=n.length)for(var i in a)n[e][i]=a[i];return this.table},deleteAttributes:function(){for(var t=this.table[0],e=this.table,a=arguments.length,n=Array(a),r=0;r<a;r++)n[r]=arguments[r];return n.forEach(function(e){if(!t.hasOwnProperty(e))try{throw new ReferenceError("The attribute "+e+" is not existed in the columns of the table data")}catch(t){console.error(t.name,t.message)}}),n.forEach(function(t){e.forEach(function(e){delete e[t]})}),e},deleteTuples:function(){for(var t=this,e=arguments.length,a=Array(e),n=0;n<e;n++)a[n]=arguments[n];a.forEach(function(e){if(e<0||e>t.table.length-1)try{throw new RangeError("The index "+e+" isn't existed in the table.")}catch(t){console.error(t.name,t.message)}});var r=[];return this.table.forEach(function(t,e){a.includes(e)||r.push(t)}),this.table=r},handlePage:function(t){this.getPage(t)},handleRowClasses:function(){if(0===this.rowClassName.length)try{throw new RangeError("The array cannot be empty.")}catch(t){console.error(t.name,t.message)}var t=this.table,e=this.rowClassName;t.forEach(function(t,a){e[a]&&(t.class=e[a])})},addClassToRow:function(){document.querySelectorAll(".el-table__row").forEach(function(t,e){e%2!=0&&(t.className="el-table__row striped")})}},computed:{getCols:function(){var t=this.columnNameField.prop,e=this.columnNameField.name,a=[];if(t)for(var n=0;n<t.length;n++)a.push({prop:t[n],name:e[n]});return this.colNameField=a}},watch:{tableData:function(){}},data:function(){return{colNameField:[],table:[],page:{size:10,No:1,total:10}}}},S={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("el-table",{attrs:{data:t.table,"row-class-name":function(t){var e=t.row;return t.rowIndex,e.class}}},[t.selection?a("el-table-column",{attrs:{type:"selection",align:"center"}}):t._e(),t._v(" "),t.index?a("el-table-column",{attrs:{type:"index",label:"序号",align:"center"}}):t._e(),t._v(" "),t._l(t.getCols,function(t){return a("el-table-column",{attrs:{label:t.name,prop:t.prop,align:"center"}})}),t._v(" "),a("el-table-column",{attrs:{label:"操作"}})],2),t._v(" "),t.pages.multiple?a("div",[a("el-pagination",{attrs:{background:"",layout:"prev, pager, next",total:t.page.total},on:{"current-change":t.handlePage}})],1):t._e()],1)},staticRenderFns:[]};var R=a("VU/8")(C,S,!1,function(t){a("1f+/"),a("Ce6b")},"data-v-299745a8",null).exports;n.default.use(s.Button);var E={name:"Home",components:{DbTable:R},created:function(){},methods:{getBrand:function(){},handleClick:function(){this.message="world"},handleQuery:function(){console.log(this.$refs.table.setTuple({index:9,row:{id:996,name:"Alex"}}))}},computed:{reversedMessage:function(){return this.message.split("").reverse().join("")}},watch:{},data:function(){return{message:"Hello",tableData:[],cols:{},pageSrc:"http://daily.qundian.elephtribe.com/api/procurement/wxhc/supplier/query"}}},I={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("p",[t._v('Original message: "'+t._s(t.message)+'"')]),t._v(" "),a("p",[t._v('Computed reversed message: "'+t._s(t.reversedMessage)+'"')]),t._v(" "),a("a",{attrs:{href:""},on:{click:function(e){return e.preventDefault(),t.handleClick(e)}}},[t._v("click")]),t._v(" "),a("db-table",{ref:"table",attrs:{"column-name-field":{prop:["id","name"],name:["供应商ID","供应商名称"]},pages:{src:t.pageSrc,multiple:!0},selection:"","row-class-name":["row-1","row-2"],index:"",stripe:""}}),t._v(" "),a("el-button",{on:{click:t.handleQuery}},[t._v("query a list of attributes")])],1)},staticRenderFns:[]};var k=a("VU/8")(E,I,!1,function(t){a("yzZp")},"data-v-4be92ae6",null).exports;n.default.use(s.Row),n.default.use(s.Col),n.default.use(s.Form),n.default.use(s.FormItem),n.default.use(s.Input),n.default.use(s.Button);var T={name:"login",components:{},methods:{getAuthCode:function(){var t=this;this.$refs.form.validateField("mobile",function(e){if(""!==e)return console.log(e),!1;t.form.mobile;y("GET")})},submitForm:function(){var t=this;this.$refs.form.validate(function(e){if(!e)return alert("error submit!!"),!1;alert("submit!");y("POST",(t.form.mobile,t.form.authCode))})}},data:function(){return{form:{mobile:"",authCode:"",rules:{mobile:[{validator:function(t,e,a){""===e&&a(new Error("请输入手机号"));/^[\d]{11}$/.test(e)?a():a(new Error("请输入正确的手机号"))}}],authCode:[{validator:function(t,e,a){""===e&&a(new Error("请输入验证码"));/^[\d]{4}$/.test(e)?a():a(new Error("请输入4位数字"))}}]}}}}},N={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"content"},[a("el-form",{ref:"form",staticClass:"form-login",attrs:{model:t.form,rules:t.form.rules}},[a("h2",[t._v("好衣库商家后台")]),t._v(" "),a("el-form-item",{attrs:{prop:"mobile"}},[a("el-input",{attrs:{placeholder:"请输入手机号"},model:{value:t.form.mobile,callback:function(e){t.$set(t.form,"mobile",e)},expression:"form.mobile"}})],1),t._v(" "),a("el-form-item",{attrs:{prop:"authCode"}},[a("el-row",[a("el-col",{attrs:{span:8}},[a("el-input",{attrs:{placeholder:"4位验证码"},model:{value:t.form.authCode,callback:function(e){t.$set(t.form,"authCode",e)},expression:"form.authCode"}})],1),t._v(" "),a("el-col",{attrs:{span:16}},[a("el-button",{style:{float:"right"},attrs:{type:"primary"},on:{click:t.getAuthCode}},[t._v("验证码")])],1)],1)],1),t._v(" "),a("el-form-item",[a("el-button",{attrs:{type:"primary"},on:{click:t.submitForm}},[t._v("提交")])],1)],1)],1)},staticRenderFns:[]};var x=a("VU/8")(T,N,!1,function(t){a("auz/")},"data-v-3133eaf7",null).exports;n.default.use(s.Table),n.default.use(s.TableColumn);var A={render:function(){var t=this.$createElement,e=this._self._c||t;return e("el-table",{staticStyle:{width:"100%"},attrs:{data:this.tableData}},[e("el-table-column",{attrs:{prop:"date",label:"日期",width:"180"}}),this._v(" "),e("el-table-column",{attrs:{prop:"name",label:"姓名",width:"180"}}),this._v(" "),e("el-table-column",{attrs:{prop:"address",label:"地址"}})],1)},staticRenderFns:[]};var B=a("VU/8")({name:"UserList",components:{},methods:{},data:function(){return{tableData:[{date:"2016-05-02",name:"王小虎",address:"上海市普陀区金沙江路 1518 弄"},{date:"2016-05-04",name:"王小虎",address:"上海市普陀区金沙江路 1517 弄"},{date:"2016-05-01",name:"王小虎",address:"上海市普陀区金沙江路 1519 弄"},{date:"2016-05-03",name:"王小虎",address:"上海市普陀区金沙江路 1516 弄"}]}}},A,!1,function(t){a("5ZKc")},"data-v-09a19632",null).exports;n.default.use(s.Row),n.default.use(s.Col),n.default.use(s.Card),n.default.use(s.Loading),n.default.use(s.Button);var U={name:"DbWaterfall",components:{},props:{justifyDirection:{type:String,default:"row"},alignItems:{type:Number,required:!0,default:6}},created:function(){this.getDetails(this.pageNo)},mounted:function(){this.initScroll()},methods:{getDetails:function(t){var e=this;y({method:"POST",url:"http://daily.qundian.elephtribe.com/api/procurement/wxhc/brand/query",data:{pageNo:t,pageSize:this.alignItems},success:function(t){if(0!==t.entry.length){var a=[];t.entry.forEach(function(t){a.push(""+e.imgCdnPath+t.logo)});for(var n=e.imgURLs,r=0;r<a.length;r+=6)n.push(a.slice(r,r+6))}else e.loading=!1}})},initScroll:function(){var t=this;document.addEventListener("scroll",function(e){var a=document.querySelectorAll("img.waterfall-img"),n=document.querySelectorAll("div.el-row")[24];for(var r in a)if("length"!==r){var o=a[r];o.offsetTop+n.offsetTop<window.innerHeight+window.scrollY&&(o.src=o.dataset.url)}t.backToTop=window.scrollY>window.innerHeight,document.body.offsetHeight<window.scrollY+window.innerHeight&&t.getDetails(++t.pageNo)})},scrollToTop:function(){window.webkitRequestAnimationFrame(this.scrollOnce)},scrollOnce:function(){window.scrollBy(0,-500),window.scrollY>0&&window.webkitRequestAnimationFrame(this.scrollOnce)}},computed:{},watch:{},data:function(){return{imgCdnPath:"http://cdn.elephtribe.com/",cols:"",imgURLs:[],loading:!0,backToTop:!1,pageNo:1}}},W={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[t._l(24,function(e){return n("el-row",[n("el-col",{attrs:{span:24}},[n("div",{staticStyle:{padding:"14px","text-align":"left"}},[n("span",[t._v("好吃的汉堡")]),t._v(" "),n("div",{staticClass:"bottom"},[n("span",{staticClass:"product-attr"},[t._v("颜色：")]),n("br"),t._v(" "),n("span",{staticClass:"product-attr"},[t._v("尺码：")]),n("br"),t._v(" "),n("span",{staticClass:"product-attr"},[t._v("价格：")]),n("br"),t._v(" "),n("time",{staticClass:"product-attr"},[t._v(t._s(new Date(Date.now())))])])])]),t._v(" "),t._l(6,function(t){return n("el-col",{attrs:{span:4}},[n("el-card",{staticClass:"box-card"},[n("img",{staticStyle:{width:"100%"},attrs:{src:a("DkvJ")}})])],1)})],2)}),t._v(" "),t._l(t.imgURLs,function(e){return n("el-row",[n("el-col",{attrs:{span:24}},[n("div",{staticStyle:{padding:"14px","text-align":"left"}},[n("span",[t._v("好吃的汉堡")]),t._v(" "),n("div",{staticClass:"bottom"},[n("span",{staticClass:"product-attr"},[t._v("颜色：")]),n("br"),t._v(" "),n("span",{staticClass:"product-attr"},[t._v("尺码：")]),n("br"),t._v(" "),n("span",{staticClass:"product-attr"},[t._v("价格：")]),n("br"),t._v(" "),n("time",{staticClass:"product-attr"},[t._v(t._s(new Date(Date.now())))])])])]),t._v(" "),t._l(e,function(t){return n("el-col",{attrs:{span:4}},[n("el-card",[n("img",{staticClass:"waterfall-img",attrs:{"data-url":t}})])],1)})],2)}),t._v(" "),t.backToTop?n("el-button",{staticClass:"btn-back-to-top",attrs:{icon:"el-icon-caret-top",circle:""},on:{click:t.scrollToTop}}):t._e(),t._v(" "),n("div",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],staticClass:"modal-loading",attrs:{"element-loading-text":"加载中","element-loading-spinner":"el-icon-loading"}},[t.loading?t._e():n("span",[t._v("没有更多了")])])],2)},staticRenderFns:[]};var Z={name:"Detail",components:{DbWaterfall:a("VU/8")(U,W,!1,function(t){a("iFZM")},"data-v-07603302",null).exports},props:[],methods:{},computed:{},watch:{},data:function(){return{}}},D={render:function(){var t=this.$createElement;return(this._self._c||t)("db-waterfall",{attrs:{"align-items":12}})},staticRenderFns:[]};var z=a("VU/8")(Z,D,!1,function(t){a("FApf")},"data-v-8a945ce8",null).exports;n.default.use(i.a);var P=new i.a({mode:"history",routes:[{path:"/",name:"home page",component:k},{path:"/home",name:"test",component:k},{path:"/login",name:"login",component:x},{path:"/users",name:"user list",component:B},{path:"/detail",name:"waterfall",component:z}]});n.default.config.productionTip=!1,new n.default({el:"#app",router:P,components:{App:o},template:"<App/>"})},"auz/":function(t,e){},iFZM:function(t,e){},pGtT:function(t,e){},tvR6:function(t,e){},yzZp:function(t,e){}},["NHnr"]);
  //# sourceMappingURL=app.e92514a24070023f43a4.js.map