/
2.41d5e7d04f62283e6cf1.js.map
1 lines (1 loc) · 113 KB
/
2.41d5e7d04f62283e6cf1.js.map
1
{"version":3,"sources":["webpack:///static/js/2.41d5e7d04f62283e6cf1.js","webpack:///Header.vue?1ed3*","webpack:///./src/components/Header.vue?5709**","webpack:///./src/components/Header.vue?e326**","webpack:///./src/assets/images/5fe.jpg?0273*","webpack:///./src/components/Header.vue?4af4*","webpack:///./src/components/Header.vue?8960**","webpack:///./src/cache/cache.js?c729*","webpack:///./~/whatwg-fetch/fetch.js?1c20*","webpack:///MessageList.vue","webpack:///robot.vue","webpack:///./src/pages/robot.vue?49cf","webpack:///./src/components/MessageList.vue?fa4f","webpack:///./src/pages/robot.vue?2217","webpack:///./src/components/MessageList.vue?1c1c","webpack:///./src/components/MessageList.vue","webpack:///./src/pages/robot.vue","webpack:///./src/pages/robot.vue?ca72","webpack:///./src/components/MessageList.vue?0821"],"names":["webpackJsonp","6","module","exports","Object","defineProperty","value","default","name","props","data","showMenu","methods","showMenus","this","8","__webpack_require__","push","id","version","sources","names","mappings","file","sourcesContent","sourceRoot","9","content","locals","10","p","11","__vue_exports__","__vue_options__","__vue_template__","options","render","staticRenderFns","12","_vm","_h","staticClass","class","pageType","className","on","click","_e","domProps","textContent","_s","text","show","_m","attrs","to","13","parseParam","obj","paramStr","hasOwnProperty","encodeURIComponent","RobotCache","WeatherCache","HappyListCache","undefined","_constant","getHappyList","key","happyType","HAPPY_TYPE","TEXT","fetch","then","response","json","result","IMAGE","OTHER","getWeather","19","self","normalizeName","String","test","TypeError","toLowerCase","normalizeValue","iteratorFor","items","iterator","next","shift","done","support","iterable","Symbol","Headers","headers","map","forEach","append","getOwnPropertyNames","consumed","body","bodyUsed","Promise","reject","fileReaderReady","reader","resolve","onload","onerror","error","readBlobAsArrayBuffer","blob","FileReader","promise","readAsArrayBuffer","readBlobAsText","readAsText","readArrayBufferAsText","buf","view","Uint8Array","chars","Array","length","i","fromCharCode","join","bufferClone","slice","byteLength","set","buffer","Body","_initBody","_bodyInit","_bodyText","Blob","prototype","isPrototypeOf","_bodyBlob","formData","FormData","_bodyFormData","searchParams","URLSearchParams","toString","arrayBuffer","isDataView","_bodyArrayBuffer","ArrayBuffer","isArrayBufferView","Error","get","type","rejected","decode","JSON","parse","normalizeMethod","method","upcased","toUpperCase","indexOf","Request","input","url","credentials","mode","referrer","form","trim","split","bytes","replace","decodeURIComponent","parseHeaders","rawHeaders","line","parts","Response","bodyInit","status","ok","statusText","e","viewClasses","DataView","isView","call","oldValue","has","callback","thisArg","keys","values","entries","clone","redirectStatuses","redirect","RangeError","location","init","request","xhr","XMLHttpRequest","getAllResponseHeaders","responseURL","responseText","ontimeout","open","withCredentials","responseType","setRequestHeader","send","polyfill","57","_interopRequireDefault","__esModule","_tool","_tool2","_cache","USER_TYPE","message","computed","messageList","$store","getters","getMessages","userId","getUserId","contract","sendMessage","_this","dispatch","getTimestamp","PEOLE","info","userid","ROBOT","clearInput","document","getElementById","scrollTop","scrollHeight","62","_MessageList","_MessageList2","_Header","_Header2","PAGE_TYPE","ROBOT_PAGE","components","pageHeader","103","113","120","130","146","151","154","164","_l","item","ux-message-list-right","src","directives","rawName","expression","keyup","$event","keyCode","target","composing"],"mappings":"AAAAA,cAAc,EAAE,IAEVC,EACA,SAASC,EAAQC,GAEtB,YAEAC,QAAOC,eAAeF,EAAS,cAC3BG,OAAO,IAEXH,EAAQI,SACJC,KC6CL,aD5CKC,OC6CL,YD5CKC,KAAM,WACF,OACIC,UC8Cb,ID1CKC,SACIC,UAAW,WACPC,KAAKH,UAAYG,KC4C9BH,aDrCMI,EACA,SAASb,EAAQC,EAASa,GE7BhCb,EAAAD,EAAAC,QAAAa,EAAA,KAKAb,EAAAc,MAAAf,EAAAgB,GAAA,woBAAgpBF,EAAA,o5BAAu8B,IAAQG,QAAA,EAAAC,SAAA,gCAAAC,SAAAC,SAAA,uuBAAAC,KAAA,aAAAC,gBAAA,2nDAAk9EC,WAAA,iBFsC3iIC,EACA,SAASxB,E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AEKxM,EAAAC,GAAA,OACLC,YAAA,yBACAa,OACAsN,IAAA,wDAEK,IAAArO,EAAAC,GAAA,OACLC,YAAA,oBACKF,EAAAC,GAAA,QACLC,YAAA,aACK,qBAAAF,EAAAW,GAAAwN,EAAApQ,OAAA,yBACF,IAAAiC,EAAAC,GAAA,OACHC,YAAA,yBACGF,EAAAC,GAAA,SACHqO,aACArQ,KAAA,QACAsQ,QAAA,UACAxQ,MAAAiC,EAAA,QACAwO,WAAA,YAEAzN,OACAuG,KAAA,QAEA7G,UACA1C,MAAAiC,EAAAW,GAAAX,EAAA2L,UAEArL,IACAmO,MAAA,SAAAC,GACA,KAAAA,EAAAC,SACA3O,EAAAoM,YAAAsC,IAEAzG,MAAA,SAAAyG,GACAA,EAAAE,OAAAC,YACA7O,EAAA2L,QAAA+C,EAAAE,OAAA7Q,WAGG,IAAAiC,EAAAC,GAAA,QACHC,YAAA,2BACAI,IACAC,MAAAP,EAAAoM,eAEG,YACFtM","file":"static/js/2.41d5e7d04f62283e6cf1.js","sourcesContent":["webpackJsonp([2,6],{\n\n/***/ 6:\n/***/ function(module, exports) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\texports.default = {\n\t name: 'pageHeader',\n\t props: ['pageType'],\n\t data: function data() {\n\t return {\n\t showMenu: false\n\t };\n\t },\n\t\n\t methods: {\n\t showMenus: function showMenus() {\n\t this.showMenu = !this.showMenu;\n\t }\n\t }\n\t};\n\n/***/ },\n\n/***/ 8:\n/***/ function(module, exports, __webpack_require__) {\n\n\texports = module.exports = __webpack_require__(1)();\n\t// imports\n\t\n\t\n\t// module\n\texports.push([module.id, \".page-about{height:100%}.ux-header{max-width:700px}.nv-toolbar{height:2.6875rem;max-width:700px;width:100%;background-color:hsla(0,0%,100%,.95);position:fixed;top:0;left:0;transition:all .3s ease;box-shadow:0 0 4px rgba(0,0,0,.25);z-index:6}.nv-toolbar .toolbar-nav{height:2.625rem;width:2.5rem;display:inline-black;line-height:2.5rem;background-size:19px 16px;position:absolute;top:0;left:0;text-align:center;z-index:99}.nv-toolbar .toolbar-nav i{font-size:32px;color:#1c8062}.nv-toolbar .page-text{display:block;text-align:center;height:100%;line-height:2.6875rem;font-size:16px;width:100%;position:relative;z-index:0}.nav-list{background:url(\" + __webpack_require__(10) + \");background-size:100% 100%;position:fixed;top:0;bottom:0;left:-200px;width:200px;height:100%;background-color:#fff;color:#0cf1d6;transition:all .3s ease;z-index:99}.nav-list.show{transform:translateX(200px)}.nav-list .nav-list-title{margin-left:25px;font-size:16px;color:#cae3e2;padding:.9375rem 0;height:2.5rem;line-height:2.5rem;border-bottom:1px solid #d4d4d4;margin-right:25px;margin-bottom:20px}.nav-list .nav-list-title .icon{margin-right:5px;font-size:20px;color:#0cf1d6}.nav-list ul{width:170px;margin-left:25px}.nav-list ul li{margin-right:25px;font-size:14px;color:#f5f5f7;padding:.875rem 0}.nav-list ul li a{color:#f5f5f7}.nav-list ul li .router-link-active{display:inline-black;width:100%;height:100%;color:#0cf1d6}.nav-list ul li .router-link-active i{color:#0cf1d6}.nav-list ul li i{margin-right:30px}.page-cover{position:fixed;top:0;right:0;bottom:0;left:0;background:rgba(0,0,0,.4);z-index:7}\", \"\", {\"version\":3,\"sources\":[\"/./src/components/Header.vue\"],\"names\":[],\"mappings\":\"AACA,YAAY,WAAW,CACtB,AACD,WAAW,eAAe,CACzB,AACD,YAAY,iBAAiB,gBAAgB,WAAW,qCAAwC,eAAe,MAAM,OAAO,wBAAwB,mCAAoC,SAAS,CAChM,AACD,yBAAyB,gBAAgB,aAAa,qBAAqB,mBAAmB,0BAA0B,kBAAkB,MAAM,OAAO,kBAAkB,UAAU,CAClL,AACD,2BAA2B,eAAe,aAAa,CACtD,AACD,uBAAuB,cAAc,kBAAkB,YAAY,sBAAsB,eAAe,WAAW,kBAAkB,SAAS,CAC7I,AACD,UAAU,yCAA2C,0BAA0B,eAAe,MAAM,SAAS,YAAY,YAAY,YAAY,sBAAsB,cAAc,wBAAwB,UAAU,CACtN,AACD,eAAe,2BAA2B,CACzC,AACD,0BAA0B,iBAAiB,eAAe,cAAc,mBAAmB,cAAc,mBAAmB,gCAAgC,kBAAkB,kBAAkB,CAC/L,AACD,gCAAgC,iBAAiB,eAAe,aAAa,CAC5E,AACD,aAAa,YAAY,gBAAgB,CACxC,AACD,gBAAgB,kBAAkB,eAAe,cAAc,iBAAiB,CAC/E,AACD,kBAAkB,aAAa,CAC9B,AACD,oCAAoC,qBAAqB,WAAW,YAAY,aAAa,CAC5F,AACD,sCAAsC,aAAa,CAClD,AACD,kBAAkB,iBAAiB,CAClC,AACD,YAAY,eAAe,MAAM,QAAQ,SAAS,OAAO,0BAA2B,SAAS,CAC5F\",\"file\":\"Header.vue\",\"sourcesContent\":[\"\\n.page-about{height:100%\\n}\\n.ux-header{max-width:700px\\n}\\n.nv-toolbar{height:2.6875rem;max-width:700px;width:100%;background-color:rgba(255,255,255,0.95);position:fixed;top:0;left:0;transition:all .3s ease;box-shadow:0 0 4px rgba(0,0,0,0.25);z-index:6\\n}\\n.nv-toolbar .toolbar-nav{height:2.625rem;width:2.5rem;display:inline-black;line-height:2.5rem;background-size:19px 16px;position:absolute;top:0;left:0;text-align:center;z-index:99\\n}\\n.nv-toolbar .toolbar-nav i{font-size:32px;color:#1c8062\\n}\\n.nv-toolbar .page-text{display:block;text-align:center;height:100%;line-height:2.6875rem;font-size:16px;width:100%;position:relative;z-index:0\\n}\\n.nav-list{background:url(\\\"../assets/images/5fe.jpg\\\");background-size:100% 100%;position:fixed;top:0;bottom:0;left:-200px;width:200px;height:100%;background-color:#fff;color:#0cf1d6;transition:all .3s ease;z-index:99\\n}\\n.nav-list.show{transform:translateX(200px)\\n}\\n.nav-list .nav-list-title{margin-left:25px;font-size:16px;color:#cae3e2;padding:.9375rem 0;height:2.5rem;line-height:2.5rem;border-bottom:1px solid #d4d4d4;margin-right:25px;margin-bottom:20px\\n}\\n.nav-list .nav-list-title .icon{margin-right:5px;font-size:20px;color:#0cf1d6\\n}\\n.nav-list ul{width:170px;margin-left:25px\\n}\\n.nav-list ul li{margin-right:25px;font-size:14px;color:#f5f5f7;padding:.875rem 0\\n}\\n.nav-list ul li a{color:#f5f5f7\\n}\\n.nav-list ul li .router-link-active{display:inline-black;width:100%;height:100%;color:#0cf1d6\\n}\\n.nav-list ul li .router-link-active i{color:#0cf1d6\\n}\\n.nav-list ul li i{margin-right:30px\\n}\\n.page-cover{position:fixed;top:0;right:0;bottom:0;left:0;background:rgba(0,0,0,0.4);z-index:7\\n}\\n\"],\"sourceRoot\":\"webpack://\"}]);\n\t\n\t// exports\n\n\n/***/ },\n\n/***/ 9:\n/***/ function(module, exports, __webpack_require__) {\n\n\t// style-loader: Adds some css to the DOM by adding a <style> tag\n\t\n\t// load the styles\n\tvar content = __webpack_require__(8);\n\tif(typeof content === 'string') content = [[module.id, content, '']];\n\t// add the styles to the DOM\n\tvar update = __webpack_require__(2)(content, {});\n\tif(content.locals) module.exports = content.locals;\n\t// Hot Module Replacement\n\tif(false) {\n\t\t// When the styles change, update the <style> tags\n\t\tif(!content.locals) {\n\t\t\tmodule.hot.accept(\"!!./../../node_modules/.npminstall/css-loader/0.25.0/css-loader/index.js?sourceMap!./../../node_modules/.npminstall/vue-loader/9.9.5/vue-loader/lib/style-rewriter.js?id=data-v-60a58bee!./../../node_modules/sass-loader/index.js?sourceMap!./../../node_modules/.npminstall/vue-loader/9.9.5/vue-loader/lib/selector.js?type=styles&index=0!./Header.vue\", function() {\n\t\t\t\tvar newContent = require(\"!!./../../node_modules/.npminstall/css-loader/0.25.0/css-loader/index.js?sourceMap!./../../node_modules/.npminstall/vue-loader/9.9.5/vue-loader/lib/style-rewriter.js?id=data-v-60a58bee!./../../node_modules/sass-loader/index.js?sourceMap!./../../node_modules/.npminstall/vue-loader/9.9.5/vue-loader/lib/selector.js?type=styles&index=0!./Header.vue\");\n\t\t\t\tif(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n\t\t\t\tupdate(newContent);\n\t\t\t});\n\t\t}\n\t\t// When the module is disposed, remove the <style> tags\n\t\tmodule.hot.dispose(function() { update(); });\n\t}\n\n/***/ },\n\n/***/ 10:\n/***/ function(module, exports, __webpack_require__) {\n\n\tmodule.exports = __webpack_require__.p + \"static/img/5fe.63247f8.jpg\";\n\n/***/ },\n\n/***/ 11:\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar __vue_exports__, __vue_options__\n\tvar __vue_styles__ = {}\n\t\n\t/* styles */\n\t__webpack_require__(9)\n\t\n\t/* script */\n\t__vue_exports__ = __webpack_require__(6)\n\t\n\t/* template */\n\tvar __vue_template__ = __webpack_require__(12)\n\t__vue_options__ = __vue_exports__ = __vue_exports__ || {}\n\tif (\n\t typeof __vue_exports__.default === \"object\" ||\n\t typeof __vue_exports__.default === \"function\"\n\t) {\n\t__vue_options__ = __vue_exports__ = __vue_exports__.default\n\t}\n\tif (typeof __vue_options__ === \"function\") {\n\t __vue_options__ = __vue_options__.options\n\t}\n\t\n\t__vue_options__.render = __vue_template__.render\n\t__vue_options__.staticRenderFns = __vue_template__.staticRenderFns\n\t\n\tmodule.exports = __vue_exports__\n\n\n/***/ },\n\n/***/ 12:\n/***/ function(module, exports) {\n\n\tmodule.exports={render:function (){var _vm=this;\n\t return _vm._h('div', {\n\t staticClass: \"ux-header\",\n\t class: _vm.pageType.className\n\t }, [(_vm.showMenu) ? _vm._h('div', {\n\t staticClass: \"page-cover\",\n\t on: {\n\t \"click\": _vm.showMenus\n\t }\n\t }, [\"weewe\\n \"]) : _vm._e(), \" \", _vm._h('div', {\n\t staticClass: \"nv-toolbar\"\n\t }, [_vm._h('div', {\n\t staticClass: \"toolbar-nav\",\n\t on: {\n\t \"click\": _vm.showMenus\n\t }\n\t }, [_vm._h('i', {\n\t staticClass: \"icon iconfont\"\n\t }, [\"\"])]), \" \", _vm._h('span', {\n\t staticClass: \"page-text\",\n\t domProps: {\n\t \"textContent\": _vm._s(_vm.pageType.text)\n\t }\n\t })]), \" \", _vm._h('section', {\n\t staticClass: \"nav-list\",\n\t class: {\n\t show: _vm.showMenu\n\t }\n\t }, [_vm._m(0), \" \", _vm._h('ul', [_vm._h('li', [_vm._h('router-link', {\n\t attrs: {\n\t \"to\": \"/happy\"\n\t }\n\t }, [_vm._h('i', {\n\t staticClass: \"icon iconfont\"\n\t }, [\"\"]), \"开心一刻\\n \"])]), \" \", _vm._h('li', [_vm._h('router-link', {\n\t attrs: {\n\t \"to\": \"/weather\"\n\t }\n\t }, [_vm._h('i', {\n\t staticClass: \"icon iconfont\"\n\t }, [\"\"]), \"天气预报\\n \"])]), \" \", _vm._h('li', [_vm._h('router-link', {\n\t attrs: {\n\t \"to\": \"/robot\"\n\t }\n\t }, [_vm._h('i', {\n\t staticClass: \"icon iconfont\"\n\t }, [\"\"]), \"万能机器人\\n \"])]), \" \", _vm._h('li', [_vm._h('router-link', {\n\t attrs: {\n\t \"to\": \"/about\"\n\t }\n\t }, [_vm._h('i', {\n\t staticClass: \"icon iconfont\"\n\t }, [\"\"]), \"关于我\\n \"])])])])])\n\t},staticRenderFns: [function (){var _vm=this;\n\t return _vm._h('div', {\n\t staticClass: \"nav-list-title\"\n\t }, [_vm._h('i', {\n\t staticClass: \"icon iconfont\"\n\t }, [\"\"]), \" 陪伴你的左右\\n \"])\n\t}]}\n\n/***/ },\n\n/***/ 13:\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\texports.RobotCache = exports.WeatherCache = exports.HappyListCache = undefined;\n\t\n\t__webpack_require__(19);\n\t\n\tvar _constant = __webpack_require__(3);\n\t\n\tvar HappyListCache = exports.HappyListCache = {\n\t getHappyList: function getHappyList(data) {\n\t var key = '&key=ec451dc7ad29d93c72de5f281123a496&';\n\t\n\t switch (data.happyType) {\n\t case _constant.HAPPY_TYPE.TEXT:\n\t return fetch('happy/joke/randJoke.php?' + key + parseParam(data)).then(function (response) {\n\t return response.json();\n\t }).then(function (response) {\n\t return response.result;\n\t });\n\t break;\n\t case _constant.HAPPY_TYPE.IMAGE:\n\t return fetch('happy/joke/randJoke.php?type=\"pic\"' + key + parseParam(data)).then(function (response) {\n\t return response.json();\n\t }).then(function (response) {\n\t return response.result;\n\t });\n\t break;\n\t case _constant.HAPPY_TYPE.OTHER:\n\t return fetch('api/joke/img/text.from?\"' + key + parseParam(data)).then(function (response) {\n\t return response.json();\n\t }).then(function (response) {\n\t return response.result.data;\n\t });\n\t break;\n\t }\n\t }\n\t};\n\t\n\tvar WeatherCache = exports.WeatherCache = {\n\t getWeather: function getWeather(data) {\n\t var key = '?key=7cc263ec409e69b4aeb54b55639bcc87&';\n\t return fetch('op/onebox/weather/query' + key + parseParam(data)).then(function (response) {\n\t return response.json();\n\t }).then(function (response) {\n\t return response.result.data;\n\t });\n\t }\n\t};\n\t\n\tvar RobotCache = exports.RobotCache = {\n\t getWeather: function getWeather(data) {\n\t var key = '?key=50cd35eb206526335a1c1e0f149f98a5&';\n\t return fetch('op/robot/index' + key + parseParam(data)).then(function (response) {\n\t return response.json();\n\t }).then(function (response) {\n\t return response.result.text;\n\t });\n\t }\n\t};\n\t\n\tfunction parseParam(obj) {\n\t var paramStr = '';\n\t for (var p in obj) {\n\t if (obj.hasOwnProperty(p)) {\n\t if (typeof obj[p] == \" function \") {\n\t obj[p]();\n\t } else {\n\t paramStr += p + '=' + encodeURIComponent(obj[p]) + \"&\";\n\t }\n\t }\n\t }\n\t return paramStr;\n\t}\n\n/***/ },\n\n/***/ 19:\n/***/ function(module, exports) {\n\n\t(function(self) {\n\t 'use strict';\n\t\n\t if (self.fetch) {\n\t return\n\t }\n\t\n\t var support = {\n\t searchParams: 'URLSearchParams' in self,\n\t iterable: 'Symbol' in self && 'iterator' in Symbol,\n\t blob: 'FileReader' in self && 'Blob' in self && (function() {\n\t try {\n\t new Blob()\n\t return true\n\t } catch(e) {\n\t return false\n\t }\n\t })(),\n\t formData: 'FormData' in self,\n\t arrayBuffer: 'ArrayBuffer' in self\n\t }\n\t\n\t if (support.arrayBuffer) {\n\t var viewClasses = [\n\t '[object Int8Array]',\n\t '[object Uint8Array]',\n\t '[object Uint8ClampedArray]',\n\t '[object Int16Array]',\n\t '[object Uint16Array]',\n\t '[object Int32Array]',\n\t '[object Uint32Array]',\n\t '[object Float32Array]',\n\t '[object Float64Array]'\n\t ]\n\t\n\t var isDataView = function(obj) {\n\t return obj && DataView.prototype.isPrototypeOf(obj)\n\t }\n\t\n\t var isArrayBufferView = ArrayBuffer.isView || function(obj) {\n\t return obj && viewClasses.indexOf(Object.prototype.toString.call(obj)) > -1\n\t }\n\t }\n\t\n\t function normalizeName(name) {\n\t if (typeof name !== 'string') {\n\t name = String(name)\n\t }\n\t if (/[^a-z0-9\\-#$%&'*+.\\^_`|~]/i.test(name)) {\n\t throw new TypeError('Invalid character in header field name')\n\t }\n\t return name.toLowerCase()\n\t }\n\t\n\t function normalizeValue(value) {\n\t if (typeof value !== 'string') {\n\t value = String(value)\n\t }\n\t return value\n\t }\n\t\n\t // Build a destructive iterator for the value list\n\t function iteratorFor(items) {\n\t var iterator = {\n\t next: function() {\n\t var value = items.shift()\n\t return {done: value === undefined, value: value}\n\t }\n\t }\n\t\n\t if (support.iterable) {\n\t iterator[Symbol.iterator] = function() {\n\t return iterator\n\t }\n\t }\n\t\n\t return iterator\n\t }\n\t\n\t function Headers(headers) {\n\t this.map = {}\n\t\n\t if (headers instanceof Headers) {\n\t headers.forEach(function(value, name) {\n\t this.append(name, value)\n\t }, this)\n\t\n\t } else if (headers) {\n\t Object.getOwnPropertyNames(headers).forEach(function(name) {\n\t this.append(name, headers[name])\n\t }, this)\n\t }\n\t }\n\t\n\t Headers.prototype.append = function(name, value) {\n\t name = normalizeName(name)\n\t value = normalizeValue(value)\n\t var oldValue = this.map[name]\n\t this.map[name] = oldValue ? oldValue+','+value : value\n\t }\n\t\n\t Headers.prototype['delete'] = function(name) {\n\t delete this.map[normalizeName(name)]\n\t }\n\t\n\t Headers.prototype.get = function(name) {\n\t name = normalizeName(name)\n\t return this.has(name) ? this.map[name] : null\n\t }\n\t\n\t Headers.prototype.has = function(name) {\n\t return this.map.hasOwnProperty(normalizeName(name))\n\t }\n\t\n\t Headers.prototype.set = function(name, value) {\n\t this.map[normalizeName(name)] = normalizeValue(value)\n\t }\n\t\n\t Headers.prototype.forEach = function(callback, thisArg) {\n\t for (var name in this.map) {\n\t if (this.map.hasOwnProperty(name)) {\n\t callback.call(thisArg, this.map[name], name, this)\n\t }\n\t }\n\t }\n\t\n\t Headers.prototype.keys = function() {\n\t var items = []\n\t this.forEach(function(value, name) { items.push(name) })\n\t return iteratorFor(items)\n\t }\n\t\n\t Headers.prototype.values = function() {\n\t var items = []\n\t this.forEach(function(value) { items.push(value) })\n\t return iteratorFor(items)\n\t }\n\t\n\t Headers.prototype.entries = function() {\n\t var items = []\n\t this.forEach(function(value, name) { items.push([name, value]) })\n\t return iteratorFor(items)\n\t }\n\t\n\t if (support.iterable) {\n\t Headers.prototype[Symbol.iterator] = Headers.prototype.entries\n\t }\n\t\n\t function consumed(body) {\n\t if (body.bodyUsed) {\n\t return Promise.reject(new TypeError('Already read'))\n\t }\n\t body.bodyUsed = true\n\t }\n\t\n\t function fileReaderReady(reader) {\n\t return new Promise(function(resolve, reject) {\n\t reader.onload = function() {\n\t resolve(reader.result)\n\t }\n\t reader.onerror = function() {\n\t reject(reader.error)\n\t }\n\t })\n\t }\n\t\n\t function readBlobAsArrayBuffer(blob) {\n\t var reader = new FileReader()\n\t var promise = fileReaderReady(reader)\n\t reader.readAsArrayBuffer(blob)\n\t return promise\n\t }\n\t\n\t function readBlobAsText(blob) {\n\t var reader = new FileReader()\n\t var promise = fileReaderReady(reader)\n\t reader.readAsText(blob)\n\t return promise\n\t }\n\t\n\t function readArrayBufferAsText(buf) {\n\t var view = new Uint8Array(buf)\n\t var chars = new Array(view.length)\n\t\n\t for (var i = 0; i < view.length; i++) {\n\t chars[i] = String.fromCharCode(view[i])\n\t }\n\t return chars.join('')\n\t }\n\t\n\t function bufferClone(buf) {\n\t if (buf.slice) {\n\t return buf.slice(0)\n\t } else {\n\t var view = new Uint8Array(buf.byteLength)\n\t view.set(new Uint8Array(buf))\n\t return view.buffer\n\t }\n\t }\n\t\n\t function Body() {\n\t this.bodyUsed = false\n\t\n\t this._initBody = function(body) {\n\t this._bodyInit = body\n\t if (!body) {\n\t this._bodyText = ''\n\t } else if (typeof body === 'string') {\n\t this._bodyText = body\n\t } else if (support.blob && Blob.prototype.isPrototypeOf(body)) {\n\t this._bodyBlob = body\n\t } else if (support.formData && FormData.prototype.isPrototypeOf(body)) {\n\t this._bodyFormData = body\n\t } else if (support.searchParams && URLSearchParams.prototype.isPrototypeOf(body)) {\n\t this._bodyText = body.toString()\n\t } else if (support.arrayBuffer && support.blob && isDataView(body)) {\n\t this._bodyArrayBuffer = bufferClone(body.buffer)\n\t // IE 10-11 can't handle a DataView body.\n\t this._bodyInit = new Blob([this._bodyArrayBuffer])\n\t } else if (support.arrayBuffer && (ArrayBuffer.prototype.isPrototypeOf(body) || isArrayBufferView(body))) {\n\t this._bodyArrayBuffer = bufferClone(body)\n\t } else {\n\t throw new Error('unsupported BodyInit type')\n\t }\n\t\n\t if (!this.headers.get('content-type')) {\n\t if (typeof body === 'string') {\n\t this.headers.set('content-type', 'text/plain;charset=UTF-8')\n\t } else if (this._bodyBlob && this._bodyBlob.type) {\n\t this.headers.set('content-type', this._bodyBlob.type)\n\t } else if (support.searchParams && URLSearchParams.prototype.isPrototypeOf(body)) {\n\t this.headers.set('content-type', 'application/x-www-form-urlencoded;charset=UTF-8')\n\t }\n\t }\n\t }\n\t\n\t if (support.blob) {\n\t this.blob = function() {\n\t var rejected = consumed(this)\n\t if (rejected) {\n\t return rejected\n\t }\n\t\n\t if (this._bodyBlob) {\n\t return Promise.resolve(this._bodyBlob)\n\t } else if (this._bodyArrayBuffer) {\n\t return Promise.resolve(new Blob([this._bodyArrayBuffer]))\n\t } else if (this._bodyFormData) {\n\t throw new Error('could not read FormData body as blob')\n\t } else {\n\t return Promise.resolve(new Blob([this._bodyText]))\n\t }\n\t }\n\t\n\t this.arrayBuffer = function() {\n\t if (this._bodyArrayBuffer) {\n\t return consumed(this) || Promise.resolve(this._bodyArrayBuffer)\n\t } else {\n\t return this.blob().then(readBlobAsArrayBuffer)\n\t }\n\t }\n\t }\n\t\n\t this.text = function() {\n\t var rejected = consumed(this)\n\t if (rejected) {\n\t return rejected\n\t }\n\t\n\t if (this._bodyBlob) {\n\t return readBlobAsText(this._bodyBlob)\n\t } else if (this._bodyArrayBuffer) {\n\t return Promise.resolve(readArrayBufferAsText(this._bodyArrayBuffer))\n\t } else if (this._bodyFormData) {\n\t throw new Error('could not read FormData body as text')\n\t } else {\n\t return Promise.resolve(this._bodyText)\n\t }\n\t }\n\t\n\t if (support.formData) {\n\t this.formData = function() {\n\t return this.text().then(decode)\n\t }\n\t }\n\t\n\t this.json = function() {\n\t return this.text().then(JSON.parse)\n\t }\n\t\n\t return this\n\t }\n\t\n\t // HTTP methods whose capitalization should be normalized\n\t var methods = ['DELETE', 'GET', 'HEAD', 'OPTIONS', 'POST', 'PUT']\n\t\n\t function normalizeMethod(method) {\n\t var upcased = method.toUpperCase()\n\t return (methods.indexOf(upcased) > -1) ? upcased : method\n\t }\n\t\n\t function Request(input, options) {\n\t options = options || {}\n\t var body = options.body\n\t\n\t if (typeof input === 'string') {\n\t this.url = input\n\t } else {\n\t if (input.bodyUsed) {\n\t throw new TypeError('Already read')\n\t }\n\t this.url = input.url\n\t this.credentials = input.credentials\n\t if (!options.headers) {\n\t this.headers = new Headers(input.headers)\n\t }\n\t this.method = input.method\n\t this.mode = input.mode\n\t if (!body && input._bodyInit != null) {\n\t body = input._bodyInit\n\t input.bodyUsed = true\n\t }\n\t }\n\t\n\t this.credentials = options.credentials || this.credentials || 'omit'\n\t if (options.headers || !this.headers) {\n\t this.headers = new Headers(options.headers)\n\t }\n\t this.method = normalizeMethod(options.method || this.method || 'GET')\n\t this.mode = options.mode || this.mode || null\n\t this.referrer = null\n\t\n\t if ((this.method === 'GET' || this.method === 'HEAD') && body) {\n\t throw new TypeError('Body not allowed for GET or HEAD requests')\n\t }\n\t this._initBody(body)\n\t }\n\t\n\t Request.prototype.clone = function() {\n\t return new Request(this, { body: this._bodyInit })\n\t }\n\t\n\t function decode(body) {\n\t var form = new FormData()\n\t body.trim().split('&').forEach(function(bytes) {\n\t if (bytes) {\n\t var split = bytes.split('=')\n\t var name = split.shift().replace(/\\+/g, ' ')\n\t var value = split.join('=').replace(/\\+/g, ' ')\n\t form.append(decodeURIComponent(name), decodeURIComponent(value))\n\t }\n\t })\n\t return form\n\t }\n\t\n\t function parseHeaders(rawHeaders) {\n\t var headers = new Headers()\n\t rawHeaders.split('\\r\\n').forEach(function(line) {\n\t var parts = line.split(':')\n\t var key = parts.shift().trim()\n\t if (key) {\n\t var value = parts.join(':').trim()\n\t headers.append(key, value)\n\t }\n\t })\n\t return headers\n\t }\n\t\n\t Body.call(Request.prototype)\n\t\n\t function Response(bodyInit, options) {\n\t if (!options) {\n\t options = {}\n\t }\n\t\n\t this.type = 'default'\n\t this.status = 'status' in options ? options.status : 200\n\t this.ok = this.status >= 200 && this.status < 300\n\t this.statusText = 'statusText' in options ? options.statusText : 'OK'\n\t this.headers = new Headers(options.headers)\n\t this.url = options.url || ''\n\t this._initBody(bodyInit)\n\t }\n\t\n\t Body.call(Response.prototype)\n\t\n\t Response.prototype.clone = function() {\n\t return new Response(this._bodyInit, {\n\t status: this.status,\n\t statusText: this.statusText,\n\t headers: new Headers(this.headers),\n\t url: this.url\n\t })\n\t }\n\t\n\t Response.error = function() {\n\t var response = new Response(null, {status: 0, statusText: ''})\n\t response.type = 'error'\n\t return response\n\t }\n\t\n\t var redirectStatuses = [301, 302, 303, 307, 308]\n\t\n\t Response.redirect = function(url, status) {\n\t if (redirectStatuses.indexOf(status) === -1) {\n\t throw new RangeError('Invalid status code')\n\t }\n\t\n\t return new Response(null, {status: status, headers: {location: url}})\n\t }\n\t\n\t self.Headers = Headers\n\t self.Request = Request\n\t self.Response = Response\n\t\n\t self.fetch = function(input, init) {\n\t return new Promise(function(resolve, reject) {\n\t var request = new Request(input, init)\n\t var xhr = new XMLHttpRequest()\n\t\n\t xhr.onload = function() {\n\t var options = {\n\t status: xhr.status,\n\t statusText: xhr.statusText,\n\t headers: parseHeaders(xhr.getAllResponseHeaders() || '')\n\t }\n\t options.url = 'responseURL' in xhr ? xhr.responseURL : options.headers.get('X-Request-URL')\n\t var body = 'response' in xhr ? xhr.response : xhr.responseText\n\t resolve(new Response(body, options))\n\t }\n\t\n\t xhr.onerror = function() {\n\t reject(new TypeError('Network request failed'))\n\t }\n\t\n\t xhr.ontimeout = function() {\n\t reject(new TypeError('Network request failed'))\n\t }\n\t\n\t xhr.open(request.method, request.url, true)\n\t\n\t if (request.credentials === 'include') {\n\t xhr.withCredentials = true\n\t }\n\t\n\t if ('responseType' in xhr && support.blob) {\n\t xhr.responseType = 'blob'\n\t }\n\t\n\t request.headers.forEach(function(value, name) {\n\t xhr.setRequestHeader(name, value)\n\t })\n\t\n\t xhr.send(typeof request._bodyInit === 'undefined' ? null : request._bodyInit)\n\t })\n\t }\n\t self.fetch.polyfill = true\n\t})(typeof self !== 'undefined' ? self : this);\n\n\n/***/ },\n\n/***/ 57:\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _tool = __webpack_require__(25);\n\t\n\tvar _tool2 = _interopRequireDefault(_tool);\n\t\n\tvar _constant = __webpack_require__(3);\n\t\n\tvar _cache = __webpack_require__(13);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\texports.default = {\n\t name: 'messageList',\n\t data: function data() {\n\t return {\n\t USER_TYPE: _constant.USER_TYPE,\n\t message: ''\n\t };\n\t },\n\t\n\t computed: {\n\t messageList: function messageList() {\n\t return this.$store.getters.getMessages;\n\t },\n\t userId: function userId() {\n\t return this.$store.getters.getUserId;\n\t }\n\t },\n\t methods: {\n\t contract: function contract() {},\n\t sendMessage: function sendMessage() {\n\t var _this = this;\n\t\n\t if (this.message == '') {\n\t return;\n\t }\n\t this.$store.dispatch('pushMassages', {\n\t key: _tool2.default.getTimestamp(),\n\t type: _constant.USER_TYPE.PEOLE,\n\t value: this.message,\n\t userId: '' }).then(function (data) {\n\t _cache.RobotCache.getWeather({ info: _this.message, userid: _this.userId }).then(function (data) {\n\t _this.$store.dispatch('pushMassages', {\n\t key: _tool2.default.getTimestamp(),\n\t type: _constant.USER_TYPE.ROBOT,\n\t value: data,\n\t userId: '' }).then(function (data) {\n\t _this.clearInput();\n\t });\n\t });\n\t });\n\t },\n\t clearInput: function clearInput() {\n\t this.message = '';\n\t document.getElementById('msg-end').scrollTop = document.getElementById('msg-end').scrollHeight;\n\t }\n\t }\n\t};\n\n/***/ },\n\n/***/ 62:\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _cache = __webpack_require__(13);\n\t\n\tvar _MessageList = __webpack_require__(146);\n\t\n\tvar _MessageList2 = _interopRequireDefault(_MessageList);\n\t\n\tvar _Header = __webpack_require__(11);\n\t\n\tvar _Header2 = _interopRequireDefault(_Header);\n\t\n\tvar _constant = __webpack_require__(3);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\texports.default = {\n\t name: 'robot',\n\t data: function data() {\n\t return {\n\t pageType: _constant.PAGE_TYPE.ROBOT_PAGE\n\t };\n\t },\n\t\n\t components: {\n\t messageList: _MessageList2.default, pageHeader: _Header2.default\n\t }\n\t};\n\n/***/ },\n\n/***/ 103:\n/***/ function(module, exports, __webpack_require__) {\n\n\texports = module.exports = __webpack_require__(1)();\n\t// imports\n\t\n\t\n\t// module\n\texports.push([module.id, \".page-robot{padding-top:2.75rem!important}\", \"\", {\"version\":3,\"sources\":[\"/./src/pages/robot.vue\"],\"names\":[],\"mappings\":\"AACA,YAAY,6BAA8B,CACzC\",\"file\":\"robot.vue\",\"sourcesContent\":[\"\\n.page-robot{padding-top:2.75rem !important\\n}\\n\"],\"sourceRoot\":\"webpack://\"}]);\n\t\n\t// exports\n\n\n/***/ },\n\n/***/ 113:\n/***/ function(module, exports, __webpack_require__) {\n\n\texports = module.exports = __webpack_require__(1)();\n\t// imports\n\t\n\t\n\t// module\n\texports.push([module.id, \"body{background:#ebebeb}.ux-message-list{padding-top:1.25rem}.ux-message-list .ux-message-list-ul{max-width:700px;padding-bottom:4.0625rem;position:fixed;bottom:0;top:0;margin-top:3rem;overflow:scroll}.ux-message-list .ux-message-list-item{position:relative;float:left;width:21.875rem;margin-bottom:2.5rem;overflow:auto;zoom:1}.ux-message-list .ux-message-list-my-img{width:40px;height:40px;float:left;border-radius:40px;display:inline-block}.ux-message-list .ux-message-text{position:relative;max-width:13.125rem;display:inline-block;float:left;margin-left:10px;padding:10px;background:#fff}.ux-message-list .ux-message-text .triangle{display:inline-block;position:absolute;top:12px;margin-left:-17px;width:0;height:0;overflow:hidden;line-height:0;font-size:0;vertical-align:middle;border-right:7px solid #fff;border-left:0 none;border-top:7px solid transparent;border-bottom:7px solid transparent;_color:#ff3fff;_filter:chroma(color=#FF3FFF)}.ux-message-list .ux-message-list-right,.ux-message-list .ux-message-list-right .ux-message-list-my-img{float:right}.ux-message-list .ux-message-list-right .ux-message-text{float:right;margin-right:10px;background:#a2e65b}.ux-message-list .ux-message-list-right .ux-message-text .triangle{display:inline-block;position:absolute;top:12px;right:-7px;width:0;height:0;overflow:hidden;line-height:0;font-size:0;vertical-align:middle;border-left:7px solid #a2e65b;border-right:0 none;border-top:7px solid transparent;border-bottom:7px solid transparent;_color:#ff3fff;_filter:chroma(color=#FF3FFF)}.ux-message-list .ux-message-list-post{height:3.75rem;width:100%;position:fixed;bottom:0;background:#f5f5f7;border-top:2px solid #e9e9eb}.ux-message-list .ux-message-list-post input{width:18.75rem;height:2.5rem;margin:0 0 0 .5625rem;border:1px solid #e9e9eb;border-radius:12px;font-size:16px}.ux-message-list .ux-message-list-post .ux-message-list-send-but{display:inline-block;padding-left:.46875rem;width:2.96875rem;height:3.75rem;line-height:3.75rem;font-size:16px;color:#11bc80}\", \"\", {\"version\":3,\"sources\":[\"/./src/components/MessageList.vue\"],\"names\":[],\"mappings\":\"AACA,KAAK,kBAAkB,CACtB,AACD,iBAAiB,mBAAmB,CACnC,AACD,qCAAqC,gBAAgB,yBAAyB,eAAe,SAAS,MAAM,gBAAgB,eAAe,CAC1I,AACD,uCAAuC,kBAAkB,WAAW,gBAAgB,qBAAqB,cAAc,MAAM,CAC5H,AACD,yCAAyC,WAAW,YAAY,WAAW,mBAAmB,oBAAoB,CACjH,AACD,kCAAkC,kBAAkB,oBAAoB,qBAAqB,WAAW,iBAAiB,aAAa,eAAe,CACpJ,AACD,4CAA4C,qBAAqB,kBAAkB,SAAS,kBAAkB,QAAQ,SAAS,gBAAgB,cAAc,YAAY,sBAAsB,4BAA4B,mBAAmB,iCAAiC,oCAAoC,CAAA,cAAe,CAAA,4BAA6B,CAC9V,AAGD,wGAAgE,WAAW,CAC1E,AACD,yDAAyD,YAAY,kBAAkB,kBAAkB,CACxG,AACD,mEAAmE,qBAAqB,kBAAkB,SAAS,WAAW,QAAQ,SAAS,gBAAgB,cAAc,YAAY,sBAAsB,8BAA8B,oBAAoB,iCAAiC,oCAAoC,CAAA,cAAe,CAAA,4BAA6B,CACjX,AACD,uCAAuC,eAAe,WAAW,eAAe,SAAW,mBAAmB,4BAA4B,CACzI,AACD,6CAA6C,eAAe,cAAc,sBAAsB,yBAAyB,mBAAmB,cAAc,CACzJ,AACD,iEAAiE,qBAAqB,uBAAuB,iBAAiB,eAAe,oBAAoB,eAAe,aAAa,CAC5L\",\"file\":\"MessageList.vue\",\"sourcesContent\":[\"\\nbody{background:#ebebeb\\n}\\n.ux-message-list{padding-top:1.25rem\\n}\\n.ux-message-list .ux-message-list-ul{max-width:700px;padding-bottom:4.0625rem;position:fixed;bottom:0;top:0;margin-top:3rem;overflow:scroll\\n}\\n.ux-message-list .ux-message-list-item{position:relative;float:left;width:21.875rem;margin-bottom:2.5rem;overflow:auto;zoom:1\\n}\\n.ux-message-list .ux-message-list-my-img{width:40px;height:40px;float:left;border-radius:40px;display:inline-block\\n}\\n.ux-message-list .ux-message-text{position:relative;max-width:13.125rem;display:inline-block;float:left;margin-left:10px;padding:10px;background:#fff\\n}\\n.ux-message-list .ux-message-text .triangle{display:inline-block;position:absolute;top:12px;margin-left:-17px;width:0;height:0;overflow:hidden;line-height:0;font-size:0;vertical-align:middle;border-right:7px solid #fff;border-left:0 none;border-top:7px solid transparent;border-bottom:7px solid transparent;_color:#FF3FFF;_filter:chroma(color=#FF3FFF)\\n}\\n.ux-message-list .ux-message-list-right{float:right\\n}\\n.ux-message-list .ux-message-list-right .ux-message-list-my-img{float:right\\n}\\n.ux-message-list .ux-message-list-right .ux-message-text{float:right;margin-right:10px;background:#a2e65b\\n}\\n.ux-message-list .ux-message-list-right .ux-message-text .triangle{display:inline-block;position:absolute;top:12px;right:-7px;width:0;height:0;overflow:hidden;line-height:0;font-size:0;vertical-align:middle;border-left:7px solid #a2e65b;border-right:0 none;border-top:7px solid transparent;border-bottom:7px solid transparent;_color:#FF3FFF;_filter:chroma(color=#FF3FFF)\\n}\\n.ux-message-list .ux-message-list-post{height:3.75rem;width:100%;position:fixed;bottom:0px;background:#f5f5f7;border-top:2px solid #e9e9eb\\n}\\n.ux-message-list .ux-message-list-post input{width:18.75rem;height:2.5rem;margin:0 0 0 .5625rem;border:1px solid #e9e9eb;border-radius:12px;font-size:16px\\n}\\n.ux-message-list .ux-message-list-post .ux-message-list-send-but{display:inline-block;padding-left:.46875rem;width:2.96875rem;height:3.75rem;line-height:3.75rem;font-size:16px;color:#11bc80\\n}\\n\"],\"sourceRoot\":\"webpack://\"}]);\n\t\n\t// exports\n\n\n/***/ },\n\n/***/ 120:\n/***/ function(module, exports, __webpack_require__) {\n\n\t// style-loader: Adds some css to the DOM by adding a <style> tag\n\t\n\t// load the styles\n\tvar content = __webpack_require__(103);\n\tif(typeof content === 'string') content = [[module.id, content, '']];\n\t// add the styles to the DOM\n\tvar update = __webpack_require__(2)(content, {});\n\tif(content.locals) module.exports = content.locals;\n\t// Hot Module Replacement\n\tif(false) {\n\t\t// When the styles change, update the <style> tags\n\t\tif(!content.locals) {\n\t\t\tmodule.hot.accept(\"!!./../../node_modules/.npminstall/css-loader/0.25.0/css-loader/index.js?sourceMap!./../../node_modules/.npminstall/vue-loader/9.9.5/vue-loader/lib/style-rewriter.js?id=data-v-0f0af662!./../../node_modules/sass-loader/index.js?sourceMap!./../../node_modules/.npminstall/vue-loader/9.9.5/vue-loader/lib/selector.js?type=styles&index=0!./robot.vue\", function() {\n\t\t\t\tvar newContent = require(\"!!./../../node_modules/.npminstall/css-loader/0.25.0/css-loader/index.js?sourceMap!./../../node_modules/.npminstall/vue-loader/9.9.5/vue-loader/lib/style-rewriter.js?id=data-v-0f0af662!./../../node_modules/sass-loader/index.js?sourceMap!./../../node_modules/.npminstall/vue-loader/9.9.5/vue-loader/lib/selector.js?type=styles&index=0!./robot.vue\");\n\t\t\t\tif(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n\t\t\t\tupdate(newContent);\n\t\t\t});\n\t\t}\n\t\t// When the module is disposed, remove the <style> tags\n\t\tmodule.hot.dispose(function() { update(); });\n\t}\n\n/***/ },\n\n/***/ 130:\n/***/ function(module, exports, __webpack_require__) {\n\n\t// style-loader: Adds some css to the DOM by adding a <style> tag\n\t\n\t// load the styles\n\tvar content = __webpack_require__(113);\n\tif(typeof content === 'string') content = [[module.id, content, '']];\n\t// add the styles to the DOM\n\tvar update = __webpack_require__(2)(content, {});\n\tif(content.locals) module.exports = content.locals;\n\t// Hot Module Replacement\n\tif(false) {\n\t\t// When the styles change, update the <style> tags\n\t\tif(!content.locals) {\n\t\t\tmodule.hot.accept(\"!!./../../node_modules/.npminstall/css-loader/0.25.0/css-loader/index.js?sourceMap!./../../node_modules/.npminstall/vue-loader/9.9.5/vue-loader/lib/style-rewriter.js?id=data-v-d135c70e!./../../node_modules/sass-loader/index.js?sourceMap!./../../node_modules/.npminstall/vue-loader/9.9.5/vue-loader/lib/selector.js?type=styles&index=0!./MessageList.vue\", function() {\n\t\t\t\tvar newContent = require(\"!!./../../node_modules/.npminstall/css-loader/0.25.0/css-loader/index.js?sourceMap!./../../node_modules/.npminstall/vue-loader/9.9.5/vue-loader/lib/style-rewriter.js?id=data-v-d135c70e!./../../node_modules/sass-loader/index.js?sourceMap!./../../node_modules/.npminstall/vue-loader/9.9.5/vue-loader/lib/selector.js?type=styles&index=0!./MessageList.vue\");\n\t\t\t\tif(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n\t\t\t\tupdate(newContent);\n\t\t\t});\n\t\t}\n\t\t// When the module is disposed, remove the <style> tags\n\t\tmodule.hot.dispose(function() { update(); });\n\t}\n\n/***/ },\n\n/***/ 146:\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar __vue_exports__, __vue_options__\n\tvar __vue_styles__ = {}\n\t\n\t/* styles */\n\t__webpack_require__(130)\n\t\n\t/* script */\n\t__vue_exports__ = __webpack_require__(57)\n\t\n\t/* template */\n\tvar __vue_template__ = __webpack_require__(164)\n\t__vue_options__ = __vue_exports__ = __vue_exports__ || {}\n\tif (\n\t typeof __vue_exports__.default === \"object\" ||\n\t typeof __vue_exports__.default === \"function\"\n\t) {\n\t__vue_options__ = __vue_exports__ = __vue_exports__.default\n\t}\n\tif (typeof __vue_options__ === \"function\") {\n\t __vue_options__ = __vue_options__.options\n\t}\n\t\n\t__vue_options__.render = __vue_template__.render\n\t__vue_options__.staticRenderFns = __vue_template__.staticRenderFns\n\t\n\tmodule.exports = __vue_exports__\n\n\n/***/ },\n\n/***/ 151:\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar __vue_exports__, __vue_options__\n\tvar __vue_styles__ = {}\n\t\n\t/* styles */\n\t__webpack_require__(120)\n\t\n\t/* script */\n\t__vue_exports__ = __webpack_require__(62)\n\t\n\t/* template */\n\tvar __vue_template__ = __webpack_require__(154)\n\t__vue_options__ = __vue_exports__ = __vue_exports__ || {}\n\tif (\n\t typeof __vue_exports__.default === \"object\" ||\n\t typeof __vue_exports__.default === \"function\"\n\t) {\n\t__vue_options__ = __vue_exports__ = __vue_exports__.default\n\t}\n\tif (typeof __vue_options__ === \"function\") {\n\t __vue_options__ = __vue_options__.options\n\t}\n\t\n\t__vue_options__.render = __vue_template__.render\n\t__vue_options__.staticRenderFns = __vue_template__.staticRenderFns\n\t\n\tmodule.exports = __vue_exports__\n\n\n/***/ },\n\n/***/ 154:\n/***/ function(module, exports) {\n\n\tmodule.exports={render:function (){var _vm=this;\n\t return _vm._h('div', {\n\t staticClass: \"page-robot page\"\n\t }, [_vm._h('page-header', {\n\t attrs: {\n\t \"pageType\": _vm.pageType\n\t }\n\t }), \" \", _vm._h('messageList')])\n\t},staticRenderFns: []}\n\n/***/ },\n\n/***/ 164:\n/***/ function(module, exports) {\n\n\tmodule.exports={render:function (){var _vm=this;\n\t return _vm._h('div', {\n\t staticClass: \"ux-message-list\"\n\t }, [_vm._h('ul', {\n\t staticClass: \"ux-message-list-ul\",\n\t attrs: {\n\t \"id\": \"msg-end\"\n\t },\n\t on: {\n\t \"click\": _vm.contract\n\t }\n\t }, [_vm._l((_vm.messageList), function(item) {\n\t return _vm._h('li', {\n\t staticClass: \"ux-message-list-item\",\n\t class: {\n\t 'ux-message-list-right': item.type == _vm.USER_TYPE.PEOLE\n\t }\n\t }, [_vm._h('img', {\n\t staticClass: \"ux-message-list-my-img\",\n\t attrs: {\n\t \"src\": \"http://7xqd2y.com1.z0.glb.clouddn.com/images11.jpg\"\n\t }\n\t }), \" \", _vm._h('div', {\n\t staticClass: \"ux-message-text\"\n\t }, [_vm._h('span', {\n\t staticClass: \"triangle\"\n\t }), \"\\n \" + _vm._s(item.value) + \"\\n \"])])\n\t })]), \" \", _vm._h('div', {\n\t staticClass: \"ux-message-list-post\"\n\t }, [_vm._h('input', {\n\t directives: [{\n\t name: \"model\",\n\t rawName: \"v-model\",\n\t value: (_vm.message),\n\t expression: \"message\"\n\t }],\n\t attrs: {\n\t \"type\": \"text\"\n\t },\n\t domProps: {\n\t \"value\": _vm._s(_vm.message)\n\t },\n\t on: {\n\t \"keyup\": function($event) {\n\t if ($event.keyCode !== 13) { return; }\n\t _vm.sendMessage($event)\n\t },\n\t \"input\": function($event) {\n\t if ($event.target.composing) { return; }\n\t _vm.message = $event.target.value\n\t }\n\t }\n\t }), \" \", _vm._h('span', {\n\t staticClass: \"ux-message-list-send-but\",\n\t on: {\n\t \"click\": _vm.sendMessage\n\t }\n\t }, [\"发送\"])])])\n\t},staticRenderFns: []}\n\n/***/ }\n\n});\n\n\n// WEBPACK FOOTER //\n// static/js/2.41d5e7d04f62283e6cf1.js","/**\n * ----------------------------------------------------------\n * 每个页面的头部位置\n *\n * @version 1.0\n * @author shaqihe(shaqihecome@163.com)\n *\n * @module src/components/header\n * ----------------------------------------------------------\n */\n\n<template>\n <div :class=\"pageType.className\" class=\"ux-header\">\n <div class=\"page-cover\"\n v-if=\"showMenu\"\n @click=\"showMenus\">weewe\n </div>\n <div class=\"nv-toolbar\">\n <div class=\"toolbar-nav\" @click=\"showMenus\">\n <i class=\"icon iconfont\"></i>\n </div>\n <span class=\"page-text\" v-text=\"pageType.text\"></span>\n </div>\n <section class=\"nav-list\" :class=\"{ show: showMenu }\">\n <div class=\"nav-list-title\">\n <i class=\"icon iconfont\"></i> 陪伴你的左右\n </div>\n <ul>\n <li>\n <router-link to=\"/happy\" >\n <i class=\"icon iconfont\"></i>开心一刻\n </router-link>\n </li>\n <li>\n <router-link to=\"/weather\" >\n <i class=\"icon iconfont\"></i>天气预报\n </router-link>\n </li>\n <li>\n <router-link to=\"/robot\" >\n <i class=\"icon iconfont\"></i>万能机器人\n </router-link>\n </li>\n <li>\n <router-link to=\"/about\" >\n <i class=\"icon iconfont\"></i>关于我\n </router-link>\n </li>\n </ul>\n </section>\n </div>\n</template>\n\n<script>\n export default {\n name: 'pageHeader',\n props: ['pageType'],\n data (){\n return {\n showMenu: false\n }\n },\n methods: {\n showMenus (){\n this.showMenu=!this.showMenu;\n },\n }\n }\n</script>\n\n<style lang=\"scss\">\n@import \"../assets/scss/min.scss\";\n.page-about {\n height: 100%;\n}\n\n.ux-header {\n max-width: 700px;\n}\n.nv-toolbar {\n height: px2rem(86);\n max-width: 700px;\n width: 100%;\n background-color: rgba(255, 255, 255, 0.95);\n position: fixed;\n top: 0;\n left: 0;\n -webkit-transition: all .3s ease;\n transition: all .3s ease;\n box-shadow: 0 0 4px rgba(0, 0, 0, 0.25);\n z-index: 6;\n .toolbar-nav {\n height: px2rem(84);\n width: px2rem(80);\n display: inline-black;\n line-height: px2rem(80);\n background-size: 19px 16px;\n position: absolute;\n top: 0;\n left: 0;\n text-align: center;\n z-index:99;\n i {\n font-size: 32px;\n color: #1c8062;\n }\n }\n\n .page-text {\n display: block;\n text-align: center;\n height: 100%;\n line-height: px2rem(86);\n font-size: 16px;\n width: 100%;\n position: relative;\n z-index: 0;\n }\n\n}\n\n.nav-list {\n background: url('../assets/images/5fe.jpg');\n background-size: 100% 100%; \n position: fixed;\n top: 0;\n bottom: 0;\n left: -200px;\n width: 200px;\n height: 100%;\n background-color: #fff;\n color: #0cf1d6;\n transition: all .3s ease;\n z-index: 99;\n &.show{\n transform: translateX(200px);\n }\n\n .nav-list-title {\n margin-left: 25px;\n font-size: 16px;\n color: #cae3e2;\n padding: px2rem(30) 0;\n height: px2rem(80);\n line-height: px2rem(80);\n border-bottom: 1px solid #d4d4d4;\n margin-right: 25px;\n margin-bottom: 20px;\n .icon {\n margin-right: 5px;\n font-size: 20px;\n color: #0cf1d6;\n }\n }\n\n ul {\n width: 170px;\n margin-left: 25px;\n li {\n a {\n color: #f5f5f7;\n }\n .router-link-active {\n display: inline-black;\n width: 100%;\n height: 100%;\n i {\n color: #0cf1d6;\n }\n color: #0cf1d6;\n }\n i {\n margin-right: 30px;\n }\n margin-right: 25px;\n font-size: 14px;\n color: #f5f5f7;\n padding: px2rem(28) 0;\n }\n }\n}\n\n.page-cover {\n position: fixed;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n background: rgba(0, 0, 0, .4);\n z-index: 7;\n}\n</style>\n\n\n\n// WEBPACK FOOTER //\n// Header.vue?7f288e82","exports = module.exports = require(\"./../../node_modules/.npminstall/css-loader/0.25.0/css-loader/lib/css-base.js\")();\n// imports\n\n\n// module\nexports.push([module.id, \".page-about{height:100%}.ux-header{max-width:700px}.nv-toolbar{height:2.6875rem;max-width:700px;width:100%;background-color:hsla(0,0%,100%,.95);position:fixed;top:0;left:0;transition:all .3s ease;box-shadow:0 0 4px rgba(0,0,0,.25);z-index:6}.nv-toolbar .toolbar-nav{height:2.625rem;width:2.5rem;display:inline-black;line-height:2.5rem;background-size:19px 16px;position:absolute;top:0;left:0;text-align:center;z-index:99}.nv-toolbar .toolbar-nav i{font-size:32px;color:#1c8062}.nv-toolbar .page-text{display:block;text-align:center;height:100%;line-height:2.6875rem;font-size:16px;width:100%;position:relative;z-index:0}.nav-list{background:url(\" + require(\"../assets/images/5fe.jpg\") + \");background-size:100% 100%;position:fixed;top:0;bottom:0;left:-200px;width:200px;height:100%;background-color:#fff;color:#0cf1d6;transition:all .3s ease;z-index:99}.nav-list.show{transform:translateX(200px)}.nav-list .nav-list-title{margin-left:25px;font-size:16px;color:#cae3e2;padding:.9375rem 0;height:2.5rem;line-height:2.5rem;border-bottom:1px solid #d4d4d4;margin-right:25px;margin-bottom:20px}.nav-list .nav-list-title .icon{margin-right:5px;font-size:20px;color:#0cf1d6}.nav-list ul{width:170px;margin-left:25px}.nav-list ul li{margin-right:25px;font-size:14px;color:#f5f5f7;padding:.875rem 0}.nav-list ul li a{color:#f5f5f7}.nav-list ul li .router-link-active{display:inline-black;width:100%;height:100%;color:#0cf1d6}.nav-list ul li .router-link-active i{color:#0cf1d6}.nav-list ul li i{margin-right:30px}.page-cover{position:fixed;top:0;right:0;bottom:0;left:0;background:rgba(0,0,0,.4);z-index:7}\", \"\", {\"version\":3,\"sources\":[\"/./src/components/Header.vue\"],\"names\":[],\"mappings\":\"AACA,YAAY,WAAW,CACtB,AACD,WAAW,eAAe,CACzB,AACD,YAAY,iBAAiB,gBAAgB,WAAW,qCAAwC,eAAe,MAAM,OAAO,wBAAwB,mCAAoC,SAAS,CAChM,AACD,yBAAyB,gBAAgB,aAAa,qBAAqB,mBAAmB,0BAA0B,kBAAkB,MAAM,OAAO,kBAAkB,UAAU,CAClL,AACD,2BAA2B,eAAe,aAAa,CACtD,AACD,uBAAuB,cAAc,kBAAkB,YAAY,sBAAsB,eAAe,WAAW,kBAAkB,SAAS,CAC7I,AACD,UAAU,yCAA2C,0BAA0B,eAAe,MAAM,SAAS,YAAY,YAAY,YAAY,sBAAsB,cAAc,wBAAwB,UAAU,CACtN,AACD,eAAe,2BAA2B,CACzC,AACD,0BAA0B,iBAAiB,eAAe,cAAc,mBAAmB,cAAc,mBAAmB,gCAAgC,kBAAkB,kBAAkB,CAC/L,AACD,gCAAgC,iBAAiB,eAAe,aAAa,CAC5E,AACD,aAAa,YAAY,gBAAgB,CACxC,AACD,gBAAgB,kBAAkB,eAAe,cAAc,iBAAiB,CAC/E,AACD,kBAAkB,aAAa,CAC9B,AACD,oCAAoC,qBAAqB,WAAW,YAAY,aAAa,CAC5F,AACD,sCAAsC,aAAa,CAClD,AACD,kBAAkB,iBAAiB,CAClC,AACD,YAAY,eAAe,MAAM,QAAQ,SAAS,OAAO,0BAA2B,SAAS,CAC5F\",\"file\":\"Header.vue\",\"sourcesContent\":[\"\\n.page-about{height:100%\\n}\\n.ux-header{max-width:700px\\n}\\n.nv-toolbar{height:2.6875rem;max-width:700px;width:100%;background-color:rgba(255,255,255,0.95);position:fixed;top:0;left:0;transition:all .3s ease;box-shadow:0 0 4px rgba(0,0,0,0.25);z-index:6\\n}\\n.nv-toolbar .toolbar-nav{height:2.625rem;width:2.5rem;display:inline-black;line-height:2.5rem;background-size:19px 16px;position:absolute;top:0;left:0;text-align:center;z-index:99\\n}\\n.nv-toolbar .toolbar-nav i{font-size:32px;color:#1c8062\\n}\\n.nv-toolbar .page-text{display:block;text-align:center;height:100%;line-height:2.6875rem;font-size:16px;width:100%;position:relative;z-index:0\\n}\\n.nav-list{background:url(\\\"../assets/images/5fe.jpg\\\");background-size:100% 100%;position:fixed;top:0;bottom:0;left:-200px;width:200px;height:100%;background-color:#fff;color:#0cf1d6;transition:all .3s ease;z-index:99\\n}\\n.nav-list.show{transform:translateX(200px)\\n}\\n.nav-list .nav-list-title{margin-left:25px;font-size:16px;color:#cae3e2;padding:.9375rem 0;height:2.5rem;line-height:2.5rem;border-bottom:1px solid #d4d4d4;margin-right:25px;margin-bottom:20px\\n}\\n.nav-list .nav-list-title .icon{margin-right:5px;font-size:20px;color:#0cf1d6\\n}\\n.nav-list ul{width:170px;margin-left:25px\\n}\\n.nav-list ul li{margin-right:25px;font-size:14px;color:#f5f5f7;padding:.875rem 0\\n}\\n.nav-list ul li a{color:#f5f5f7\\n}\\n.nav-list ul li .router-link-active{display:inline-black;width:100%;height:100%;color:#0cf1d6\\n}\\n.nav-list ul li .router-link-active i{color:#0cf1d6\\n}\\n.nav-list ul li i{margin-right:30px\\n}\\n.page-cover{position:fixed;top:0;right:0;bottom:0;left:0;background:rgba(0,0,0,0.4);z-index:7\\n}\\n\"],\"sourceRoot\":\"webpack://\"}]);\n\n// exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/.npminstall/css-loader/0.25.0/css-loader?sourceMap!./~/.npminstall/vue-loader/9.9.5/vue-loader/lib/style-rewriter.js?id=data-v-60a58bee!./~/sass-loader?sourceMap!./~/.npminstall/vue-loader/9.9.5/vue-loader/lib/selector.js?type=styles&index=0!./src/components/Header.vue\n// module id = 8\n// module chunks = 0 1 2 4","// style-loader: Adds some css to the DOM by adding a <style> tag\n\n// load the styles\nvar content = require(\"!!./../../node_modules/.npminstall/css-loader/0.25.0/css-loader/index.js?sourceMap!./../../node_modules/.npminstall/vue-loader/9.9.5/vue-loader/lib/style-rewriter.js?id=data-v-60a58bee!./../../node_modules/sass-loader/index.js?sourceMap!./../../node_modules/.npminstall/vue-loader/9.9.5/vue-loader/lib/selector.js?type=styles&index=0!./Header.vue\");\nif(typeof content === 'string') content = [[module.id, content, '']];\n// add the styles to the DOM\nvar update = require(\"!./../../node_modules/.npminstall/vue-style-loader/1.0.0/vue-style-loader/addStyles.js\")(content, {});\nif(content.locals) module.exports = content.locals;\n// Hot Module Replacement\nif(module.hot) {\n\t// When the styles change, update the <style> tags\n\tif(!content.locals) {\n\t\tmodule.hot.accept(\"!!./../../node_modules/.npminstall/css-loader/0.25.0/css-loader/index.js?sourceMap!./../../node_modules/.npminstall/vue-loader/9.9.5/vue-loader/lib/style-rewriter.js?id=data-v-60a58bee!./../../node_modules/sass-loader/index.js?sourceMap!./../../node_modules/.npminstall/vue-loader/9.9.5/vue-loader/lib/selector.js?type=styles&index=0!./Header.vue\", function() {\n\t\t\tvar newContent = require(\"!!./../../node_modules/.npminstall/css-loader/0.25.0/css-loader/index.js?sourceMap!./../../node_modules/.npminstall/vue-loader/9.9.5/vue-loader/lib/style-rewriter.js?id=data-v-60a58bee!./../../node_modules/sass-loader/index.js?sourceMap!./../../node_modules/.npminstall/vue-loader/9.9.5/vue-loader/lib/selector.js?type=styles&index=0!./Header.vue\");\n\t\t\tif(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n\t\t\tupdate(newContent);\n\t\t});\n\t}\n\t// When the module is disposed, remove the <style> tags\n\tmodule.hot.dispose(function() { update(); });\n}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/.npminstall/extract-text-webpack-plugin/1.0.1/extract-text-webpack-plugin/loader.js?{\"omit\":1,\"extract\":true,\"remove\":true}!./~/.npminstall/vue-style-loader/1.0.0/vue-style-loader!./~/.npminstall/css-loader/0.25.0/css-loader?sourceMap!./~/.npminstall/vue-loader/9.9.5/vue-loader/lib/style-rewriter.js?id=data-v-60a58bee!./~/sass-loader?sourceMap!./~/.npminstall/vue-loader/9.9.5/vue-loader/lib/selector.js?type=styles&index=0!./src/components/Header.vue\n// module id = 9\n// module chunks = 0 1 2 4","module.exports = __webpack_public_path__ + \"static/img/5fe.63247f8.jpg\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/assets/images/5fe.jpg\n// module id = 10\n// module chunks = 0 1 2 4","var __vue_exports__, __vue_options__\nvar __vue_styles__ = {}\n\n/* styles */\nrequire(\"!!./../../node_modules/.npminstall/extract-text-webpack-plugin/1.0.1/extract-text-webpack-plugin/loader.js?{\\\"omit\\\":1,\\\"extract\\\":true,\\\"remove\\\":true}!vue-style-loader!css-loader?sourceMap!vue-loader/lib/style-rewriter?id=data-v-60a58bee!sass-loader?sourceMap!vue-loader/lib/selector?type=styles&index=0!./Header.vue\")\n\n/* script */\n__vue_exports__ = require(\"!!babel-loader!vue-loader/lib/selector?type=script&index=0!./Header.vue\")\n\n/* template */\nvar __vue_template__ = require(\"!!vue-loader/lib/template-compiler?id=data-v-60a58bee!vue-loader/lib/selector?type=template&index=0!./Header.vue\")\n__vue_options__ = __vue_exports__ = __vue_exports__ || {}\nif (\n typeof __vue_exports__.default === \"object\" ||\n typeof __vue_exports__.default === \"function\"\n) {\n__vue_options__ = __vue_exports__ = __vue_exports__.default\n}\nif (typeof __vue_options__ === \"function\") {\n __vue_options__ = __vue_options__.options\n}\n\n__vue_options__.render = __vue_template__.render\n__vue_options__.staticRenderFns = __vue_template__.staticRenderFns\n\nmodule.exports = __vue_exports__\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/Header.vue\n// module id = 11\n// module chunks = 0 1 2 4","module.exports={render:function (){var _vm=this;\n return _vm._h('div', {\n staticClass: \"ux-header\",\n class: _vm.pageType.className\n }, [(_vm.showMenu) ? _vm._h('div', {\n staticClass: \"page-cover\",\n on: {\n \"click\": _vm.showMenus\n }\n }, [\"weewe\\n \"]) : _vm._e(), \" \", _vm._h('div', {\n staticClass: \"nv-toolbar\"\n }, [_vm._h('div', {\n staticClass: \"toolbar-nav\",\n on: {\n \"click\": _vm.showMenus\n }\n }, [_vm._h('i', {\n staticClass: \"icon iconfont\"\n }, [\"\"])]), \" \", _vm._h('span', {\n staticClass: \"page-text\",\n domProps: {\n \"textContent\": _vm._s(_vm.pageType.text)\n }\n })]), \" \", _vm._h('section', {\n staticClass: \"nav-list\",\n class: {\n show: _vm.showMenu\n }\n }, [_vm._m(0), \" \", _vm._h('ul', [_vm._h('li', [_vm._h('router-link', {\n attrs: {\n \"to\": \"/happy\"\n }\n }, [_vm._h('i', {\n staticClass: \"icon iconfont\"\n }, [\"\"]), \"开心一刻\\n \"])]), \" \", _vm._h('li', [_vm._h('router-link', {\n attrs: {\n \"to\": \"/weather\"\n }\n }, [_vm._h('i', {\n staticClass: \"icon iconfont\"\n }, [\"\"]), \"天气预报\\n \"])]), \" \", _vm._h('li', [_vm._h('router-link', {\n attrs: {\n \"to\": \"/robot\"\n }\n }, [_vm._h('i', {\n staticClass: \"icon iconfont\"\n }, [\"\"]), \"万能机器人\\n \"])]), \" \", _vm._h('li', [_vm._h('router-link', {\n attrs: {\n \"to\": \"/about\"\n }\n }, [_vm._h('i', {\n staticClass: \"icon iconfont\"\n }, [\"\"]), \"关于我\\n \"])])])])])\n},staticRenderFns: [function (){var _vm=this;\n return _vm._h('div', {\n staticClass: \"nav-list-title\"\n }, [_vm._h('i', {\n staticClass: \"icon iconfont\"\n }, [\"\"]), \" 陪伴你的左右\\n \"])\n}]}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/.npminstall/vue-loader/9.9.5/vue-loader/lib/template-compiler.js?id=data-v-60a58bee!./~/.npminstall/vue-loader/9.9.5/vue-loader/lib/selector.js?type=template&index=0!./src/components/Header.vue\n// module id = 12\n// module chunks = 0 1 2 4","/**\n * ----------------------------------------------------------\n * 项目的接口统一管理(直接在业务代码中写请求地址,问题定位/接口修改太不优雅了)\n *\n * @version 1.0\n * @author shaqihe(shaqihecome@163.com)\n *\n * @module src/cache/cache\n * ----------------------------------------------------------\n */\n\nimport 'whatwg-fetch';\nimport {HAPPY_TYPE} from '../common/constant/constant';\n\n/**\n * 开心一刻页面的相关接口\n */\nexport const HappyListCache = {\n\n /**\n * 这个接口比较蛋疼,用的开源的接口,不同的接口规律也不一样\n * @param {Object} Data\n * @return {Promise}\n */\n getHappyList(data) {\n let key = '&key=ec451dc7ad29d93c72de5f281123a496&';\n\n switch(data.happyType)\n {\n case HAPPY_TYPE.TEXT:\n return fetch('happy/joke/randJoke.php?' + key + parseParam(data))\n .then(response => response.json()).then(response => response.result);\n break;\n case HAPPY_TYPE.IMAGE:\n return fetch('happy/joke/randJoke.php?type=\"pic\"' + key + parseParam(data))\n .then(response => response.json()).then(response => response.result);\n break;\n case HAPPY_TYPE.OTHER:\n return fetch('api/joke/img/text.from?\"' + key + parseParam(data))\n .then(response => response.json()).then(response => response.result.data);\n break;\n }\n\n }\n}\n\n/**\n * 天气相关的接口\n */\nexport const WeatherCache = {\n\n /**\n * 天气相关的接口\n * @param {Object} Data\n * @return {Promise}\n */\n getWeather(data) {\n let key = '?key=7cc263ec409e69b4aeb54b55639bcc87&';\n return fetch('op/onebox/weather/query' + key + parseParam(data))\n .then(response => response.json()).then(response => response.result.data);\n }\n}\n\n/**\n * 机器人相关的接口\n */\nexport const RobotCache = {\n\n /**\n * 机器人相关的接口\n * @param {Object} Data\n * @return {Promise}\n */\n getWeather(data) {\n let key = '?key=50cd35eb206526335a1c1e0f149f98a5&';\n return fetch('op/robot/index' + key + parseParam(data))\n .then(response => response.json()).then(response => response.result.text);\n }\n}\n\n/**\n * 简单封装把对象转换场url参数的字符串\n * @return {String}\n */\nfunction parseParam(obj) {\n let paramStr = '';\n for (let p in obj) {\n if (obj.hasOwnProperty(p)) {\n if (typeof(obj[p]) == \" function \") {\n obj[p]();\n }\n else {\n paramStr += p + '=' + encodeURIComponent(obj[p]) + \"&\";\n }\n }\n }\n return paramStr;\n}\n\n\n\n\n// WEBPACK FOOTER //\n// ./src/cache/cache.js","(function(self) {\n 'use strict';\n\n if (self.fetch) {\n return\n }\n\n var support = {\n searchParams: 'URLSearchParams' in self,\n iterable: 'Symbol' in self && 'iterator' in Symbol,\n blob: 'FileReader' in self && 'Blob' in self && (function() {\n try {\n new Blob()\n return true\n } catch(e) {\n return false\n }\n })(),\n formData: 'FormData' in self,\n arrayBuffer: 'ArrayBuffer' in self\n }\n\n if (support.arrayBuffer) {\n var viewClasses = [\n '[object Int8Array]',\n '[object Uint8Array]',\n '[object Uint8ClampedArray]',\n '[object Int16Array]',\n '[object Uint16Array]',\n '[object Int32Array]',\n '[object Uint32Array]',\n '[object Float32Array]',\n '[object Float64Array]'\n ]\n\n var isDataView = function(obj) {\n return obj && DataView.prototype.isPrototypeOf(obj)\n }\n\n var isArrayBufferView = ArrayBuffer.isView || function(obj) {\n return obj && viewClasses.indexOf(Object.prototype.toString.call(obj)) > -1\n }\n }\n\n function normalizeName(name) {\n if (typeof name !== 'string') {\n name = String(name)\n }\n if (/[^a-z0-9\\-#$%&'*+.\\^_`|~]/i.test(name)) {\n throw new TypeError('Invalid character in header field name')\n }\n return name.toLowerCase()\n }\n\n function normalizeValue(value) {\n if (typeof value !== 'string') {\n value = String(value)\n }\n return value\n }\n\n // Build a destructive iterator for the value list\n function iteratorFor(items) {\n var iterator = {\n next: function() {\n var value = items.shift()\n return {done: value === undefined, value: value}\n }\n }\n\n if (support.iterable) {\n iterator[Symbol.iterator] = function() {\n return iterator\n }\n }\n\n return iterator\n }\n\n function Headers(headers) {\n this.map = {}\n\n if (headers instanceof Headers) {\n headers.forEach(function(value, name) {\n this.append(name, value)\n }, this)\n\n } else if (headers) {\n Object.getOwnPropertyNames(headers).forEach(function(name) {\n this.append(name, headers[name])\n }, this)\n }\n }\n\n Headers.prototype.append = function(name, value) {\n name = normalizeName(name)\n value = normalizeValue(value)\n var oldValue = this.map[name]\n this.map[name] = oldValue ? oldValue+','+value : value\n }\n\n Headers.prototype['delete'] = function(name) {\n delete this.map[normalizeName(name)]\n }\n\n Headers.prototype.get = function(name) {\n name = normalizeName(name)\n return this.has(name) ? this.map[name] : null\n }\n\n Headers.prototype.has = function(name) {\n return this.map.hasOwnProperty(normalizeName(name))\n }\n\n Headers.prototype.set = function(name, value) {\n this.map[normalizeName(name)] = normalizeValue(value)\n }\n\n Headers.prototype.forEach = function(callback, thisArg) {\n for (var name in this.map) {\n if (this.map.hasOwnProperty(name)) {\n callback.call(thisArg, this.map[name], name, this)\n }\n }\n }\n\n Headers.prototype.keys = function() {\n var items = []\n this.forEach(function(value, name) { items.push(name) })\n return iteratorFor(items)\n }\n\n Headers.prototype.values = function() {\n var items = []\n this.forEach(function(value) { items.push(value) })\n return iteratorFor(items)\n }\n\n Headers.prototype.entries = function() {\n var items = []\n this.forEach(function(value, name) { items.push([name, value]) })\n return iteratorFor(items)\n }\n\n if (support.iterable) {\n Headers.prototype[Symbol.iterator] = Headers.prototype.entries\n }\n\n function consumed(body) {\n if (body.bodyUsed) {\n return Promise.reject(new TypeError('Already read'))\n }\n body.bodyUsed = true\n }\n\n function fileReaderReady(reader) {\n return new Promise(function(resolve, reject) {\n reader.onload = function() {\n resolve(reader.result)\n }\n reader.onerror = function() {\n reject(reader.error)\n }\n })\n }\n\n function readBlobAsArrayBuffer(blob) {\n var reader = new FileReader()\n var promise = fileReaderReady(reader)\n reader.readAsArrayBuffer(blob)\n return promise\n }\n\n function readBlobAsText(blob) {\n var reader = new FileReader()\n var promise = fileReaderReady(reader)\n reader.readAsText(blob)\n return promise\n }\n\n function readArrayBufferAsText(buf) {\n var view = new Uint8Array(buf)\n var chars = new Array(view.length)\n\n for (var i = 0; i < view.length; i++) {\n chars[i] = String.fromCharCode(view[i])\n }\n return chars.join('')\n }\n\n function bufferClone(buf) {\n if (buf.slice) {\n return buf.slice(0)\n } else {\n var view = new Uint8Array(buf.byteLength)\n view.set(new Uint8Array(buf))\n return view.buffer\n }\n }\n\n function Body() {\n this.bodyUsed = false\n\n this._initBody = function(body) {\n this._bodyInit = body\n if (!body) {\n this._bodyText = ''\n } else if (typeof body === 'string') {\n this._bodyText = body\n } else if (support.blob && Blob.prototype.isPrototypeOf(body)) {\n this._bodyBlob = body\n } else if (support.formData && FormData.prototype.isPrototypeOf(body)) {\n this._bodyFormData = body\n } else if (support.searchParams && URLSearchParams.prototype.isPrototypeOf(body)) {\n this._bodyText = body.toString()\n } else if (support.arrayBuffer && support.blob && isDataView(body)) {\n this._bodyArrayBuffer = bufferClone(body.buffer)\n // IE 10-11 can't handle a DataView body.\n this._bodyInit = new Blob([this._bodyArrayBuffer])\n } else if (support.arrayBuffer && (ArrayBuffer.prototype.isPrototypeOf(body) || isArrayBufferView(body))) {\n this._bodyArrayBuffer = bufferClone(body)\n } else {\n throw new Error('unsupported BodyInit type')\n }\n\n if (!this.headers.get('content-type')) {\n if (typeof body === 'string') {\n this.headers.set('content-type', 'text/plain;charset=UTF-8')\n } else if (this._bodyBlob && this._bodyBlob.type) {\n this.headers.set('content-type', this._bodyBlob.type)\n } else if (support.searchParams && URLSearchParams.prototype.isPrototypeOf(body)) {\n this.headers.set('content-type', 'application/x-www-form-urlencoded;charset=UTF-8')\n }\n }\n }\n\n if (support.blob) {\n this.blob = function() {\n var rejected = consumed(this)\n if (rejected) {\n return rejected\n }\n\n if (this._bodyBlob) {\n return Promise.resolve(this._bodyBlob)\n } else if (this._bodyArrayBuffer) {\n return Promise.resolve(new Blob([this._bodyArrayBuffer]))\n } else if (this._bodyFormData) {\n throw new Error('could not read FormData body as blob')\n } else {\n return Promise.resolve(new Blob([this._bodyText]))\n }\n }\n\n this.arrayBuffer = function() {\n if (this._bodyArrayBuffer) {\n return consumed(this) || Promise.resolve(this._bodyArrayBuffer)\n } else {\n return this.blob().then(readBlobAsArrayBuffer)\n }\n }\n }\n\n this.text = function() {\n var rejected = consumed(this)\n if (rejected) {\n return rejected\n }\n\n if (this._bodyBlob) {\n return readBlobAsText(this._bodyBlob)\n } else if (this._bodyArrayBuffer) {\n return Promise.resolve(readArrayBufferAsText(this._bodyArrayBuffer))\n } else if (this._bodyFormData) {\n throw new Error('could not read FormData body as text')\n } else {\n return Promise.resolve(this._bodyText)\n }\n }\n\n if (support.formData) {\n this.formData = function() {\n return this.text().then(decode)\n }\n }\n\n this.json = function() {\n return this.text().then(JSON.parse)\n }\n\n return this\n }\n\n // HTTP methods whose capitalization should be normalized\n var methods = ['DELETE', 'GET', 'HEAD', 'OPTIONS', 'POST', 'PUT']\n\n function normalizeMethod(method) {\n var upcased = method.toUpperCase()\n return (methods.indexOf(upcased) > -1) ? upcased : method\n }\n\n function Request(input, options) {\n options = options || {}\n var body = options.body\n\n if (typeof input === 'string') {\n this.url = input\n } else {\n if (input.bodyUsed) {\n throw new TypeError('Already read')\n }\n this.url = input.url\n this.credentials = input.credentials\n if (!options.headers) {\n this.headers = new Headers(input.headers)\n }\n this.method = input.method\n this.mode = input.mode\n if (!body && input._bodyInit != null) {\n body = input._bodyInit\n input.bodyUsed = true\n }\n }\n\n this.credentials = options.credentials || this.credentials || 'omit'\n if (options.headers || !this.headers) {\n this.headers = new Headers(options.headers)\n }\n this.method = normalizeMethod(options.method || this.method || 'GET')\n this.mode = options.mode || this.mode || null\n this.referrer = null\n\n if ((this.method === 'GET' || this.method === 'HEAD') && body) {\n throw new TypeError('Body not allowed for GET or HEAD requests')\n }\n this._initBody(body)\n }\n\n Request.prototype.clone = function() {\n return new Request(this, { body: this._bodyInit })\n }\n\n function decode(body) {\n var form = new FormData()\n body.trim().split('&').forEach(function(bytes) {\n if (bytes) {\n var split = bytes.split('=')\n var name = split.shift().replace(/\\+/g, ' ')\n var value = split.join('=').replace(/\\+/g, ' ')\n form.append(decodeURIComponent(name), decodeURIComponent(value))\n }\n })\n return form\n }\n\n function parseHeaders(rawHeaders) {\n var headers = new Headers()\n rawHeaders.split('\\r\\n').forEach(function(line) {\n var parts = line.split(':')\n var key = parts.shift().trim()\n if (key) {\n var value = parts.join(':').trim()\n headers.append(key, value)\n }\n })\n return headers\n }\n\n Body.call(Request.prototype)\n\n function Response(bodyInit, options) {\n if (!options) {\n options = {}\n }\n\n this.type = 'default'\n this.status = 'status' in options ? options.status : 200\n this.ok = this.status >= 200 && this.status < 300\n this.statusText = 'statusText' in options ? options.statusText : 'OK'\n this.headers = new Headers(options.headers)\n this.url = options.url || ''\n this._initBody(bodyInit)\n }\n\n Body.call(Response.prototype)\n\n Response.prototype.clone = function() {\n return new Response(this._bodyInit, {\n status: this.status,\n statusText: this.statusText,\n headers: new Headers(this.headers),\n url: this.url\n })\n }\n\n Response.error = function() {\n var response = new Response(null, {status: 0, statusText: ''})\n response.type = 'error'\n return response\n }\n\n var redirectStatuses = [301, 302, 303, 307, 308]\n\n Response.redirect = function(url, status) {\n if (redirectStatuses.indexOf(status) === -1) {\n throw new RangeError('Invalid status code')\n }\n\n return new Response(null, {status: status, headers: {location: url}})\n }\n\n self.Headers = Headers\n self.Request = Request\n self.Response = Response\n\n self.fetch = function(input, init) {\n return new Promise(function(resolve, reject) {\n var request = new Request(input, init)\n var xhr = new XMLHttpRequest()\n\n xhr.onload = function() {\n var options = {\n status: xhr.status,\n statusText: xhr.statusText,\n headers: parseHeaders(xhr.getAllResponseHeaders() || '')\n }\n options.url = 'responseURL' in xhr ? xhr.responseURL : options.headers.get('X-Request-URL')\n var body = 'response' in xhr ? xhr.response : xhr.responseText\n resolve(new Response(body, options))\n }\n\n xhr.onerror = function() {\n reject(new TypeError('Network request failed'))\n }\n\n xhr.ontimeout = function() {\n reject(new TypeError('Network request failed'))\n }\n\n xhr.open(request.method, request.url, true)\n\n if (request.credentials === 'include') {\n xhr.withCredentials = true\n }\n\n if ('responseType' in xhr && support.blob) {\n xhr.responseType = 'blob'\n }\n\n request.headers.forEach(function(value, name) {\n xhr.setRequestHeader(name, value)\n })\n\n xhr.send(typeof request._bodyInit === 'undefined' ? null : request._bodyInit)\n })\n }\n self.fetch.polyfill = true\n})(typeof self !== 'undefined' ? self : this);\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/whatwg-fetch/fetch.js\n// module id = 19\n// module chunks = 0 1 2","/**\n * ----------------------------------------------------------\n * 回到顶部按钮\n *\n * @version 1.0\n * @author shaqihe(shaqihecome@163.com)\n *\n * @module src/components/gotop\n * ----------------------------------------------------------\n */\n<template>\n <div class=\"ux-message-list\">\n <ul class=\"ux-message-list-ul\" id=\"msg-end\" @click=\"contract\">\n <li class=\"ux-message-list-item\" :class=\"{'ux-message-list-right': item.type==USER_TYPE.PEOLE }\" v-for=\"item in messageList\">\n <img class=\"ux-message-list-my-img\" src=\"http://7xqd2y.com1.z0.glb.clouddn.com/images11.jpg\">\n <div class=\"ux-message-text\">\n <span class=\"triangle\"></span>\n {{item.value}}\n </div>\n </li>\n </ul>\n <div class=\"ux-message-list-post\">\n <input type=\"text\" v-model=\"message\" @keyup.enter=\"sendMessage\"/>\n <span class=\"ux-message-list-send-but\" @click=\"sendMessage\">发送</span>\n </div>\n </div>\n</template>\n\n<script>\n import tool from '../common/util/tool'\n import {USER_TYPE} from '../common/constant/constant'\n import {RobotCache} from '../cache/cache';\n export default {\n name: 'messageList',\n data (){\n return {\n USER_TYPE: USER_TYPE,\n message: ''\n }\n },\n computed: {\n messageList() {\n return this.$store.getters.getMessages;\n },\n userId() {\n return this.$store.getters.getUserId;\n }\n },\n methods:{\n contract() {},\n //发送消息\n sendMessage () {\n if (this.message == '') {\n return;\n }\n this.$store.dispatch('pushMassages',\n {\n key: tool.getTimestamp(), //列表key\n type: USER_TYPE.PEOLE, //类型\n value: this.message, //内容\n userId: '' //信息发送者\n }).then(data =>{\n RobotCache.getWeather({info: this.message,userid: this.userId}).then(data =>{\n this.$store.dispatch('pushMassages',{\n key: tool.getTimestamp(), //列表key\n type: USER_TYPE.ROBOT, //类型\n value: data, //内容\n userId: '' //信息发送者\n }).then(data =>{this.clearInput()});\n \n })\n });\n },\n //清空输入框\n clearInput() {\n this.message = '';\n document.getElementById('msg-end').scrollTop = \n document.getElementById('msg-end').scrollHeight;\n }\n }\n }\n</script>\n<style lang=\"scss\">\n@import \"../assets/scss/min.scss\";\n body {\n background: #ebebeb;\n }\n .ux-message-list {\n padding-top: px2rem(40); \n .ux-message-list-ul {\n max-width: 700px;\n padding-bottom: px2rem(130); \n position: fixed;\n bottom: 0;\n top: 0;\n margin-top: px2rem(96); \n overflow: scroll;\n }\n .ux-message-list-item {\n position: relative;\n float: left;\n width: px2rem(700);\n margin-bottom: px2rem(80);\n overflow: auto;\n zoom: 1;\n }\n .ux-message-list-my-img {\n width: 40px;\n height: 40px;\n float: left;\n border-radius: 40px;\n display: inline-block;\n }\n\n .ux-message-text {\n position: relative;\n max-width: px2rem(420);\n display: inline-block;\n float: left;\n margin-left: 10px;\n padding: 10px;\n background: #fff;\n .triangle {\n display: inline-block;\n position: absolute;\n top: 12px;\n margin-left: -17px;\n width:0; height:0;\n overflow: hidden;\n line-height: 0;\n font-size: 0;\n vertical-align: middle;\n border-right: 7px solid #fff;\n border-left: 0 none;\n border-top: 7px solid transparent;\n border-bottom: 7px solid transparent;\n _color: #FF3FFF;\n _filter: chroma(color=#FF3FFF);\n }\n }\n\n .ux-message-list-right {\n float: right;\n .ux-message-list-my-img {\n float: right;\n }\n\n .ux-message-text {\n float: right;\n margin-right: 10px;\n background: #a2e65b;\n .triangle {\n display: inline-block;\n position: absolute;\n top: 12px;\n right: -7px;\n width:0; height:0;\n overflow: hidden;\n line-height: 0;\n font-size: 0;\n vertical-align: middle;\n border-left: 7px solid #a2e65b;\n border-right: 0 none;\n border-top: 7px solid transparent;\n border-bottom: 7px solid transparent;\n _color: #FF3FFF;\n _filter: chroma(color=#FF3FFF);\n }\n }\n }\n\n .ux-message-list-post {\n height: px2rem(120); \n width: 100%;\n position: fixed;\n bottom: 0px;\n background: #f5f5f7;\n border-top: 2px solid #e9e9eb;\n input {\n width: px2rem(600);\n height: px2rem(80);\n margin: 0 0 0 px2rem(18);\n border: 1px solid #e9e9eb;\n border-radius: 12px;\n font-size: 16px;\n }\n .ux-message-list-send-but {\n display: inline-block;\n padding-left: px2rem(15);\n width: px2rem(95);\n height: px2rem(120);\n line-height: px2rem(120);\n font-size: 16px;\n color: #11bc80;\n }\n }\n }\n</style>\n\n\n\n// WEBPACK FOOTER //\n// MessageList.vue?03cfa122","/**\n * ----------------------------------------------------------\n * 自动对话机器人页面\n *\n * @version 1.0\n * @author shaqihe(shaqihecome@163.com)\n *\n * @module src/pages/robot\n * ----------------------------------------------------------\n */\n<template>\n <!-- 全局header -->\n <div class=\"page-robot page\">\n <page-header :pageType=\"pageType\"/>\n <messageList/>\n </div>\n</template>\n<script>\n import {RobotCache} from '../cache/cache';\n import messageList from '../components/MessageList'\n import pageHeader from '../components/Header'\n import {PAGE_TYPE} from '../common/constant/constant'\n export default {\n name: 'robot',\n data (){\n return {\n pageType: PAGE_TYPE.ROBOT_PAGE\n }\n },\n components: {\n messageList, pageHeader\n }\n }\n</script>\n<style lang=\"scss\">\n @import \"../assets/scss/min.scss\";\n .page-robot {\n padding-top: px2rem(88)!important;\n }\n</style>\n\n\n\n\n// WEBPACK FOOTER //\n// robot.vue?0342f72c","exports = module.exports = require(\"./../../node_modules/.npminstall/css-loader/0.25.0/css-loader/lib/css-base.js\")();\n// imports\n\n\n// module\nexports.push([module.id, \".page-robot{padding-top:2.75rem!important}\", \"\", {\"version\":3,\"sources\":[\"/./src/pages/robot.vue\"],\"names\":[],\"mappings\":\"AACA,YAAY,6BAA8B,CACzC\",\"file\":\"robot.vue\",\"sourcesContent\":[\"\\n.page-robot{padding-top:2.75rem !important\\n}\\n\"],\"sourceRoot\":\"webpack://\"}]);\n\n// exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/.npminstall/css-loader/0.25.0/css-loader?sourceMap!./~/.npminstall/vue-loader/9.9.5/vue-loader/lib/style-rewriter.js?id=data-v-0f0af662!./~/sass-loader?sourceMap!./~/.npminstall/vue-loader/9.9.5/vue-loader/lib/selector.js?type=styles&index=0!./src/pages/robot.vue\n// module id = 103\n// module chunks = 2","exports = module.exports = require(\"./../../node_modules/.npminstall/css-loader/0.25.0/css-loader/lib/css-base.js\")();\n// imports\n\n\n// module\nexports.push([module.id, \"body{background:#ebebeb}.ux-message-list{padding-top:1.25rem}.ux-message-list .ux-message-list-ul{max-width:700px;padding-bottom:4.0625rem;position:fixed;bottom:0;top:0;margin-top:3rem;overflow:scroll}.ux-message-list .ux-message-list-item{position:relative;float:left;width:21.875rem;margin-bottom:2.5rem;overflow:auto;zoom:1}.ux-message-list .ux-message-list-my-img{width:40px;height:40px;float:left;border-radius:40px;display:inline-block}.ux-message-list .ux-message-text{position:relative;max-width:13.125rem;display:inline-block;float:left;margin-left:10px;padding:10px;background:#fff}.ux-message-list .ux-message-text .triangle{display:inline-block;position:absolute;top:12px;margin-left:-17px;width:0;height:0;overflow:hidden;line-height:0;font-size:0;vertical-align:middle;border-right:7px solid #fff;border-left:0 none;border-top:7px solid transparent;border-bottom:7px solid transparent;_color:#ff3fff;_filter:chroma(color=#FF3FFF)}.ux-message-list .ux-message-list-right,.ux-message-list .ux-message-list-right .ux-message-list-my-img{float:right}.ux-message-list .ux-message-list-right .ux-message-text{float:right;margin-right:10px;background:#a2e65b}.ux-message-list .ux-message-list-right .ux-message-text .triangle{display:inline-block;position:absolute;top:12px;right:-7px;width:0;height:0;overflow:hidden;line-height:0;font-size:0;vertical-align:middle;border-left:7px solid #a2e65b;border-right:0 none;border-top:7px solid transparent;border-bottom:7px solid transparent;_color:#ff3fff;_filter:chroma(color=#FF3FFF)}.ux-message-list .ux-message-list-post{height:3.75rem;width:100%;position:fixed;bottom:0;background:#f5f5f7;border-top:2px solid #e9e9eb}.ux-message-list .ux-message-list-post input{width:18.75rem;height:2.5rem;margin:0 0 0 .5625rem;border:1px solid #e9e9eb;border-radius:12px;font-size:16px}.ux-message-list .ux-message-list-post .ux-message-list-send-but{display:inline-block;padding-left:.46875rem;width:2.96875rem;height:3.75rem;line-height:3.75rem;font-size:16px;color:#11bc80}\", \"\", {\"version\":3,\"sources\":[\"/./src/components/MessageList.vue\"],\"names\":[],\"mappings\":\"AACA,KAAK,kBAAkB,CACtB,AACD,iBAAiB,mBAAmB,CACnC,AACD,qCAAqC,gBAAgB,yBAAyB,eAAe,SAAS,MAAM,gBAAgB,eAAe,CAC1I,AACD,uCAAuC,kBAAkB,WAAW,gBAAgB,qBAAqB,cAAc,MAAM,CAC5H,AACD,yCAAyC,WAAW,YAAY,WAAW,mBAAmB,oBAAoB,CACjH,AACD,kCAAkC,kBAAkB,oBAAoB,qBAAqB,WAAW,iBAAiB,aAAa,eAAe,CACpJ,AACD,4CAA4C,qBAAqB,kBAAkB,SAAS,kBAAkB,QAAQ,SAAS,gBAAgB,cAAc,YAAY,sBAAsB,4BAA4B,mBAAmB,iCAAiC,oCAAoC,CAAA,cAAe,CAAA,4BAA6B,CAC9V,AAGD,wGAAgE,WAAW,CAC1E,AACD,yDAAyD,YAAY,kBAAkB,kBAAkB,CACxG,AACD,mEAAmE,qBAAqB,kBAAkB,SAAS,WAAW,QAAQ,SAAS,gBAAgB,cAAc,YAAY,sBAAsB,8BAA8B,oBAAoB,iCAAiC,oCAAoC,CAAA,cAAe,CAAA,4BAA6B,CACjX,AACD,uCAAuC,eAAe,WAAW,eAAe,SAAW,mBAAmB,4BAA4B,CACzI,AACD,6CAA6C,eAAe,cAAc,sBAAsB,yBAAyB,mBAAmB,cAAc,CACzJ,AACD,iEAAiE,qBAAqB,uBAAuB,iBAAiB,eAAe,oBAAoB,eAAe,aAAa,CAC5L\",\"file\":\"MessageList.vue\",\"sourcesContent\":[\"\\nbody{background:#ebebeb\\n}\\n.ux-message-list{padding-top:1.25rem\\n}\\n.ux-message-list .ux-message-list-ul{max-width:700px;padding-bottom:4.0625rem;position:fixed;bottom:0;top:0;margin-top:3rem;overflow:scroll\\n}\\n.ux-message-list .ux-message-list-item{position:relative;float:left;width:21.875rem;margin-bottom:2.5rem;overflow:auto;zoom:1\\n}\\n.ux-message-list .ux-message-list-my-img{width:40px;height:40px;float:left;border-radius:40px;display:inline-block\\n}\\n.ux-message-list .ux-message-text{position:relative;max-width:13.125rem;display:inline-block;float:left;margin-left:10px;padding:10px;background:#fff\\n}\\n.ux-message-list .ux-message-text .triangle{display:inline-block;position:absolute;top:12px;margin-left:-17px;width:0;height:0;overflow:hidden;line-height:0;font-size:0;vertical-align:middle;border-right:7px solid #fff;border-left:0 none;border-top:7px solid transparent;border-bottom:7px solid transparent;_color:#FF3FFF;_filter:chroma(color=#FF3FFF)\\n}\\n.ux-message-list .ux-message-list-right{float:right\\n}\\n.ux-message-list .ux-message-list-right .ux-message-list-my-img{float:right\\n}\\n.ux-message-list .ux-message-list-right .ux-message-text{float:right;margin-right:10px;background:#a2e65b\\n}\\n.ux-message-list .ux-message-list-right .ux-message-text .triangle{display:inline-block;position:absolute;top:12px;right:-7px;width:0;height:0;overflow:hidden;line-height:0;font-size:0;vertical-align:middle;border-left:7px solid #a2e65b;border-right:0 none;border-top:7px solid transparent;border-bottom:7px solid transparent;_color:#FF3FFF;_filter:chroma(color=#FF3FFF)\\n}\\n.ux-message-list .ux-message-list-post{height:3.75rem;width:100%;position:fixed;bottom:0px;background:#f5f5f7;border-top:2px solid #e9e9eb\\n}\\n.ux-message-list .ux-message-list-post input{width:18.75rem;height:2.5rem;margin:0 0 0 .5625rem;border:1px solid #e9e9eb;border-radius:12px;font-size:16px\\n}\\n.ux-message-list .ux-message-list-post .ux-message-list-send-but{display:inline-block;padding-left:.46875rem;width:2.96875rem;height:3.75rem;line-height:3.75rem;font-size:16px;color:#11bc80\\n}\\n\"],\"sourceRoot\":\"webpack://\"}]);\n\n// exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/.npminstall/css-loader/0.25.0/css-loader?sourceMap!./~/.npminstall/vue-loader/9.9.5/vue-loader/lib/style-rewriter.js?id=data-v-d135c70e!./~/sass-loader?sourceMap!./~/.npminstall/vue-loader/9.9.5/vue-loader/lib/selector.js?type=styles&index=0!./src/components/MessageList.vue\n// module id = 113\n// module chunks = 2","// style-loader: Adds some css to the DOM by adding a <style> tag\n\n// load the styles\nvar content = require(\"!!./../../node_modules/.npminstall/css-loader/0.25.0/css-loader/index.js?sourceMap!./../../node_modules/.npminstall/vue-loader/9.9.5/vue-loader/lib/style-rewriter.js?id=data-v-0f0af662!./../../node_modules/sass-loader/index.js?sourceMap!./../../node_modules/.npminstall/vue-loader/9.9.5/vue-loader/lib/selector.js?type=styles&index=0!./robot.vue\");\nif(typeof content === 'string') content = [[module.id, content, '']];\n// add the styles to the DOM\nvar update = require(\"!./../../node_modules/.npminstall/vue-style-loader/1.0.0/vue-style-loader/addStyles.js\")(content, {});\nif(content.locals) module.exports = content.locals;\n// Hot Module Replacement\nif(module.hot) {\n\t// When the styles change, update the <style> tags\n\tif(!content.locals) {\n\t\tmodule.hot.accept(\"!!./../../node_modules/.npminstall/css-loader/0.25.0/css-loader/index.js?sourceMap!./../../node_modules/.npminstall/vue-loader/9.9.5/vue-loader/lib/style-rewriter.js?id=data-v-0f0af662!./../../node_modules/sass-loader/index.js?sourceMap!./../../node_modules/.npminstall/vue-loader/9.9.5/vue-loader/lib/selector.js?type=styles&index=0!./robot.vue\", function() {\n\t\t\tvar newContent = require(\"!!./../../node_modules/.npminstall/css-loader/0.25.0/css-loader/index.js?sourceMap!./../../node_modules/.npminstall/vue-loader/9.9.5/vue-loader/lib/style-rewriter.js?id=data-v-0f0af662!./../../node_modules/sass-loader/index.js?sourceMap!./../../node_modules/.npminstall/vue-loader/9.9.5/vue-loader/lib/selector.js?type=styles&index=0!./robot.vue\");\n\t\t\tif(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n\t\t\tupdate(newContent);\n\t\t});\n\t}\n\t// When the module is disposed, remove the <style> tags\n\tmodule.hot.dispose(function() { update(); });\n}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/.npminstall/extract-text-webpack-plugin/1.0.1/extract-text-webpack-plugin/loader.js?{\"omit\":1,\"extract\":true,\"remove\":true}!./~/.npminstall/vue-style-loader/1.0.0/vue-style-loader!./~/.npminstall/css-loader/0.25.0/css-loader?sourceMap!./~/.npminstall/vue-loader/9.9.5/vue-loader/lib/style-rewriter.js?id=data-v-0f0af662!./~/sass-loader?sourceMap!./~/.npminstall/vue-loader/9.9.5/vue-loader/lib/selector.js?type=styles&index=0!./src/pages/robot.vue\n// module id = 120\n// module chunks = 2","// style-loader: Adds some css to the DOM by adding a <style> tag\n\n// load the styles\nvar content = require(\"!!./../../node_modules/.npminstall/css-loader/0.25.0/css-loader/index.js?sourceMap!./../../node_modules/.npminstall/vue-loader/9.9.5/vue-loader/lib/style-rewriter.js?id=data-v-d135c70e!./../../node_modules/sass-loader/index.js?sourceMap!./../../node_modules/.npminstall/vue-loader/9.9.5/vue-loader/lib/selector.js?type=styles&index=0!./MessageList.vue\");\nif(typeof content === 'string') content = [[module.id, content, '']];\n// add the styles to the DOM\nvar update = require(\"!./../../node_modules/.npminstall/vue-style-loader/1.0.0/vue-style-loader/addStyles.js\")(content, {});\nif(content.locals) module.exports = content.locals;\n// Hot Module Replacement\nif(module.hot) {\n\t// When the styles change, update the <style> tags\n\tif(!content.locals) {\n\t\tmodule.hot.accept(\"!!./../../node_modules/.npminstall/css-loader/0.25.0/css-loader/index.js?sourceMap!./../../node_modules/.npminstall/vue-loader/9.9.5/vue-loader/lib/style-rewriter.js?id=data-v-d135c70e!./../../node_modules/sass-loader/index.js?sourceMap!./../../node_modules/.npminstall/vue-loader/9.9.5/vue-loader/lib/selector.js?type=styles&index=0!./MessageList.vue\", function() {\n\t\t\tvar newContent = require(\"!!./../../node_modules/.npminstall/css-loader/0.25.0/css-loader/index.js?sourceMap!./../../node_modules/.npminstall/vue-loader/9.9.5/vue-loader/lib/style-rewriter.js?id=data-v-d135c70e!./../../node_modules/sass-loader/index.js?sourceMap!./../../node_modules/.npminstall/vue-loader/9.9.5/vue-loader/lib/selector.js?type=styles&index=0!./MessageList.vue\");\n\t\t\tif(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n\t\t\tupdate(newContent);\n\t\t});\n\t}\n\t// When the module is disposed, remove the <style> tags\n\tmodule.hot.dispose(function() { update(); });\n}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/.npminstall/extract-text-webpack-plugin/1.0.1/extract-text-webpack-plugin/loader.js?{\"omit\":1,\"extract\":true,\"remove\":true}!./~/.npminstall/vue-style-loader/1.0.0/vue-style-loader!./~/.npminstall/css-loader/0.25.0/css-loader?sourceMap!./~/.npminstall/vue-loader/9.9.5/vue-loader/lib/style-rewriter.js?id=data-v-d135c70e!./~/sass-loader?sourceMap!./~/.npminstall/vue-loader/9.9.5/vue-loader/lib/selector.js?type=styles&index=0!./src/components/MessageList.vue\n// module id = 130\n// module chunks = 2","var __vue_exports__, __vue_options__\nvar __vue_styles__ = {}\n\n/* styles */\nrequire(\"!!./../../node_modules/.npminstall/extract-text-webpack-plugin/1.0.1/extract-text-webpack-plugin/loader.js?{\\\"omit\\\":1,\\\"extract\\\":true,\\\"remove\\\":true}!vue-style-loader!css-loader?sourceMap!vue-loader/lib/style-rewriter?id=data-v-d135c70e!sass-loader?sourceMap!vue-loader/lib/selector?type=styles&index=0!./MessageList.vue\")\n\n/* script */\n__vue_exports__ = require(\"!!babel-loader!vue-loader/lib/selector?type=script&index=0!./MessageList.vue\")\n\n/* template */\nvar __vue_template__ = require(\"!!vue-loader/lib/template-compiler?id=data-v-d135c70e!vue-loader/lib/selector?type=template&index=0!./MessageList.vue\")\n__vue_options__ = __vue_exports__ = __vue_exports__ || {}\nif (\n typeof __vue_exports__.default === \"object\" ||\n typeof __vue_exports__.default === \"function\"\n) {\n__vue_options__ = __vue_exports__ = __vue_exports__.default\n}\nif (typeof __vue_options__ === \"function\") {\n __vue_options__ = __vue_options__.options\n}\n\n__vue_options__.render = __vue_template__.render\n__vue_options__.staticRenderFns = __vue_template__.staticRenderFns\n\nmodule.exports = __vue_exports__\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/MessageList.vue\n// module id = 146\n// module chunks = 2","var __vue_exports__, __vue_options__\nvar __vue_styles__ = {}\n\n/* styles */\nrequire(\"!!./../../node_modules/.npminstall/extract-text-webpack-plugin/1.0.1/extract-text-webpack-plugin/loader.js?{\\\"omit\\\":1,\\\"extract\\\":true,\\\"remove\\\":true}!vue-style-loader!css-loader?sourceMap!vue-loader/lib/style-rewriter?id=data-v-0f0af662!sass-loader?sourceMap!vue-loader/lib/selector?type=styles&index=0!./robot.vue\")\n\n/* script */\n__vue_exports__ = require(\"!!babel-loader!vue-loader/lib/selector?type=script&index=0!./robot.vue\")\n\n/* template */\nvar __vue_template__ = require(\"!!vue-loader/lib/template-compiler?id=data-v-0f0af662!vue-loader/lib/selector?type=template&index=0!./robot.vue\")\n__vue_options__ = __vue_exports__ = __vue_exports__ || {}\nif (\n typeof __vue_exports__.default === \"object\" ||\n typeof __vue_exports__.default === \"function\"\n) {\n__vue_options__ = __vue_exports__ = __vue_exports__.default\n}\nif (typeof __vue_options__ === \"function\") {\n __vue_options__ = __vue_options__.options\n}\n\n__vue_options__.render = __vue_template__.render\n__vue_options__.staticRenderFns = __vue_template__.staticRenderFns\n\nmodule.exports = __vue_exports__\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/pages/robot.vue\n// module id = 151\n// module chunks = 2","module.exports={render:function (){var _vm=this;\n return _vm._h('div', {\n staticClass: \"page-robot page\"\n }, [_vm._h('page-header', {\n attrs: {\n \"pageType\": _vm.pageType\n }\n }), \" \", _vm._h('messageList')])\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/.npminstall/vue-loader/9.9.5/vue-loader/lib/template-compiler.js?id=data-v-0f0af662!./~/.npminstall/vue-loader/9.9.5/vue-loader/lib/selector.js?type=template&index=0!./src/pages/robot.vue\n// module id = 154\n// module chunks = 2","module.exports={render:function (){var _vm=this;\n return _vm._h('div', {\n staticClass: \"ux-message-list\"\n }, [_vm._h('ul', {\n staticClass: \"ux-message-list-ul\",\n attrs: {\n \"id\": \"msg-end\"\n },\n on: {\n \"click\": _vm.contract\n }\n }, [_vm._l((_vm.messageList), function(item) {\n return _vm._h('li', {\n staticClass: \"ux-message-list-item\",\n class: {\n 'ux-message-list-right': item.type == _vm.USER_TYPE.PEOLE\n }\n }, [_vm._h('img', {\n staticClass: \"ux-message-list-my-img\",\n attrs: {\n \"src\": \"http://7xqd2y.com1.z0.glb.clouddn.com/images11.jpg\"\n }\n }), \" \", _vm._h('div', {\n staticClass: \"ux-message-text\"\n }, [_vm._h('span', {\n staticClass: \"triangle\"\n }), \"\\n \" + _vm._s(item.value) + \"\\n \"])])\n })]), \" \", _vm._h('div', {\n staticClass: \"ux-message-list-post\"\n }, [_vm._h('input', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.message),\n expression: \"message\"\n }],\n attrs: {\n \"type\": \"text\"\n },\n domProps: {\n \"value\": _vm._s(_vm.message)\n },\n on: {\n \"keyup\": function($event) {\n if ($event.keyCode !== 13) { return; }\n _vm.sendMessage($event)\n },\n \"input\": function($event) {\n if ($event.target.composing) { return; }\n _vm.message = $event.target.value\n }\n }\n }), \" \", _vm._h('span', {\n staticClass: \"ux-message-list-send-but\",\n on: {\n \"click\": _vm.sendMessage\n }\n }, [\"发送\"])])])\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/.npminstall/vue-loader/9.9.5/vue-loader/lib/template-compiler.js?id=data-v-d135c70e!./~/.npminstall/vue-loader/9.9.5/vue-loader/lib/selector.js?type=template&index=0!./src/components/MessageList.vue\n// module id = 164\n// module chunks = 2"],"sourceRoot":""}