2 lines
3.2 KiB
JavaScript
2 lines
3.2 KiB
JavaScript
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/paper/chat"],{233:function(t,n,e){"use strict";(function(t,n){var o=e(4);e(26);o(e(25));var r=o(e(234));t.__webpack_require_UNI_MP_PLUGIN__=e,n(r.default)}).call(this,e(1)["default"],e(2)["createPage"])},234:function(t,n,e){"use strict";e.r(n);var o=e(235),r=e(237);for(var c in r)["default"].indexOf(c)<0&&function(t){e.d(n,t,(function(){return r[t]}))}(c);e(239);var i,u=e(32),s=Object(u["default"])(r["default"],o["render"],o["staticRenderFns"],!1,null,"3a52adb4",null,!1,o["components"],i);s.options.__file="pages/paper/chat.vue",n["default"]=s.exports},235:function(t,n,e){"use strict";e.r(n);var o=e(236);e.d(n,"render",(function(){return o["render"]})),e.d(n,"staticRenderFns",(function(){return o["staticRenderFns"]})),e.d(n,"recyclableRender",(function(){return o["recyclableRender"]})),e.d(n,"components",(function(){return o["components"]}))},236:function(t,n,e){"use strict";var o;e.r(n),e.d(n,"render",(function(){return r})),e.d(n,"staticRenderFns",(function(){return i})),e.d(n,"recyclableRender",(function(){return c})),e.d(n,"components",(function(){return o}));try{o={bottomInput:function(){return e.e("components/bottom-input/bottom-input").then(e.bind(null,463))}}}catch(u){if(-1===u.message.indexOf("Cannot find module")||-1===u.message.indexOf(".vue"))throw u;console.error(u.message),console.error("1. 排查组件名称拼写是否正确"),console.error("2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom"),console.error("3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件")}var r=function(){var t=this,n=t.$createElement;t._self._c},c=!1,i=[];r._withStripped=!0},237:function(t,n,e){"use strict";e.r(n);var o=e(238),r=e.n(o);for(var c in o)["default"].indexOf(c)<0&&function(t){e.d(n,t,(function(){return o[t]}))}(c);n["default"]=r.a},238:function(t,n,e){"use strict";(function(t){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o=e(166),r=function(){Promise.all([e.e("common/vendor"),e.e("pages/paper/cpns/chat-list")]).then(function(){return resolve(e(500))}.bind(null,e)).catch(e.oe)},c=function(){e.e("components/bottom-input/bottom-input").then(function(){return resolve(e(463))}.bind(null,e)).catch(e.oe)},i={components:{ChatList:r,BottomInput:c},data:function(){return{scrollInto:"",scrollHeight:0,list:o.chatList}},onLoad:function(){var n=this;t.getSystemInfo({success:function(e){n.scrollHeight=e.windowHeight-t.upx2px(82)}})},onReady:function(){this.scrollToBottom()},methods:{submit:function(t){var n=this,e={userid:1,avatar:"/static/img/header/a.svg",username:"jay",data:t,type:"text",createTime:this.$u.timeFormat(new Date,"yyyy-mm-dd hh:MM:ss")};this.list.push(e),setTimeout((function(){n.scrollToBottom()}),500)},scrollToBottom:function(){var t=this.list.length-1;t<0||(this.scrollInto="chat"+t)}}};n.default=i}).call(this,e(2)["default"])},239:function(t,n,e){"use strict";e.r(n);var o=e(240),r=e.n(o);for(var c in o)["default"].indexOf(c)<0&&function(t){e.d(n,t,(function(){return o[t]}))}(c);n["default"]=r.a},240:function(t,n,e){}},[[233,"common/runtime","common/vendor"]]]);
|
||
//# sourceMappingURL=../../../.sourcemap/mp-weixin/pages/paper/chat.js.map
|