fix:新增图片翻页

上级 fa2ae1a8
.login-container[data-v-2d08abd9]{background-color:#35495e;height:100%}.login-container .login-box[data-v-2d08abd9]{width:400px;height:250px;background-color:#fff;border-radius:3px;position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);box-shadow:0 0 6px hsla(0,0%,100%,.5)}.login-container .login-box .form-login[data-v-2d08abd9]{position:absolute;bottom:0;left:0;width:100%;box-sizing:border-box}.form-control[data-v-2d08abd9]{flex:1}.avatar-box[data-v-2d08abd9]{position:absolute;width:100%;top:-65px;left:0}.avatar-box .avatar[data-v-2d08abd9]{width:120px;height:120px;border-radius:50%!important;box-shadow:0 0 6px #efefef}.layout-header-container[data-v-36ae6cf9]{height:60px;border-bottom:1px solid #eaeaea}.layout-header-left-img[data-v-36ae6cf9]{height:50px}.layout-aside-container[data-v-3235a6cc]{width:250px;height:100%;border-right:1px solid #eaeaea}.left-aside-item[data-v-3235a6cc]{font-size:20px}.home-container[data-v-e41dbfec]{height:100%;display:flex;flex-direction:column}.home-container .home-main-box[data-v-e41dbfec]{height:100%;display:flex}.home-container .home-main-box .home-main-body[data-v-e41dbfec]{padding:15px;flex:1}.el-header[data-v-2a73445c]{background-color:#b3c0d1;color:#333;line-height:60px}.el-aside[data-v-2a73445c]{color:#333}.pagination[data-v-2a73445c]{margin-top:16px;text-align:right}.el-header[data-v-c92e998c]{background-color:#b3c0d1;color:#333;line-height:60px}.el-aside[data-v-c92e998c]{color:#333}.pagination[data-v-c92e998c]{margin-top:16px;text-align:right}.header-button-item[data-v-c92e998c]{margin-right:15px;font-size:20px}.backtop[data-v-c92e998c]{position:fixed;bottom:50px;right:50px;height:40px;width:40px;line-height:40px;text-align:center;border-radius:20px;background-color:#007aff;color:#fff;cursor:pointer;z-index:999}.backtop[data-v-c92e998c]:hover{background-color:#0050a0}.button-container[data-v-9d5d30a4]{position:fixed;bottom:0;right:0;margin:16px}.container[data-v-ddc6c3e0]{display:flex;justify-content:center;align-items:center;height:30vh} .login-container[data-v-2d08abd9]{background-color:#35495e;height:100%}.login-container .login-box[data-v-2d08abd9]{width:400px;height:250px;background-color:#fff;border-radius:3px;position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);box-shadow:0 0 6px hsla(0,0%,100%,.5)}.login-container .login-box .form-login[data-v-2d08abd9]{position:absolute;bottom:0;left:0;width:100%;box-sizing:border-box}.form-control[data-v-2d08abd9]{flex:1}.avatar-box[data-v-2d08abd9]{position:absolute;width:100%;top:-65px;left:0}.avatar-box .avatar[data-v-2d08abd9]{width:120px;height:120px;border-radius:50%!important;box-shadow:0 0 6px #efefef}.layout-header-container[data-v-36ae6cf9]{height:60px;border-bottom:1px solid #eaeaea}.layout-header-left-img[data-v-36ae6cf9]{height:50px}.layout-aside-container[data-v-3235a6cc]{width:250px;height:100%;border-right:1px solid #eaeaea}.left-aside-item[data-v-3235a6cc]{font-size:20px}.home-container[data-v-e41dbfec]{height:100%;display:flex;flex-direction:column}.home-container .home-main-box[data-v-e41dbfec]{height:100%;display:flex}.home-container .home-main-box .home-main-body[data-v-e41dbfec]{padding:15px;flex:1}.el-header[data-v-15b8f4b2]{background-color:#b3c0d1;color:#333;line-height:60px}.el-aside[data-v-15b8f4b2]{color:#333}.pagination[data-v-15b8f4b2]{margin-top:16px;text-align:right}.arrow-button[data-v-15b8f4b2]{display:flex;align-items:center;justify-content:center;border:none;background-color:transparent;cursor:pointer}.custom-icon[data-v-15b8f4b2]{font-size:24px;color:#f90;margin-right:6px}.arrow-button.disabled[data-v-15b8f4b2]{pointer-events:none;opacity:.1}.el-header[data-v-c92e998c]{background-color:#b3c0d1;color:#333;line-height:60px}.el-aside[data-v-c92e998c]{color:#333}.pagination[data-v-c92e998c]{margin-top:16px;text-align:right}.header-button-item[data-v-c92e998c]{margin-right:15px;font-size:20px}.backtop[data-v-c92e998c]{position:fixed;bottom:50px;right:50px;height:40px;width:40px;line-height:40px;text-align:center;border-radius:20px;background-color:#007aff;color:#fff;cursor:pointer;z-index:999}.backtop[data-v-c92e998c]:hover{background-color:#0050a0}.button-container[data-v-9d5d30a4]{position:fixed;bottom:0;right:0;margin:16px}.container[data-v-ddc6c3e0]{display:flex;justify-content:center;align-items:center;height:30vh}
/*! /*!
* Bootstrap v4.5.0 (https://getbootstrap.com/) * Bootstrap v4.5.0 (https://getbootstrap.com/)
......
<!DOCTYPE html><html lang=""><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><link rel="icon" href="/kwan.png"><title>kwan66</title><link href="/css/app.83c37b1e.css" rel="preload" as="style"><link href="/css/chunk-vendors.bedbfba9.css" rel="preload" as="style"><link href="/js/app.8dff95dc.js" rel="preload" as="script"><link href="/js/chunk-vendors.7ec94df9.js" rel="preload" as="script"><link href="/css/chunk-vendors.bedbfba9.css" rel="stylesheet"><link href="/css/app.83c37b1e.css" rel="stylesheet"></head><body><noscript><strong>We're sorry but kwan66 doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div><script src="/js/chunk-vendors.7ec94df9.js"></script><script src="/js/app.8dff95dc.js"></script></body></html> <!DOCTYPE html><html lang=""><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><link rel="icon" href="/kwan.png"><title>kwan66</title><link href="/css/app.0a82e815.css" rel="preload" as="style"><link href="/css/chunk-vendors.bedbfba9.css" rel="preload" as="style"><link href="/js/app.1ea9d376.js" rel="preload" as="script"><link href="/js/chunk-vendors.7ec94df9.js" rel="preload" as="script"><link href="/css/chunk-vendors.bedbfba9.css" rel="stylesheet"><link href="/css/app.0a82e815.css" rel="stylesheet"></head><body><noscript><strong>We're sorry but kwan66 doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div><script src="/js/chunk-vendors.7ec94df9.js"></script><script src="/js/app.1ea9d376.js"></script></body></html>
\ No newline at end of file \ No newline at end of file
(function(t){function e(e){for(var a,i,s=e[0],l=e[1],c=e[2],d=0,m=[];d<s.length;d++)i=s[d],Object.prototype.hasOwnProperty.call(r,i)&&r[i]&&m.push(r[i][0]),r[i]=0;for(a in l)Object.prototype.hasOwnProperty.call(l,a)&&(t[a]=l[a]);u&&u(e);while(m.length)m.shift()();return o.push.apply(o,c||[]),n()}function n(){for(var t,e=0;e<o.length;e++){for(var n=o[e],a=!0,s=1;s<n.length;s++){var l=n[s];0!==r[l]&&(a=!1)}a&&(o.splice(e--,1),t=i(i.s=n[0]))}return t}var a={},r={app:0},o=[];function i(e){if(a[e])return a[e].exports;var n=a[e]={i:e,l:!1,exports:{}};return t[e].call(n.exports,n,n.exports,i),n.l=!0,n.exports}i.m=t,i.c=a,i.d=function(t,e,n){i.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},i.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},i.t=function(t,e){if(1&e&&(t=i(t)),8&e)return t;if(4&e&&"object"===typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(i.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var a in t)i.d(n,a,function(e){return t[e]}.bind(null,a));return n},i.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return i.d(e,"a",e),e},i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},i.p="/";var s=window["webpackJsonp"]=window["webpackJsonp"]||[],l=s.push.bind(s);s.push=e,s=s.slice();for(var c=0;c<s.length;c++)e(s[c]);var u=l;o.push([0,"chunk-vendors"]),n()})({0:function(t,e,n){t.exports=n("56d7")},"0157":function(t,e,n){"use strict";n("808c")},"022e":function(t,e,n){"use strict";n("12df")},"12df":function(t,e,n){},"155e":function(t,e,n){},"16b4":function(t,e,n){},4084:function(t,e,n){},"547c":function(t,e,n){"use strict";n("c7d0")},"56d7":function(t,e,n){"use strict";n.r(e);n("e260"),n("e6cf"),n("cca6"),n("a79d"),n("4de4");var a=n("2b0e"),r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("router-view")},o=[],i={name:"MyApp"},s=i,l=n("2877"),c=Object(l["a"])(s,r,o,!1,null,"633dd7d9",null),u=c.exports,d=n("8c4f"),m=["/home","/home/users","/home/pic"],p=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"login-container"},[n("div",{staticClass:"login-box"},[t._m(0),n("div",{staticClass:"form-login p-4"},[n("div",{staticClass:"form-group form-inline"},[n("label",{attrs:{for:"username"}},[t._v("登录名称")]),n("input",{directives:[{name:"model",rawName:"v-model.trim",value:t.username,expression:"username",modifiers:{trim:!0}}],staticClass:"form-control ml-2",attrs:{type:"text",id:"username",placeholder:"请输入登录名称",autocomplete:"off"},domProps:{value:t.username},on:{input:function(e){e.target.composing||(t.username=e.target.value.trim())},blur:function(e){return t.$forceUpdate()}}})]),n("div",{staticClass:"form-group form-inline"},[n("label",{attrs:{for:"password"}},[t._v("登录密码")]),n("input",{directives:[{name:"model",rawName:"v-model.trim",value:t.password,expression:"password",modifiers:{trim:!0}}],staticClass:"form-control ml-2",attrs:{type:"password",id:"password",placeholder:"请输入登录密码"},domProps:{value:t.password},on:{input:function(e){e.target.composing||(t.password=e.target.value.trim())},blur:function(e){return t.$forceUpdate()}}})]),n("div",{staticClass:"form-group form-inline d-flex justify-content-end"},[n("button",{staticClass:"btn btn-secondary mr-2",attrs:{type:"button"},on:{click:t.reset}},[t._v("重置")]),n("button",{staticClass:"btn btn-primary",attrs:{type:"button"},on:{click:t.login}},[t._v("登录")])])])])])},f=[function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"text-center avatar-box"},[a("img",{staticClass:"img-thumbnail avatar",attrs:{src:n("7678"),alt:"kwan的解忧杂货铺"}})])}],g={name:"MyLogin",data:function(){return{username:"",password:""}},methods:{reset:function(){this.username="",this.password=""},login:function(){"admin"===this.username&&"666688"===this.password?(localStorage.setItem("token","Bearer xxxx"),this.$router.push("/home")):localStorage.removeItem("token")}}},h=g,b=(n("547c"),Object(l["a"])(h,p,f,!1,null,"2d08abd9",null)),v=b.exports,_=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"home-container"},[n("el-row",[n("el-col",{attrs:{span:24}},[n("MyHeader")],1)],1),n("el-row",[n("el-col",{attrs:{span:3}},[n("MyAside")],1),n("el-col",{attrs:{span:21}},[n("router-view")],1)],1)],1)},y=[],w=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"layout-header-container d-flex justify-content-between align-items-center p-3"},[t._m(0),n("el-row",[n("el-col",{attrs:{inline:!0,span:24}},[n("el-button",{staticClass:"el-button-header",attrs:{type:"success",round:""},on:{click:t.myHome}},[t._v("我的主页")]),n("el-button",{staticClass:"el-button-header",attrs:{type:"primary",round:""},on:{click:t.logout}},[t._v("退出登录")])],1)],1)],1)},x=[function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"layout-header-left d-flex align-items-center user-select-none"},[a("img",{staticClass:"layout-header-left-img",attrs:{src:n("7678"),alt:""}}),a("h4",{staticClass:"layout-header-left-title ml-3"},[t._v("kwan的解忧杂货铺")])])}],k={name:"MyHeader",methods:{logout:function(){localStorage.removeItem("token"),this.$router.push("/login")},myHome:function(){window.open("http://qinyingjie.top/")}}},C=k,I=(n("9d40"),Object(l["a"])(C,w,x,!1,null,"36ae6cf9",null)),S=I.exports,P=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("el-menu",{staticClass:"layout-aside-container",attrs:{"default-active":"$route.path","background-color":"#fff","text-color":"#000","active-text-color":"#42b983"}},[n("router-link",{attrs:{to:"/home/chat"}},[n("el-menu-item",{staticClass:"left-aside-item",attrs:{index:"/chat"}},[n("i",{staticClass:"el-icon-chat-line-square"}),n("span",{attrs:{slot:"title"},slot:"title"},[t._v("对话管理")])])],1),n("router-link",{attrs:{to:"/home/pic"}},[n("el-menu-item",{staticClass:"left-aside-item",attrs:{index:"/pic"}},[n("i",{staticClass:"el-icon-setting"}),n("span",{attrs:{slot:"title"},slot:"title"},[t._v("图片管理")])])],1),n("router-link",{attrs:{to:"/home/users"}},[n("el-menu-item",{staticClass:"left-aside-item",attrs:{index:"/users"}},[n("i",{staticClass:"el-icon-user"}),n("span",{attrs:{slot:"title"},slot:"title"},[t._v("用户管理")])])],1),n("router-link",{attrs:{to:"/home/goods"}},[n("el-menu-item",{staticClass:"left-aside-item",attrs:{index:"/goods"}},[n("i",{staticClass:"el-icon-goods"}),n("span",{attrs:{slot:"title"},slot:"title"},[t._v("商品管理")])])],1),n("router-link",{attrs:{to:"/home/orders"}},[n("el-menu-item",{staticClass:"left-aside-item",attrs:{index:"/orders"}},[n("i",{staticClass:"el-icon-s-order"}),n("span",{attrs:{slot:"title"},slot:"title"},[t._v("订单管理")])])],1),n("router-link",{attrs:{to:"/home/settings"}},[n("el-menu-item",{staticClass:"left-aside-item",attrs:{index:"/settings"}},[n("i",{staticClass:"el-icon-setting"}),n("span",{attrs:{slot:"title"},slot:"title"},[t._v("系统设置")])])],1)],1)},$=[],O={name:"MyAside"},j=O,q=(n("7bce"),Object(l["a"])(j,P,$,!1,null,"3235a6cc",null)),M=q.exports,D={name:"MyHome",components:{MyHeader:S,MyAside:M}},E=D,L=(n("9547"),Object(l["a"])(E,_,y,!1,null,"e41dbfec",null)),T=L.exports,R=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("h4",{staticClass:"text-center"},[t._v("用户管理")]),n("table",{staticClass:"table table-bordered table-striped table-hover"},[t._m(0),n("tbody",t._l(t.userlist,(function(e){return n("tr",{key:e.id},[n("td",[t._v(t._s(e.id))]),n("td",[t._v(t._s(e.name))]),n("td",[t._v(t._s(e.age))]),n("td",[t._v(t._s(e.position))]),n("td",[n("a",{attrs:{href:"#"},on:{click:function(n){return n.preventDefault(),t.gotoDetail(e.id)}}},[t._v("详情")])])])})),0)])])},U=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("thead",[n("tr",[n("th",[t._v("序号")]),n("th",[t._v("姓名")]),n("th",[t._v("年龄")]),n("th",[t._v("头衔")]),n("th",[t._v("操作")])])])}],z={name:"MyUser",data:function(){return{userlist:[{id:1,name:"嬴政",age:18,position:"始皇帝"},{id:2,name:"李斯",age:35,position:"丞相"},{id:3,name:"吕不韦",age:50,position:"商人"},{id:4,name:"赵姬",age:48,position:"王太后"}]}},methods:{gotoDetail:function(t){this.$router.push("/home/userinfo/"+t)}}},N=z,B=Object(l["a"])(N,R,U,!1,null,"02f3073a",null),H=B.exports,A=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("el-container",[n("el-main",[n("el-select",{attrs:{placeholder:"请选择"},on:{change:t.queryPic},model:{value:t.picType,callback:function(e){t.picType=e},expression:"picType"}},t._l(t.options,(function(t){return n("el-option",{key:t.value,attrs:{label:t.label,value:t.value}})})),1),n("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],attrs:{border:"",data:t.picList}},[n("el-table-column",{attrs:{prop:"id",label:"序号",width:"100",sortable:""}}),n("el-table-column",{attrs:{prop:"picName",label:"图片名字",width:"240","show-overflow-tooltip":""}}),n("el-table-column",{attrs:{align:"center"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("img",{staticStyle:{cursor:"pointer"},attrs:{src:e.row.picUrl,alt:"图片",height:"100px"},on:{click:function(n){return t.showImageDialog(e.row.picUrl,e.$index)}}})]}}])}),n("el-table-column",{attrs:{label:"创建时间",width:"170"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(" "+t._s(t._f("dateFormat")(e.row.createTime))+" ")]}}])})],1),n("el-dialog",{attrs:{visible:t.imageDialogVisible,width:"30%"},on:{"update:visible":function(e){t.imageDialogVisible=e}}},[n("div",{staticStyle:{display:"flex","align-items":"center","justify-content":"space-between"}},[n("button",{staticClass:"arrow-button",class:{disabled:0===t.imageIndex},attrs:{disabled:0===t.imageIndex},on:{click:t.showBeforeImage}},[n("el-icon",{staticClass:"custom-icon",attrs:{name:"arrow-left"}})],1),n("img",{staticStyle:{width:"80%"},attrs:{src:t.enlargedImageUrl,alt:"放大图片"}}),n("button",{staticClass:"arrow-button",class:{disabled:t.imageIndex===t.picList.length-1},attrs:{disabled:t.imageIndex===t.picList.length-1},on:{click:t.showNextImage}},[n("el-icon",{staticClass:"custom-icon",attrs:{name:"arrow-right"}})],1)])]),n("el-pagination",{key:t.elementui_page_component_key,staticClass:"pagination",attrs:{background:"","current-page":t.currentPage,"page-size":t.pageSize,total:t.total},on:{"update:currentPage":function(e){t.currentPage=e},"update:current-page":function(e){t.currentPage=e},"current-change":t.handleCurrentChange}})],1)],1)],1)},V=[],F=n("1da1"),Q=(n("96cf"),n("cee4")),Y={name:"MyPic",data:function(){return{picList:[],loading:!1,elementui_page_component_key:0,currentPage:1,pageSize:6,total:0,imageDialogVisible:!1,enlargedImageUrl:"",imageIndex:0,options:[{value:0,label:"宝宝照片"},{value:1,label:"学习照片"},{value:2,label:"风景照片"},{value:3,label:"美女照片"},{value:99,label:"其他照片"}],picType:0}},created:function(){this.queryPic()},methods:{showBeforeImage:function(){this.imageIndex>0&&(this.imageIndex--,this.enlargedImageUrl=this.picList[this.imageIndex].picUrl,this.imageDialogVisible=!0)},showNextImage:function(){this.imageIndex<this.picList.length-1&&(this.imageIndex++,this.enlargedImageUrl=this.picList[this.imageIndex].picUrl,this.imageDialogVisible=!0)},showImageDialog:function(t,e){this.enlargedImageUrl=t,this.imageDialogVisible=!0,this.imageIndex=e},queryPic:function(){var t=this;return Object(F["a"])(regeneratorRuntime.mark((function e(){var n,a;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t.loading=!0,e.next=3,Q["a"].get("http://120.79.36.53:8888/picInfo/page",{params:{page:t.currentPage,pageSize:t.pageSize,picType:t.picType}});case 3:n=e.sent,a=n.data,200===a.code&&(t.picList=a.result.records,t.total=a.result.total),t.loading=!1;case 7:case"end":return e.stop()}}),e)})))()},handleCurrentChange:function(t){this.currentPage=t,this.queryPic()}}},G=Y,J=(n("0157"),Object(l["a"])(G,A,V,!1,null,"15b8f4b2",null)),K=J.exports,W=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("h4",{staticClass:"text-center"},[t._v("商品管理")])},X=[],Z={name:"MyGoods"},tt=Z,et=Object(l["a"])(tt,W,X,!1,null,"716085f0",null),nt=et.exports,at=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("h4",{staticClass:"text-center"},[t._v("订单管理")])},rt=[],ot={name:"MyOrders"},it=ot,st=Object(l["a"])(it,at,rt,!1,null,"3275af60",null),lt=st.exports,ct=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("el-container",[n("el-main",[n("el-form",{staticClass:"demo-form-inline",attrs:{inline:!0,model:t.formInline}},[n("el-form-item",[n("el-input",{attrs:{clearable:"",placeholder:"请输入问题"},nativeOn:{keydown:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.initCartList.apply(null,arguments)}},model:{value:t.formInline.question,callback:function(e){t.$set(t.formInline,"question",e)},expression:"formInline.question"}})],1),n("el-form-item",[n("el-button",{attrs:{type:"primary"},on:{click:t.initCartList}},[t._v("查询")])],1),n("el-form-item",[n("el-button",{attrs:{type:"primary"},on:{click:function(e){return e.preventDefault(),t.addChat.apply(null,arguments)}}},[t._v("新增")])],1)],1),n("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],attrs:{border:"",data:t.userlist}},[n("el-table-column",{attrs:{prop:"id",label:"序号",width:"100",sortable:""}}),n("el-table-column",{attrs:{prop:"question",label:"问题",width:"240","show-overflow-tooltip":""}}),n("el-table-column",{attrs:{prop:"response",label:"答案","show-overflow-tooltip":""}}),n("el-table-column",{attrs:{label:"创建时间",width:"170"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(" "+t._s(t._f("dateFormat")(e.row.createTime))+" ")]}}])}),n("el-table-column",{attrs:{prop:"详情",label:"详情",width:"180"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("el-button",{attrs:{type:"success"},on:{click:function(n){return n.preventDefault(),t.gotoDetail(e.row.id)}}},[t._v("详情")]),n("el-button",{attrs:{type:"danger"},on:{click:function(n){return t.onDelete(e.row.id)}}},[t._v("删除")])]}}])})],1),n("el-pagination",{key:t.elementui_page_component_key,staticClass:"pagination",attrs:{background:"","current-page":t.currentPage,"page-size":t.pageSize,total:t.total},on:{"update:currentPage":function(e){t.currentPage=e},"update:current-page":function(e){t.currentPage=e},"current-change":t.handleCurrentChange}})],1),n("el-backtop",{staticClass:"backtop"})],1)],1)},ut=[],dt=(n("a9e3"),{name:"MyChat",data:function(){return{userlist:[],loading:!1,elementui_page_component_key:0,currentPage:Number(localStorage.getItem("lastPage"))||1,pageSize:9,total:0,formInline:{question:""}}},watch:{"formInline.question":function(t){""===t&&(this.currentPage=1,localStorage.setItem("lastPage",this.currentPage),this.initCartList())}},created:function(){var t=this;this.$nextTick((function(){var e=t.$route.query.back,n=t.$route.query.add;"back"===e&&"add"!=n?(t.currentPage=Number(localStorage.getItem("lastPage"))||1,t.formInline.question=localStorage.getItem("lastQuestion")||""):(localStorage.setItem("lastPage",1),localStorage.setItem("lastQuestion",""),t.currentPage=1,t.formInline.question=""),t.initCartList()}))},mounted:function(){this.currentPage=Number(localStorage.getItem("lastPage"))||1,this.formInline.question=localStorage.getItem("lastQuestion"),this.elementui_page_component_key++},methods:{onDelete:function(t){var e=this;return Object(F["a"])(regeneratorRuntime.mark((function n(){var a;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return e.loading=!0,n.next=3,Q["a"].get("http://120.79.36.53:8888/chatbot/delete",{params:{id:t}});case 3:a=n.sent,a.data,e.initCartList(),e.loading=!1;case 7:case"end":return n.stop()}}),n)})))()},refreshPage:function(){location.reload()},gotoDetail:function(t){this.$router.push("/home/chatinfo/"+t)},addChat:function(){this.$router.push("/home/addChat/")},initCartList:function(){var t=this;return Object(F["a"])(regeneratorRuntime.mark((function e(){var n,a;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t.loading=!0,e.next=3,Q["a"].get("http://120.79.36.53:8888/chatbot/page",{params:{page:t.currentPage,pageSize:t.pageSize,question:t.formInline.question}});case 3:n=e.sent,a=n.data,200===a.code&&(t.userlist=a.result.records,t.total=a.result.total,localStorage.setItem("lastPage",t.currentPage),localStorage.setItem("lastQuestion",t.formInline.question)),t.loading=!1;case 7:case"end":return e.stop()}}),e)})))()},handleCurrentChange:function(t){this.currentPage=t,this.initCartList()}}}),mt=dt,pt=(n("c124"),Object(l["a"])(mt,ct,ut,!1,null,"c92e998c",null)),ft=pt.exports,gt=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("h4",{staticClass:"text-center"},[t._v("系统设置")])},ht=[],bt={name:"MySettings"},vt=bt,_t=Object(l["a"])(vt,gt,ht,!1,null,"accd7558",null),yt=_t.exports,wt=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("button",{staticClass:"btn btn-light btn-sm",attrs:{type:"button"},on:{click:function(e){return t.$router.back()}}},[t._v("后退")]),n("h4",{staticClass:"text-center"},[t._v("用户详情 --- "+t._s(t.id))])])},xt=[],kt={name:"MyUserDetail",props:["id"]},Ct=kt,It=Object(l["a"])(Ct,wt,xt,!1,null,"bea9073a",null),St=It.exports,Pt=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("el-button",{attrs:{type:"primary",plain:"",size:"medium"},on:{click:t.goBack}},[t._v("后退")]),n("h4",{staticClass:"text-center"},[t._v("ChatGpt问答详情 --- "+t._s(t.id))]),n("el-container",[n("el-main",[n("el-table",{attrs:{border:"",data:t.list}},[n("el-table-column",{attrs:{label:"序号",width:"50"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",[t._v(t._s(e.row.id))])]}}])}),n("el-table-column",{attrs:{label:"问题",width:"240"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",[t._v(t._s(e.row.question))])]}}])}),n("el-table-column",{attrs:{label:"回答"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",{attrs:{id:"td-response"}},[t._v(t._s(e.row.response))])]}}])}),n("el-table-column",{attrs:{label:"创建时间",width:"170"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",[t._v(t._s(t._f("dateFormat")(e.row.createTime)))])]}}])})],1)],1)],1),n("div",{staticClass:"button-container"},[n("el-button",{attrs:{type:"primary",round:""},on:{click:t.copyCode}},[t._v("复制回答")])],1)],1)},$t=[],Ot={name:"MyChatDetail",props:["id"],data:function(){return{list:[]}},created:function(){this.initChatList()},methods:{goBack:function(){var t={back:"back"};this.$router.push({path:"/home/chat",query:t})},initChatList:function(){var t=this;return Object(F["a"])(regeneratorRuntime.mark((function e(){var n,a;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Q["a"].get("http://120.79.36.53:8888/chatbot/"+t.id);case 2:n=e.sent,a=n.data,200===a.code&&(t.list=[{id:a.result.id,question:a.result.question,response:a.result.response,createTime:a.result.createTime}]);case 5:case"end":return e.stop()}}),e)})))()},copyCode:function(){var t=document.getElementById("td-response"),e=document.createRange();e.selectNode(t);var n=window.getSelection();n.removeAllRanges(),n.addRange(e),document.execCommand("copy"),n.removeAllRanges(),this.$message.success("代码已复制到剪贴板")}}},jt=Ot,qt=(n("022e"),Object(l["a"])(jt,Pt,$t,!1,null,"9d5d30a4",null)),Mt=qt.exports,Dt=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("el-button",{attrs:{type:"primary",plain:"",size:"medium"},on:{click:t.goBack}},[t._v("后退")]),n("h4",{staticClass:"text-center"},[t._v("新增ChatGpt问答")]),n("el-container",{staticClass:"container"},[n("el-form",{ref:"form",attrs:{model:t.form,"label-width":"80px"}},[n("el-form-item",{attrs:{label:"问题"}},[n("el-input",{model:{value:t.form.question,callback:function(e){t.$set(t.form,"question",e)},expression:"form.question"}})],1),n("el-form-item",{attrs:{label:"答案"}},[n("el-input",{attrs:{type:"textarea"},model:{value:t.form.response,callback:function(e){t.$set(t.form,"response",e)},expression:"form.response"}})],1),n("el-form-item",[n("el-button",{attrs:{type:"primary"},on:{click:t.onSubmit}},[t._v("立即创建")]),n("el-button",{on:{click:t.clearContent}},[t._v("取消")])],1)],1)],1)],1)},Et=[],Lt={name:"AddChatDetail",data:function(){return{form:{question:"",response:""}}},methods:{clearContent:function(){this.form.question="",this.form.response=""},onSubmit:function(){var t=this;return Object(F["a"])(regeneratorRuntime.mark((function e(){var n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:n={question:t.form.question,response:t.form.response},Q["a"].post("http://120.79.36.53:8888/chatbot",n).then((function(e){200===e.data.code&&(t.$message.success({message:"问题和答案新增成功",duration:1e3}),t.goBack())})).catch((function(e){t.$message.error("系统异常")}));case 2:case"end":return e.stop()}}),e)})))()},goBack:function(){var t={back:"back",add:"add"};this.$router.push({path:"/home/chat",query:t})}}},Tt=Lt,Rt=(n("66f9"),Object(l["a"])(Tt,Dt,Et,!1,null,"ddc6c3e0",null)),Ut=Rt.exports;a["default"].use(d["a"]);var zt=new d["a"]({routes:[{path:"/",redirect:"/login"},{path:"/login",component:v},{path:"/home",component:T,redirect:"/home/chat",children:[{path:"users",component:H},{path:"pic",component:K},{path:"goods",component:nt},{path:"orders",component:lt},{path:"chat",component:ft},{path:"settings",component:yt},{path:"userinfo/:id",component:St,props:!0},{path:"chatinfo/:id",component:Mt,props:!0},{path:"addChat",component:Ut}]}]});zt.beforeEach((function(t,e,n){if(-1!==m.indexOf(t.path)){var a=localStorage.getItem("token");a?n():n("/login")}else n()}));var Nt=zt,Bt=n("5c96"),Ht=n.n(Bt),At=(n("0fae"),n("16b4"),n("a766"),n("5a0c")),Vt=n.n(At);a["default"].prototype.$dayjs=Vt.a,a["default"].filter("dateFormat",(function(t){var e=Vt()(t).format("YYYY-MM-DD HH:mm:ss");return e})),a["default"].use(Ht.a),a["default"].config.productionTip=!1,new a["default"]({render:function(t){return t(u)},router:Nt}).$mount("#app")},"66f9":function(t,e,n){"use strict";n("155e")},7678:function(t,e,n){t.exports=n.p+"img/kwan.80e90605.png"},"7bce":function(t,e,n){"use strict";n("c20a")},"7ee9":function(t,e,n){},"808c":function(t,e,n){},9547:function(t,e,n){"use strict";n("4084")},"9d40":function(t,e,n){"use strict";n("7ee9")},a766:function(t,e,n){},c124:function(t,e,n){"use strict";n("e157")},c20a:function(t,e,n){},c7d0:function(t,e,n){},e157:function(t,e,n){}});
//# sourceMappingURL=app.1ea9d376.js.map
\ No newline at end of file
{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/components/menus/MyPic.vue?7183","webpack:///./src/components/user/MyChatDetail.vue?fa3c","webpack:///./src/components/MyLogin.vue?c070","webpack:///./src/App.vue?77b2","webpack:///src/App.vue","webpack:///./src/App.vue?a7d1","webpack:///./src/App.vue","webpack:///./src/router/pathArr.js","webpack:///./src/components/MyLogin.vue?1bc0","webpack:///src/components/MyLogin.vue","webpack:///./src/components/MyLogin.vue?f50e","webpack:///./src/components/MyLogin.vue","webpack:///./src/components/MyHome.vue?4056","webpack:///./src/components/subcomponents/MyHeader.vue?8333","webpack:///src/components/subcomponents/MyHeader.vue","webpack:///./src/components/subcomponents/MyHeader.vue?ceba","webpack:///./src/components/subcomponents/MyHeader.vue","webpack:///./src/components/subcomponents/MyAside.vue?a909","webpack:///src/components/subcomponents/MyAside.vue","webpack:///./src/components/subcomponents/MyAside.vue?3148","webpack:///./src/components/subcomponents/MyAside.vue","webpack:///src/components/MyHome.vue","webpack:///./src/components/MyHome.vue?49f1","webpack:///./src/components/MyHome.vue","webpack:///./src/components/menus/MyUsers.vue?cc07","webpack:///src/components/menus/MyUsers.vue","webpack:///./src/components/menus/MyUsers.vue?aaff","webpack:///./src/components/menus/MyUsers.vue","webpack:///./src/components/menus/MyPic.vue?ac8c","webpack:///src/components/menus/MyPic.vue","webpack:///./src/components/menus/MyPic.vue?d12b","webpack:///./src/components/menus/MyPic.vue","webpack:///./src/components/menus/MyGoods.vue?0268","webpack:///src/components/menus/MyGoods.vue","webpack:///./src/components/menus/MyGoods.vue?1bdc","webpack:///./src/components/menus/MyGoods.vue","webpack:///./src/components/menus/MyOrders.vue?d379","webpack:///src/components/menus/MyOrders.vue","webpack:///./src/components/menus/MyOrders.vue?c40e","webpack:///./src/components/menus/MyOrders.vue","webpack:///./src/components/menus/MyChat.vue?c0f7","webpack:///src/components/menus/MyChat.vue","webpack:///./src/components/menus/MyChat.vue?6c66","webpack:///./src/components/menus/MyChat.vue","webpack:///./src/components/menus/MySettings.vue?a7ad","webpack:///src/components/menus/MySettings.vue","webpack:///./src/components/menus/MySettings.vue?493c","webpack:///./src/components/menus/MySettings.vue","webpack:///./src/components/user/MyUserDetail.vue?b127","webpack:///src/components/user/MyUserDetail.vue","webpack:///./src/components/user/MyUserDetail.vue?144f","webpack:///./src/components/user/MyUserDetail.vue","webpack:///./src/components/user/MyChatDetail.vue?cfb0","webpack:///src/components/user/MyChatDetail.vue","webpack:///./src/components/user/MyChatDetail.vue?30e0","webpack:///./src/components/user/MyChatDetail.vue","webpack:///./src/components/user/AddChatDetail.vue?f9d7","webpack:///src/components/user/AddChatDetail.vue","webpack:///./src/components/user/AddChatDetail.vue?a1f7","webpack:///./src/components/user/AddChatDetail.vue","webpack:///./src/router/index.js","webpack:///./src/main.js","webpack:///./src/components/user/AddChatDetail.vue?6d06","webpack:///./src/assets/kwan.png","webpack:///./src/components/subcomponents/MyAside.vue?c4bb","webpack:///./src/components/MyHome.vue?0c7a","webpack:///./src/components/subcomponents/MyHeader.vue?7b23","webpack:///./src/components/menus/MyChat.vue?5bc5"],"names":["webpackJsonpCallback","data","moduleId","chunkId","chunkIds","moreModules","executeModules","i","resolves","length","Object","prototype","hasOwnProperty","call","installedChunks","push","modules","parentJsonpFunction","shift","deferredModules","apply","checkDeferredModules","result","deferredModule","fulfilled","j","depId","splice","__webpack_require__","s","installedModules","exports","module","l","m","c","d","name","getter","o","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","p","jsonpArray","window","oldJsonpFunction","slice","_vm","this","_h","$createElement","_c","_self","staticRenderFns","component","staticClass","_m","attrs","_v","directives","rawName","expression","modifiers","domProps","on","$event","target","composing","username","trim","$forceUpdate","password","reset","login","myHome","logout","slot","_l","item","id","_s","age","position","preventDefault","gotoDetail","queryPic","model","callback","$$v","picType","label","picList","scopedSlots","_u","fn","props","staticStyle","row","picUrl","showImageDialog","$index","_f","createTime","imageDialogVisible","class","disabled","imageIndex","showBeforeImage","enlargedImageUrl","showNextImage","elementui_page_component_key","currentPage","pageSize","total","handleCurrentChange","formInline","nativeOn","type","indexOf","_k","keyCode","initCartList","arguments","$set","addChat","userlist","onDelete","$router","back","goBack","list","scope","question","response","copyCode","ref","form","onSubmit","clearContent","Vue","use","VueRouter","router","routes","path","redirect","Login","Home","children","Users","Pic","Goods","Orders","Chat","Settings","UserDetail","MyChatDetail","AddChatDetail","beforeEach","to","from","next","pathArr","token","localStorage","getItem","$dayjs","dayjs","filter","time","dtStr","format","ElementUI","config","productionTip","render","h","App","$mount"],"mappings":"aACE,SAASA,EAAqBC,GAQ7B,IAPA,IAMIC,EAAUC,EANVC,EAAWH,EAAK,GAChBI,EAAcJ,EAAK,GACnBK,EAAiBL,EAAK,GAIHM,EAAI,EAAGC,EAAW,GACpCD,EAAIH,EAASK,OAAQF,IACzBJ,EAAUC,EAASG,GAChBG,OAAOC,UAAUC,eAAeC,KAAKC,EAAiBX,IAAYW,EAAgBX,IACpFK,EAASO,KAAKD,EAAgBX,GAAS,IAExCW,EAAgBX,GAAW,EAE5B,IAAID,KAAYG,EACZK,OAAOC,UAAUC,eAAeC,KAAKR,EAAaH,KACpDc,EAAQd,GAAYG,EAAYH,IAG/Be,GAAqBA,EAAoBhB,GAE5C,MAAMO,EAASC,OACdD,EAASU,OAATV,GAOD,OAHAW,EAAgBJ,KAAKK,MAAMD,EAAiBb,GAAkB,IA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MCQlW,I,UAAY,eACd,GACA,GACA,IACA,EACA,KACA,WACA,OAIa,M,QCAfiF,aAAIC,IAAIC,QAER,IAAMC,GAAS,IAAID,OAAU,CAC3BE,OAAQ,CACN,CACEC,KAAM,IACNC,SAAU,UAGZ,CACED,KAAM,SACN1F,UAAW4F,GAGb,CACEF,KAAM,QACN1F,UAAW6F,EACXF,SAAU,aACVG,SAAU,CACR,CACEJ,KAAM,QACN1F,UAAW+F,GAEb,CACEL,KAAM,MACN1F,UAAWgG,GAEb,CACEN,KAAM,QACN1F,UAAWiG,IAEb,CACEP,KAAM,SACN1F,UAAWkG,IACV,CACDR,KAAM,OACN1F,UAAWmG,IACV,CACDT,KAAM,WACN1F,UAAWoG,IAGb,CACEV,KAAM,eACN1F,UAAWqG,GACX5D,OAAO,GACN,CACDiD,KAAM,eACN1F,UAAWsG,GACX7D,OAAO,GACN,CACDiD,KAAM,UACN1F,UAAWuG,SAQrBf,GAAOgB,YAAW,SAAUC,EAAIC,EAAMC,GACpC,IAAkC,IAA9BC,EAAQ5C,QAAQyC,EAAGf,MAAc,CACnC,IAAMmB,EAAQC,aAAaC,QAAQ,SAC/BF,EACFF,IAEAA,EAAK,eAGPA,OAIWnB,U,gFChFfH,aAAI/I,UAAU0K,OAASC,KAGvB5B,aAAI6B,OAAO,cAAc,SAAUC,GAMjC,IAAMC,EAAQH,KAAME,GAAME,OAAO,uBACjC,OAAOD,KAET/B,aAAIC,IAAIgC,MACRjC,aAAIkC,OAAOC,eAAgB,EAE3B,IAAInC,aAAI,CACNoC,OAAQ,SAAAC,GAAC,OAAIA,EAAEC,IACfnC,YACCoC,OAAO,S,oCC9BV,W,qBCAAjK,EAAOD,QAAU,IAA0B,yB,oCCA3C,W,oFCAA,W,oCCAA,W,yDCAA,W","file":"js/app.1ea9d376.js","sourcesContent":[" \t// install a JSONP callback for chunk loading\n \tfunction webpackJsonpCallback(data) {\n \t\tvar chunkIds = data[0];\n \t\tvar moreModules = data[1];\n \t\tvar executeModules = data[2];\n\n \t\t// add \"moreModules\" to the modules object,\n \t\t// then flag all \"chunkIds\" as loaded and fire callback\n \t\tvar moduleId, chunkId, i = 0, resolves = [];\n \t\tfor(;i < chunkIds.length; i++) {\n \t\t\tchunkId = chunkIds[i];\n \t\t\tif(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) {\n \t\t\t\tresolves.push(installedChunks[chunkId][0]);\n \t\t\t}\n \t\t\tinstalledChunks[chunkId] = 0;\n \t\t}\n \t\tfor(moduleId in moreModules) {\n \t\t\tif(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {\n \t\t\t\tmodules[moduleId] = moreModules[moduleId];\n \t\t\t}\n \t\t}\n \t\tif(parentJsonpFunction) parentJsonpFunction(data);\n\n \t\twhile(resolves.length) {\n \t\t\tresolves.shift()();\n \t\t}\n\n \t\t// add entry modules from loaded chunk to deferred list\n \t\tdeferredModules.push.apply(deferredModules, executeModules || []);\n\n \t\t// run deferred modules when all chunks ready\n \t\treturn checkDeferredModules();\n \t};\n \tfunction checkDeferredModules() {\n \t\tvar result;\n \t\tfor(var i = 0; i < deferredModules.length; i++) {\n \t\t\tvar deferredModule = deferredModules[i];\n \t\t\tvar fulfilled = true;\n \t\t\tfor(var j = 1; j < deferredModule.length; j++) {\n \t\t\t\tvar depId = deferredModule[j];\n \t\t\t\tif(installedChunks[depId] !== 0) fulfilled = false;\n \t\t\t}\n \t\t\tif(fulfilled) {\n \t\t\t\tdeferredModules.splice(i--, 1);\n \t\t\t\tresult = __webpack_require__(__webpack_require__.s = deferredModule[0]);\n \t\t\t}\n \t\t}\n\n \t\treturn result;\n \t}\n\n \t// The module cache\n \tvar installedModules = {};\n\n \t// object to store loaded and loading chunks\n \t// undefined = chunk not loaded, null = chunk preloaded/prefetched\n \t// Promise = chunk loading, 0 = chunk loaded\n \tvar installedChunks = {\n \t\t\"app\": 0\n \t};\n\n \tvar deferredModules = [];\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"/\";\n\n \tvar jsonpArray = window[\"webpackJsonp\"] = window[\"webpackJsonp\"] || [];\n \tvar oldJsonpFunction = jsonpArray.push.bind(jsonpArray);\n \tjsonpArray.push = webpackJsonpCallback;\n \tjsonpArray = jsonpArray.slice();\n \tfor(var i = 0; i < jsonpArray.length; i++) webpackJsonpCallback(jsonpArray[i]);\n \tvar parentJsonpFunction = oldJsonpFunction;\n\n\n \t// add entry module to deferred list\n \tdeferredModules.push([0,\"chunk-vendors\"]);\n \t// run deferred modules when ready\n \treturn checkDeferredModules();\n","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../../../node_modules/less-loader/dist/cjs.js??ref--10-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MyPic.vue?vue&type=style&index=0&id=15b8f4b2&lang=less&scoped=true&\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../../../node_modules/less-loader/dist/cjs.js??ref--10-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MyChatDetail.vue?vue&type=style&index=0&id=9d5d30a4&lang=less&scoped=true&\"","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../../node_modules/less-loader/dist/cjs.js??ref--10-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MyLogin.vue?vue&type=style&index=0&id=2d08abd9&lang=less&scoped=true&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('router-view')}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n\t<!-- 占位符 -->\n\t<router-view></router-view>\n</template>\n\n<script>\nexport default {\n name: 'MyApp',\n}\n</script>\n\n<style lang=\"less\" scoped></style>","import mod from \"-!../node_modules/cache-loader/dist/cjs.js??ref--12-0!../node_modules/thread-loader/dist/cjs.js!../node_modules/babel-loader/lib/index.js!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../node_modules/cache-loader/dist/cjs.js??ref--12-0!../node_modules/thread-loader/dist/cjs.js!../node_modules/babel-loader/lib/index.js!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./App.vue?vue&type=template&id=633dd7d9&scoped=true&\"\nimport script from \"./App.vue?vue&type=script&lang=js&\"\nexport * from \"./App.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"633dd7d9\",\n null\n \n)\n\nexport default component.exports","export default['/home', '/home/users', '/home/pic']\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"login-container\"},[_c('div',{staticClass:\"login-box\"},[_vm._m(0),_c('div',{staticClass:\"form-login p-4\"},[_c('div',{staticClass:\"form-group form-inline\"},[_c('label',{attrs:{\"for\":\"username\"}},[_vm._v(\"登录名称\")]),_c('input',{directives:[{name:\"model\",rawName:\"v-model.trim\",value:(_vm.username),expression:\"username\",modifiers:{\"trim\":true}}],staticClass:\"form-control ml-2\",attrs:{\"type\":\"text\",\"id\":\"username\",\"placeholder\":\"请输入登录名称\",\"autocomplete\":\"off\"},domProps:{\"value\":(_vm.username)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.username=$event.target.value.trim()},\"blur\":function($event){return _vm.$forceUpdate()}}})]),_c('div',{staticClass:\"form-group form-inline\"},[_c('label',{attrs:{\"for\":\"password\"}},[_vm._v(\"登录密码\")]),_c('input',{directives:[{name:\"model\",rawName:\"v-model.trim\",value:(_vm.password),expression:\"password\",modifiers:{\"trim\":true}}],staticClass:\"form-control ml-2\",attrs:{\"type\":\"password\",\"id\":\"password\",\"placeholder\":\"请输入登录密码\"},domProps:{\"value\":(_vm.password)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.password=$event.target.value.trim()},\"blur\":function($event){return _vm.$forceUpdate()}}})]),_c('div',{staticClass:\"form-group form-inline d-flex justify-content-end\"},[_c('button',{staticClass:\"btn btn-secondary mr-2\",attrs:{\"type\":\"button\"},on:{\"click\":_vm.reset}},[_vm._v(\"重置\")]),_c('button',{staticClass:\"btn btn-primary\",attrs:{\"type\":\"button\"},on:{\"click\":_vm.login}},[_vm._v(\"登录\")])])])])])}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"text-center avatar-box\"},[_c('img',{staticClass:\"img-thumbnail avatar\",attrs:{\"src\":require(\"../assets/kwan.png\"),\"alt\":\"kwan的解忧杂货铺\"}})])}]\n\nexport { render, staticRenderFns }","<template>\n\t<div class=\"login-container\">\n\t\t<div class=\"login-box\">\n\t\t\t<!-- 头像区域 -->\n\t\t\t<div class=\"text-center avatar-box\">\n\t\t\t\t<img src=\"../assets/kwan.png\" class=\"img-thumbnail avatar\" alt=\"kwan的解忧杂货铺\" />\n\t\t\t</div>\n\n\t\t\t<!-- 表单区域 -->\n\t\t\t<div class=\"form-login p-4\">\n\t\t\t\t<!-- 登录名称 -->\n\t\t\t\t<div class=\"form-group form-inline\">\n\t\t\t\t\t<label for=\"username\">登录名称</label>\n\t\t\t\t\t<input type=\"text\" class=\"form-control ml-2\" id=\"username\" placeholder=\"请输入登录名称\" autocomplete=\"off\" v-model.trim=\"username\" />\n\t\t\t\t</div>\n\t\t\t\t<!-- 登录密码 -->\n\t\t\t\t<div class=\"form-group form-inline\">\n\t\t\t\t\t<label for=\"password\">登录密码</label>\n\t\t\t\t\t<input type=\"password\" class=\"form-control ml-2\" id=\"password\" placeholder=\"请输入登录密码\" v-model.trim=\"password\" />\n\t\t\t\t</div>\n\t\t\t\t<!-- 登录和重置按钮 -->\n\t\t\t\t<div class=\"form-group form-inline d-flex justify-content-end\">\n\t\t\t\t\t<button type=\"button\" class=\"btn btn-secondary mr-2\" @click=\"reset\">重置</button>\n\t\t\t\t\t<button type=\"button\" class=\"btn btn-primary\" @click=\"login\">登录</button>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t</div>\n\t</div>\n</template>\n\n<script>\nexport default {\n name: 'MyLogin',\n data() {\n return {\n username: '',\n password: '',\n }\n },\n methods: {\n reset() {\n this.username = ''\n this.password = ''\n },\n login() {\n if (this.username === 'admin' && this.password === '666688') {\n // 登录成功\n // 1. 存储 token\n localStorage.setItem('token', 'Bearer xxxx')\n // 2. 跳转到后台主页\n this.$router.push('/home')\n } else {\n // 登录失败\n localStorage.removeItem('token')\n }\n },\n },\n}\n</script>\n\n<style lang=\"less\" scoped>\n.login-container {\n\tbackground-color: #35495e;\n\theight: 100%;\n\t.login-box {\n\t\twidth: 400px;\n\t\theight: 250px;\n\t\tbackground-color: #fff;\n\t\tborder-radius: 3px;\n\t\tposition: absolute;\n\t\tleft: 50%;\n\t\ttop: 50%;\n\t\ttransform: translate(-50%, -50%);\n\t\tbox-shadow: 0 0 6px rgba(255, 255, 255, 0.5);\n\t\t.form-login {\n\t\t\tposition: absolute;\n\t\t\tbottom: 0;\n\t\t\tleft: 0;\n\t\t\twidth: 100%;\n\t\t\tbox-sizing: border-box;\n\t\t}\n\t}\n}\n\n.form-control {\n\tflex: 1;\n}\n\n.avatar-box {\n\tposition: absolute;\n\twidth: 100%;\n\ttop: -65px;\n\tleft: 0;\n\t.avatar {\n\t\twidth: 120px;\n\t\theight: 120px;\n\t\tborder-radius: 50% !important;\n\t\tbox-shadow: 0 0 6px #efefef;\n\t}\n}\n</style>","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MyLogin.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MyLogin.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./MyLogin.vue?vue&type=template&id=2d08abd9&scoped=true&\"\nimport script from \"./MyLogin.vue?vue&type=script&lang=js&\"\nexport * from \"./MyLogin.vue?vue&type=script&lang=js&\"\nimport style0 from \"./MyLogin.vue?vue&type=style&index=0&id=2d08abd9&lang=less&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"2d08abd9\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"home-container\"},[_c('el-row',[_c('el-col',{attrs:{\"span\":24}},[_c('MyHeader')],1)],1),_c('el-row',[_c('el-col',{attrs:{\"span\":3}},[_c('MyAside')],1),_c('el-col',{attrs:{\"span\":21}},[_c('router-view')],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"layout-header-container d-flex justify-content-between align-items-center p-3\"},[_vm._m(0),_c('el-row',[_c('el-col',{attrs:{\"inline\":true,\"span\":24}},[_c('el-button',{staticClass:\"el-button-header\",attrs:{\"type\":\"success\",\"round\":\"\"},on:{\"click\":_vm.myHome}},[_vm._v(\"我的主页\")]),_c('el-button',{staticClass:\"el-button-header\",attrs:{\"type\":\"primary\",\"round\":\"\"},on:{\"click\":_vm.logout}},[_vm._v(\"退出登录\")])],1)],1)],1)}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"layout-header-left d-flex align-items-center user-select-none\"},[_c('img',{staticClass:\"layout-header-left-img\",attrs:{\"src\":require(\"../../assets/kwan.png\"),\"alt\":\"\"}}),_c('h4',{staticClass:\"layout-header-left-title ml-3\"},[_vm._v(\"kwan的解忧杂货铺\")])])}]\n\nexport { render, staticRenderFns }","<template>\n\t<div class=\"layout-header-container d-flex justify-content-between align-items-center p-3\">\n\t\t<!-- 左侧 logo 和 标题区域 -->\n\t\t<div class=\"layout-header-left d-flex align-items-center user-select-none\">\n\t\t\t<!-- logo -->\n\t\t\t<img class=\"layout-header-left-img\" src=\"../../assets/kwan.png\" alt=\"\" />\n\t\t\t<!-- 标题 -->\n\t\t\t<h4 class=\"layout-header-left-title ml-3\">kwan的解忧杂货铺</h4>\n\t\t</div>\n\t\t<el-row>\n\t\t\t<el-col :inline=\"true\" :span=\"24\">\n\t\t\t\t<el-button class=\"el-button-header\" type=\"success\" round @click=\"myHome\">我的主页</el-button>\n\t\t\t\t<el-button class=\"el-button-header\" type=\"primary\" round @click=\"logout\">退出登录</el-button>\n\t\t\t</el-col>\n\t\t</el-row>\n\t</div>\n</template>\n\n<script>\nexport default {\n name: 'MyHeader',\n methods: {\n logout() {\n // 1. 清空 token\n localStorage.removeItem('token')\n // 2. 跳转到登录页面\n this.$router.push('/login')\n },\n myHome() {\n // 新页面打开\n window.open('http://qinyingjie.top/')\n // 当前页面打开\n // window.location.href = \"http://qinyingjie.top/\";\n },\n },\n}\n</script>\n\n<style lang=\"less\" scoped>\n.layout-header-container {\n\theight: 60px;\n\tborder-bottom: 1px solid #eaeaea;\n}\n\n.layout-header-left-img {\n\theight: 50px;\n}\n</style>","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MyHeader.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MyHeader.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./MyHeader.vue?vue&type=template&id=36ae6cf9&scoped=true&\"\nimport script from \"./MyHeader.vue?vue&type=script&lang=js&\"\nexport * from \"./MyHeader.vue?vue&type=script&lang=js&\"\nimport style0 from \"./MyHeader.vue?vue&type=style&index=0&id=36ae6cf9&lang=less&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"36ae6cf9\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('el-menu',{staticClass:\"layout-aside-container\",attrs:{\"default-active\":\"$route.path\",\"background-color\":\"#fff\",\"text-color\":\"#000\",\"active-text-color\":\"#42b983\"}},[_c('router-link',{attrs:{\"to\":\"/home/chat\"}},[_c('el-menu-item',{staticClass:\"left-aside-item\",attrs:{\"index\":\"/chat\"}},[_c('i',{staticClass:\"el-icon-chat-line-square\"}),_c('span',{attrs:{\"slot\":\"title\"},slot:\"title\"},[_vm._v(\"对话管理\")])])],1),_c('router-link',{attrs:{\"to\":\"/home/pic\"}},[_c('el-menu-item',{staticClass:\"left-aside-item\",attrs:{\"index\":\"/pic\"}},[_c('i',{staticClass:\"el-icon-setting\"}),_c('span',{attrs:{\"slot\":\"title\"},slot:\"title\"},[_vm._v(\"图片管理\")])])],1),_c('router-link',{attrs:{\"to\":\"/home/users\"}},[_c('el-menu-item',{staticClass:\"left-aside-item\",attrs:{\"index\":\"/users\"}},[_c('i',{staticClass:\"el-icon-user\"}),_c('span',{attrs:{\"slot\":\"title\"},slot:\"title\"},[_vm._v(\"用户管理\")])])],1),_c('router-link',{attrs:{\"to\":\"/home/goods\"}},[_c('el-menu-item',{staticClass:\"left-aside-item\",attrs:{\"index\":\"/goods\"}},[_c('i',{staticClass:\"el-icon-goods\"}),_c('span',{attrs:{\"slot\":\"title\"},slot:\"title\"},[_vm._v(\"商品管理\")])])],1),_c('router-link',{attrs:{\"to\":\"/home/orders\"}},[_c('el-menu-item',{staticClass:\"left-aside-item\",attrs:{\"index\":\"/orders\"}},[_c('i',{staticClass:\"el-icon-s-order\"}),_c('span',{attrs:{\"slot\":\"title\"},slot:\"title\"},[_vm._v(\"订单管理\")])])],1),_c('router-link',{attrs:{\"to\":\"/home/settings\"}},[_c('el-menu-item',{staticClass:\"left-aside-item\",attrs:{\"index\":\"/settings\"}},[_c('i',{staticClass:\"el-icon-setting\"}),_c('span',{attrs:{\"slot\":\"title\"},slot:\"title\"},[_vm._v(\"系统设置\")])])],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n\t<el-menu default-active=\"$route.path\" class=\"layout-aside-container\" background-color=\"#fff\" text-color=\"#000\" active-text-color=\"#42b983\">\n\t\t<router-link to=\"/home/chat\">\n\t\t\t<el-menu-item index=\"/chat\" class=\"left-aside-item\">\n\t\t\t\t<i class=\"el-icon-chat-line-square\"></i>\n\t\t\t\t<span slot=\"title\">对话管理</span>\n\t\t\t</el-menu-item>\n\t\t</router-link>\n\t\t<router-link to=\"/home/pic\">\n\t\t\t<el-menu-item index=\"/pic\" class=\"left-aside-item\">\n\t\t\t\t<i class=\"el-icon-setting\"></i>\n\t\t\t\t<span slot=\"title\">图片管理</span>\n\t\t\t</el-menu-item>\n\t\t</router-link>\n\t\t<router-link to=\"/home/users\">\n\t\t\t<el-menu-item index=\"/users\" class=\"left-aside-item\">\n\t\t\t\t<i class=\"el-icon-user\"></i>\n\t\t\t\t<span slot=\"title\">用户管理</span>\n\t\t\t</el-menu-item>\n\t\t</router-link>\n\t\t<router-link to=\"/home/goods\">\n\t\t\t<el-menu-item index=\"/goods\" class=\"left-aside-item\">\n\t\t\t\t<i class=\"el-icon-goods\"></i>\n\t\t\t\t<span slot=\"title\">商品管理</span>\n\t\t\t</el-menu-item>\n\t\t</router-link>\n\t\t<router-link to=\"/home/orders\">\n\t\t\t<el-menu-item index=\"/orders\" class=\"left-aside-item\">\n\t\t\t\t<i class=\"el-icon-s-order\"></i>\n\t\t\t\t<span slot=\"title\">订单管理</span>\n\t\t\t</el-menu-item>\n\t\t</router-link>\n\t\t<router-link to=\"/home/settings\">\n\t\t\t<el-menu-item index=\"/settings\" class=\"left-aside-item\">\n\t\t\t\t<i class=\"el-icon-setting\"></i>\n\t\t\t\t<span slot=\"title\">系统设置</span>\n\t\t\t</el-menu-item>\n\t\t</router-link>\n\t</el-menu>\n</template>\n<script>\nexport default { name: 'MyAside' }\n</script>\n\n<style lang=\"less\" scoped>\n.layout-aside-container {\n\twidth: 250px;\n\theight: 100%;\n\tborder-right: 1px solid #eaeaea;\n}\n\n.left-aside-item {\n\tfont-size: 20px;\n}\n</style>","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MyAside.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MyAside.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./MyAside.vue?vue&type=template&id=3235a6cc&scoped=true&\"\nimport script from \"./MyAside.vue?vue&type=script&lang=js&\"\nexport * from \"./MyAside.vue?vue&type=script&lang=js&\"\nimport style0 from \"./MyAside.vue?vue&type=style&index=0&id=3235a6cc&lang=less&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"3235a6cc\",\n null\n \n)\n\nexport default component.exports","<template>\n\t<div class=\"home-container\">\n\t\t<el-row>\n\t\t\t<el-col :span=\"24\">\n\t\t\t\t<!-- 头部区域 -->\n\t\t\t\t<MyHeader></MyHeader>\n\t\t\t</el-col>\n\t\t</el-row>\n\t\t<el-row>\n\t\t\t<el-col :span=\"3\">\n\t\t\t\t<!-- 左侧边栏 -->\n\t\t\t\t<MyAside></MyAside>\n\t\t\t</el-col>\n\t\t\t<el-col :span=\"21\">\n\t\t\t\t<!-- 主体区域 -->\n\t\t\t\t<router-view></router-view>\n\t\t\t</el-col>\n\t\t</el-row>\n\t</div>\n</template>\n\n<script>\n// 头部区域组件\nimport MyHeader from './subcomponents/MyHeader.vue'\n// 左侧边栏组件\nimport MyAside from './subcomponents/MyAside.vue'\nexport default {\n name: 'MyHome',\n // 注册组件\n components: {\n MyHeader,\n MyAside,\n },\n}\n</script>\n\n<style lang=\"less\" scoped>\n.home-container {\n\theight: 100%;\n\tdisplay: flex;\n\tflex-direction: column;\n\n\t.home-main-box {\n\t\theight: 100%;\n\t\tdisplay: flex;\n\t\t.home-main-body {\n\t\t\tpadding: 15px;\n\t\t\tflex: 1;\n\t\t}\n\t}\n}\n</style>","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MyHome.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MyHome.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./MyHome.vue?vue&type=template&id=e41dbfec&scoped=true&\"\nimport script from \"./MyHome.vue?vue&type=script&lang=js&\"\nexport * from \"./MyHome.vue?vue&type=script&lang=js&\"\nimport style0 from \"./MyHome.vue?vue&type=style&index=0&id=e41dbfec&lang=less&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"e41dbfec\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('h4',{staticClass:\"text-center\"},[_vm._v(\"用户管理\")]),_c('table',{staticClass:\"table table-bordered table-striped table-hover\"},[_vm._m(0),_c('tbody',_vm._l((_vm.userlist),function(item){return _c('tr',{key:item.id},[_c('td',[_vm._v(_vm._s(item.id))]),_c('td',[_vm._v(_vm._s(item.name))]),_c('td',[_vm._v(_vm._s(item.age))]),_c('td',[_vm._v(_vm._s(item.position))]),_c('td',[_c('a',{attrs:{\"href\":\"#\"},on:{\"click\":function($event){$event.preventDefault();return _vm.gotoDetail(item.id)}}},[_vm._v(\"详情\")])])])}),0)])])}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('thead',[_c('tr',[_c('th',[_vm._v(\"序号\")]),_c('th',[_vm._v(\"姓名\")]),_c('th',[_vm._v(\"年龄\")]),_c('th',[_vm._v(\"头衔\")]),_c('th',[_vm._v(\"操作\")])])])}]\n\nexport { render, staticRenderFns }","<template>\n\t<div>\n\t\t<!-- 标题 -->\n\t\t<h4 class=\"text-center\">用户管理</h4>\n\n\t\t<!-- 用户列表 -->\n\t\t<table class=\"table table-bordered table-striped table-hover\">\n\t\t\t<thead>\n\t\t\t\t<tr>\n\t\t\t\t\t<th>序号</th>\n\t\t\t\t\t<th>姓名</th>\n\t\t\t\t\t<th>年龄</th>\n\t\t\t\t\t<th>头衔</th>\n\t\t\t\t\t<th>操作</th>\n\t\t\t\t</tr>\n\t\t\t</thead>\n\t\t\t<tbody>\n\t\t\t\t<tr v-for=\"item in userlist\" :key=\"item.id\">\n\t\t\t\t\t<td>{{ item.id }}</td>\n\t\t\t\t\t<td>{{ item.name }}</td>\n\t\t\t\t\t<td>{{ item.age }}</td>\n\t\t\t\t\t<td>{{ item.position }}</td>\n\t\t\t\t\t<td>\n\t\t\t\t\t\t<a href=\"#\" @click.prevent=\"gotoDetail(item.id)\">详情</a>\n\t\t\t\t\t</td>\n\t\t\t\t</tr>\n\t\t\t</tbody>\n\t\t</table>\n\t</div>\n</template>\n\n<script>\nexport default {\n name: 'MyUser',\n data() {\n return {\n // 用户列表数据\n userlist: [\n { id: 1, name: '嬴政', age: 18, position: '始皇帝' },\n { id: 2, name: '李斯', age: 35, position: '丞相' },\n { id: 3, name: '吕不韦', age: 50, position: '商人' },\n { id: 4, name: '赵姬', age: 48, position: '王太后' },\n ],\n }\n },\n methods: {\n gotoDetail(id) {\n this.$router.push('/home/userinfo/' + id)\n },\n },\n}\n</script>\n\n<style lang=\"less\" scoped></style>","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MyUsers.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MyUsers.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./MyUsers.vue?vue&type=template&id=02f3073a&scoped=true&\"\nimport script from \"./MyUsers.vue?vue&type=script&lang=js&\"\nexport * from \"./MyUsers.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"02f3073a\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('el-container',[_c('el-main',[_c('el-select',{attrs:{\"placeholder\":\"请选择\"},on:{\"change\":_vm.queryPic},model:{value:(_vm.picType),callback:function ($$v) {_vm.picType=$$v},expression:\"picType\"}},_vm._l((_vm.options),function(item){return _c('el-option',{key:item.value,attrs:{\"label\":item.label,\"value\":item.value}})}),1),_c('el-table',{directives:[{name:\"loading\",rawName:\"v-loading\",value:(_vm.loading),expression:\"loading\"}],attrs:{\"border\":\"\",\"data\":_vm.picList}},[_c('el-table-column',{attrs:{\"prop\":\"id\",\"label\":\"序号\",\"width\":\"100\",\"sortable\":\"\"}}),_c('el-table-column',{attrs:{\"prop\":\"picName\",\"label\":\"图片名字\",\"width\":\"240\",\"show-overflow-tooltip\":\"\"}}),_c('el-table-column',{attrs:{\"align\":\"center\"},scopedSlots:_vm._u([{key:\"default\",fn:function(props){return [_c('img',{staticStyle:{\"cursor\":\"pointer\"},attrs:{\"src\":props.row.picUrl,\"alt\":\"图片\",\"height\":\"100px\"},on:{\"click\":function($event){return _vm.showImageDialog(props.row.picUrl, props.$index)}}})]}}])}),_c('el-table-column',{attrs:{\"label\":\"创建时间\",\"width\":\"170\"},scopedSlots:_vm._u([{key:\"default\",fn:function(props){return [_vm._v(\" \"+_vm._s(_vm._f(\"dateFormat\")(props.row.createTime))+\" \")]}}])})],1),_c('el-dialog',{attrs:{\"visible\":_vm.imageDialogVisible,\"width\":\"30%\"},on:{\"update:visible\":function($event){_vm.imageDialogVisible=$event}}},[_c('div',{staticStyle:{\"display\":\"flex\",\"align-items\":\"center\",\"justify-content\":\"space-between\"}},[_c('button',{staticClass:\"arrow-button\",class:{ disabled: _vm.imageIndex === 0 },attrs:{\"disabled\":_vm.imageIndex === 0},on:{\"click\":_vm.showBeforeImage}},[_c('el-icon',{staticClass:\"custom-icon\",attrs:{\"name\":\"arrow-left\"}})],1),_c('img',{staticStyle:{\"width\":\"80%\"},attrs:{\"src\":_vm.enlargedImageUrl,\"alt\":\"放大图片\"}}),_c('button',{staticClass:\"arrow-button\",class:{ disabled: _vm.imageIndex === _vm.picList.length - 1 },attrs:{\"disabled\":_vm.imageIndex === _vm.picList.length - 1},on:{\"click\":_vm.showNextImage}},[_c('el-icon',{staticClass:\"custom-icon\",attrs:{\"name\":\"arrow-right\"}})],1)])]),_c('el-pagination',{key:_vm.elementui_page_component_key,staticClass:\"pagination\",attrs:{\"background\":\"\",\"current-page\":_vm.currentPage,\"page-size\":_vm.pageSize,\"total\":_vm.total},on:{\"update:currentPage\":function($event){_vm.currentPage=$event},\"update:current-page\":function($event){_vm.currentPage=$event},\"current-change\":_vm.handleCurrentChange}})],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n\t<div>\n\t\t<el-container>\n\t\t\t<el-main>\n\t\t\t\t<el-select v-model=\"picType\" placeholder=\"请选择\" @change=\"queryPic\">\n\t\t\t\t\t<el-option v-for=\"item in options\" :key=\"item.value\" :label=\"item.label\" :value=\"item.value\"></el-option>\n\t\t\t\t</el-select>\n\t\t\t\t<el-table border :data=\"picList\" v-loading=\"loading\">\n\t\t\t\t\t<el-table-column prop=\"id\" label=\"序号\" width=\"100\" sortable></el-table-column>\n\t\t\t\t\t<el-table-column prop=\"picName\" label=\"图片名字\" width=\"240\" show-overflow-tooltip></el-table-column>\n\t\t\t\t\t<el-table-column align=\"center\">\n\t\t\t\t\t\t<template slot-scope=\"props\">\n\t\t\t\t\t\t\t<img :src=\"props.row.picUrl\" alt=\"图片\" height=\"100px\" @click=\"showImageDialog(props.row.picUrl, props.$index)\" style=\"cursor: pointer\" />\n\t\t\t\t\t\t</template>\n\t\t\t\t\t</el-table-column>\n\t\t\t\t\t<el-table-column label=\"创建时间\" width=\"170\">\n\t\t\t\t\t\t<template slot-scope=\"props\">\n\t\t\t\t\t\t\t{{ props.row.createTime | dateFormat }}\n\t\t\t\t\t\t</template>\n\t\t\t\t\t</el-table-column>\n\t\t\t\t</el-table>\n\t\t\t\t<el-dialog :visible.sync=\"imageDialogVisible\" width=\"30%\">\n\t\t\t\t\t<div style=\"display: flex; align-items: center; justify-content: space-between\">\n\t\t\t\t\t\t<button class=\"arrow-button\" :class=\"{ disabled: imageIndex === 0 }\" @click=\"showBeforeImage\" :disabled=\"imageIndex === 0\">\n\t\t\t\t\t\t\t<el-icon class=\"custom-icon\" name=\"arrow-left\"></el-icon>\n\t\t\t\t\t\t</button>\n\t\t\t\t\t\t<img :src=\"enlargedImageUrl\" alt=\"放大图片\" style=\"width: 80%\" />\n\t\t\t\t\t\t<button class=\"arrow-button\" :class=\"{ disabled: imageIndex === picList.length - 1 }\" @click=\"showNextImage\" :disabled=\"imageIndex === picList.length - 1\">\n\t\t\t\t\t\t\t<el-icon class=\"custom-icon\" name=\"arrow-right\"></el-icon>\n\t\t\t\t\t\t</button>\n\t\t\t\t\t</div>\n\t\t\t\t</el-dialog>\n\n\t\t\t\t<el-pagination class=\"pagination\" background :key=\"elementui_page_component_key\" :current-page.sync=\"currentPage\" :page-size=\"pageSize\" :total=\"total\" @current-change=\"handleCurrentChange\"></el-pagination>\n\t\t\t</el-main>\n\t\t</el-container>\n\t</div>\n</template>\n\n<script>\nimport axios from 'axios'\nexport default {\n\tname: 'MyPic',\n\tdata() {\n\t\treturn {\n\t\t\t// 用户列表数据\n\t\t\tpicList: [],\n\t\t\tloading: false,\n\t\t\telementui_page_component_key: 0,\n\t\t\tcurrentPage: 1,\n\t\t\tpageSize: 6,\n\t\t\ttotal: 0,\n\t\t\timageDialogVisible: false,\n\t\t\tenlargedImageUrl: '',\n\t\t\timageIndex: 0, // 当前展示的图片索引\n\t\t\toptions: [\n\t\t\t\t{\n\t\t\t\t\tvalue: 0,\n\t\t\t\t\tlabel: '宝宝照片',\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tvalue: 1,\n\t\t\t\t\tlabel: '学习照片',\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tvalue: 2,\n\t\t\t\t\tlabel: '风景照片',\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tvalue: 3,\n\t\t\t\t\tlabel: '美女照片',\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tvalue: 99,\n\t\t\t\t\tlabel: '其他照片',\n\t\t\t\t},\n\t\t\t],\n\t\t\tpicType: 0,\n\t\t}\n\t},\n\tcreated() {\n\t\t// 调用请求数据的方法\n\t\tthis.queryPic()\n\t},\n\tmethods: {\n\t\tshowBeforeImage() {\n\t\t\tif (this.imageIndex > 0) {\n\t\t\t\t// 增加索引以显示下一张图片\n\t\t\t\tthis.imageIndex--\n\t\t\t\tthis.enlargedImageUrl = this.picList[this.imageIndex].picUrl\n\t\t\t\tthis.imageDialogVisible = true // 打开对话框展示图片\n\t\t\t}\n\t\t},\n\t\tshowNextImage() {\n\t\t\tif (this.imageIndex < this.picList.length - 1) {\n\t\t\t\t// 增加索引以显示下一张图片\n\t\t\t\tthis.imageIndex++\n\t\t\t\tthis.enlargedImageUrl = this.picList[this.imageIndex].picUrl\n\t\t\t\tthis.imageDialogVisible = true\n\t\t\t}\n\t\t},\n\t\tshowImageDialog(url, index) {\n\t\t\tthis.enlargedImageUrl = url\n\t\t\tthis.imageDialogVisible = true\n\t\t\tthis.imageIndex = index\n\t\t},\n\t\tasync queryPic() {\n\t\t\tthis.loading = true\n\t\t\tconst { data: res } = await axios.get('http://120.79.36.53:8888/picInfo/page', {\n\t\t\t\tparams: {\n\t\t\t\t\tpage: this.currentPage,\n\t\t\t\t\tpageSize: this.pageSize,\n\t\t\t\t\tpicType: this.picType,\n\t\t\t\t},\n\t\t\t})\n\t\t\tif (res.code === 200) {\n\t\t\t\tthis.picList = res.result.records\n\t\t\t\tthis.total = res.result.total\n\t\t\t}\n\t\t\tthis.loading = false\n\t\t},\n\t\thandleCurrentChange(currentPage) {\n\t\t\tthis.currentPage = currentPage\n\t\t\tthis.queryPic()\n\t\t},\n\t},\n}\n</script>\n\n<style lang=\"less\" scoped>\n.el-header {\n\tbackground-color: #b3c0d1;\n\tcolor: #333;\n\tline-height: 60px;\n}\n\n.el-aside {\n\tcolor: #333;\n}\n\n.pagination {\n\tmargin-top: 16px;\n\ttext-align: right;\n}\n\n.arrow-button {\n\tdisplay: flex;\n\talign-items: center;\n\tjustify-content: center;\n\tborder: none;\n\tbackground-color: transparent;\n\tcursor: pointer;\n}\n\n.custom-icon {\n\tfont-size: 24px; /* 调整图标大小 */\n\tcolor: #ff9900; /* 调整图标颜色 */\n\tmargin-right: 6px; /* 调整图标与文字之间的间距 */\n}\n\n.arrow-button.disabled {\n\tpointer-events: none; /* 禁用点击事件 */\n\topacity: 0.1; /* 添加透明度来表示禁用状态 */\n}\n</style>","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MyPic.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MyPic.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./MyPic.vue?vue&type=template&id=15b8f4b2&scoped=true&\"\nimport script from \"./MyPic.vue?vue&type=script&lang=js&\"\nexport * from \"./MyPic.vue?vue&type=script&lang=js&\"\nimport style0 from \"./MyPic.vue?vue&type=style&index=0&id=15b8f4b2&lang=less&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"15b8f4b2\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('h4',{staticClass:\"text-center\"},[_vm._v(\"商品管理\")])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n\t<h4 class=\"text-center\">商品管理</h4>\n</template>\n\n<script>\nexport default {\n name: 'MyGoods',\n}\n</script>\n\n<style lang=\"less\" scoped>\n</style>","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MyGoods.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MyGoods.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./MyGoods.vue?vue&type=template&id=716085f0&scoped=true&\"\nimport script from \"./MyGoods.vue?vue&type=script&lang=js&\"\nexport * from \"./MyGoods.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"716085f0\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('h4',{staticClass:\"text-center\"},[_vm._v(\"订单管理\")])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n\t<h4 class=\"text-center\">订单管理</h4>\n</template>\n\n<script>\nexport default {\n name: 'MyOrders',\n}\n</script>\n\n<style lang=\"less\" scoped>\n</style>","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MyOrders.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MyOrders.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./MyOrders.vue?vue&type=template&id=3275af60&scoped=true&\"\nimport script from \"./MyOrders.vue?vue&type=script&lang=js&\"\nexport * from \"./MyOrders.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"3275af60\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('el-container',[_c('el-main',[_c('el-form',{staticClass:\"demo-form-inline\",attrs:{\"inline\":true,\"model\":_vm.formInline}},[_c('el-form-item',[_c('el-input',{attrs:{\"clearable\":\"\",\"placeholder\":\"请输入问题\"},nativeOn:{\"keydown\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"enter\",13,$event.key,\"Enter\")){ return null; }return _vm.initCartList.apply(null, arguments)}},model:{value:(_vm.formInline.question),callback:function ($$v) {_vm.$set(_vm.formInline, \"question\", $$v)},expression:\"formInline.question\"}})],1),_c('el-form-item',[_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":_vm.initCartList}},[_vm._v(\"查询\")])],1),_c('el-form-item',[_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":function($event){$event.preventDefault();return _vm.addChat.apply(null, arguments)}}},[_vm._v(\"新增\")])],1)],1),_c('el-table',{directives:[{name:\"loading\",rawName:\"v-loading\",value:(_vm.loading),expression:\"loading\"}],attrs:{\"border\":\"\",\"data\":_vm.userlist}},[_c('el-table-column',{attrs:{\"prop\":\"id\",\"label\":\"序号\",\"width\":\"100\",\"sortable\":\"\"}}),_c('el-table-column',{attrs:{\"prop\":\"question\",\"label\":\"问题\",\"width\":\"240\",\"show-overflow-tooltip\":\"\"}}),_c('el-table-column',{attrs:{\"prop\":\"response\",\"label\":\"答案\",\"show-overflow-tooltip\":\"\"}}),_c('el-table-column',{attrs:{\"label\":\"创建时间\",\"width\":\"170\"},scopedSlots:_vm._u([{key:\"default\",fn:function(props){return [_vm._v(\" \"+_vm._s(_vm._f(\"dateFormat\")(props.row.createTime))+\" \")]}}])}),_c('el-table-column',{attrs:{\"prop\":\"详情\",\"label\":\"详情\",\"width\":\"180\"},scopedSlots:_vm._u([{key:\"default\",fn:function(props){return [_c('el-button',{attrs:{\"type\":\"success\"},on:{\"click\":function($event){$event.preventDefault();return _vm.gotoDetail(props.row.id)}}},[_vm._v(\"详情\")]),_c('el-button',{attrs:{\"type\":\"danger\"},on:{\"click\":function($event){return _vm.onDelete(props.row.id)}}},[_vm._v(\"删除\")])]}}])})],1),_c('el-pagination',{key:_vm.elementui_page_component_key,staticClass:\"pagination\",attrs:{\"background\":\"\",\"current-page\":_vm.currentPage,\"page-size\":_vm.pageSize,\"total\":_vm.total},on:{\"update:currentPage\":function($event){_vm.currentPage=$event},\"update:current-page\":function($event){_vm.currentPage=$event},\"current-change\":_vm.handleCurrentChange}})],1),_c('el-backtop',{staticClass:\"backtop\"})],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n\t<div>\n\t\t<el-container>\n\t\t\t<el-main>\n\t\t\t\t<el-form :inline=\"true\" :model=\"formInline\" class=\"demo-form-inline\">\n\t\t\t\t\t<el-form-item>\n\t\t\t\t\t\t<el-input clearable v-model=\"formInline.question\" placeholder=\"请输入问题\" @keydown.enter.native=\"initCartList\"></el-input>\n\t\t\t\t\t</el-form-item>\n\t\t\t\t\t<el-form-item>\n\t\t\t\t\t\t<el-button type=\"primary\" @click=\"initCartList\">查询</el-button>\n\t\t\t\t\t</el-form-item>\n\t\t\t\t\t<el-form-item>\n\t\t\t\t\t\t<el-button type=\"primary\" @click.prevent=\"addChat\">新增</el-button>\n\t\t\t\t\t</el-form-item>\n\t\t\t\t</el-form>\n\t\t\t\t<el-table border :data=\"userlist\" v-loading=\"loading\">\n\t\t\t\t\t<el-table-column prop=\"id\" label=\"序号\" width=\"100\" sortable></el-table-column>\n\t\t\t\t\t<el-table-column prop=\"question\" label=\"问题\" width=\"240\" show-overflow-tooltip></el-table-column>\n\t\t\t\t\t<el-table-column prop=\"response\" label=\"答案\" show-overflow-tooltip></el-table-column>\n\t\t\t\t\t<el-table-column label=\"创建时间\" width=\"170\">\n\t\t\t\t\t\t<template slot-scope=\"props\">\n\t\t\t\t\t\t\t{{ props.row.createTime | dateFormat }}\n\t\t\t\t\t\t</template>\n\t\t\t\t\t</el-table-column>\n\t\t\t\t\t<el-table-column prop=\"详情\" label=\"详情\" width=\"180\">\n\t\t\t\t\t\t<template slot-scope=\"props\">\n\t\t\t\t\t\t\t<el-button type=\"success\" @click.prevent=\"gotoDetail(props.row.id)\">详情</el-button>\n\t\t\t\t\t\t\t<el-button type=\"danger\" @click=\"onDelete(props.row.id)\">删除</el-button>\n\t\t\t\t\t\t</template>\n\t\t\t\t\t</el-table-column>\n\t\t\t\t</el-table>\n\t\t\t\t<el-pagination class=\"pagination\" background :key=\"elementui_page_component_key\" :current-page.sync=\"currentPage\" :page-size=\"pageSize\" :total=\"total\" @current-change=\"handleCurrentChange\"></el-pagination>\n\t\t\t</el-main>\n\t\t\t<el-backtop class=\"backtop\"></el-backtop>\n\t\t</el-container>\n\t</div>\n</template>\n\n<script>\nimport axios from 'axios'\nexport default {\n\tname: 'MyChat',\n\n\tdata() {\n\t\treturn {\n\t\t\t// 用户列表数据\n\t\t\tuserlist: [],\n\t\t\tloading: false,\n\t\t\telementui_page_component_key: 0,\n\t\t\tcurrentPage: Number(localStorage.getItem('lastPage')) || 1,\n\t\t\tpageSize: 9,\n\t\t\ttotal: 0,\n\t\t\tformInline: {\n\t\t\t\tquestion: '',\n\t\t\t},\n\t\t}\n\t},\n\twatch: {\n\t\t'formInline.question'(newVal) {\n\t\t\tif (newVal === '') {\n\t\t\t\tthis.currentPage = 1\n\t\t\t\tlocalStorage.setItem('lastPage', this.currentPage)\n\t\t\t\tthis.initCartList()\n\t\t\t}\n\t\t},\n\t},\n\tcreated() {\n\t\tthis.$nextTick(() => {\n\t\t\tconst foo = this.$route.query.back\n\t\t\tconst add = this.$route.query.add\n\t\t\tif (foo === 'back' && add != 'add') {\n\t\t\t\tthis.currentPage = Number(localStorage.getItem('lastPage')) || 1\n\t\t\t\tthis.formInline.question = localStorage.getItem('lastQuestion') || ''\n\t\t\t} else {\n\t\t\t\tlocalStorage.setItem('lastPage', 1)\n\t\t\t\tlocalStorage.setItem('lastQuestion', '')\n\t\t\t\tthis.currentPage = 1\n\t\t\t\tthis.formInline.question = ''\n\t\t\t}\n\t\t\t// 调用请求数据的方法\n\t\t\tthis.initCartList()\n\t\t})\n\t},\n\tmounted() {\n\t\tthis.currentPage = Number(localStorage.getItem('lastPage')) || 1\n\t\tthis.formInline.question = localStorage.getItem('lastQuestion')\n\t\tthis.elementui_page_component_key++\n\t},\n\tmethods: {\n\t\tasync onDelete(id) {\n\t\t\tthis.loading = true\n\t\t\tconst { data: res } = await axios.get('http://120.79.36.53:8888/chatbot/delete', {\n\t\t\t\tparams: {\n\t\t\t\t\tid: id,\n\t\t\t\t},\n\t\t\t})\n\t\t\tthis.initCartList()\n\t\t\tthis.loading = false\n\t\t},\n\t\trefreshPage() {\n\t\t\tlocation.reload()\n\t\t},\n\t\tgotoDetail(id) {\n\t\t\tthis.$router.push('/home/chatinfo/' + id)\n\t\t},\n\t\taddChat() {\n\t\t\tthis.$router.push('/home/addChat/')\n\t\t},\n\n\t\tasync initCartList() {\n\t\t\tthis.loading = true\n\t\t\tconst { data: res } = await axios.get('http://120.79.36.53:8888/chatbot/page', {\n\t\t\t\tparams: {\n\t\t\t\t\tpage: this.currentPage,\n\t\t\t\t\tpageSize: this.pageSize,\n\t\t\t\t\tquestion: this.formInline.question,\n\t\t\t\t},\n\t\t\t})\n\t\t\tif (res.code === 200) {\n\t\t\t\tthis.userlist = res.result.records\n\t\t\t\tthis.total = res.result.total\n\t\t\t\tlocalStorage.setItem('lastPage', this.currentPage)\n\t\t\t\tlocalStorage.setItem('lastQuestion', this.formInline.question)\n\t\t\t}\n\t\t\tthis.loading = false\n\t\t},\n\n\t\thandleCurrentChange(currentPage) {\n\t\t\tthis.currentPage = currentPage\n\t\t\tthis.initCartList()\n\t\t},\n\t},\n}\n</script>\n\n<style lang=\"less\" scoped>\n.el-header {\n\tbackground-color: #b3c0d1;\n\tcolor: #333;\n\tline-height: 60px;\n}\n\n.el-aside {\n\tcolor: #333;\n}\n\n.pagination {\n\tmargin-top: 16px;\n\ttext-align: right;\n}\n.header-button-item {\n\tmargin-right: 15px;\n\tfont-size: 20px;\n}\n\n.backtop {\n\tposition: fixed;\n\tbottom: 50px;\n\tright: 50px;\n\theight: 40px;\n\twidth: 40px;\n\tline-height: 40px;\n\ttext-align: center;\n\tborder-radius: 20px;\n\tbackground-color: #007aff;\n\tcolor: #fff;\n\tcursor: pointer;\n\tz-index: 999;\n}\n\n.backtop:hover {\n\tbackground-color: #0050a0;\n}\n</style>","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MyChat.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MyChat.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./MyChat.vue?vue&type=template&id=c92e998c&scoped=true&\"\nimport script from \"./MyChat.vue?vue&type=script&lang=js&\"\nexport * from \"./MyChat.vue?vue&type=script&lang=js&\"\nimport style0 from \"./MyChat.vue?vue&type=style&index=0&id=c92e998c&lang=less&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"c92e998c\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('h4',{staticClass:\"text-center\"},[_vm._v(\"系统设置\")])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n\t<h4 class=\"text-center\">系统设置</h4>\n</template>\n\n<script>\nexport default {\n name: 'MySettings',\n}\n</script>\n\n<style lang=\"less\" scoped>\n</style>","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MySettings.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MySettings.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./MySettings.vue?vue&type=template&id=accd7558&scoped=true&\"\nimport script from \"./MySettings.vue?vue&type=script&lang=js&\"\nexport * from \"./MySettings.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"accd7558\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('button',{staticClass:\"btn btn-light btn-sm\",attrs:{\"type\":\"button\"},on:{\"click\":function($event){return _vm.$router.back()}}},[_vm._v(\"后退\")]),_c('h4',{staticClass:\"text-center\"},[_vm._v(\"用户详情 --- \"+_vm._s(_vm.id))])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n\t<div>\n\t\t<button type=\"button\" class=\"btn btn-light btn-sm\" @click=\"$router.back()\">后退</button>\n\t\t<h4 class=\"text-center\">用户详情 --- {{ id }}</h4>\n\t</div>\n</template>\n\n<script>\nexport default {\n name: 'MyUserDetail',\n props: ['id'],\n}\n</script>\n\n<style lang=\"less\" scoped></style>","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MyUserDetail.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MyUserDetail.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./MyUserDetail.vue?vue&type=template&id=bea9073a&scoped=true&\"\nimport script from \"./MyUserDetail.vue?vue&type=script&lang=js&\"\nexport * from \"./MyUserDetail.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"bea9073a\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('el-button',{attrs:{\"type\":\"primary\",\"plain\":\"\",\"size\":\"medium\"},on:{\"click\":_vm.goBack}},[_vm._v(\"后退\")]),_c('h4',{staticClass:\"text-center\"},[_vm._v(\"ChatGpt问答详情 --- \"+_vm._s(_vm.id))]),_c('el-container',[_c('el-main',[_c('el-table',{attrs:{\"border\":\"\",\"data\":_vm.list}},[_c('el-table-column',{attrs:{\"label\":\"序号\",\"width\":\"50\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('span',[_vm._v(_vm._s(scope.row.id))])]}}])}),_c('el-table-column',{attrs:{\"label\":\"问题\",\"width\":\"240\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('span',[_vm._v(_vm._s(scope.row.question))])]}}])}),_c('el-table-column',{attrs:{\"label\":\"回答\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('span',{attrs:{\"id\":\"td-response\"}},[_vm._v(_vm._s(scope.row.response))])]}}])}),_c('el-table-column',{attrs:{\"label\":\"创建时间\",\"width\":\"170\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('span',[_vm._v(_vm._s(_vm._f(\"dateFormat\")(scope.row.createTime)))])]}}])})],1)],1)],1),_c('div',{staticClass:\"button-container\"},[_c('el-button',{attrs:{\"type\":\"primary\",\"round\":\"\"},on:{\"click\":_vm.copyCode}},[_vm._v(\"复制回答\")])],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n\t<div>\n\t\t<el-button type=\"primary\" plain size=\"medium\" @click=\"goBack\">后退</el-button>\n\t\t<h4 class=\"text-center\">ChatGpt问答详情 --- {{ id }}</h4>\n\t\t<el-container>\n\t\t\t<el-main>\n\t\t\t\t<el-table border :data=\"list\">\n\t\t\t\t\t<el-table-column label=\"序号\" width=\"50\">\n\t\t\t\t\t\t<template slot-scope=\"scope\">\n\t\t\t\t\t\t\t<span>{{ scope.row.id }}</span>\n\t\t\t\t\t\t</template>\n\t\t\t\t\t</el-table-column>\n\t\t\t\t\t<el-table-column label=\"问题\" width=\"240\">\n\t\t\t\t\t\t<template slot-scope=\"scope\">\n\t\t\t\t\t\t\t<span>{{ scope.row.question }}</span>\n\t\t\t\t\t\t</template>\n\t\t\t\t\t</el-table-column>\n\t\t\t\t\t<el-table-column label=\"回答\">\n\t\t\t\t\t\t<template slot-scope=\"scope\">\n\t\t\t\t\t\t\t<span id=\"td-response\">{{ scope.row.response }}</span>\n\t\t\t\t\t\t</template>\n\t\t\t\t\t</el-table-column>\n\t\t\t\t\t<el-table-column label=\"创建时间\" width=\"170\">\n\t\t\t\t\t\t<template slot-scope=\"scope\">\n\t\t\t\t\t\t\t<span>{{ scope.row.createTime | dateFormat }}</span>\n\t\t\t\t\t\t</template>\n\t\t\t\t\t</el-table-column>\n\t\t\t\t</el-table>\n\t\t\t</el-main>\n\t\t</el-container>\n\t\t<div class=\"button-container\">\n\t\t\t<el-button @click=\"copyCode\" type=\"primary\" round>复制回答</el-button>\n\t\t</div>\n\t</div>\n</template>\n<script>\n// 导入 axios 请求库\nimport axios from 'axios'\nexport default {\n\tname: 'MyChatDetail',\n\tprops: ['id'],\n\tdata() {\n\t\treturn {\n\t\t\tlist: [],\n\t\t}\n\t},\n\tcreated() {\n\t\t// 调用请求数据的方法\n\t\tthis.initChatList()\n\t},\n\tmethods: {\n\t\tgoBack() {\n\t\t\t// 传递参数到前一个页面\n\t\t\tconst params = {\n\t\t\t\t// 参数名: 参数值\n\t\t\t\tback: 'back',\n\t\t\t\t// baz: \"qux\",\n\t\t\t}\n\n\t\t\t// 使用 $router.push() 导航到前一个页面\n\t\t\tthis.$router.push({\n\t\t\t\tpath: '/home/chat', // 前一个页面的路径\n\t\t\t\tquery: params, // 参数对象\n\t\t\t})\n\t\t},\n\t\t// 封装请求列表数据的方法\n\t\tasync initChatList() {\n\t\t\t// 调用 axios 的 get 方法,请求列表数据\n\t\t\tconst { data: res } = await axios.get('http://120.79.36.53:8888/chatbot/' + this.id)\n\t\t\t// 只要请求回来的数据,在页面渲染期间要用到,则必须转存到 data 中\n\t\t\tif (res.code === 200) {\n\t\t\t\tthis.list = [\n\t\t\t\t\t{\n\t\t\t\t\t\tid: res.result.id,\n\t\t\t\t\t\tquestion: res.result.question,\n\t\t\t\t\t\tresponse: res.result.response,\n\t\t\t\t\t\tcreateTime: res.result.createTime,\n\t\t\t\t\t},\n\t\t\t\t]\n\t\t\t}\n\t\t},\n\t\tcopyCode() {\n\t\t\tconst codeBlock = document.getElementById('td-response')\n\t\t\tconst range = document.createRange()\n\t\t\trange.selectNode(codeBlock)\n\t\t\tconst selection = window.getSelection()\n\t\t\tselection.removeAllRanges()\n\t\t\tselection.addRange(range)\n\t\t\tdocument.execCommand('copy')\n\t\t\tselection.removeAllRanges()\n\t\t\tthis.$message.success('代码已复制到剪贴板')\n\t\t},\n\t},\n}\n</script>\n\n<style lang=\"less\" scoped>\n.button-container {\n\tposition: fixed;\n\tbottom: 0;\n\tright: 0;\n\tmargin: 16px;\n}\n</style>","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MyChatDetail.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MyChatDetail.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./MyChatDetail.vue?vue&type=template&id=9d5d30a4&scoped=true&\"\nimport script from \"./MyChatDetail.vue?vue&type=script&lang=js&\"\nexport * from \"./MyChatDetail.vue?vue&type=script&lang=js&\"\nimport style0 from \"./MyChatDetail.vue?vue&type=style&index=0&id=9d5d30a4&lang=less&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"9d5d30a4\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('el-button',{attrs:{\"type\":\"primary\",\"plain\":\"\",\"size\":\"medium\"},on:{\"click\":_vm.goBack}},[_vm._v(\"后退\")]),_c('h4',{staticClass:\"text-center\"},[_vm._v(\"新增ChatGpt问答\")]),_c('el-container',{staticClass:\"container\"},[_c('el-form',{ref:\"form\",attrs:{\"model\":_vm.form,\"label-width\":\"80px\"}},[_c('el-form-item',{attrs:{\"label\":\"问题\"}},[_c('el-input',{model:{value:(_vm.form.question),callback:function ($$v) {_vm.$set(_vm.form, \"question\", $$v)},expression:\"form.question\"}})],1),_c('el-form-item',{attrs:{\"label\":\"答案\"}},[_c('el-input',{attrs:{\"type\":\"textarea\"},model:{value:(_vm.form.response),callback:function ($$v) {_vm.$set(_vm.form, \"response\", $$v)},expression:\"form.response\"}})],1),_c('el-form-item',[_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":_vm.onSubmit}},[_vm._v(\"立即创建\")]),_c('el-button',{on:{\"click\":_vm.clearContent}},[_vm._v(\"取消\")])],1)],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n\t<div>\n\t\t<el-button type=\"primary\" plain size=\"medium\" @click=\"goBack\">后退</el-button>\n\t\t<h4 class=\"text-center\">新增ChatGpt问答</h4>\n\t\t<el-container class=\"container\">\n\t\t\t<el-form ref=\"form\" :model=\"form\" label-width=\"80px\">\n\t\t\t\t<el-form-item label=\"问题\">\n\t\t\t\t\t<el-input v-model=\"form.question\"></el-input>\n\t\t\t\t</el-form-item>\n\t\t\t\t<el-form-item label=\"答案\">\n\t\t\t\t\t<el-input type=\"textarea\" v-model=\"form.response\"></el-input>\n\t\t\t\t</el-form-item>\n\t\t\t\t<el-form-item>\n\t\t\t\t\t<el-button type=\"primary\" @click=\"onSubmit\">立即创建</el-button>\n\t\t\t\t\t<el-button @click=\"clearContent\">取消</el-button>\n\t\t\t\t</el-form-item>\n\t\t\t</el-form>\n\t\t</el-container>\n\t</div>\n</template>\n<script>\n// 导入 axios 请求库\nimport axios from 'axios'\nexport default {\n\tname: 'AddChatDetail',\n\tdata() {\n\t\treturn {\n\t\t\tform: {\n\t\t\t\tquestion: '',\n\t\t\t\tresponse: '',\n\t\t\t},\n\t\t}\n\t},\n\tmethods: {\n\t\tclearContent() {\n\t\t\tthis.form.question = ''\n\t\t\tthis.form.response = ''\n\t\t},\n\t\tasync onSubmit() {\n\t\t\tconst data = {\n\t\t\t\tquestion: this.form.question,\n\t\t\t\tresponse: this.form.response,\n\t\t\t}\n\t\t\taxios\n\t\t\t\t.post('http://120.79.36.53:8888/chatbot', data)\n\t\t\t\t.then((response) => {\n\t\t\t\t\t// 只要请求回来的数据,在页面渲染期间要用到,则必须转存到 data 中\n\t\t\t\t\tif (response.data.code === 200) {\n\t\t\t\t\t\tthis.$message.success({\n\t\t\t\t\t\t\tmessage: '问题和答案新增成功',\n\t\t\t\t\t\t\tduration: 1000,\n\t\t\t\t\t\t})\n\t\t\t\t\t\tthis.goBack()\n\t\t\t\t\t}\n\t\t\t\t})\n\t\t\t\t.catch((error) => {\n\t\t\t\t\t// 处理错误\n\t\t\t\t\tthis.$message.error('系统异常')\n\t\t\t\t})\n\t\t},\n\t\tgoBack() {\n\t\t\t// 传递参数到前一个页面\n\t\t\tconst params = {\n\t\t\t\t// 参数名: 参数值\n\t\t\t\tback: 'back',\n\t\t\t\tadd: 'add',\n\t\t\t}\n\t\t\t// 使用 $router.push() 导航到前一个页面\n\t\t\tthis.$router.push({\n\t\t\t\tpath: '/home/chat', // 前一个页面的路径\n\t\t\t\tquery: params, // 参数对象\n\t\t\t})\n\t\t},\n\t},\n}\n</script>\n\n<style lang=\"less\" scoped>\n.container {\n\tdisplay: flex;\n\tjustify-content: center;\n\talign-items: center;\n\theight: 30vh; /* 如果希望 `el-container` 在整个视口居中,可以使用 height: 100vh; 来设置容器的高度 */\n}\n</style>","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AddChatDetail.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AddChatDetail.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./AddChatDetail.vue?vue&type=template&id=ddc6c3e0&scoped=true&\"\nimport script from \"./AddChatDetail.vue?vue&type=script&lang=js&\"\nexport * from \"./AddChatDetail.vue?vue&type=script&lang=js&\"\nimport style0 from \"./AddChatDetail.vue?vue&type=style&index=0&id=ddc6c3e0&lang=less&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"ddc6c3e0\",\n null\n \n)\n\nexport default component.exports","import Vue from 'vue'\nimport VueRouter from 'vue-router'\nimport pathArr from '@/router/pathArr.js'\n\n// 导入需要的组件\nimport Login from '@/components/MyLogin.vue'\nimport Home from '@/components/MyHome.vue'\n\nimport Users from '@/components/menus/MyUsers.vue'\nimport Pic from '@/components/menus/MyPic.vue'\nimport Goods from '@/components/menus/MyGoods.vue'\nimport Orders from '@/components/menus/MyOrders.vue'\nimport Chat from '@/components/menus/MyChat.vue'\nimport Settings from '@/components/menus/MySettings.vue'\nimport UserDetail from '@/components/user/MyUserDetail.vue'\nimport MyChatDetail from '@/components/user/MyChatDetail.vue'\nimport AddChatDetail from '@/components/user/AddChatDetail.vue'\n\n\nVue.use(VueRouter)\n\nconst router = new VueRouter({\n routes: [\n {\n path: '/',\n redirect: '/login'\n },\n // 登录的路由规则\n {\n path: '/login',\n component: Login\n },\n // 后台主页的路由规则\n {\n path: '/home',\n component: Home,\n redirect: '/home/chat',\n children: [\n {\n path: 'users',\n component: Users\n },\n {\n path: 'pic',\n component: Pic\n },\n {\n path: 'goods',\n component: Goods\n },\n {\n path: 'orders',\n component: Orders\n }, {\n path: 'chat',\n component: Chat\n }, {\n path: 'settings',\n component: Settings\n },\n // 用户详情页的路由规则\n {\n path: 'userinfo/:id',\n component: UserDetail,\n props: true\n }, {\n path: 'chatinfo/:id',\n component: MyChatDetail,\n props: true\n }, {\n path: 'addChat',\n component: AddChatDetail\n },\n ]\n }\n ]\n})\n\n// 全局前置守卫\nrouter.beforeEach(function (to, from, next) {\n if (pathArr.indexOf(to.path) !== -1) {\n const token = localStorage.getItem('token')\n if (token) {\n next()\n } else {\n next('/login')\n }\n } else {\n next()\n }\n})\n\nexport default router\n","import Vue from 'vue'\nimport App from './App.vue'\n// 导入路由模块\nimport router from '@/router'\n// 引入element\nimport ElementUI from 'element-ui';\nimport 'element-ui/lib/theme-chalk/index.css';\n// 导入样式\nimport './assets/css/bootstrap.css'\nimport './index.css'\n// 引入 dayjs 时间处理\nimport dayjs from \"dayjs\";\nVue.prototype.$dayjs = dayjs;\n\n// 声明格式化时间的全局过滤器\nVue.filter(\"dateFormat\", function (time) {\n // 1. 对 time 进行格式化处理,得到 YYYY-MM-DD HH:mm:ss\n // 2. 把 格式化的结果,return 出去\n\n // 直接调用 dayjs() 得到的是当前时间\n // dayjs(给定的日期时间) 得到指定的日期\n const dtStr = dayjs(time).format(\"YYYY-MM-DD HH:mm:ss\");\n return dtStr;\n});\nVue.use(ElementUI);\nVue.config.productionTip = false\n\nnew Vue({\n render: h => h(App),\n router\n}).$mount('#app')\n","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../../../node_modules/less-loader/dist/cjs.js??ref--10-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AddChatDetail.vue?vue&type=style&index=0&id=ddc6c3e0&lang=less&scoped=true&\"","module.exports = __webpack_public_path__ + \"img/kwan.80e90605.png\";","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../../../node_modules/less-loader/dist/cjs.js??ref--10-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MyAside.vue?vue&type=style&index=0&id=3235a6cc&lang=less&scoped=true&\"","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../../node_modules/less-loader/dist/cjs.js??ref--10-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MyHome.vue?vue&type=style&index=0&id=e41dbfec&lang=less&scoped=true&\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../../../node_modules/less-loader/dist/cjs.js??ref--10-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MyHeader.vue?vue&type=style&index=0&id=36ae6cf9&lang=less&scoped=true&\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../../../node_modules/less-loader/dist/cjs.js??ref--10-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MyChat.vue?vue&type=style&index=0&id=c92e998c&lang=less&scoped=true&\""],"sourceRoot":""}
\ No newline at end of file
(function(t){function e(e){for(var a,i,s=e[0],l=e[1],c=e[2],p=0,d=[];p<s.length;p++)i=s[p],Object.prototype.hasOwnProperty.call(r,i)&&r[i]&&d.push(r[i][0]),r[i]=0;for(a in l)Object.prototype.hasOwnProperty.call(l,a)&&(t[a]=l[a]);u&&u(e);while(d.length)d.shift()();return o.push.apply(o,c||[]),n()}function n(){for(var t,e=0;e<o.length;e++){for(var n=o[e],a=!0,s=1;s<n.length;s++){var l=n[s];0!==r[l]&&(a=!1)}a&&(o.splice(e--,1),t=i(i.s=n[0]))}return t}var a={},r={app:0},o=[];function i(e){if(a[e])return a[e].exports;var n=a[e]={i:e,l:!1,exports:{}};return t[e].call(n.exports,n,n.exports,i),n.l=!0,n.exports}i.m=t,i.c=a,i.d=function(t,e,n){i.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},i.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},i.t=function(t,e){if(1&e&&(t=i(t)),8&e)return t;if(4&e&&"object"===typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(i.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var a in t)i.d(n,a,function(e){return t[e]}.bind(null,a));return n},i.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return i.d(e,"a",e),e},i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},i.p="/";var s=window["webpackJsonp"]=window["webpackJsonp"]||[],l=s.push.bind(s);s.push=e,s=s.slice();for(var c=0;c<s.length;c++)e(s[c]);var u=l;o.push([0,"chunk-vendors"]),n()})({0:function(t,e,n){t.exports=n("56d7")},"022e":function(t,e,n){"use strict";n("12df")},"12df":function(t,e,n){},"155e":function(t,e,n){},"16b4":function(t,e,n){},4084:function(t,e,n){},5096:function(t,e,n){"use strict";n("8e01")},"547c":function(t,e,n){"use strict";n("c7d0")},"56d7":function(t,e,n){"use strict";n.r(e);n("e260"),n("e6cf"),n("cca6"),n("a79d"),n("4de4");var a=n("2b0e"),r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("router-view")},o=[],i={name:"MyApp"},s=i,l=n("2877"),c=Object(l["a"])(s,r,o,!1,null,"633dd7d9",null),u=c.exports,p=n("8c4f"),d=["/home","/home/users","/home/pic"],m=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"login-container"},[n("div",{staticClass:"login-box"},[t._m(0),n("div",{staticClass:"form-login p-4"},[n("div",{staticClass:"form-group form-inline"},[n("label",{attrs:{for:"username"}},[t._v("登录名称")]),n("input",{directives:[{name:"model",rawName:"v-model.trim",value:t.username,expression:"username",modifiers:{trim:!0}}],staticClass:"form-control ml-2",attrs:{type:"text",id:"username",placeholder:"请输入登录名称",autocomplete:"off"},domProps:{value:t.username},on:{input:function(e){e.target.composing||(t.username=e.target.value.trim())},blur:function(e){return t.$forceUpdate()}}})]),n("div",{staticClass:"form-group form-inline"},[n("label",{attrs:{for:"password"}},[t._v("登录密码")]),n("input",{directives:[{name:"model",rawName:"v-model.trim",value:t.password,expression:"password",modifiers:{trim:!0}}],staticClass:"form-control ml-2",attrs:{type:"password",id:"password",placeholder:"请输入登录密码"},domProps:{value:t.password},on:{input:function(e){e.target.composing||(t.password=e.target.value.trim())},blur:function(e){return t.$forceUpdate()}}})]),n("div",{staticClass:"form-group form-inline d-flex justify-content-end"},[n("button",{staticClass:"btn btn-secondary mr-2",attrs:{type:"button"},on:{click:t.reset}},[t._v("重置")]),n("button",{staticClass:"btn btn-primary",attrs:{type:"button"},on:{click:t.login}},[t._v("登录")])])])])])},f=[function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"text-center avatar-box"},[a("img",{staticClass:"img-thumbnail avatar",attrs:{src:n("7678"),alt:"kwan的解忧杂货铺"}})])}],h={name:"MyLogin",data:function(){return{username:"",password:""}},methods:{reset:function(){this.username="",this.password=""},login:function(){"admin"===this.username&&"666688"===this.password?(localStorage.setItem("token","Bearer xxxx"),this.$router.push("/home")):localStorage.removeItem("token")}}},g=h,v=(n("547c"),Object(l["a"])(g,m,f,!1,null,"2d08abd9",null)),b=v.exports,_=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"home-container"},[n("el-row",[n("el-col",{attrs:{span:24}},[n("MyHeader")],1)],1),n("el-row",[n("el-col",{attrs:{span:3}},[n("MyAside")],1),n("el-col",{attrs:{span:21}},[n("router-view")],1)],1)],1)},y=[],w=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"layout-header-container d-flex justify-content-between align-items-center p-3"},[t._m(0),n("el-row",[n("el-col",{attrs:{inline:!0,span:24}},[n("el-button",{staticClass:"el-button-header",attrs:{type:"success",round:""},on:{click:t.myHome}},[t._v("我的主页")]),n("el-button",{staticClass:"el-button-header",attrs:{type:"primary",round:""},on:{click:t.logout}},[t._v("退出登录")])],1)],1)],1)},k=[function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"layout-header-left d-flex align-items-center user-select-none"},[a("img",{staticClass:"layout-header-left-img",attrs:{src:n("7678"),alt:""}}),a("h4",{staticClass:"layout-header-left-title ml-3"},[t._v("kwan的解忧杂货铺")])])}],C={name:"MyHeader",methods:{logout:function(){localStorage.removeItem("token"),this.$router.push("/login")},myHome:function(){window.open("http://qinyingjie.top/")}}},x=C,P=(n("9d40"),Object(l["a"])(x,w,k,!1,null,"36ae6cf9",null)),S=P.exports,$=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("el-menu",{staticClass:"layout-aside-container",attrs:{"default-active":"$route.path","background-color":"#fff","text-color":"#000","active-text-color":"#42b983"}},[n("router-link",{attrs:{to:"/home/chat"}},[n("el-menu-item",{staticClass:"left-aside-item",attrs:{index:"/chat"}},[n("i",{staticClass:"el-icon-chat-line-square"}),n("span",{attrs:{slot:"title"},slot:"title"},[t._v("对话管理")])])],1),n("router-link",{attrs:{to:"/home/pic"}},[n("el-menu-item",{staticClass:"left-aside-item",attrs:{index:"/pic"}},[n("i",{staticClass:"el-icon-setting"}),n("span",{attrs:{slot:"title"},slot:"title"},[t._v("图片管理")])])],1),n("router-link",{attrs:{to:"/home/users"}},[n("el-menu-item",{staticClass:"left-aside-item",attrs:{index:"/users"}},[n("i",{staticClass:"el-icon-user"}),n("span",{attrs:{slot:"title"},slot:"title"},[t._v("用户管理")])])],1),n("router-link",{attrs:{to:"/home/goods"}},[n("el-menu-item",{staticClass:"left-aside-item",attrs:{index:"/goods"}},[n("i",{staticClass:"el-icon-goods"}),n("span",{attrs:{slot:"title"},slot:"title"},[t._v("商品管理")])])],1),n("router-link",{attrs:{to:"/home/orders"}},[n("el-menu-item",{staticClass:"left-aside-item",attrs:{index:"/orders"}},[n("i",{staticClass:"el-icon-s-order"}),n("span",{attrs:{slot:"title"},slot:"title"},[t._v("订单管理")])])],1),n("router-link",{attrs:{to:"/home/settings"}},[n("el-menu-item",{staticClass:"left-aside-item",attrs:{index:"/settings"}},[n("i",{staticClass:"el-icon-setting"}),n("span",{attrs:{slot:"title"},slot:"title"},[t._v("系统设置")])])],1)],1)},O=[],j={name:"MyAside"},q=j,I=(n("7bce"),Object(l["a"])(q,$,O,!1,null,"3235a6cc",null)),M=I.exports,D={name:"MyHome",components:{MyHeader:S,MyAside:M}},E=D,T=(n("9547"),Object(l["a"])(E,_,y,!1,null,"e41dbfec",null)),R=T.exports,L=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("h4",{staticClass:"text-center"},[t._v("用户管理")]),n("table",{staticClass:"table table-bordered table-striped table-hover"},[t._m(0),n("tbody",t._l(t.userlist,(function(e){return n("tr",{key:e.id},[n("td",[t._v(t._s(e.id))]),n("td",[t._v(t._s(e.name))]),n("td",[t._v(t._s(e.age))]),n("td",[t._v(t._s(e.position))]),n("td",[n("a",{attrs:{href:"#"},on:{click:function(n){return n.preventDefault(),t.gotoDetail(e.id)}}},[t._v("详情")])])])})),0)])])},z=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("thead",[n("tr",[n("th",[t._v("序号")]),n("th",[t._v("姓名")]),n("th",[t._v("年龄")]),n("th",[t._v("头衔")]),n("th",[t._v("操作")])])])}],N={name:"MyUser",data:function(){return{userlist:[{id:1,name:"嬴政",age:18,position:"始皇帝"},{id:2,name:"李斯",age:35,position:"丞相"},{id:3,name:"吕不韦",age:50,position:"商人"},{id:4,name:"赵姬",age:48,position:"王太后"}]}},methods:{gotoDetail:function(t){this.$router.push("/home/userinfo/"+t)}}},U=N,H=Object(l["a"])(U,L,z,!1,null,"02f3073a",null),A=H.exports,B=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("el-container",[n("el-main",[n("el-select",{attrs:{placeholder:"请选择"},on:{change:t.queryPic},model:{value:t.picType,callback:function(e){t.picType=e},expression:"picType"}},t._l(t.options,(function(t){return n("el-option",{key:t.value,attrs:{label:t.label,value:t.value}})})),1),n("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],attrs:{border:"",data:t.picList}},[n("el-table-column",{attrs:{prop:"id",label:"序号",width:"100",sortable:""}}),n("el-table-column",{attrs:{prop:"picName",label:"图片名字",width:"240","show-overflow-tooltip":""}}),n("el-table-column",{attrs:{align:"center"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("img",{staticStyle:{cursor:"pointer"},attrs:{src:e.row.picUrl,alt:"图片",height:"100px"},on:{click:function(n){return t.showImageDialog(e.row.picUrl)}}})]}}])}),n("el-table-column",{attrs:{label:"创建时间",width:"170"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(" "+t._s(t._f("dateFormat")(e.row.createTime))+" ")]}}])})],1),n("el-dialog",{attrs:{visible:t.imageDialogVisible,width:"30%"},on:{"update:visible":function(e){t.imageDialogVisible=e}}},[n("img",{staticStyle:{width:"100%"},attrs:{src:t.enlargedImageUrl,alt:"放大图片"}})]),n("el-pagination",{key:t.elementui_page_component_key,staticClass:"pagination",attrs:{background:"","current-page":t.currentPage,"page-size":t.pageSize,total:t.total},on:{"update:currentPage":function(e){t.currentPage=e},"update:current-page":function(e){t.currentPage=e},"current-change":t.handleCurrentChange}})],1)],1)],1)},F=[],Q=n("1da1"),V=(n("96cf"),n("cee4")),Y={name:"MyPic",data:function(){return{picList:[],loading:!1,elementui_page_component_key:0,currentPage:1,pageSize:6,total:0,imageDialogVisible:!1,enlargedImageUrl:"",options:[{value:0,label:"宝宝照片"},{value:1,label:"学习照片"},{value:2,label:"风景照片"},{value:3,label:"美女照片"},{value:99,label:"其他照片"}],picType:0}},created:function(){this.queryPic()},methods:{showImageDialog:function(t){this.enlargedImageUrl=t,this.imageDialogVisible=!0},queryPic:function(){var t=this;return Object(Q["a"])(regeneratorRuntime.mark((function e(){var n,a;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t.loading=!0,e.next=3,V["a"].get("http://120.79.36.53:8888/picInfo/page",{params:{page:t.currentPage,pageSize:t.pageSize,picType:t.picType}});case 3:n=e.sent,a=n.data,200===a.code&&(t.picList=a.result.records,t.total=a.result.total),t.loading=!1;case 7:case"end":return e.stop()}}),e)})))()},handleCurrentChange:function(t){this.currentPage=t,this.queryPic()}}},G=Y,J=(n("5096"),Object(l["a"])(G,B,F,!1,null,"2a73445c",null)),K=J.exports,W=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("h4",{staticClass:"text-center"},[t._v("商品管理")])},X=[],Z={name:"MyGoods"},tt=Z,et=Object(l["a"])(tt,W,X,!1,null,"716085f0",null),nt=et.exports,at=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("h4",{staticClass:"text-center"},[t._v("订单管理")])},rt=[],ot={name:"MyOrders"},it=ot,st=Object(l["a"])(it,at,rt,!1,null,"3275af60",null),lt=st.exports,ct=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("el-container",[n("el-main",[n("el-form",{staticClass:"demo-form-inline",attrs:{inline:!0,model:t.formInline}},[n("el-form-item",[n("el-input",{attrs:{clearable:"",placeholder:"请输入问题"},nativeOn:{keydown:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.initCartList.apply(null,arguments)}},model:{value:t.formInline.question,callback:function(e){t.$set(t.formInline,"question",e)},expression:"formInline.question"}})],1),n("el-form-item",[n("el-button",{attrs:{type:"primary"},on:{click:t.initCartList}},[t._v("查询")])],1),n("el-form-item",[n("el-button",{attrs:{type:"primary"},on:{click:function(e){return e.preventDefault(),t.addChat.apply(null,arguments)}}},[t._v("新增")])],1)],1),n("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],attrs:{border:"",data:t.userlist}},[n("el-table-column",{attrs:{prop:"id",label:"序号",width:"100",sortable:""}}),n("el-table-column",{attrs:{prop:"question",label:"问题",width:"240","show-overflow-tooltip":""}}),n("el-table-column",{attrs:{prop:"response",label:"答案","show-overflow-tooltip":""}}),n("el-table-column",{attrs:{label:"创建时间",width:"170"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(" "+t._s(t._f("dateFormat")(e.row.createTime))+" ")]}}])}),n("el-table-column",{attrs:{prop:"详情",label:"详情",width:"180"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("el-button",{attrs:{type:"success"},on:{click:function(n){return n.preventDefault(),t.gotoDetail(e.row.id)}}},[t._v("详情")]),n("el-button",{attrs:{type:"danger"},on:{click:function(n){return t.onDelete(e.row.id)}}},[t._v("删除")])]}}])})],1),n("el-pagination",{key:t.elementui_page_component_key,staticClass:"pagination",attrs:{background:"","current-page":t.currentPage,"page-size":t.pageSize,total:t.total},on:{"update:currentPage":function(e){t.currentPage=e},"update:current-page":function(e){t.currentPage=e},"current-change":t.handleCurrentChange}})],1),n("el-backtop",{staticClass:"backtop"})],1)],1)},ut=[],pt=(n("a9e3"),{name:"MyChat",data:function(){return{userlist:[],loading:!1,elementui_page_component_key:0,currentPage:Number(localStorage.getItem("lastPage"))||1,pageSize:9,total:0,formInline:{question:""}}},watch:{"formInline.question":function(t){""===t&&(this.currentPage=1,localStorage.setItem("lastPage",this.currentPage),this.initCartList())}},created:function(){var t=this;this.$nextTick((function(){var e=t.$route.query.back,n=t.$route.query.add;"back"===e&&"add"!=n?(t.currentPage=Number(localStorage.getItem("lastPage"))||1,t.formInline.question=localStorage.getItem("lastQuestion")||""):(localStorage.setItem("lastPage",1),localStorage.setItem("lastQuestion",""),t.currentPage=1,t.formInline.question=""),t.initCartList()}))},mounted:function(){this.currentPage=Number(localStorage.getItem("lastPage"))||1,this.formInline.question=localStorage.getItem("lastQuestion"),this.elementui_page_component_key++},methods:{onDelete:function(t){var e=this;return Object(Q["a"])(regeneratorRuntime.mark((function n(){var a;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return e.loading=!0,n.next=3,V["a"].get("http://120.79.36.53:8888/chatbot/delete",{params:{id:t}});case 3:a=n.sent,a.data,e.initCartList(),e.loading=!1;case 7:case"end":return n.stop()}}),n)})))()},refreshPage:function(){location.reload()},gotoDetail:function(t){this.$router.push("/home/chatinfo/"+t)},addChat:function(){this.$router.push("/home/addChat/")},initCartList:function(){var t=this;return Object(Q["a"])(regeneratorRuntime.mark((function e(){var n,a;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t.loading=!0,e.next=3,V["a"].get("http://120.79.36.53:8888/chatbot/page",{params:{page:t.currentPage,pageSize:t.pageSize,question:t.formInline.question}});case 3:n=e.sent,a=n.data,200===a.code&&(t.userlist=a.result.records,t.total=a.result.total,localStorage.setItem("lastPage",t.currentPage),localStorage.setItem("lastQuestion",t.formInline.question)),t.loading=!1;case 7:case"end":return e.stop()}}),e)})))()},handleCurrentChange:function(t){this.currentPage=t,this.initCartList()}}}),dt=pt,mt=(n("c124"),Object(l["a"])(dt,ct,ut,!1,null,"c92e998c",null)),ft=mt.exports,ht=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("h4",{staticClass:"text-center"},[t._v("系统设置")])},gt=[],vt={name:"MySettings"},bt=vt,_t=Object(l["a"])(bt,ht,gt,!1,null,"accd7558",null),yt=_t.exports,wt=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("button",{staticClass:"btn btn-light btn-sm",attrs:{type:"button"},on:{click:function(e){return t.$router.back()}}},[t._v("后退")]),n("h4",{staticClass:"text-center"},[t._v("用户详情 --- "+t._s(t.id))])])},kt=[],Ct={name:"MyUserDetail",props:["id"]},xt=Ct,Pt=Object(l["a"])(xt,wt,kt,!1,null,"bea9073a",null),St=Pt.exports,$t=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("el-button",{attrs:{type:"primary",plain:"",size:"medium"},on:{click:t.goBack}},[t._v("后退")]),n("h4",{staticClass:"text-center"},[t._v("ChatGpt问答详情 --- "+t._s(t.id))]),n("el-container",[n("el-main",[n("el-table",{attrs:{border:"",data:t.list}},[n("el-table-column",{attrs:{label:"序号",width:"50"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",[t._v(t._s(e.row.id))])]}}])}),n("el-table-column",{attrs:{label:"问题",width:"240"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",[t._v(t._s(e.row.question))])]}}])}),n("el-table-column",{attrs:{label:"回答"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",{attrs:{id:"td-response"}},[t._v(t._s(e.row.response))])]}}])}),n("el-table-column",{attrs:{label:"创建时间",width:"170"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",[t._v(t._s(t._f("dateFormat")(e.row.createTime)))])]}}])})],1)],1)],1),n("div",{staticClass:"button-container"},[n("el-button",{attrs:{type:"primary",round:""},on:{click:t.copyCode}},[t._v("复制回答")])],1)],1)},Ot=[],jt={name:"MyChatDetail",props:["id"],data:function(){return{list:[]}},created:function(){this.initChatList()},methods:{goBack:function(){var t={back:"back"};this.$router.push({path:"/home/chat",query:t})},initChatList:function(){var t=this;return Object(Q["a"])(regeneratorRuntime.mark((function e(){var n,a;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,V["a"].get("http://120.79.36.53:8888/chatbot/"+t.id);case 2:n=e.sent,a=n.data,200===a.code&&(t.list=[{id:a.result.id,question:a.result.question,response:a.result.response,createTime:a.result.createTime}]);case 5:case"end":return e.stop()}}),e)})))()},copyCode:function(){var t=document.getElementById("td-response"),e=document.createRange();e.selectNode(t);var n=window.getSelection();n.removeAllRanges(),n.addRange(e),document.execCommand("copy"),n.removeAllRanges(),this.$message.success("代码已复制到剪贴板")}}},qt=jt,It=(n("022e"),Object(l["a"])(qt,$t,Ot,!1,null,"9d5d30a4",null)),Mt=It.exports,Dt=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("el-button",{attrs:{type:"primary",plain:"",size:"medium"},on:{click:t.goBack}},[t._v("后退")]),n("h4",{staticClass:"text-center"},[t._v("新增ChatGpt问答")]),n("el-container",{staticClass:"container"},[n("el-form",{ref:"form",attrs:{model:t.form,"label-width":"80px"}},[n("el-form-item",{attrs:{label:"问题"}},[n("el-input",{model:{value:t.form.question,callback:function(e){t.$set(t.form,"question",e)},expression:"form.question"}})],1),n("el-form-item",{attrs:{label:"答案"}},[n("el-input",{attrs:{type:"textarea"},model:{value:t.form.response,callback:function(e){t.$set(t.form,"response",e)},expression:"form.response"}})],1),n("el-form-item",[n("el-button",{attrs:{type:"primary"},on:{click:t.onSubmit}},[t._v("立即创建")]),n("el-button",{on:{click:t.clearContent}},[t._v("取消")])],1)],1)],1)],1)},Et=[],Tt={name:"AddChatDetail",data:function(){return{form:{question:"",response:""}}},methods:{clearContent:function(){this.form.question="",this.form.response=""},onSubmit:function(){var t=this;return Object(Q["a"])(regeneratorRuntime.mark((function e(){var n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:n={question:t.form.question,response:t.form.response},V["a"].post("http://120.79.36.53:8888/chatbot",n).then((function(e){200===e.data.code&&(t.$message.success({message:"问题和答案新增成功",duration:1e3}),t.goBack())})).catch((function(e){t.$message.error("系统异常")}));case 2:case"end":return e.stop()}}),e)})))()},goBack:function(){var t={back:"back",add:"add"};this.$router.push({path:"/home/chat",query:t})}}},Rt=Tt,Lt=(n("66f9"),Object(l["a"])(Rt,Dt,Et,!1,null,"ddc6c3e0",null)),zt=Lt.exports;a["default"].use(p["a"]);var Nt=new p["a"]({routes:[{path:"/",redirect:"/login"},{path:"/login",component:b},{path:"/home",component:R,redirect:"/home/chat",children:[{path:"users",component:A},{path:"pic",component:K},{path:"goods",component:nt},{path:"orders",component:lt},{path:"chat",component:ft},{path:"settings",component:yt},{path:"userinfo/:id",component:St,props:!0},{path:"chatinfo/:id",component:Mt,props:!0},{path:"addChat",component:zt}]}]});Nt.beforeEach((function(t,e,n){if(-1!==d.indexOf(t.path)){var a=localStorage.getItem("token");a?n():n("/login")}else n()}));var Ut=Nt,Ht=n("5c96"),At=n.n(Ht),Bt=(n("0fae"),n("16b4"),n("a766"),n("5a0c")),Ft=n.n(Bt);a["default"].prototype.$dayjs=Ft.a,a["default"].filter("dateFormat",(function(t){var e=Ft()(t).format("YYYY-MM-DD HH:mm:ss");return e})),a["default"].use(At.a),a["default"].config.productionTip=!1,new a["default"]({render:function(t){return t(u)},router:Ut}).$mount("#app")},"66f9":function(t,e,n){"use strict";n("155e")},7678:function(t,e,n){t.exports=n.p+"img/kwan.80e90605.png"},"7bce":function(t,e,n){"use strict";n("c20a")},"7ee9":function(t,e,n){},"8e01":function(t,e,n){},9547:function(t,e,n){"use strict";n("4084")},"9d40":function(t,e,n){"use strict";n("7ee9")},a766:function(t,e,n){},c124:function(t,e,n){"use strict";n("e157")},c20a:function(t,e,n){},c7d0:function(t,e,n){},e157:function(t,e,n){}});
//# sourceMappingURL=app.8dff95dc.js.map
\ No newline at end of file
{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/components/user/MyChatDetail.vue?fa3c","webpack:///./src/components/menus/MyPic.vue?37e4","webpack:///./src/components/MyLogin.vue?c070","webpack:///./src/App.vue?77b2","webpack:///src/App.vue","webpack:///./src/App.vue?a7d1","webpack:///./src/App.vue","webpack:///./src/router/pathArr.js","webpack:///./src/components/MyLogin.vue?1bc0","webpack:///src/components/MyLogin.vue","webpack:///./src/components/MyLogin.vue?f50e","webpack:///./src/components/MyLogin.vue","webpack:///./src/components/MyHome.vue?4056","webpack:///./src/components/subcomponents/MyHeader.vue?8333","webpack:///src/components/subcomponents/MyHeader.vue","webpack:///./src/components/subcomponents/MyHeader.vue?ceba","webpack:///./src/components/subcomponents/MyHeader.vue","webpack:///./src/components/subcomponents/MyAside.vue?a909","webpack:///src/components/subcomponents/MyAside.vue","webpack:///./src/components/subcomponents/MyAside.vue?3148","webpack:///./src/components/subcomponents/MyAside.vue","webpack:///src/components/MyHome.vue","webpack:///./src/components/MyHome.vue?49f1","webpack:///./src/components/MyHome.vue","webpack:///./src/components/menus/MyUsers.vue?cc07","webpack:///src/components/menus/MyUsers.vue","webpack:///./src/components/menus/MyUsers.vue?aaff","webpack:///./src/components/menus/MyUsers.vue","webpack:///./src/components/menus/MyPic.vue?27dd","webpack:///src/components/menus/MyPic.vue","webpack:///./src/components/menus/MyPic.vue?d12b","webpack:///./src/components/menus/MyPic.vue","webpack:///./src/components/menus/MyGoods.vue?0268","webpack:///src/components/menus/MyGoods.vue","webpack:///./src/components/menus/MyGoods.vue?1bdc","webpack:///./src/components/menus/MyGoods.vue","webpack:///./src/components/menus/MyOrders.vue?d379","webpack:///src/components/menus/MyOrders.vue","webpack:///./src/components/menus/MyOrders.vue?c40e","webpack:///./src/components/menus/MyOrders.vue","webpack:///./src/components/menus/MyChat.vue?c0f7","webpack:///src/components/menus/MyChat.vue","webpack:///./src/components/menus/MyChat.vue?6c66","webpack:///./src/components/menus/MyChat.vue","webpack:///./src/components/menus/MySettings.vue?a7ad","webpack:///src/components/menus/MySettings.vue","webpack:///./src/components/menus/MySettings.vue?493c","webpack:///./src/components/menus/MySettings.vue","webpack:///./src/components/user/MyUserDetail.vue?b127","webpack:///src/components/user/MyUserDetail.vue","webpack:///./src/components/user/MyUserDetail.vue?144f","webpack:///./src/components/user/MyUserDetail.vue","webpack:///./src/components/user/MyChatDetail.vue?cfb0","webpack:///src/components/user/MyChatDetail.vue","webpack:///./src/components/user/MyChatDetail.vue?30e0","webpack:///./src/components/user/MyChatDetail.vue","webpack:///./src/components/user/AddChatDetail.vue?f9d7","webpack:///src/components/user/AddChatDetail.vue","webpack:///./src/components/user/AddChatDetail.vue?a1f7","webpack:///./src/components/user/AddChatDetail.vue","webpack:///./src/router/index.js","webpack:///./src/main.js","webpack:///./src/components/user/AddChatDetail.vue?6d06","webpack:///./src/assets/kwan.png","webpack:///./src/components/subcomponents/MyAside.vue?c4bb","webpack:///./src/components/MyHome.vue?0c7a","webpack:///./src/components/subcomponents/MyHeader.vue?7b23","webpack:///./src/components/menus/MyChat.vue?5bc5"],"names":["webpackJsonpCallback","data","moduleId","chunkId","chunkIds","moreModules","executeModules","i","resolves","length","Object","prototype","hasOwnProperty","call","installedChunks","push","modules","parentJsonpFunction","shift","deferredModules","apply","checkDeferredModules","result","deferredModule","fulfilled","j","depId","splice","__webpack_require__","s","installedModules","exports","module","l","m","c","d","name","getter","o","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","p","jsonpArray","window","oldJsonpFunction","slice","_vm","this","_h","$createElement","_c","_self","staticRenderFns","component","staticClass","_m","attrs","_v","directives","rawName","expression","modifiers","domProps","on","$event","target","composing","username","trim","$forceUpdate","password","reset","login","myHome","logout","slot","_l","item","id","_s","age","position","preventDefault","gotoDetail","queryPic","model","callback","$$v","picType","label","picList","scopedSlots","_u","fn","props","staticStyle","row","picUrl","showImageDialog","_f","createTime","imageDialogVisible","enlargedImageUrl","elementui_page_component_key","currentPage","pageSize","total","handleCurrentChange","formInline","nativeOn","type","indexOf","_k","keyCode","initCartList","arguments","$set","addChat","userlist","onDelete","$router","back","goBack","list","scope","question","response","copyCode","ref","form","onSubmit","clearContent","Vue","use","VueRouter","router","routes","path","redirect","Login","Home","children","Users","Pic","Goods","Orders","Chat","Settings","UserDetail","MyChatDetail","AddChatDetail","beforeEach","to","from","next","pathArr","token","localStorage","getItem","$dayjs","dayjs","filter","time","dtStr","format","ElementUI","config","productionTip","render","h","App","$mount"],"mappings":"aACE,SAASA,EAAqBC,GAQ7B,IAPA,IAMIC,EAAUC,EANVC,EAAWH,EAAK,GAChBI,EAAcJ,EAAK,GACnBK,EAAiBL,EAAK,GAIHM,EAAI,EAAGC,EAAW,GACpCD,EAAIH,EAASK,OAAQF,IACzBJ,EAAUC,EAASG,GAChBG,OAAOC,UAAUC,eAAeC,KAAKC,EAAiBX,IAAYW,EAAgBX,IACpFK,EAASO,KAAKD,EAAgBX,GAAS,IAExCW,EAAgBX,GAAW,EAE5B,IAAID,KAAYG,EACZK,OAAOC,UAAUC,eAAeC,KAAKR,EAAaH,KACpDc,EAAQd,GAAYG,EAAYH,IAG/Be,GAAqBA,EAAoBhB,GAE5C,MAAMO,EAASC,OACdD,EAASU,OAATV,GAOD,OAHAW,EAAgBJ,KAAKK,MAAMD,EAAiBb,GAAkB,IAGvDe,IAER,SAASA,IAER,IADA,IAAIC,EACIf,EAAI,EAAGA,EAAIY,EAAgBV,OAAQF,IAAK,CAG/C,IAFA,IAAIgB,EAAiBJ,EAAgBZ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AUC,GAMjC,IAAMC,EAAQH,KAAME,GAAME,OAAO,uBACjC,OAAOD,KAET/B,aAAIC,IAAIgC,MACRjC,aAAIkC,OAAOC,eAAgB,EAE3B,IAAInC,aAAI,CACNoC,OAAQ,SAAAC,GAAC,OAAIA,EAAEC,IACfnC,YACCoC,OAAO,S,oCC9BV,W,qBCAA3J,EAAOD,QAAU,IAA0B,yB,oCCA3C,W,oFCAA,W,oCCAA,W,yDCAA,W","file":"js/app.8dff95dc.js","sourcesContent":[" \t// install a JSONP callback for chunk loading\n \tfunction webpackJsonpCallback(data) {\n \t\tvar chunkIds = data[0];\n \t\tvar moreModules = data[1];\n \t\tvar executeModules = data[2];\n\n \t\t// add \"moreModules\" to the modules object,\n \t\t// then flag all \"chunkIds\" as loaded and fire callback\n \t\tvar moduleId, chunkId, i = 0, resolves = [];\n \t\tfor(;i < chunkIds.length; i++) {\n \t\t\tchunkId = chunkIds[i];\n \t\t\tif(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) {\n \t\t\t\tresolves.push(installedChunks[chunkId][0]);\n \t\t\t}\n \t\t\tinstalledChunks[chunkId] = 0;\n \t\t}\n \t\tfor(moduleId in moreModules) {\n \t\t\tif(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {\n \t\t\t\tmodules[moduleId] = moreModules[moduleId];\n \t\t\t}\n \t\t}\n \t\tif(parentJsonpFunction) parentJsonpFunction(data);\n\n \t\twhile(resolves.length) {\n \t\t\tresolves.shift()();\n \t\t}\n\n \t\t// add entry modules from loaded chunk to deferred list\n \t\tdeferredModules.push.apply(deferredModules, executeModules || []);\n\n \t\t// run deferred modules when all chunks ready\n \t\treturn checkDeferredModules();\n \t};\n \tfunction checkDeferredModules() {\n \t\tvar result;\n \t\tfor(var i = 0; i < deferredModules.length; i++) {\n \t\t\tvar deferredModule = deferredModules[i];\n \t\t\tvar fulfilled = true;\n \t\t\tfor(var j = 1; j < deferredModule.length; j++) {\n \t\t\t\tvar depId = deferredModule[j];\n \t\t\t\tif(installedChunks[depId] !== 0) fulfilled = false;\n \t\t\t}\n \t\t\tif(fulfilled) {\n \t\t\t\tdeferredModules.splice(i--, 1);\n \t\t\t\tresult = __webpack_require__(__webpack_require__.s = deferredModule[0]);\n \t\t\t}\n \t\t}\n\n \t\treturn result;\n \t}\n\n \t// The module cache\n \tvar installedModules = {};\n\n \t// object to store loaded and loading chunks\n \t// undefined = chunk not loaded, null = chunk preloaded/prefetched\n \t// Promise = chunk loading, 0 = chunk loaded\n \tvar installedChunks = {\n \t\t\"app\": 0\n \t};\n\n \tvar deferredModules = [];\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"/\";\n\n \tvar jsonpArray = window[\"webpackJsonp\"] = window[\"webpackJsonp\"] || [];\n \tvar oldJsonpFunction = jsonpArray.push.bind(jsonpArray);\n \tjsonpArray.push = webpackJsonpCallback;\n \tjsonpArray = jsonpArray.slice();\n \tfor(var i = 0; i < jsonpArray.length; i++) webpackJsonpCallback(jsonpArray[i]);\n \tvar parentJsonpFunction = oldJsonpFunction;\n\n\n \t// add entry module to deferred list\n \tdeferredModules.push([0,\"chunk-vendors\"]);\n \t// run deferred modules when ready\n \treturn checkDeferredModules();\n","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../../../node_modules/less-loader/dist/cjs.js??ref--10-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MyChatDetail.vue?vue&type=style&index=0&id=9d5d30a4&lang=less&scoped=true&\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../../../node_modules/less-loader/dist/cjs.js??ref--10-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MyPic.vue?vue&type=style&index=0&id=2a73445c&lang=less&scoped=true&\"","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../../node_modules/less-loader/dist/cjs.js??ref--10-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MyLogin.vue?vue&type=style&index=0&id=2d08abd9&lang=less&scoped=true&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('router-view')}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n\t<!-- 占位符 -->\n\t<router-view></router-view>\n</template>\n\n<script>\nexport default {\n name: 'MyApp',\n}\n</script>\n\n<style lang=\"less\" scoped></style>","import mod from \"-!../node_modules/cache-loader/dist/cjs.js??ref--12-0!../node_modules/thread-loader/dist/cjs.js!../node_modules/babel-loader/lib/index.js!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../node_modules/cache-loader/dist/cjs.js??ref--12-0!../node_modules/thread-loader/dist/cjs.js!../node_modules/babel-loader/lib/index.js!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./App.vue?vue&type=template&id=633dd7d9&scoped=true&\"\nimport script from \"./App.vue?vue&type=script&lang=js&\"\nexport * from \"./App.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"633dd7d9\",\n null\n \n)\n\nexport default component.exports","export default['/home', '/home/users', '/home/pic']\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"login-container\"},[_c('div',{staticClass:\"login-box\"},[_vm._m(0),_c('div',{staticClass:\"form-login p-4\"},[_c('div',{staticClass:\"form-group form-inline\"},[_c('label',{attrs:{\"for\":\"username\"}},[_vm._v(\"登录名称\")]),_c('input',{directives:[{name:\"model\",rawName:\"v-model.trim\",value:(_vm.username),expression:\"username\",modifiers:{\"trim\":true}}],staticClass:\"form-control ml-2\",attrs:{\"type\":\"text\",\"id\":\"username\",\"placeholder\":\"请输入登录名称\",\"autocomplete\":\"off\"},domProps:{\"value\":(_vm.username)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.username=$event.target.value.trim()},\"blur\":function($event){return _vm.$forceUpdate()}}})]),_c('div',{staticClass:\"form-group form-inline\"},[_c('label',{attrs:{\"for\":\"password\"}},[_vm._v(\"登录密码\")]),_c('input',{directives:[{name:\"model\",rawName:\"v-model.trim\",value:(_vm.password),expression:\"password\",modifiers:{\"trim\":true}}],staticClass:\"form-control ml-2\",attrs:{\"type\":\"password\",\"id\":\"password\",\"placeholder\":\"请输入登录密码\"},domProps:{\"value\":(_vm.password)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.password=$event.target.value.trim()},\"blur\":function($event){return _vm.$forceUpdate()}}})]),_c('div',{staticClass:\"form-group form-inline d-flex justify-content-end\"},[_c('button',{staticClass:\"btn btn-secondary mr-2\",attrs:{\"type\":\"button\"},on:{\"click\":_vm.reset}},[_vm._v(\"重置\")]),_c('button',{staticClass:\"btn btn-primary\",attrs:{\"type\":\"button\"},on:{\"click\":_vm.login}},[_vm._v(\"登录\")])])])])])}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"text-center avatar-box\"},[_c('img',{staticClass:\"img-thumbnail avatar\",attrs:{\"src\":require(\"../assets/kwan.png\"),\"alt\":\"kwan的解忧杂货铺\"}})])}]\n\nexport { render, staticRenderFns }","<template>\n\t<div class=\"login-container\">\n\t\t<div class=\"login-box\">\n\t\t\t<!-- 头像区域 -->\n\t\t\t<div class=\"text-center avatar-box\">\n\t\t\t\t<img src=\"../assets/kwan.png\" class=\"img-thumbnail avatar\" alt=\"kwan的解忧杂货铺\" />\n\t\t\t</div>\n\n\t\t\t<!-- 表单区域 -->\n\t\t\t<div class=\"form-login p-4\">\n\t\t\t\t<!-- 登录名称 -->\n\t\t\t\t<div class=\"form-group form-inline\">\n\t\t\t\t\t<label for=\"username\">登录名称</label>\n\t\t\t\t\t<input type=\"text\" class=\"form-control ml-2\" id=\"username\" placeholder=\"请输入登录名称\" autocomplete=\"off\" v-model.trim=\"username\" />\n\t\t\t\t</div>\n\t\t\t\t<!-- 登录密码 -->\n\t\t\t\t<div class=\"form-group form-inline\">\n\t\t\t\t\t<label for=\"password\">登录密码</label>\n\t\t\t\t\t<input type=\"password\" class=\"form-control ml-2\" id=\"password\" placeholder=\"请输入登录密码\" v-model.trim=\"password\" />\n\t\t\t\t</div>\n\t\t\t\t<!-- 登录和重置按钮 -->\n\t\t\t\t<div class=\"form-group form-inline d-flex justify-content-end\">\n\t\t\t\t\t<button type=\"button\" class=\"btn btn-secondary mr-2\" @click=\"reset\">重置</button>\n\t\t\t\t\t<button type=\"button\" class=\"btn btn-primary\" @click=\"login\">登录</button>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t</div>\n\t</div>\n</template>\n\n<script>\nexport default {\n name: 'MyLogin',\n data() {\n return {\n username: '',\n password: '',\n }\n },\n methods: {\n reset() {\n this.username = ''\n this.password = ''\n },\n login() {\n if (this.username === 'admin' && this.password === '666688') {\n // 登录成功\n // 1. 存储 token\n localStorage.setItem('token', 'Bearer xxxx')\n // 2. 跳转到后台主页\n this.$router.push('/home')\n } else {\n // 登录失败\n localStorage.removeItem('token')\n }\n },\n },\n}\n</script>\n\n<style lang=\"less\" scoped>\n.login-container {\n\tbackground-color: #35495e;\n\theight: 100%;\n\t.login-box {\n\t\twidth: 400px;\n\t\theight: 250px;\n\t\tbackground-color: #fff;\n\t\tborder-radius: 3px;\n\t\tposition: absolute;\n\t\tleft: 50%;\n\t\ttop: 50%;\n\t\ttransform: translate(-50%, -50%);\n\t\tbox-shadow: 0 0 6px rgba(255, 255, 255, 0.5);\n\t\t.form-login {\n\t\t\tposition: absolute;\n\t\t\tbottom: 0;\n\t\t\tleft: 0;\n\t\t\twidth: 100%;\n\t\t\tbox-sizing: border-box;\n\t\t}\n\t}\n}\n\n.form-control {\n\tflex: 1;\n}\n\n.avatar-box {\n\tposition: absolute;\n\twidth: 100%;\n\ttop: -65px;\n\tleft: 0;\n\t.avatar {\n\t\twidth: 120px;\n\t\theight: 120px;\n\t\tborder-radius: 50% !important;\n\t\tbox-shadow: 0 0 6px #efefef;\n\t}\n}\n</style>","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MyLogin.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MyLogin.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./MyLogin.vue?vue&type=template&id=2d08abd9&scoped=true&\"\nimport script from \"./MyLogin.vue?vue&type=script&lang=js&\"\nexport * from \"./MyLogin.vue?vue&type=script&lang=js&\"\nimport style0 from \"./MyLogin.vue?vue&type=style&index=0&id=2d08abd9&lang=less&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"2d08abd9\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"home-container\"},[_c('el-row',[_c('el-col',{attrs:{\"span\":24}},[_c('MyHeader')],1)],1),_c('el-row',[_c('el-col',{attrs:{\"span\":3}},[_c('MyAside')],1),_c('el-col',{attrs:{\"span\":21}},[_c('router-view')],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"layout-header-container d-flex justify-content-between align-items-center p-3\"},[_vm._m(0),_c('el-row',[_c('el-col',{attrs:{\"inline\":true,\"span\":24}},[_c('el-button',{staticClass:\"el-button-header\",attrs:{\"type\":\"success\",\"round\":\"\"},on:{\"click\":_vm.myHome}},[_vm._v(\"我的主页\")]),_c('el-button',{staticClass:\"el-button-header\",attrs:{\"type\":\"primary\",\"round\":\"\"},on:{\"click\":_vm.logout}},[_vm._v(\"退出登录\")])],1)],1)],1)}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"layout-header-left d-flex align-items-center user-select-none\"},[_c('img',{staticClass:\"layout-header-left-img\",attrs:{\"src\":require(\"../../assets/kwan.png\"),\"alt\":\"\"}}),_c('h4',{staticClass:\"layout-header-left-title ml-3\"},[_vm._v(\"kwan的解忧杂货铺\")])])}]\n\nexport { render, staticRenderFns }","<template>\n\t<div class=\"layout-header-container d-flex justify-content-between align-items-center p-3\">\n\t\t<!-- 左侧 logo 和 标题区域 -->\n\t\t<div class=\"layout-header-left d-flex align-items-center user-select-none\">\n\t\t\t<!-- logo -->\n\t\t\t<img class=\"layout-header-left-img\" src=\"../../assets/kwan.png\" alt=\"\" />\n\t\t\t<!-- 标题 -->\n\t\t\t<h4 class=\"layout-header-left-title ml-3\">kwan的解忧杂货铺</h4>\n\t\t</div>\n\t\t<el-row>\n\t\t\t<el-col :inline=\"true\" :span=\"24\">\n\t\t\t\t<el-button class=\"el-button-header\" type=\"success\" round @click=\"myHome\">我的主页</el-button>\n\t\t\t\t<el-button class=\"el-button-header\" type=\"primary\" round @click=\"logout\">退出登录</el-button>\n\t\t\t</el-col>\n\t\t</el-row>\n\t</div>\n</template>\n\n<script>\nexport default {\n name: 'MyHeader',\n methods: {\n logout() {\n // 1. 清空 token\n localStorage.removeItem('token')\n // 2. 跳转到登录页面\n this.$router.push('/login')\n },\n myHome() {\n // 新页面打开\n window.open('http://qinyingjie.top/')\n // 当前页面打开\n // window.location.href = \"http://qinyingjie.top/\";\n },\n },\n}\n</script>\n\n<style lang=\"less\" scoped>\n.layout-header-container {\n\theight: 60px;\n\tborder-bottom: 1px solid #eaeaea;\n}\n\n.layout-header-left-img {\n\theight: 50px;\n}\n</style>","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MyHeader.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MyHeader.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./MyHeader.vue?vue&type=template&id=36ae6cf9&scoped=true&\"\nimport script from \"./MyHeader.vue?vue&type=script&lang=js&\"\nexport * from \"./MyHeader.vue?vue&type=script&lang=js&\"\nimport style0 from \"./MyHeader.vue?vue&type=style&index=0&id=36ae6cf9&lang=less&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"36ae6cf9\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('el-menu',{staticClass:\"layout-aside-container\",attrs:{\"default-active\":\"$route.path\",\"background-color\":\"#fff\",\"text-color\":\"#000\",\"active-text-color\":\"#42b983\"}},[_c('router-link',{attrs:{\"to\":\"/home/chat\"}},[_c('el-menu-item',{staticClass:\"left-aside-item\",attrs:{\"index\":\"/chat\"}},[_c('i',{staticClass:\"el-icon-chat-line-square\"}),_c('span',{attrs:{\"slot\":\"title\"},slot:\"title\"},[_vm._v(\"对话管理\")])])],1),_c('router-link',{attrs:{\"to\":\"/home/pic\"}},[_c('el-menu-item',{staticClass:\"left-aside-item\",attrs:{\"index\":\"/pic\"}},[_c('i',{staticClass:\"el-icon-setting\"}),_c('span',{attrs:{\"slot\":\"title\"},slot:\"title\"},[_vm._v(\"图片管理\")])])],1),_c('router-link',{attrs:{\"to\":\"/home/users\"}},[_c('el-menu-item',{staticClass:\"left-aside-item\",attrs:{\"index\":\"/users\"}},[_c('i',{staticClass:\"el-icon-user\"}),_c('span',{attrs:{\"slot\":\"title\"},slot:\"title\"},[_vm._v(\"用户管理\")])])],1),_c('router-link',{attrs:{\"to\":\"/home/goods\"}},[_c('el-menu-item',{staticClass:\"left-aside-item\",attrs:{\"index\":\"/goods\"}},[_c('i',{staticClass:\"el-icon-goods\"}),_c('span',{attrs:{\"slot\":\"title\"},slot:\"title\"},[_vm._v(\"商品管理\")])])],1),_c('router-link',{attrs:{\"to\":\"/home/orders\"}},[_c('el-menu-item',{staticClass:\"left-aside-item\",attrs:{\"index\":\"/orders\"}},[_c('i',{staticClass:\"el-icon-s-order\"}),_c('span',{attrs:{\"slot\":\"title\"},slot:\"title\"},[_vm._v(\"订单管理\")])])],1),_c('router-link',{attrs:{\"to\":\"/home/settings\"}},[_c('el-menu-item',{staticClass:\"left-aside-item\",attrs:{\"index\":\"/settings\"}},[_c('i',{staticClass:\"el-icon-setting\"}),_c('span',{attrs:{\"slot\":\"title\"},slot:\"title\"},[_vm._v(\"系统设置\")])])],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n\t<el-menu default-active=\"$route.path\" class=\"layout-aside-container\" background-color=\"#fff\" text-color=\"#000\" active-text-color=\"#42b983\">\n\t\t<router-link to=\"/home/chat\">\n\t\t\t<el-menu-item index=\"/chat\" class=\"left-aside-item\">\n\t\t\t\t<i class=\"el-icon-chat-line-square\"></i>\n\t\t\t\t<span slot=\"title\">对话管理</span>\n\t\t\t</el-menu-item>\n\t\t</router-link>\n\t\t<router-link to=\"/home/pic\">\n\t\t\t<el-menu-item index=\"/pic\" class=\"left-aside-item\">\n\t\t\t\t<i class=\"el-icon-setting\"></i>\n\t\t\t\t<span slot=\"title\">图片管理</span>\n\t\t\t</el-menu-item>\n\t\t</router-link>\n\t\t<router-link to=\"/home/users\">\n\t\t\t<el-menu-item index=\"/users\" class=\"left-aside-item\">\n\t\t\t\t<i class=\"el-icon-user\"></i>\n\t\t\t\t<span slot=\"title\">用户管理</span>\n\t\t\t</el-menu-item>\n\t\t</router-link>\n\t\t<router-link to=\"/home/goods\">\n\t\t\t<el-menu-item index=\"/goods\" class=\"left-aside-item\">\n\t\t\t\t<i class=\"el-icon-goods\"></i>\n\t\t\t\t<span slot=\"title\">商品管理</span>\n\t\t\t</el-menu-item>\n\t\t</router-link>\n\t\t<router-link to=\"/home/orders\">\n\t\t\t<el-menu-item index=\"/orders\" class=\"left-aside-item\">\n\t\t\t\t<i class=\"el-icon-s-order\"></i>\n\t\t\t\t<span slot=\"title\">订单管理</span>\n\t\t\t</el-menu-item>\n\t\t</router-link>\n\t\t<router-link to=\"/home/settings\">\n\t\t\t<el-menu-item index=\"/settings\" class=\"left-aside-item\">\n\t\t\t\t<i class=\"el-icon-setting\"></i>\n\t\t\t\t<span slot=\"title\">系统设置</span>\n\t\t\t</el-menu-item>\n\t\t</router-link>\n\t</el-menu>\n</template>\n<script>\nexport default { name: 'MyAside' }\n</script>\n\n<style lang=\"less\" scoped>\n.layout-aside-container {\n\twidth: 250px;\n\theight: 100%;\n\tborder-right: 1px solid #eaeaea;\n}\n\n.left-aside-item {\n\tfont-size: 20px;\n}\n</style>","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MyAside.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MyAside.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./MyAside.vue?vue&type=template&id=3235a6cc&scoped=true&\"\nimport script from \"./MyAside.vue?vue&type=script&lang=js&\"\nexport * from \"./MyAside.vue?vue&type=script&lang=js&\"\nimport style0 from \"./MyAside.vue?vue&type=style&index=0&id=3235a6cc&lang=less&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"3235a6cc\",\n null\n \n)\n\nexport default component.exports","<template>\n\t<div class=\"home-container\">\n\t\t<el-row>\n\t\t\t<el-col :span=\"24\">\n\t\t\t\t<!-- 头部区域 -->\n\t\t\t\t<MyHeader></MyHeader>\n\t\t\t</el-col>\n\t\t</el-row>\n\t\t<el-row>\n\t\t\t<el-col :span=\"3\">\n\t\t\t\t<!-- 左侧边栏 -->\n\t\t\t\t<MyAside></MyAside>\n\t\t\t</el-col>\n\t\t\t<el-col :span=\"21\">\n\t\t\t\t<!-- 主体区域 -->\n\t\t\t\t<router-view></router-view>\n\t\t\t</el-col>\n\t\t</el-row>\n\t</div>\n</template>\n\n<script>\n// 头部区域组件\nimport MyHeader from './subcomponents/MyHeader.vue'\n// 左侧边栏组件\nimport MyAside from './subcomponents/MyAside.vue'\nexport default {\n name: 'MyHome',\n // 注册组件\n components: {\n MyHeader,\n MyAside,\n },\n}\n</script>\n\n<style lang=\"less\" scoped>\n.home-container {\n\theight: 100%;\n\tdisplay: flex;\n\tflex-direction: column;\n\n\t.home-main-box {\n\t\theight: 100%;\n\t\tdisplay: flex;\n\t\t.home-main-body {\n\t\t\tpadding: 15px;\n\t\t\tflex: 1;\n\t\t}\n\t}\n}\n</style>","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MyHome.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MyHome.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./MyHome.vue?vue&type=template&id=e41dbfec&scoped=true&\"\nimport script from \"./MyHome.vue?vue&type=script&lang=js&\"\nexport * from \"./MyHome.vue?vue&type=script&lang=js&\"\nimport style0 from \"./MyHome.vue?vue&type=style&index=0&id=e41dbfec&lang=less&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"e41dbfec\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('h4',{staticClass:\"text-center\"},[_vm._v(\"用户管理\")]),_c('table',{staticClass:\"table table-bordered table-striped table-hover\"},[_vm._m(0),_c('tbody',_vm._l((_vm.userlist),function(item){return _c('tr',{key:item.id},[_c('td',[_vm._v(_vm._s(item.id))]),_c('td',[_vm._v(_vm._s(item.name))]),_c('td',[_vm._v(_vm._s(item.age))]),_c('td',[_vm._v(_vm._s(item.position))]),_c('td',[_c('a',{attrs:{\"href\":\"#\"},on:{\"click\":function($event){$event.preventDefault();return _vm.gotoDetail(item.id)}}},[_vm._v(\"详情\")])])])}),0)])])}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('thead',[_c('tr',[_c('th',[_vm._v(\"序号\")]),_c('th',[_vm._v(\"姓名\")]),_c('th',[_vm._v(\"年龄\")]),_c('th',[_vm._v(\"头衔\")]),_c('th',[_vm._v(\"操作\")])])])}]\n\nexport { render, staticRenderFns }","<template>\n\t<div>\n\t\t<!-- 标题 -->\n\t\t<h4 class=\"text-center\">用户管理</h4>\n\n\t\t<!-- 用户列表 -->\n\t\t<table class=\"table table-bordered table-striped table-hover\">\n\t\t\t<thead>\n\t\t\t\t<tr>\n\t\t\t\t\t<th>序号</th>\n\t\t\t\t\t<th>姓名</th>\n\t\t\t\t\t<th>年龄</th>\n\t\t\t\t\t<th>头衔</th>\n\t\t\t\t\t<th>操作</th>\n\t\t\t\t</tr>\n\t\t\t</thead>\n\t\t\t<tbody>\n\t\t\t\t<tr v-for=\"item in userlist\" :key=\"item.id\">\n\t\t\t\t\t<td>{{ item.id }}</td>\n\t\t\t\t\t<td>{{ item.name }}</td>\n\t\t\t\t\t<td>{{ item.age }}</td>\n\t\t\t\t\t<td>{{ item.position }}</td>\n\t\t\t\t\t<td>\n\t\t\t\t\t\t<a href=\"#\" @click.prevent=\"gotoDetail(item.id)\">详情</a>\n\t\t\t\t\t</td>\n\t\t\t\t</tr>\n\t\t\t</tbody>\n\t\t</table>\n\t</div>\n</template>\n\n<script>\nexport default {\n name: 'MyUser',\n data() {\n return {\n // 用户列表数据\n userlist: [\n { id: 1, name: '嬴政', age: 18, position: '始皇帝' },\n { id: 2, name: '李斯', age: 35, position: '丞相' },\n { id: 3, name: '吕不韦', age: 50, position: '商人' },\n { id: 4, name: '赵姬', age: 48, position: '王太后' },\n ],\n }\n },\n methods: {\n gotoDetail(id) {\n this.$router.push('/home/userinfo/' + id)\n },\n },\n}\n</script>\n\n<style lang=\"less\" scoped></style>","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MyUsers.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MyUsers.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./MyUsers.vue?vue&type=template&id=02f3073a&scoped=true&\"\nimport script from \"./MyUsers.vue?vue&type=script&lang=js&\"\nexport * from \"./MyUsers.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"02f3073a\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('el-container',[_c('el-main',[_c('el-select',{attrs:{\"placeholder\":\"请选择\"},on:{\"change\":_vm.queryPic},model:{value:(_vm.picType),callback:function ($$v) {_vm.picType=$$v},expression:\"picType\"}},_vm._l((_vm.options),function(item){return _c('el-option',{key:item.value,attrs:{\"label\":item.label,\"value\":item.value}})}),1),_c('el-table',{directives:[{name:\"loading\",rawName:\"v-loading\",value:(_vm.loading),expression:\"loading\"}],attrs:{\"border\":\"\",\"data\":_vm.picList}},[_c('el-table-column',{attrs:{\"prop\":\"id\",\"label\":\"序号\",\"width\":\"100\",\"sortable\":\"\"}}),_c('el-table-column',{attrs:{\"prop\":\"picName\",\"label\":\"图片名字\",\"width\":\"240\",\"show-overflow-tooltip\":\"\"}}),_c('el-table-column',{attrs:{\"align\":\"center\"},scopedSlots:_vm._u([{key:\"default\",fn:function(props){return [_c('img',{staticStyle:{\"cursor\":\"pointer\"},attrs:{\"src\":props.row.picUrl,\"alt\":\"图片\",\"height\":\"100px\"},on:{\"click\":function($event){return _vm.showImageDialog(props.row.picUrl)}}})]}}])}),_c('el-table-column',{attrs:{\"label\":\"创建时间\",\"width\":\"170\"},scopedSlots:_vm._u([{key:\"default\",fn:function(props){return [_vm._v(\" \"+_vm._s(_vm._f(\"dateFormat\")(props.row.createTime))+\" \")]}}])})],1),_c('el-dialog',{attrs:{\"visible\":_vm.imageDialogVisible,\"width\":\"30%\"},on:{\"update:visible\":function($event){_vm.imageDialogVisible=$event}}},[_c('img',{staticStyle:{\"width\":\"100%\"},attrs:{\"src\":_vm.enlargedImageUrl,\"alt\":\"放大图片\"}})]),_c('el-pagination',{key:_vm.elementui_page_component_key,staticClass:\"pagination\",attrs:{\"background\":\"\",\"current-page\":_vm.currentPage,\"page-size\":_vm.pageSize,\"total\":_vm.total},on:{\"update:currentPage\":function($event){_vm.currentPage=$event},\"update:current-page\":function($event){_vm.currentPage=$event},\"current-change\":_vm.handleCurrentChange}})],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n\t<div>\n\t\t<el-container>\n\t\t\t<el-main>\n\t\t\t\t<el-select v-model=\"picType\" placeholder=\"请选择\" @change=\"queryPic\">\n\t\t\t\t\t<el-option v-for=\"item in options\" :key=\"item.value\" :label=\"item.label\" :value=\"item.value\"></el-option>\n\t\t\t\t</el-select>\n\t\t\t\t<el-table border :data=\"picList\" v-loading=\"loading\">\n\t\t\t\t\t<el-table-column prop=\"id\" label=\"序号\" width=\"100\" sortable></el-table-column>\n\t\t\t\t\t<el-table-column prop=\"picName\" label=\"图片名字\" width=\"240\" show-overflow-tooltip></el-table-column>\n\t\t\t\t\t<el-table-column align=\"center\">\n\t\t\t\t\t\t<template slot-scope=\"props\">\n\t\t\t\t\t\t\t<img :src=\"props.row.picUrl\" alt=\"图片\" height=\"100px\" @click=\"showImageDialog(props.row.picUrl)\" style=\"cursor: pointer\" />\n\t\t\t\t\t\t</template>\n\t\t\t\t\t</el-table-column>\n\t\t\t\t\t<el-table-column label=\"创建时间\" width=\"170\">\n\t\t\t\t\t\t<template slot-scope=\"props\">\n\t\t\t\t\t\t\t{{ props.row.createTime | dateFormat }}\n\t\t\t\t\t\t</template>\n\t\t\t\t\t</el-table-column>\n\t\t\t\t</el-table>\n\t\t\t\t<el-dialog :visible.sync=\"imageDialogVisible\" width=\"30%\">\n\t\t\t\t\t<img :src=\"enlargedImageUrl\" alt=\"放大图片\" style=\"width: 100%\" />\n\t\t\t\t</el-dialog>\n\t\t\t\t<el-pagination class=\"pagination\" background :key=\"elementui_page_component_key\" :current-page.sync=\"currentPage\" :page-size=\"pageSize\" :total=\"total\" @current-change=\"handleCurrentChange\"></el-pagination>\n\t\t\t</el-main>\n\t\t</el-container>\n\t</div>\n</template>\n\n<script>\nimport axios from 'axios'\nexport default {\n\tname: 'MyPic',\n\tdata() {\n\t\treturn {\n\t\t\t// 用户列表数据\n\t\t\tpicList: [],\n\t\t\tloading: false,\n\t\t\telementui_page_component_key: 0,\n\t\t\tcurrentPage: 1,\n\t\t\tpageSize: 6,\n\t\t\ttotal: 0,\n\t\t\timageDialogVisible: false,\n\t\t\tenlargedImageUrl: '',\n\t\t\toptions: [\n\t\t\t\t{\n\t\t\t\t\tvalue: 0,\n\t\t\t\t\tlabel: '宝宝照片',\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tvalue: 1,\n\t\t\t\t\tlabel: '学习照片',\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tvalue: 2,\n\t\t\t\t\tlabel: '风景照片',\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tvalue: 3,\n\t\t\t\t\tlabel: '美女照片',\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tvalue: 99,\n\t\t\t\t\tlabel: '其他照片',\n\t\t\t\t},\n\t\t\t],\n\t\t\tpicType: 0,\n\t\t}\n\t},\n\tcreated() {\n\t\t// 调用请求数据的方法\n\t\tthis.queryPic()\n\t},\n\tmethods: {\n\t\tshowImageDialog(url) {\n\t\t\tthis.enlargedImageUrl = url\n\t\t\tthis.imageDialogVisible = true\n\t\t},\n\t\tasync queryPic() {\n\t\t\tthis.loading = true\n\t\t\tconst { data: res } = await axios.get('http://120.79.36.53:8888/picInfo/page', {\n\t\t\t\tparams: {\n\t\t\t\t\tpage: this.currentPage,\n\t\t\t\t\tpageSize: this.pageSize,\n\t\t\t\t\tpicType: this.picType,\n\t\t\t\t},\n\t\t\t})\n\t\t\tif (res.code === 200) {\n\t\t\t\tthis.picList = res.result.records\n\t\t\t\tthis.total = res.result.total\n\t\t\t}\n\t\t\tthis.loading = false\n\t\t},\n\t\thandleCurrentChange(currentPage) {\n\t\t\tthis.currentPage = currentPage\n\t\t\tthis.queryPic()\n\t\t},\n\t},\n}\n</script>\n\n<style lang=\"less\" scoped>\n.el-header {\n\tbackground-color: #b3c0d1;\n\tcolor: #333;\n\tline-height: 60px;\n}\n\n.el-aside {\n\tcolor: #333;\n}\n\n.pagination {\n\tmargin-top: 16px;\n\ttext-align: right;\n}\n</style>","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MyPic.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MyPic.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./MyPic.vue?vue&type=template&id=2a73445c&scoped=true&\"\nimport script from \"./MyPic.vue?vue&type=script&lang=js&\"\nexport * from \"./MyPic.vue?vue&type=script&lang=js&\"\nimport style0 from \"./MyPic.vue?vue&type=style&index=0&id=2a73445c&lang=less&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"2a73445c\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('h4',{staticClass:\"text-center\"},[_vm._v(\"商品管理\")])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n\t<h4 class=\"text-center\">商品管理</h4>\n</template>\n\n<script>\nexport default {\n name: 'MyGoods',\n}\n</script>\n\n<style lang=\"less\" scoped>\n</style>","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MyGoods.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MyGoods.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./MyGoods.vue?vue&type=template&id=716085f0&scoped=true&\"\nimport script from \"./MyGoods.vue?vue&type=script&lang=js&\"\nexport * from \"./MyGoods.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"716085f0\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('h4',{staticClass:\"text-center\"},[_vm._v(\"订单管理\")])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n\t<h4 class=\"text-center\">订单管理</h4>\n</template>\n\n<script>\nexport default {\n name: 'MyOrders',\n}\n</script>\n\n<style lang=\"less\" scoped>\n</style>","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MyOrders.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MyOrders.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./MyOrders.vue?vue&type=template&id=3275af60&scoped=true&\"\nimport script from \"./MyOrders.vue?vue&type=script&lang=js&\"\nexport * from \"./MyOrders.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"3275af60\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('el-container',[_c('el-main',[_c('el-form',{staticClass:\"demo-form-inline\",attrs:{\"inline\":true,\"model\":_vm.formInline}},[_c('el-form-item',[_c('el-input',{attrs:{\"clearable\":\"\",\"placeholder\":\"请输入问题\"},nativeOn:{\"keydown\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"enter\",13,$event.key,\"Enter\")){ return null; }return _vm.initCartList.apply(null, arguments)}},model:{value:(_vm.formInline.question),callback:function ($$v) {_vm.$set(_vm.formInline, \"question\", $$v)},expression:\"formInline.question\"}})],1),_c('el-form-item',[_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":_vm.initCartList}},[_vm._v(\"查询\")])],1),_c('el-form-item',[_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":function($event){$event.preventDefault();return _vm.addChat.apply(null, arguments)}}},[_vm._v(\"新增\")])],1)],1),_c('el-table',{directives:[{name:\"loading\",rawName:\"v-loading\",value:(_vm.loading),expression:\"loading\"}],attrs:{\"border\":\"\",\"data\":_vm.userlist}},[_c('el-table-column',{attrs:{\"prop\":\"id\",\"label\":\"序号\",\"width\":\"100\",\"sortable\":\"\"}}),_c('el-table-column',{attrs:{\"prop\":\"question\",\"label\":\"问题\",\"width\":\"240\",\"show-overflow-tooltip\":\"\"}}),_c('el-table-column',{attrs:{\"prop\":\"response\",\"label\":\"答案\",\"show-overflow-tooltip\":\"\"}}),_c('el-table-column',{attrs:{\"label\":\"创建时间\",\"width\":\"170\"},scopedSlots:_vm._u([{key:\"default\",fn:function(props){return [_vm._v(\" \"+_vm._s(_vm._f(\"dateFormat\")(props.row.createTime))+\" \")]}}])}),_c('el-table-column',{attrs:{\"prop\":\"详情\",\"label\":\"详情\",\"width\":\"180\"},scopedSlots:_vm._u([{key:\"default\",fn:function(props){return [_c('el-button',{attrs:{\"type\":\"success\"},on:{\"click\":function($event){$event.preventDefault();return _vm.gotoDetail(props.row.id)}}},[_vm._v(\"详情\")]),_c('el-button',{attrs:{\"type\":\"danger\"},on:{\"click\":function($event){return _vm.onDelete(props.row.id)}}},[_vm._v(\"删除\")])]}}])})],1),_c('el-pagination',{key:_vm.elementui_page_component_key,staticClass:\"pagination\",attrs:{\"background\":\"\",\"current-page\":_vm.currentPage,\"page-size\":_vm.pageSize,\"total\":_vm.total},on:{\"update:currentPage\":function($event){_vm.currentPage=$event},\"update:current-page\":function($event){_vm.currentPage=$event},\"current-change\":_vm.handleCurrentChange}})],1),_c('el-backtop',{staticClass:\"backtop\"})],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n\t<div>\n\t\t<el-container>\n\t\t\t<el-main>\n\t\t\t\t<el-form :inline=\"true\" :model=\"formInline\" class=\"demo-form-inline\">\n\t\t\t\t\t<el-form-item>\n\t\t\t\t\t\t<el-input clearable v-model=\"formInline.question\" placeholder=\"请输入问题\" @keydown.enter.native=\"initCartList\"></el-input>\n\t\t\t\t\t</el-form-item>\n\t\t\t\t\t<el-form-item>\n\t\t\t\t\t\t<el-button type=\"primary\" @click=\"initCartList\">查询</el-button>\n\t\t\t\t\t</el-form-item>\n\t\t\t\t\t<el-form-item>\n\t\t\t\t\t\t<el-button type=\"primary\" @click.prevent=\"addChat\">新增</el-button>\n\t\t\t\t\t</el-form-item>\n\t\t\t\t</el-form>\n\t\t\t\t<el-table border :data=\"userlist\" v-loading=\"loading\">\n\t\t\t\t\t<el-table-column prop=\"id\" label=\"序号\" width=\"100\" sortable></el-table-column>\n\t\t\t\t\t<el-table-column prop=\"question\" label=\"问题\" width=\"240\" show-overflow-tooltip></el-table-column>\n\t\t\t\t\t<el-table-column prop=\"response\" label=\"答案\" show-overflow-tooltip></el-table-column>\n\t\t\t\t\t<el-table-column label=\"创建时间\" width=\"170\">\n\t\t\t\t\t\t<template slot-scope=\"props\">\n\t\t\t\t\t\t\t{{ props.row.createTime | dateFormat }}\n\t\t\t\t\t\t</template>\n\t\t\t\t\t</el-table-column>\n\t\t\t\t\t<el-table-column prop=\"详情\" label=\"详情\" width=\"180\">\n\t\t\t\t\t\t<template slot-scope=\"props\">\n\t\t\t\t\t\t\t<el-button type=\"success\" @click.prevent=\"gotoDetail(props.row.id)\">详情</el-button>\n\t\t\t\t\t\t\t<el-button type=\"danger\" @click=\"onDelete(props.row.id)\">删除</el-button>\n\t\t\t\t\t\t</template>\n\t\t\t\t\t</el-table-column>\n\t\t\t\t</el-table>\n\t\t\t\t<el-pagination class=\"pagination\" background :key=\"elementui_page_component_key\" :current-page.sync=\"currentPage\" :page-size=\"pageSize\" :total=\"total\" @current-change=\"handleCurrentChange\"></el-pagination>\n\t\t\t</el-main>\n\t\t\t<el-backtop class=\"backtop\"></el-backtop>\n\t\t</el-container>\n\t</div>\n</template>\n\n<script>\nimport axios from 'axios'\nexport default {\n\tname: 'MyChat',\n\n\tdata() {\n\t\treturn {\n\t\t\t// 用户列表数据\n\t\t\tuserlist: [],\n\t\t\tloading: false,\n\t\t\telementui_page_component_key: 0,\n\t\t\tcurrentPage: Number(localStorage.getItem('lastPage')) || 1,\n\t\t\tpageSize: 9,\n\t\t\ttotal: 0,\n\t\t\tformInline: {\n\t\t\t\tquestion: '',\n\t\t\t},\n\t\t}\n\t},\n\twatch: {\n\t\t'formInline.question'(newVal) {\n\t\t\tif (newVal === '') {\n\t\t\t\tthis.currentPage = 1\n\t\t\t\tlocalStorage.setItem('lastPage', this.currentPage)\n\t\t\t\tthis.initCartList()\n\t\t\t}\n\t\t},\n\t},\n\tcreated() {\n\t\tthis.$nextTick(() => {\n\t\t\tconst foo = this.$route.query.back\n\t\t\tconst add = this.$route.query.add\n\t\t\tif (foo === 'back' && add != 'add') {\n\t\t\t\tthis.currentPage = Number(localStorage.getItem('lastPage')) || 1\n\t\t\t\tthis.formInline.question = localStorage.getItem('lastQuestion') || ''\n\t\t\t} else {\n\t\t\t\tlocalStorage.setItem('lastPage', 1)\n\t\t\t\tlocalStorage.setItem('lastQuestion', '')\n\t\t\t\tthis.currentPage = 1\n\t\t\t\tthis.formInline.question = ''\n\t\t\t}\n\t\t\t// 调用请求数据的方法\n\t\t\tthis.initCartList()\n\t\t})\n\t},\n\tmounted() {\n\t\tthis.currentPage = Number(localStorage.getItem('lastPage')) || 1\n\t\tthis.formInline.question = localStorage.getItem('lastQuestion')\n\t\tthis.elementui_page_component_key++\n\t},\n\tmethods: {\n\t\tasync onDelete(id) {\n\t\t\tthis.loading = true\n\t\t\tconst { data: res } = await axios.get('http://120.79.36.53:8888/chatbot/delete', {\n\t\t\t\tparams: {\n\t\t\t\t\tid: id,\n\t\t\t\t},\n\t\t\t})\n\t\t\tthis.initCartList()\n\t\t\tthis.loading = false\n\t\t},\n\t\trefreshPage() {\n\t\t\tlocation.reload()\n\t\t},\n\t\tgotoDetail(id) {\n\t\t\tthis.$router.push('/home/chatinfo/' + id)\n\t\t},\n\t\taddChat() {\n\t\t\tthis.$router.push('/home/addChat/')\n\t\t},\n\n\t\tasync initCartList() {\n\t\t\tthis.loading = true\n\t\t\tconst { data: res } = await axios.get('http://120.79.36.53:8888/chatbot/page', {\n\t\t\t\tparams: {\n\t\t\t\t\tpage: this.currentPage,\n\t\t\t\t\tpageSize: this.pageSize,\n\t\t\t\t\tquestion: this.formInline.question,\n\t\t\t\t},\n\t\t\t})\n\t\t\tif (res.code === 200) {\n\t\t\t\tthis.userlist = res.result.records\n\t\t\t\tthis.total = res.result.total\n\t\t\t\tlocalStorage.setItem('lastPage', this.currentPage)\n\t\t\t\tlocalStorage.setItem('lastQuestion', this.formInline.question)\n\t\t\t}\n\t\t\tthis.loading = false\n\t\t},\n\n\t\thandleCurrentChange(currentPage) {\n\t\t\tthis.currentPage = currentPage\n\t\t\tthis.initCartList()\n\t\t},\n\t},\n}\n</script>\n\n<style lang=\"less\" scoped>\n.el-header {\n\tbackground-color: #b3c0d1;\n\tcolor: #333;\n\tline-height: 60px;\n}\n\n.el-aside {\n\tcolor: #333;\n}\n\n.pagination {\n\tmargin-top: 16px;\n\ttext-align: right;\n}\n.header-button-item {\n\tmargin-right: 15px;\n\tfont-size: 20px;\n}\n\n.backtop {\n\tposition: fixed;\n\tbottom: 50px;\n\tright: 50px;\n\theight: 40px;\n\twidth: 40px;\n\tline-height: 40px;\n\ttext-align: center;\n\tborder-radius: 20px;\n\tbackground-color: #007aff;\n\tcolor: #fff;\n\tcursor: pointer;\n\tz-index: 999;\n}\n\n.backtop:hover {\n\tbackground-color: #0050a0;\n}\n</style>","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MyChat.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MyChat.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./MyChat.vue?vue&type=template&id=c92e998c&scoped=true&\"\nimport script from \"./MyChat.vue?vue&type=script&lang=js&\"\nexport * from \"./MyChat.vue?vue&type=script&lang=js&\"\nimport style0 from \"./MyChat.vue?vue&type=style&index=0&id=c92e998c&lang=less&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"c92e998c\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('h4',{staticClass:\"text-center\"},[_vm._v(\"系统设置\")])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n\t<h4 class=\"text-center\">系统设置</h4>\n</template>\n\n<script>\nexport default {\n name: 'MySettings',\n}\n</script>\n\n<style lang=\"less\" scoped>\n</style>","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MySettings.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MySettings.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./MySettings.vue?vue&type=template&id=accd7558&scoped=true&\"\nimport script from \"./MySettings.vue?vue&type=script&lang=js&\"\nexport * from \"./MySettings.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"accd7558\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('button',{staticClass:\"btn btn-light btn-sm\",attrs:{\"type\":\"button\"},on:{\"click\":function($event){return _vm.$router.back()}}},[_vm._v(\"后退\")]),_c('h4',{staticClass:\"text-center\"},[_vm._v(\"用户详情 --- \"+_vm._s(_vm.id))])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n\t<div>\n\t\t<button type=\"button\" class=\"btn btn-light btn-sm\" @click=\"$router.back()\">后退</button>\n\t\t<h4 class=\"text-center\">用户详情 --- {{ id }}</h4>\n\t</div>\n</template>\n\n<script>\nexport default {\n name: 'MyUserDetail',\n props: ['id'],\n}\n</script>\n\n<style lang=\"less\" scoped></style>","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MyUserDetail.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MyUserDetail.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./MyUserDetail.vue?vue&type=template&id=bea9073a&scoped=true&\"\nimport script from \"./MyUserDetail.vue?vue&type=script&lang=js&\"\nexport * from \"./MyUserDetail.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"bea9073a\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('el-button',{attrs:{\"type\":\"primary\",\"plain\":\"\",\"size\":\"medium\"},on:{\"click\":_vm.goBack}},[_vm._v(\"后退\")]),_c('h4',{staticClass:\"text-center\"},[_vm._v(\"ChatGpt问答详情 --- \"+_vm._s(_vm.id))]),_c('el-container',[_c('el-main',[_c('el-table',{attrs:{\"border\":\"\",\"data\":_vm.list}},[_c('el-table-column',{attrs:{\"label\":\"序号\",\"width\":\"50\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('span',[_vm._v(_vm._s(scope.row.id))])]}}])}),_c('el-table-column',{attrs:{\"label\":\"问题\",\"width\":\"240\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('span',[_vm._v(_vm._s(scope.row.question))])]}}])}),_c('el-table-column',{attrs:{\"label\":\"回答\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('span',{attrs:{\"id\":\"td-response\"}},[_vm._v(_vm._s(scope.row.response))])]}}])}),_c('el-table-column',{attrs:{\"label\":\"创建时间\",\"width\":\"170\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('span',[_vm._v(_vm._s(_vm._f(\"dateFormat\")(scope.row.createTime)))])]}}])})],1)],1)],1),_c('div',{staticClass:\"button-container\"},[_c('el-button',{attrs:{\"type\":\"primary\",\"round\":\"\"},on:{\"click\":_vm.copyCode}},[_vm._v(\"复制回答\")])],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n\t<div>\n\t\t<el-button type=\"primary\" plain size=\"medium\" @click=\"goBack\">后退</el-button>\n\t\t<h4 class=\"text-center\">ChatGpt问答详情 --- {{ id }}</h4>\n\t\t<el-container>\n\t\t\t<el-main>\n\t\t\t\t<el-table border :data=\"list\">\n\t\t\t\t\t<el-table-column label=\"序号\" width=\"50\">\n\t\t\t\t\t\t<template slot-scope=\"scope\">\n\t\t\t\t\t\t\t<span>{{ scope.row.id }}</span>\n\t\t\t\t\t\t</template>\n\t\t\t\t\t</el-table-column>\n\t\t\t\t\t<el-table-column label=\"问题\" width=\"240\">\n\t\t\t\t\t\t<template slot-scope=\"scope\">\n\t\t\t\t\t\t\t<span>{{ scope.row.question }}</span>\n\t\t\t\t\t\t</template>\n\t\t\t\t\t</el-table-column>\n\t\t\t\t\t<el-table-column label=\"回答\">\n\t\t\t\t\t\t<template slot-scope=\"scope\">\n\t\t\t\t\t\t\t<span id=\"td-response\">{{ scope.row.response }}</span>\n\t\t\t\t\t\t</template>\n\t\t\t\t\t</el-table-column>\n\t\t\t\t\t<el-table-column label=\"创建时间\" width=\"170\">\n\t\t\t\t\t\t<template slot-scope=\"scope\">\n\t\t\t\t\t\t\t<span>{{ scope.row.createTime | dateFormat }}</span>\n\t\t\t\t\t\t</template>\n\t\t\t\t\t</el-table-column>\n\t\t\t\t</el-table>\n\t\t\t</el-main>\n\t\t</el-container>\n\t\t<div class=\"button-container\">\n\t\t\t<el-button @click=\"copyCode\" type=\"primary\" round>复制回答</el-button>\n\t\t</div>\n\t</div>\n</template>\n<script>\n// 导入 axios 请求库\nimport axios from 'axios'\nexport default {\n\tname: 'MyChatDetail',\n\tprops: ['id'],\n\tdata() {\n\t\treturn {\n\t\t\tlist: [],\n\t\t}\n\t},\n\tcreated() {\n\t\t// 调用请求数据的方法\n\t\tthis.initChatList()\n\t},\n\tmethods: {\n\t\tgoBack() {\n\t\t\t// 传递参数到前一个页面\n\t\t\tconst params = {\n\t\t\t\t// 参数名: 参数值\n\t\t\t\tback: 'back',\n\t\t\t\t// baz: \"qux\",\n\t\t\t}\n\n\t\t\t// 使用 $router.push() 导航到前一个页面\n\t\t\tthis.$router.push({\n\t\t\t\tpath: '/home/chat', // 前一个页面的路径\n\t\t\t\tquery: params, // 参数对象\n\t\t\t})\n\t\t},\n\t\t// 封装请求列表数据的方法\n\t\tasync initChatList() {\n\t\t\t// 调用 axios 的 get 方法,请求列表数据\n\t\t\tconst { data: res } = await axios.get('http://120.79.36.53:8888/chatbot/' + this.id)\n\t\t\t// 只要请求回来的数据,在页面渲染期间要用到,则必须转存到 data 中\n\t\t\tif (res.code === 200) {\n\t\t\t\tthis.list = [\n\t\t\t\t\t{\n\t\t\t\t\t\tid: res.result.id,\n\t\t\t\t\t\tquestion: res.result.question,\n\t\t\t\t\t\tresponse: res.result.response,\n\t\t\t\t\t\tcreateTime: res.result.createTime,\n\t\t\t\t\t},\n\t\t\t\t]\n\t\t\t}\n\t\t},\n\t\tcopyCode() {\n\t\t\tconst codeBlock = document.getElementById('td-response')\n\t\t\tconst range = document.createRange()\n\t\t\trange.selectNode(codeBlock)\n\t\t\tconst selection = window.getSelection()\n\t\t\tselection.removeAllRanges()\n\t\t\tselection.addRange(range)\n\t\t\tdocument.execCommand('copy')\n\t\t\tselection.removeAllRanges()\n\t\t\tthis.$message.success('代码已复制到剪贴板')\n\t\t},\n\t},\n}\n</script>\n\n<style lang=\"less\" scoped>\n.button-container {\n\tposition: fixed;\n\tbottom: 0;\n\tright: 0;\n\tmargin: 16px;\n}\n</style>","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MyChatDetail.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MyChatDetail.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./MyChatDetail.vue?vue&type=template&id=9d5d30a4&scoped=true&\"\nimport script from \"./MyChatDetail.vue?vue&type=script&lang=js&\"\nexport * from \"./MyChatDetail.vue?vue&type=script&lang=js&\"\nimport style0 from \"./MyChatDetail.vue?vue&type=style&index=0&id=9d5d30a4&lang=less&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"9d5d30a4\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('el-button',{attrs:{\"type\":\"primary\",\"plain\":\"\",\"size\":\"medium\"},on:{\"click\":_vm.goBack}},[_vm._v(\"后退\")]),_c('h4',{staticClass:\"text-center\"},[_vm._v(\"新增ChatGpt问答\")]),_c('el-container',{staticClass:\"container\"},[_c('el-form',{ref:\"form\",attrs:{\"model\":_vm.form,\"label-width\":\"80px\"}},[_c('el-form-item',{attrs:{\"label\":\"问题\"}},[_c('el-input',{model:{value:(_vm.form.question),callback:function ($$v) {_vm.$set(_vm.form, \"question\", $$v)},expression:\"form.question\"}})],1),_c('el-form-item',{attrs:{\"label\":\"答案\"}},[_c('el-input',{attrs:{\"type\":\"textarea\"},model:{value:(_vm.form.response),callback:function ($$v) {_vm.$set(_vm.form, \"response\", $$v)},expression:\"form.response\"}})],1),_c('el-form-item',[_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":_vm.onSubmit}},[_vm._v(\"立即创建\")]),_c('el-button',{on:{\"click\":_vm.clearContent}},[_vm._v(\"取消\")])],1)],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n\t<div>\n\t\t<el-button type=\"primary\" plain size=\"medium\" @click=\"goBack\">后退</el-button>\n\t\t<h4 class=\"text-center\">新增ChatGpt问答</h4>\n\t\t<el-container class=\"container\">\n\t\t\t<el-form ref=\"form\" :model=\"form\" label-width=\"80px\">\n\t\t\t\t<el-form-item label=\"问题\">\n\t\t\t\t\t<el-input v-model=\"form.question\"></el-input>\n\t\t\t\t</el-form-item>\n\t\t\t\t<el-form-item label=\"答案\">\n\t\t\t\t\t<el-input type=\"textarea\" v-model=\"form.response\"></el-input>\n\t\t\t\t</el-form-item>\n\t\t\t\t<el-form-item>\n\t\t\t\t\t<el-button type=\"primary\" @click=\"onSubmit\">立即创建</el-button>\n\t\t\t\t\t<el-button @click=\"clearContent\">取消</el-button>\n\t\t\t\t</el-form-item>\n\t\t\t</el-form>\n\t\t</el-container>\n\t</div>\n</template>\n<script>\n// 导入 axios 请求库\nimport axios from 'axios'\nexport default {\n\tname: 'AddChatDetail',\n\tdata() {\n\t\treturn {\n\t\t\tform: {\n\t\t\t\tquestion: '',\n\t\t\t\tresponse: '',\n\t\t\t},\n\t\t}\n\t},\n\tmethods: {\n\t\tclearContent() {\n\t\t\tthis.form.question = ''\n\t\t\tthis.form.response = ''\n\t\t},\n\t\tasync onSubmit() {\n\t\t\tconst data = {\n\t\t\t\tquestion: this.form.question,\n\t\t\t\tresponse: this.form.response,\n\t\t\t}\n\t\t\taxios\n\t\t\t\t.post('http://120.79.36.53:8888/chatbot', data)\n\t\t\t\t.then((response) => {\n\t\t\t\t\t// 只要请求回来的数据,在页面渲染期间要用到,则必须转存到 data 中\n\t\t\t\t\tif (response.data.code === 200) {\n\t\t\t\t\t\tthis.$message.success({\n\t\t\t\t\t\t\tmessage: '问题和答案新增成功',\n\t\t\t\t\t\t\tduration: 1000,\n\t\t\t\t\t\t})\n\t\t\t\t\t\tthis.goBack()\n\t\t\t\t\t}\n\t\t\t\t})\n\t\t\t\t.catch((error) => {\n\t\t\t\t\t// 处理错误\n\t\t\t\t\tthis.$message.error('系统异常')\n\t\t\t\t})\n\t\t},\n\t\tgoBack() {\n\t\t\t// 传递参数到前一个页面\n\t\t\tconst params = {\n\t\t\t\t// 参数名: 参数值\n\t\t\t\tback: 'back',\n\t\t\t\tadd: 'add',\n\t\t\t}\n\t\t\t// 使用 $router.push() 导航到前一个页面\n\t\t\tthis.$router.push({\n\t\t\t\tpath: '/home/chat', // 前一个页面的路径\n\t\t\t\tquery: params, // 参数对象\n\t\t\t})\n\t\t},\n\t},\n}\n</script>\n\n<style lang=\"less\" scoped>\n.container {\n\tdisplay: flex;\n\tjustify-content: center;\n\talign-items: center;\n\theight: 30vh; /* 如果希望 `el-container` 在整个视口居中,可以使用 height: 100vh; 来设置容器的高度 */\n}\n</style>","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AddChatDetail.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AddChatDetail.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./AddChatDetail.vue?vue&type=template&id=ddc6c3e0&scoped=true&\"\nimport script from \"./AddChatDetail.vue?vue&type=script&lang=js&\"\nexport * from \"./AddChatDetail.vue?vue&type=script&lang=js&\"\nimport style0 from \"./AddChatDetail.vue?vue&type=style&index=0&id=ddc6c3e0&lang=less&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"ddc6c3e0\",\n null\n \n)\n\nexport default component.exports","import Vue from 'vue'\nimport VueRouter from 'vue-router'\nimport pathArr from '@/router/pathArr.js'\n\n// 导入需要的组件\nimport Login from '@/components/MyLogin.vue'\nimport Home from '@/components/MyHome.vue'\n\nimport Users from '@/components/menus/MyUsers.vue'\nimport Pic from '@/components/menus/MyPic.vue'\nimport Goods from '@/components/menus/MyGoods.vue'\nimport Orders from '@/components/menus/MyOrders.vue'\nimport Chat from '@/components/menus/MyChat.vue'\nimport Settings from '@/components/menus/MySettings.vue'\nimport UserDetail from '@/components/user/MyUserDetail.vue'\nimport MyChatDetail from '@/components/user/MyChatDetail.vue'\nimport AddChatDetail from '@/components/user/AddChatDetail.vue'\n\n\nVue.use(VueRouter)\n\nconst router = new VueRouter({\n routes: [\n {\n path: '/',\n redirect: '/login'\n },\n // 登录的路由规则\n {\n path: '/login',\n component: Login\n },\n // 后台主页的路由规则\n {\n path: '/home',\n component: Home,\n redirect: '/home/chat',\n children: [\n {\n path: 'users',\n component: Users\n },\n {\n path: 'pic',\n component: Pic\n },\n {\n path: 'goods',\n component: Goods\n },\n {\n path: 'orders',\n component: Orders\n }, {\n path: 'chat',\n component: Chat\n }, {\n path: 'settings',\n component: Settings\n },\n // 用户详情页的路由规则\n {\n path: 'userinfo/:id',\n component: UserDetail,\n props: true\n }, {\n path: 'chatinfo/:id',\n component: MyChatDetail,\n props: true\n }, {\n path: 'addChat',\n component: AddChatDetail\n },\n ]\n }\n ]\n})\n\n// 全局前置守卫\nrouter.beforeEach(function (to, from, next) {\n if (pathArr.indexOf(to.path) !== -1) {\n const token = localStorage.getItem('token')\n if (token) {\n next()\n } else {\n next('/login')\n }\n } else {\n next()\n }\n})\n\nexport default router\n","import Vue from 'vue'\nimport App from './App.vue'\n// 导入路由模块\nimport router from '@/router'\n// 引入element\nimport ElementUI from 'element-ui';\nimport 'element-ui/lib/theme-chalk/index.css';\n// 导入样式\nimport './assets/css/bootstrap.css'\nimport './index.css'\n// 引入 dayjs 时间处理\nimport dayjs from \"dayjs\";\nVue.prototype.$dayjs = dayjs;\n\n// 声明格式化时间的全局过滤器\nVue.filter(\"dateFormat\", function (time) {\n // 1. 对 time 进行格式化处理,得到 YYYY-MM-DD HH:mm:ss\n // 2. 把 格式化的结果,return 出去\n\n // 直接调用 dayjs() 得到的是当前时间\n // dayjs(给定的日期时间) 得到指定的日期\n const dtStr = dayjs(time).format(\"YYYY-MM-DD HH:mm:ss\");\n return dtStr;\n});\nVue.use(ElementUI);\nVue.config.productionTip = false\n\nnew Vue({\n render: h => h(App),\n router\n}).$mount('#app')\n","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../../../node_modules/less-loader/dist/cjs.js??ref--10-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AddChatDetail.vue?vue&type=style&index=0&id=ddc6c3e0&lang=less&scoped=true&\"","module.exports = __webpack_public_path__ + \"img/kwan.80e90605.png\";","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../../../node_modules/less-loader/dist/cjs.js??ref--10-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MyAside.vue?vue&type=style&index=0&id=3235a6cc&lang=less&scoped=true&\"","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../../node_modules/less-loader/dist/cjs.js??ref--10-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MyHome.vue?vue&type=style&index=0&id=e41dbfec&lang=less&scoped=true&\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../../../node_modules/less-loader/dist/cjs.js??ref--10-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MyHeader.vue?vue&type=style&index=0&id=36ae6cf9&lang=less&scoped=true&\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../../../node_modules/less-loader/dist/cjs.js??ref--10-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MyChat.vue?vue&type=style&index=0&id=c92e998c&lang=less&scoped=true&\""],"sourceRoot":""}
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册