diff --git a/manifest.json b/manifest.json index cac0549..7ad19fc 100644 --- a/manifest.json +++ b/manifest.json @@ -1,6 +1,6 @@ { - "name" : "情感咨询", - "appid" : "__UNI__8080F14", + "name" : "种植咨询", + "appid" : "__UNI__9EDFE40", "description" : "", "versionName" : "1.0.0", "versionCode" : "100", diff --git a/pages.json b/pages.json index bfb7b88..1cdd6c2 100644 --- a/pages.json +++ b/pages.json @@ -3,7 +3,7 @@ { "path": "pages/index/index", "style": { - "navigationBarTitleText": "情感咨询", + "navigationBarTitleText": "种植咨询", "bounce": "none" // "softinputMode": "adjustResize" } diff --git a/pages/index/index.vue b/pages/index/index.vue index 4679808..f30af64 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -52,8 +52,8 @@ }, data() { return { - wssType: 'qinggan', // 网络连接类型 - avatarType: "/static/icon/qg.png", // AI头像类型 + wssType: 'zhongzhi', // 网络连接类型 + avatarType: "/static/icon/zz.png", // AI头像类型 talkList: [], ajax: { rows: 15, //每页数量 diff --git a/unpackage/dist/dev/app-plus/app-config-service.js b/unpackage/dist/dev/app-plus/app-config-service.js index 1489dd6..6fecf3e 100644 --- a/unpackage/dist/dev/app-plus/app-config-service.js +++ b/unpackage/dist/dev/app-plus/app-config-service.js @@ -1,8 +1,8 @@ var isReady=false;var onReadyCallbacks=[]; var isServiceReady=false;var onServiceReadyCallbacks=[]; -var __uniConfig = {"pages":["pages/index/index"],"window":{"navigationBarTextStyle":"black","navigationBarTitleText":"人工智能","navigationBarBackgroundColor":"#F8F8F8","backgroundColor":"#F8F8F8"},"darkmode":false,"nvueCompiler":"uni-app","nvueStyleCompiler":"uni-app","renderer":"auto","splashscreen":{"alwaysShowBeforeRender":true,"autoclose":false},"appname":"情感咨询","compilerVersion":"3.8.12","entryPagePath":"pages/index/index","networkTimeout":{"request":60000,"connectSocket":60000,"uploadFile":60000,"downloadFile":60000}}; -var __uniRoutes = [{"path":"/pages/index/index","meta":{"isQuit":true},"window":{"navigationBarTitleText":"情感咨询","bounce":"none"}}]; +var __uniConfig = {"pages":["pages/index/index"],"window":{"navigationBarTextStyle":"black","navigationBarTitleText":"人工智能","navigationBarBackgroundColor":"#F8F8F8","backgroundColor":"#F8F8F8"},"darkmode":false,"nvueCompiler":"uni-app","nvueStyleCompiler":"uni-app","renderer":"auto","splashscreen":{"alwaysShowBeforeRender":true,"autoclose":false},"appname":"种植咨询","compilerVersion":"3.8.12","entryPagePath":"pages/index/index","networkTimeout":{"request":60000,"connectSocket":60000,"uploadFile":60000,"downloadFile":60000}}; +var __uniRoutes = [{"path":"/pages/index/index","meta":{"isQuit":true},"window":{"navigationBarTitleText":"种植咨询","bounce":"none"}}]; __uniConfig.onReady=function(callback){if(__uniConfig.ready){callback()}else{onReadyCallbacks.push(callback)}};Object.defineProperty(__uniConfig,"ready",{get:function(){return isReady},set:function(val){isReady=val;if(!isReady){return}const callbacks=onReadyCallbacks.slice(0);onReadyCallbacks.length=0;callbacks.forEach(function(callback){callback()})}}); __uniConfig.onServiceReady=function(callback){if(__uniConfig.serviceReady){callback()}else{onServiceReadyCallbacks.push(callback)}};Object.defineProperty(__uniConfig,"serviceReady",{get:function(){return isServiceReady},set:function(val){isServiceReady=val;if(!isServiceReady){return}const callbacks=onServiceReadyCallbacks.slice(0);onServiceReadyCallbacks.length=0;callbacks.forEach(function(callback){callback()})}}); service.register("uni-app-config",{create(a,b,c){if(!__uniConfig.viewport){var d=b.weex.config.env.scale,e=b.weex.config.env.deviceWidth,f=Math.ceil(e/d);Object.assign(__uniConfig,{viewport:f,defaultFontSize:Math.round(f/20)})}return{instance:{__uniConfig:__uniConfig,__uniRoutes:__uniRoutes,global:void 0,window:void 0,document:void 0,frames:void 0,self:void 0,location:void 0,navigator:void 0,localStorage:void 0,history:void 0,Caches:void 0,screen:void 0,alert:void 0,confirm:void 0,prompt:void 0,fetch:void 0,XMLHttpRequest:void 0,WebSocket:void 0,webkit:void 0,print:void 0}}}}); diff --git a/unpackage/dist/dev/app-plus/app-service.js b/unpackage/dist/dev/app-plus/app-service.js index 74f90f4..ee47e3e 100644 --- a/unpackage/dist/dev/app-plus/app-service.js +++ b/unpackage/dist/dev/app-plus/app-service.js @@ -1058,7 +1058,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _HBu /***/ (function(module, exports, __webpack_require__) { "use strict"; -eval("/* WEBPACK VAR INJECTION */(function(__f__) {\n\nvar _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 1);\nvar _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 4);\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar _regenerator = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/regenerator */ 33));\nvar _toConsumableArray2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/toConsumableArray */ 22));\nvar _asyncToGenerator2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/asyncToGenerator */ 35));\nvar base64 = _interopRequireWildcard(__webpack_require__(/*! base-64 */ 36));\nvar _cryptoJs = _interopRequireDefault(__webpack_require__(/*! ../../static/crypto-js/crypto-js.js */ 40));\nvar _parser = _interopRequireDefault(__webpack_require__(/*! ../../static/fast-xml-parser/src/parser */ 198));\nvar utf8 = _interopRequireWildcard(__webpack_require__(/*! utf8 */ 207));\nvar _bingMath = _interopRequireDefault(__webpack_require__(/*! @/components/bing-math/bing-math.vue */ 10));\nfunction _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== \"function\") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }\nfunction _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== \"object\" && typeof obj !== \"function\") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== \"default\" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\nvar _default = {\n components: {\n 'bing-math': _bingMath.default\n },\n data: function data() {\n return {\n wssType: 'qinggan',\n // 网络连接类型\n avatarType: \"/static/icon/qg.png\",\n // AI头像类型\n talkList: [],\n ajax: {\n rows: 15,\n //每页数量\n page: 1,\n //页码\n flag: false,\n // 请求开关\n loading: false,\n // 加载中\n loadText: '正在获取消息'\n },\n keyboardHeight: 0,\n showplc: true,\n content: '',\n c_content: '',\n n_content: '',\n avatar: '/static/avatar.png',\n // 用户头像\n params: [],\n // 发送的消息内容\n timer: '',\n socketTask: {},\n TEXT: '',\n historyTextList: [],\n // 历史会话信息,由于最大token12000,可以结合实际使用,进行移出\n tempRes: '',\n // 临时答复保存\n socketing: false,\n // 是否正在接收\n showStop: false,\n // 是否显示中断按钮\n scrollTop: 0,\n shouldScrollToBottom: true\n };\n },\n mounted: function mounted() {\n var _this = this;\n this.$nextTick(function () {\n _this.getHistoryMsg();\n });\n uni.onKeyboardHeightChange(function (e) {\n var h = _this.keyboardHeight;\n _this.keyboardHeight = e.height;\n _this.$nextTick(function () {\n setTimeout(function () {\n uni.pageScrollTo({\n scrollTop: 9999999,\n // 当前位置向下滚动\n duration: 300 // 滚动过渡时间为300ms,默认值为300ms\n });\n }, 0);\n });\n });\n },\n onLoad: function onLoad() {\n var _this2 = this;\n var avatar = uni.getStorageSync('avatar');\n avatar ? this.avatar = avatar : null;\n uni.$on('MPinfo', function (e) {\n _this2.avatar = e.avatar;\n });\n },\n beforeDestroy: function beforeDestroy() {\n uni.offKeyboardHeightChange();\n },\n onPageScroll: function onPageScroll(e) {\n if (e.scrollTop < 5) {\n this.getHistoryMsg();\n }\n },\n watch: {\n n_content: function n_content(n, o) {\n var _this3 = this;\n // this.c_content = n;\n if (this.timer) clearInterval(this.timer);\n var cl = this.c_content.length;\n var nc = this.n_content.split('');\n this.timer = setInterval(function () {\n if (cl < nc.length) {\n _this3.c_content += nc[cl];\n cl++;\n if (cl % 6 == 0) _this3.$nextTick(function () {\n uni.pageScrollTo({\n scrollTop: 999999\n });\n });\n } else {\n // console.log(this.socketing==false, cl == nc.length);\n if (_this3.socketing == false) _this3.showStop = false;\n clearInterval(_this3.timer);\n _this3.$nextTick(function () {\n uni.pageScrollTo({\n scrollTop: 9999999\n });\n });\n }\n }, 60);\n }\n },\n methods: {\n copyText: function copyText(str) {\n uni.setClipboardData({\n data: str,\n success: function success() {\n uni.showToast({\n icon: 'none',\n title: '复制成功'\n });\n }\n });\n },\n // 获取历史消息\n getHistoryMsg: function getHistoryMsg() {\n var _this4 = this;\n return;\n if (this.ajax.flag) {\n return; //\n }\n\n var get = /*#__PURE__*/function () {\n var _ref = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee() {\n var data, selector;\n return _regenerator.default.wrap(function _callee$(_context) {\n while (1) {\n switch (_context.prev = _context.next) {\n case 0:\n _this4.hideLoadTips();\n _this4.ajax.flag = false;\n _context.next = 4;\n return _this4.joinHistoryMsg();\n case 4:\n data = _context.sent;\n __f__(\"log\", '----- 模拟数据格式,供参考 -----', \" at pages/index/index.vue:169\");\n __f__(\"log\", data, \" at pages/index/index.vue:170\"); // 查看请求返回的数据结构 \n\n // 获取待滚动元素选择器,解决插入数据后,滚动条定位时使用\n selector = '';\n if (_this4.ajax.page > 1) {\n // 非第一页,则取历史消息数据的第一条信息元素\n selector = \"#msg-\".concat(_this4.talkList[0].id);\n } else {\n // 第一页,则取当前消息数据的最后一条信息元素\n selector = \"#msg-\".concat(data[data.length - 1].id);\n }\n\n // 将获取到的消息数据合并到消息数组中\n _this4.talkList = [].concat((0, _toConsumableArray2.default)(data), (0, _toConsumableArray2.default)(_this4.talkList));\n\n // 数据挂载后执行,不懂的请自行阅读 Vue.js 文档对 Vue.nextTick 函数说明。\n _this4.$nextTick(function () {\n // 设置当前滚动的位置\n _this4.setPageScrollTo(selector);\n _this4.hideLoadTips(true);\n if (data.length < _this4.ajax.rows) {\n // 当前消息数据条数小于请求要求条数时,则无更多消息,不再允许请求。\n // 可在此处编写无更多消息数据时的逻辑\n } else {\n _this4.ajax.page++;\n\n // 延迟 200ms ,以保证设置窗口滚动已完成\n setTimeout(function () {\n _this4.ajax.flag = true;\n }, 200);\n }\n });\n case 11:\n case \"end\":\n return _context.stop();\n }\n }\n }, _callee);\n }));\n return function get() {\n return _ref.apply(this, arguments);\n };\n }();\n get();\n },\n // 拼接历史记录消息\n joinHistoryMsg: function joinHistoryMsg() {\n var _this5 = this;\n var join = function join() {\n var arr = [];\n\n //通过当前页码及页数,模拟数据内容\n var startIndex = (_this5.ajax.page - 1) * _this5.ajax.rows;\n var endIndex = startIndex + _this5.ajax.rows;\n for (var i = startIndex; i < endIndex; i++) {\n arr.push({\n \"id\": i,\n // 消息的ID\n \"content\": \"\\u8FD9\\u662F\\u5386\\u53F2\\u8BB0\\u5F55\\u7684\\u7B2C\".concat(i + 1, \"\\u6761\\u6D88\\u606F\"),\n // 消息内容\n \"type\": Math.random() > 0.5 ? 1 : 0,\n // 此为消息类别,设 1 为发出去的消息,0 为收到对方的消息,\n \"pic\": \"/static/avatar.png\" // 头像\n });\n }\n\n /*\n \t颠倒数组中元素的顺序。将最新的数据排在本次接口返回数据的最后面。\n \t后端接口按 消息的时间降序查找出当前页的数据后,再将本页数据按消息时间降序排序返回。\n \t这是数据的重点,因为页面滚动条和上拉加载历史的问题。\n */\n arr.reverse();\n return arr;\n };\n\n // 此处用到 ES6 的 Promise 知识,不懂的请自行学习。\n return new Promise(function (done, fail) {\n // 无数据请求接口,由 setTimeout 模拟,正式项目替换为 ajax 即可。\n setTimeout(function () {\n var data = join();\n done(data);\n }, 1500);\n });\n },\n focus: function focus() {\n // this.$nextTick(()=>{\n // setTimeout(()=>{\n // uni.pageScrollTo({\n // scrollTop: 9999999, // 当前位置向下滚动\n // duration: 300 // 滚动过渡时间为300ms,默认值为300ms\n // });\n // }, 0)\n // })\n },\n // 设置页面滚动位置\n setPageScrollTo: function setPageScrollTo(selector) {\n var view = uni.createSelectorQuery().in(this).select(selector);\n view.boundingClientRect(function (res) {\n uni.pageScrollTo({\n scrollTop: res.top - 30,\n // -30 为多显示出大半个消息的高度,示意上面还有信息。\n duration: 0\n });\n }).exec();\n },\n // 隐藏加载提示\n hideLoadTips: function hideLoadTips(flag) {\n var _this6 = this;\n if (flag) {\n this.ajax.loadText = '消息获取成功';\n setTimeout(function () {\n _this6.ajax.loading = false;\n }, 300);\n } else {\n this.ajax.loading = true;\n this.ajax.loadText = '正在获取消息';\n }\n },\n // 关闭连接\n closeSocketTask: function closeSocketTask() {\n var _this7 = this;\n try {\n clearInterval(this.timer);\n this.talkList[this.talkList.length - 1].content = this.c_content + '';\n // console.log(this.talkList[this.talkList.length - 1].content);\n // this.c_content = '';\n // this.n_content = '';\n this.socketTask.close({\n code: 500,\n // APP端存在BUG,正常关闭的code为1000,无法正常关闭,需要将code换为其他值\n complete: function complete(res) {\n _this7.showStop = false;\n __f__(\"log\", '主动断开', res, \" at pages/index/index.vue:289\");\n _this7.wsLiveFlag = false;\n }\n });\n } catch (e) {\n //TODO handle the exception\n }\n },\n // 发送信息\n send: function send() {\n var _this8 = this;\n if (!this.content) {\n uni.showToast({\n title: '请输入有效的内容',\n icon: 'none'\n });\n return;\n }\n this.showStop = true;\n // 将当前发送信息 添加到消息列表。\n var data = {\n \"id\": new Date().getTime(),\n \"content\": this.content,\n \"type\": 1,\n \"pic\": this.avatar\n };\n __f__(\"log\", data, \" at pages/index/index.vue:314\");\n this.TEXT = this.content;\n this.talkList.push(data);\n this.talkList.push({\n \"id\": new Date().getTime(),\n \"content\": '',\n \"type\": 2,\n \"pic\": this.avatarType\n });\n this.n_content = '';\n this.c_content = '';\n this.socketing = true;\n // return ;\n this.$nextTick(function () {\n // 清空内容框中的内容\n _this8.content = '';\n // uni.pageScrollTo({\n // scrollTop: 999999, // 设置一个超大值,以保证滚动条滚动到底部\n // duration: 0\n // });\n });\n\n this.sendToSpark();\n },\n sendToSpark: function sendToSpark() {\n var _this9 = this;\n return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee2() {\n var realThis;\n return _regenerator.default.wrap(function _callee2$(_context2) {\n while (1) {\n switch (_context2.prev = _context2.next) {\n case 0:\n // let myUrl = await this.getWebSocketUrl();\n _this9.tempRes = \"\";\n realThis = _this9;\n _this9.socketTask = uni.connectSocket({\n //url: encodeURI(encodeURI(myUrl).replace(/\\+/g, '%2B')),\n url: \"wss://chat.lihaink.cn/chat?type=\".concat(_this9.wssType, \"×tamp=\").concat(Date.now()),\n method: 'GET',\n token: '',\n success: function success(res) {\n __f__(\"log\", res, \"ws成功连接...\", \" at pages/index/index.vue:348\");\n realThis.wsLiveFlag = true;\n }\n });\n realThis.socketTask.onError(function (res) {\n __f__(\"log\", \"连接发生错误,请检查appid是否填写\", res, \" at pages/index/index.vue:353\");\n });\n realThis.socketTask.onOpen(function (res) {\n _this9.historyTextList.push({\n \"role\": \"user\",\n \"content\": _this9.TEXT\n });\n // 第一帧..........................................\n __f__(\"log\", '连接成功...', \" at pages/index/index.vue:361\");\n // let params = {\n // \"header\": {\n // \"app_id\": this.APPID,\n // \"uid\": \"aef9f963-7\"\n // },\n // \"parameter\": {\n // \"chat\": {\n // \"domain\": \"generalv2\",\n // \"temperature\": 0.5,\n // \"max_tokens\": 1024\n // }\n // },\n // \"payload\": {\n // \"message\": {\n // \"text\": this.historyTextList\n // }\n // }\n // };\n if (_this9.historyTextList.length > 9) _this9.params = JSON.parse(JSON.stringify(_this9.historyTextList.splice(-9)));else _this9.params = JSON.parse(JSON.stringify(_this9.historyTextList));\n _this9.isSurpass();\n realThis.socketTask.send({\n // 发送消息,,都用uni的官方版本\n data: JSON.stringify(_this9.params),\n success: function success() {\n __f__(\"log\", '第一帧发送成功', \" at pages/index/index.vue:387\");\n }\n });\n });\n\n // 接受到消息时\n realThis.socketTask.onMessage(function (res) {\n __f__(\"log\", '收到API返回的内容:', res.data, \" at pages/index/index.vue:394\");\n var obj = JSON.parse(res.data);\n // console.log(\"我打印的\"+obj.payload);\n if (!realThis.wsLiveFlag) return;\n var dataArray = obj.payload.choices.text;\n for (var i = 0; i < dataArray.length; i++) {\n _this9.talkList[_this9.talkList.length - 1].content += dataArray[i].content;\n _this9.n_content = _this9.talkList[_this9.talkList.length - 1].content;\n realThis.tempRes = realThis.tempRes + dataArray[i].content;\n }\n var temp = JSON.parse(res.data);\n // console.log(\"0726\",temp.header.code)\n if (temp.header.code !== 0) {\n _this9.socketing = false;\n __f__(\"log\", \"\".concat(temp.header.code, \":\").concat(temp.message), \" at pages/index/index.vue:408\");\n realThis.socketTask.close({\n success: function success(res) {\n __f__(\"log\", '关闭成功', res, \" at pages/index/index.vue:411\");\n realThis.wsLiveFlag = false;\n },\n fail: function fail(err) {\n __f__(\"log\", '关闭失败', err, \" at pages/index/index.vue:415\");\n }\n });\n }\n if (temp.header.code === 0) {\n if (res.data && temp.header.status === 2) {\n _this9.socketing = false;\n _this9.historyTextList.push({\n \"role\": \"assistant\",\n \"content\": _this9.tempRes\n });\n setTimeout(function () {\n realThis.socketTask.close({\n success: function success(res) {\n __f__(\"log\", '关闭成功', res, \" at pages/index/index.vue:429\");\n realThis.wsLiveFlag = false;\n },\n fail: function fail(err) {\n // console.log('关闭失败', err)\n }\n });\n }, 1000);\n }\n }\n });\n case 6:\n case \"end\":\n return _context2.stop();\n }\n }\n }, _callee2);\n }))();\n },\n // 判断文字是否超过五千字\n isSurpass: function isSurpass() {\n var sum = this.params.reduce(function (accumulator, currentValue) {\n return accumulator + currentValue.content;\n }, '');\n if (sum.length > 5000) {\n this.params.shift();\n return this.isSurpass();\n } else {\n __f__(\"log\", \"\\u672C\\u6B21\\u53D1\\u9001\".concat(sum.length, \"\\u5B57\"), \" at pages/index/index.vue:450\");\n return sum;\n }\n },\n // 鉴权\n getWebSocketUrl: function getWebSocketUrl() {\n var _this10 = this;\n return new Promise(function (resolve, reject) {\n // https://spark-api.xf-yun.com/v1.1/chat V1.5 domain general\n // https://spark-api.xf-yun.com/v2.1/chat V2.0 domain generalv2\n var url = \"wss://spark-api.xf-yun.com/v2.1/chat\";\n var host = \"spark-api.xf-yun.com\";\n var apiKeyName = \"api_key\";\n var date = new Date().toGMTString();\n var algorithm = \"hmac-sha256\";\n var headers = \"host date request-line\";\n var signatureOrigin = \"host: \".concat(host, \"\\ndate: \").concat(date, \"\\nGET /v2.1/chat HTTP/1.1\");\n var signatureSha = _cryptoJs.default.HmacSHA256(signatureOrigin, _this10.APISecret);\n var signature = _cryptoJs.default.enc.Base64.stringify(signatureSha);\n var authorizationOrigin = \"\".concat(apiKeyName, \"=\\\"\").concat(_this10.APIKey, \"\\\", algorithm=\\\"\").concat(algorithm, \"\\\", headers=\\\"\").concat(headers, \"\\\", signature=\\\"\").concat(signature, \"\\\"\");\n var authorization = base64.encode(authorizationOrigin);\n url = \"\".concat(url, \"?authorization=\").concat(authorization, \"&date=\").concat(encodeURI(date), \"&host=\").concat(host);\n\n // console.log(url)\n resolve(url);\n });\n },\n // 滚动到头部\n bindScroll: function bindScroll() {\n if (this.userId == 0) {\n this.getHistory();\n this.getproductInfo();\n this.getOrderInfo();\n this.getRefundDetail();\n this.getStoreDetail();\n } else {\n this.getMerHistory();\n }\n },\n // 当滑动页面时,收起键盘,与微信聊天效果保持一致\n touchmove: function touchmove(e) {\n uni.hideKeyboard();\n }\n }\n};\nexports.default = _default;\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/vue-cli-plugin-uni/lib/format-log.js */ 21)[\"default\"]))//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInVuaS1hcHA6Ly8vcGFnZXMvaW5kZXgvaW5kZXgudnVlIl0sIm5hbWVzIjpbImNvbXBvbmVudHMiLCJCaW5nTWF0aCIsImRhdGEiLCJ3c3NUeXBlIiwiYXZhdGFyVHlwZSIsInRhbGtMaXN0IiwiYWpheCIsInJvd3MiLCJwYWdlIiwiZmxhZyIsImxvYWRpbmciLCJsb2FkVGV4dCIsImtleWJvYXJkSGVpZ2h0Iiwic2hvd3BsYyIsImNvbnRlbnQiLCJjX2NvbnRlbnQiLCJuX2NvbnRlbnQiLCJhdmF0YXIiLCJwYXJhbXMiLCJ0aW1lciIsInNvY2tldFRhc2siLCJURVhUIiwiaGlzdG9yeVRleHRMaXN0IiwidGVtcFJlcyIsInNvY2tldGluZyIsInNob3dTdG9wIiwic2Nyb2xsVG9wIiwic2hvdWxkU2Nyb2xsVG9Cb3R0b20iLCJtb3VudGVkIiwiJG5leHRUaWNrIiwiZ2V0SGlzdG9yeU1zZyIsInVuaSIsIm9uS2V5Ym9hcmRIZWlnaHRDaGFuZ2UiLCJlIiwiaCIsImhlaWdodCIsInNldFRpbWVvdXQiLCJwYWdlU2Nyb2xsVG8iLCJkdXJhdGlvbiIsIm9uTG9hZCIsImdldFN0b3JhZ2VTeW5jIiwiJG9uIiwiYmVmb3JlRGVzdHJveSIsIm9mZktleWJvYXJkSGVpZ2h0Q2hhbmdlIiwib25QYWdlU2Nyb2xsIiwid2F0Y2giLCJuIiwibyIsImNsZWFySW50ZXJ2YWwiLCJjbCIsImxlbmd0aCIsIm5jIiwic3BsaXQiLCJzZXRJbnRlcnZhbCIsIm1ldGhvZHMiLCJjb3B5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CA1KSB7XG4gICAgICB0aGlzLmdldEhpc3RvcnlNc2coKTtcbiAgICB9XG4gIH0sXG4gIHdhdGNoOiB7XG4gICAgbl9jb250ZW50KG4sIG8pIHtcbiAgICAgIC8vIHRoaXMuY19jb250ZW50ID0gbjtcbiAgICAgIGlmICh0aGlzLnRpbWVyKSBjbGVhckludGVydmFsKHRoaXMudGltZXIpO1xuICAgICAgbGV0IGNsID0gdGhpcy5jX2NvbnRlbnQubGVuZ3RoO1xuICAgICAgbGV0IG5jID0gdGhpcy5uX2NvbnRlbnQuc3BsaXQoJycpO1xuICAgICAgdGhpcy50aW1lciA9IHNldEludGVydmFsKCgpID0+IHtcbiAgICAgICAgaWYgKGNsIDwgbmMubGVuZ3RoKSB7XG4gICAgICAgICAgdGhpcy5jX2NvbnRlbnQgKz0gbmNbY2xdO1xuICAgICAgICAgIGNsKys7XG4gICAgICAgICAgaWYgKGNsICUgNiA9PSAwKSB0aGlzLiRuZXh0VGljaygoKSA9PiB7XG4gICAgICAgICAgICB1bmkucGFnZVNjcm9sbFRvKHtcbiAgICAgICAgICAgICAgc2Nyb2xsVG9wOiA5OTk5OTksXG4gICAgICAgICAgICB9KVxuICAgICAgICAgIH0pXG4gICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgLy8gY29uc29sZS5sb2codGhpcy5zb2NrZXRpbmc9PWZhbHNlLCBjbCA9PSBuYy5sZW5ndGgpO1xuICAgICAgICAgIGlmICh0aGlzLnNvY2tldGluZyA9PSBmYWxzZSkgdGhpcy5zaG93U3RvcCA9IGZhbHNlO1xuICAgICAgICAgIGNsZWFySW50ZXJ2YWwodGhpcy50aW1lcik7XG4gICAgICAgICAgdGhpcy4kbmV4dFRpY2soKCkgPT4ge1xuICAgICAgICAgICAgdW5pLnBhZ2VTY3JvbGxUbyh7XG4gICAgICAgICAgICAgIHNjcm9sbFRvcDogOTk5OTk5OSxcbiAgICAgICAgICAgIH0pXG4gICAgICAgICAgfSlcbiAgICAgICAgfVxuICAgICAgfSwgNjApXG4gICAgfSxcbiAgfSxcbiAgbWV0aG9kczoge1xuICAgIGNvcHlUZXh0KHN0cikge1xuICAgICAgdW5pLnNldENsaXBib2FyZERhdGEoe1xuICAgICAgICBkYXRhOiBzdHIsXG4gICAgICAgIHN1Y2Nlc3M6IGZ1bmN0aW9uKCkge1xuICAgICAgICAgIHVuaS5zaG93VG9hc3Qoe1xuICAgICAgICAgICAgaWNvbjogJ25vbmUnLFxuICAgICAgICAgICAgdGl0bGU6ICflpI3liLbmiJDlip8nXG4gICAgICAgICAgfSk7XG4gICAgICAgIH1cbiAgICAgIH0pO1xuICAgIH0sXG4gICAgLy8g6I635Y+W5Y6G5Y+y5raI5oGvXG4gICAgZ2V0SGlzdG9yeU1zZygpIHtcbiAgICAgIHJldHVybjtcbiAgICAgIGlmICh0aGlzLmFqYXguZmxhZykge1xuICAgICAgICByZXR1cm47IC8vXG4gICAgICB9XG5cbiAgICAgIGxldCBnZXQgPSBhc3luYyAoKSA9PiB7XG4gICAgICAgIHRoaXMuaGlkZUxvYWRUaXBzKCk7XG4gICAgICAgIHRoaXMuYWpheC5mbGFnID0gZmFsc2U7XG4gICAgICAgIGxldCBkYXRhID0gYXdhaXQgdGhpcy5qb2luSGlzdG9yeU1zZygpO1xuXG4gICAgICAgIGNvbnNvbGUubG9nKCctLS0tLSDmqKHmi5/mlbDmja7moLzlvI/vvIzkvpvlj4LogIMgLS0tLS0nKTtcbiAgICAgICAgY29uc29sZS5sb2coZGF0YSk7IC8vIOafpeeci+ivt+axgui/lOWbnueahOaVsOaNrue7k+aehCBcblxuICAgICAgICAvLyDojrflj5blvoXmu5rliqjlhYPntKDpgInmi6nlmajvvIzop6PlhrPmj5LlhaXmlbDmja7lkI7vvIzmu5rliqjmnaHlrprkvY3ml7bkvb/nlKhcbiAgICAgICAgbGV0IHNlbGVjdG9yID0gJyc7XG5cbiAgICAgICAgaWYgKHRoaXMuYWpheC5wYWdlID4gMSkge1xuICAgICAgICAgIC8vIOmdnuesr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yo5q2k5aSE57yW5YaZ5peg5pu05aSa5raI5oGv5pWw5o2u5pe255qE6YC76L6RXG4gICAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICAgIHRoaXMuYWpheC5wYWdlKys7XG5cbiAgICAgICAgICAgIC8vIOW7tui/nyAyMDBtcyDvvIzku6Xkv53or4Horr7nva7nqpflj6Pmu5rliqjlt7LlrozmiJBcbiAgICAgICAgICAgIHNldFRpbWVvdXQoKCkgPT4ge1xuICAgICAgICAgICAgICB0aGlzLmFqYXguZmxhZyA9IHRydWU7XG4gICAgICAgICAgICB9LCAyMDApXG4gICAgICAgICAgfVxuXG4gICAgICAgIH0pXG4gICAgICB9XG4gICAgICBnZXQoKTtcbiAgICB9LFxuICAgIC8vIOaLvOaOpeWOhuWPsuiusOW9lea2iOaBr1xuICAgIGpvaW5IaXN0b3J5TXNnKCkge1xuICAgICAgbGV0IGpvaW4gPSAoKSA9PiB7XG4gICAgICAgIGxldCBhcnIgPSBbXTtcblxuICAgICAgICAvL+mAmui/h+W9k+WJjemhteeggeWPiumhteaVsO+8jOaooeaLn+aVsOaNruWGheWuuVxuICAgICAgICBsZXQgc3RhcnRJbmRleCA9ICh0aGlzLmFqYXgucGFnZSAtIDEpICogdGhpcy5hamF4LnJvd3M7XG4gICAgICAgIGxldCBlbmRJbmRleCA9IHN0YXJ0SW5kZXggKyB0aGlzLmFqYXgucm93cztcbiAgICAgICAgZm9yIChsZXQgaSA9IHN0YXJ0SW5kZXg7IGkgPCBlbmRJbmRleDsgaSsrKSB7XG4gICAgICAgICAgYXJyLnB1c2goe1xuICAgICAgICAgICAgXCJpZFwiOiBpLCAvLyDmtojmga/nmoRJRFxuICAgICAgICAgICAgXCJjb250ZW50XCI6IGDov5nmmK/ljoblj7LorrDlvZXnmoTnrKwke2krMX3mnaHmtojmga9gLCAvLyDmtojmga/lhoXlrrlcbiAgICAgICAgICAgIFwidHlwZVwiOiBNYXRoLnJhbmRvbSgpID4gMC41ID8gMSA6IDAsIC8v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5Yqf6L+e5o6lLi4uXCIpXG4gICAgICAgICAgcmVhbFRoaXMud3NMaXZlRmxhZyA9IHRydWU7XG4gICAgICAgIH1cbiAgICAgIH0pXG4gICAgICByZWFsVGhpcy5zb2NrZXRUYXNrLm9uRXJyb3IoKHJlcykgPT4ge1xuICAgICAgICBjb25zb2xlLmxvZyhcIui/nuaOpeWPkeeUn+mUmeivr++8jOivt+ajgOafpWFwcGlk5piv5ZCm5aGr5YaZXCIsIHJlcylcbiAgICAgIH0pXG4gICAgICByZWFsVGhpcy5zb2NrZXRUYXNrLm9uT3BlbigocmVzKSA9PiB7XG4gICAgICAgIHRoaXMuaGlzdG9yeVRleHRMaXN0LnB1c2goe1xuICAgICAgICAgIFwicm9sZVwiOiBcInVzZXJcIixcbiAgICAgICAgICBcImNvbnRlbnRcIjogdGhpcy5URVhUXG4gICAgICAgIH0pXG4gICAgICAgIC8vIOesrOS4gOW4py4uLi4uLi4uLi4uLi4uLi4uLi4uLi4uLi4uLi4uLi4uLi4uLi4uLi4uLlxuICAgICAgICBjb25zb2xlLmxvZygn6L+e5o6l5oiQ5YqfLi4uJylcbiAgICAgICAgLy8gbGV0IHBhcmFtcyA9IHtcbiAgICAgICAgLy8gICBcImhlYWRlclwiOiB7XG4gICAgICAgIC8vICAgICBcImFwcF9pZFwiOiB0aGlzLkFQUElELFxuICAgICAgICAvLyAgICAgXCJ1aWRcIjogXCJhZWY5Zjk2My03XCJcbiAgICAgICAgLy8gICB9LFxuICAgICAgICAvLyAgIFwicGFyYW1ldGVyXCI6IHtcbiAgICAgICAgLy8gICAgIFwiY2hhdFwiOiB7XG4gICAgICAgIC8vICAgICAgIFwiZG9tYWluXCI6IFwiZ2VuZXJhbHYyXCIsXG4gICAgICAgIC8vICAgICAgIFwidGVtcGVyYXR1cmVcIjogMC41LFxuICAgICAgICAvLyAgICAgICBcIm1heF90b2tlbnNcIjogMTAyNFxuICAgICAgICAvLyAgICAgfVxuICAgICAgICAvLyAgIH0sXG4gICAgICA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pIHtcbiAgICAgICAgICAgICAgY29uc29sZS5sb2coJ+WFs+mXreWksei0pScsIGVycilcbiAgICAgICAgICAgIH1cbiAgICAgICAgICB9KVxuICAgICAgICB9XG4gICAgICAgIGlmICh0ZW1wLmhlYWRlci5jb2RlID09PSAwKSB7XG4gICAgICAgICAgaWYgKHJlcy5kYXRhICYmIHRlbXAuaGVhZGVyLnN0YXR1cyA9PT0gMikge1xuICAgICAgICAgICAgdGhpcy5zb2NrZXRpbmcgPSBmYWxzZTtcbiAgICAgICAgICAgIHRoaXMuaGlzdG9yeVRleHRMaXN0LnB1c2goe1xuICAgICAgICAgICAgICBcInJvbGVcIjogXCJhc3Npc3RhbnRcIixcbiAgICAgICAgICAgICAgXCJjb250ZW50XCI6IHRoaXMudGVtcFJlc1xuICAgICAgICAgICAgfSlcbiAgICAgICAgICAgIHNldFRpbWVvdXQoKCkgPT4ge1xuICAgICAgICAgICAgICByZWFsVGhpcy5zb2NrZXRUYXNrLmNsb3NlKHtcbiAgICAgICAgICAgICAgICBzdWNjZXNzKHJlcykge1xuICAgICAgICAgICAgICAgICAgY29uc29sZS5sb2coJ+WFs+mXreaIkOWKnycsIHJlcylcbiAgICAgICAgICAgICAgICAgIHJlYWxUaGlzLndzTGl2ZUZsYWcgPSBmYWxzZTtcbiAgICAgICAgICAgICAgICB9LFxuICAgICAgICAgICAgICAgIGZhaWwoZXJyKSB7XG4gICAgICAgICAgICAgICAgICAvLyBjb25zb2xlLmxvZygn5YWz6Zet5aSx6LSlJywgZXJyKVxuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgfSlcbiAgICAgICAgICAgIH0sIDEwMDApXG4gICAgICAgICAgfVxuICAgICAgICB9XG4gICAgICB9KVxuICAgIH0sXG4gICAgLy8g5Yik5pat5paH5a2X5piv5ZCm6LaF6L+H5LqU5Y2D5a2XXG4gICAgaXNTdXJwYXNzKCkge1xuICAgICAgbGV0IHN1bSA9IHRoaXMucGFyYW1zLnJlZHVjZSgoYWNj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gdGhpcy5nZXRTdG9yZURldGFpbCgpO1xuICAgICAgfSBlbHNlIHtcbiAgICAgICAgdGhpcy5nZXRNZXJIaXN0b3J5KCk7XG4gICAgICB9XG4gICAgfSxcbiAgICAvLyDlvZPmu5HliqjpobXpnaLml7Ys5pS26LW36ZSu55uYLOS4juW+ruS/oeiBiuWkqeaViOaenOS/neaMgeS4gOiHtFxuICAgIHRvdWNobW92ZShlKSB7XG4gICAgICB1bmkuaGlkZUtleWJvYXJkKClcbiAgICB9XG4gIH1cbn1cbiJdLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///32\n"); +eval("/* WEBPACK VAR INJECTION */(function(__f__) {\n\nvar _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 1);\nvar _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 4);\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar _regenerator = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/regenerator */ 33));\nvar _toConsumableArray2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/toConsumableArray */ 22));\nvar _asyncToGenerator2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/asyncToGenerator */ 35));\nvar base64 = _interopRequireWildcard(__webpack_require__(/*! base-64 */ 36));\nvar _cryptoJs = _interopRequireDefault(__webpack_require__(/*! ../../static/crypto-js/crypto-js.js */ 40));\nvar _parser = _interopRequireDefault(__webpack_require__(/*! ../../static/fast-xml-parser/src/parser */ 198));\nvar utf8 = _interopRequireWildcard(__webpack_require__(/*! utf8 */ 207));\nvar _bingMath = _interopRequireDefault(__webpack_require__(/*! @/components/bing-math/bing-math.vue */ 10));\nfunction _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== \"function\") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }\nfunction _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== \"object\" && typeof obj !== \"function\") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== \"default\" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\nvar _default = {\n components: {\n 'bing-math': _bingMath.default\n },\n data: function data() {\n return {\n wssType: 'zhongzhi',\n // 网络连接类型\n avatarType: \"/static/icon/zz.png\",\n // AI头像类型\n talkList: [],\n ajax: {\n rows: 15,\n //每页数量\n page: 1,\n //页码\n flag: false,\n // 请求开关\n loading: false,\n // 加载中\n loadText: '正在获取消息'\n },\n keyboardHeight: 0,\n showplc: true,\n content: '',\n c_content: '',\n n_content: '',\n avatar: '/static/avatar.png',\n // 用户头像\n params: [],\n // 发送的消息内容\n timer: '',\n socketTask: {},\n TEXT: '',\n historyTextList: [],\n // 历史会话信息,由于最大token12000,可以结合实际使用,进行移出\n tempRes: '',\n // 临时答复保存\n socketing: false,\n // 是否正在接收\n showStop: false,\n // 是否显示中断按钮\n scrollTop: 0,\n shouldScrollToBottom: true\n };\n },\n mounted: function mounted() {\n var _this = this;\n this.$nextTick(function () {\n _this.getHistoryMsg();\n });\n uni.onKeyboardHeightChange(function (e) {\n var h = _this.keyboardHeight;\n _this.keyboardHeight = e.height;\n _this.$nextTick(function () {\n setTimeout(function () {\n uni.pageScrollTo({\n scrollTop: 9999999,\n // 当前位置向下滚动\n duration: 300 // 滚动过渡时间为300ms,默认值为300ms\n });\n }, 0);\n });\n });\n },\n onLoad: function onLoad() {\n var _this2 = this;\n var avatar = uni.getStorageSync('avatar');\n avatar ? this.avatar = avatar : null;\n uni.$on('MPinfo', function (e) {\n _this2.avatar = e.avatar;\n });\n },\n beforeDestroy: function beforeDestroy() {\n uni.offKeyboardHeightChange();\n },\n onPageScroll: function onPageScroll(e) {\n if (e.scrollTop < 5) {\n this.getHistoryMsg();\n }\n },\n watch: {\n n_content: function n_content(n, o) {\n var _this3 = this;\n // this.c_content = n;\n if (this.timer) clearInterval(this.timer);\n var cl = this.c_content.length;\n var nc = this.n_content.split('');\n this.timer = setInterval(function () {\n if (cl < nc.length) {\n _this3.c_content += nc[cl];\n cl++;\n if (cl % 6 == 0) _this3.$nextTick(function () {\n uni.pageScrollTo({\n scrollTop: 999999\n });\n });\n } else {\n // console.log(this.socketing==false, cl == nc.length);\n if (_this3.socketing == false) _this3.showStop = false;\n clearInterval(_this3.timer);\n _this3.$nextTick(function () {\n uni.pageScrollTo({\n scrollTop: 9999999\n });\n });\n }\n }, 60);\n }\n },\n methods: {\n copyText: function copyText(str) {\n uni.setClipboardData({\n data: str,\n success: function success() {\n uni.showToast({\n icon: 'none',\n title: '复制成功'\n });\n }\n });\n },\n // 获取历史消息\n getHistoryMsg: function getHistoryMsg() {\n var _this4 = this;\n return;\n if (this.ajax.flag) {\n return; //\n }\n\n var get = /*#__PURE__*/function () {\n var _ref = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee() {\n var data, selector;\n return _regenerator.default.wrap(function _callee$(_context) {\n while (1) {\n switch (_context.prev = _context.next) {\n case 0:\n _this4.hideLoadTips();\n _this4.ajax.flag = false;\n _context.next = 4;\n return _this4.joinHistoryMsg();\n case 4:\n data = _context.sent;\n __f__(\"log\", '----- 模拟数据格式,供参考 -----', \" at pages/index/index.vue:169\");\n __f__(\"log\", data, \" at pages/index/index.vue:170\"); // 查看请求返回的数据结构 \n\n // 获取待滚动元素选择器,解决插入数据后,滚动条定位时使用\n selector = '';\n if (_this4.ajax.page > 1) {\n // 非第一页,则取历史消息数据的第一条信息元素\n selector = \"#msg-\".concat(_this4.talkList[0].id);\n } else {\n // 第一页,则取当前消息数据的最后一条信息元素\n selector = \"#msg-\".concat(data[data.length - 1].id);\n }\n\n // 将获取到的消息数据合并到消息数组中\n _this4.talkList = [].concat((0, _toConsumableArray2.default)(data), (0, _toConsumableArray2.default)(_this4.talkList));\n\n // 数据挂载后执行,不懂的请自行阅读 Vue.js 文档对 Vue.nextTick 函数说明。\n _this4.$nextTick(function () {\n // 设置当前滚动的位置\n _this4.setPageScrollTo(selector);\n _this4.hideLoadTips(true);\n if (data.length < _this4.ajax.rows) {\n // 当前消息数据条数小于请求要求条数时,则无更多消息,不再允许请求。\n // 可在此处编写无更多消息数据时的逻辑\n } else {\n _this4.ajax.page++;\n\n // 延迟 200ms ,以保证设置窗口滚动已完成\n setTimeout(function () {\n _this4.ajax.flag = true;\n }, 200);\n }\n });\n case 11:\n case \"end\":\n return _context.stop();\n }\n }\n }, _callee);\n }));\n return function get() {\n return _ref.apply(this, arguments);\n };\n }();\n get();\n },\n // 拼接历史记录消息\n joinHistoryMsg: function joinHistoryMsg() {\n var _this5 = this;\n var join = function join() {\n var arr = [];\n\n //通过当前页码及页数,模拟数据内容\n var startIndex = (_this5.ajax.page - 1) * _this5.ajax.rows;\n var endIndex = startIndex + _this5.ajax.rows;\n for (var i = startIndex; i < endIndex; i++) {\n arr.push({\n \"id\": i,\n // 消息的ID\n \"content\": \"\\u8FD9\\u662F\\u5386\\u53F2\\u8BB0\\u5F55\\u7684\\u7B2C\".concat(i + 1, \"\\u6761\\u6D88\\u606F\"),\n // 消息内容\n \"type\": Math.random() > 0.5 ? 1 : 0,\n // 此为消息类别,设 1 为发出去的消息,0 为收到对方的消息,\n \"pic\": \"/static/avatar.png\" // 头像\n });\n }\n\n /*\n \t颠倒数组中元素的顺序。将最新的数据排在本次接口返回数据的最后面。\n \t后端接口按 消息的时间降序查找出当前页的数据后,再将本页数据按消息时间降序排序返回。\n \t这是数据的重点,因为页面滚动条和上拉加载历史的问题。\n */\n arr.reverse();\n return arr;\n };\n\n // 此处用到 ES6 的 Promise 知识,不懂的请自行学习。\n return new Promise(function (done, fail) {\n // 无数据请求接口,由 setTimeout 模拟,正式项目替换为 ajax 即可。\n setTimeout(function () {\n var data = join();\n done(data);\n }, 1500);\n });\n },\n focus: function focus() {\n // this.$nextTick(()=>{\n // setTimeout(()=>{\n // uni.pageScrollTo({\n // scrollTop: 9999999, // 当前位置向下滚动\n // duration: 300 // 滚动过渡时间为300ms,默认值为300ms\n // });\n // }, 0)\n // })\n },\n // 设置页面滚动位置\n setPageScrollTo: function setPageScrollTo(selector) {\n var view = uni.createSelectorQuery().in(this).select(selector);\n view.boundingClientRect(function (res) {\n uni.pageScrollTo({\n scrollTop: res.top - 30,\n // -30 为多显示出大半个消息的高度,示意上面还有信息。\n duration: 0\n });\n }).exec();\n },\n // 隐藏加载提示\n hideLoadTips: function hideLoadTips(flag) {\n var _this6 = this;\n if (flag) {\n this.ajax.loadText = '消息获取成功';\n setTimeout(function () {\n _this6.ajax.loading = false;\n }, 300);\n } else {\n this.ajax.loading = true;\n this.ajax.loadText = '正在获取消息';\n }\n },\n // 关闭连接\n closeSocketTask: function closeSocketTask() {\n var _this7 = this;\n try {\n clearInterval(this.timer);\n this.talkList[this.talkList.length - 1].content = this.c_content + '';\n // console.log(this.talkList[this.talkList.length - 1].content);\n // this.c_content = '';\n // this.n_content = '';\n this.socketTask.close({\n code: 500,\n // APP端存在BUG,正常关闭的code为1000,无法正常关闭,需要将code换为其他值\n complete: function complete(res) {\n _this7.showStop = false;\n __f__(\"log\", '主动断开', res, \" at pages/index/index.vue:289\");\n _this7.wsLiveFlag = false;\n }\n });\n } catch (e) {\n //TODO handle the exception\n }\n },\n // 发送信息\n send: function send() {\n var _this8 = this;\n if (!this.content) {\n uni.showToast({\n title: '请输入有效的内容',\n icon: 'none'\n });\n return;\n }\n this.showStop = true;\n // 将当前发送信息 添加到消息列表。\n var data = {\n \"id\": new Date().getTime(),\n \"content\": this.content,\n \"type\": 1,\n \"pic\": this.avatar\n };\n __f__(\"log\", data, \" at pages/index/index.vue:314\");\n this.TEXT = this.content;\n this.talkList.push(data);\n this.talkList.push({\n \"id\": new Date().getTime(),\n \"content\": '',\n \"type\": 2,\n \"pic\": this.avatarType\n });\n this.n_content = '';\n this.c_content = '';\n this.socketing = true;\n // return ;\n this.$nextTick(function () {\n // 清空内容框中的内容\n _this8.content = '';\n // uni.pageScrollTo({\n // scrollTop: 999999, // 设置一个超大值,以保证滚动条滚动到底部\n // duration: 0\n // });\n });\n\n this.sendToSpark();\n },\n sendToSpark: function sendToSpark() {\n var _this9 = this;\n return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee2() {\n var realThis;\n return _regenerator.default.wrap(function _callee2$(_context2) {\n while (1) {\n switch (_context2.prev = _context2.next) {\n case 0:\n // let myUrl = await this.getWebSocketUrl();\n _this9.tempRes = \"\";\n realThis = _this9;\n _this9.socketTask = uni.connectSocket({\n //url: encodeURI(encodeURI(myUrl).replace(/\\+/g, '%2B')),\n url: \"wss://chat.lihaink.cn/chat?type=\".concat(_this9.wssType, \"×tamp=\").concat(Date.now()),\n method: 'GET',\n token: '',\n success: function success(res) {\n __f__(\"log\", res, \"ws成功连接...\", \" at pages/index/index.vue:348\");\n realThis.wsLiveFlag = true;\n }\n });\n realThis.socketTask.onError(function (res) {\n __f__(\"log\", \"连接发生错误,请检查appid是否填写\", res, \" at pages/index/index.vue:353\");\n });\n realThis.socketTask.onOpen(function (res) {\n _this9.historyTextList.push({\n \"role\": \"user\",\n \"content\": _this9.TEXT\n });\n // 第一帧..........................................\n __f__(\"log\", '连接成功...', \" at pages/index/index.vue:361\");\n // let params = {\n // \"header\": {\n // \"app_id\": this.APPID,\n // \"uid\": \"aef9f963-7\"\n // },\n // \"parameter\": {\n // \"chat\": {\n // \"domain\": \"generalv2\",\n // \"temperature\": 0.5,\n // \"max_tokens\": 1024\n // }\n // },\n // \"payload\": {\n // \"message\": {\n // \"text\": this.historyTextList\n // }\n // }\n // };\n if (_this9.historyTextList.length > 9) _this9.params = JSON.parse(JSON.stringify(_this9.historyTextList.splice(-9)));else _this9.params = JSON.parse(JSON.stringify(_this9.historyTextList));\n _this9.isSurpass();\n realThis.socketTask.send({\n // 发送消息,,都用uni的官方版本\n data: JSON.stringify(_this9.params),\n success: function success() {\n __f__(\"log\", '第一帧发送成功', \" at pages/index/index.vue:387\");\n }\n });\n });\n\n // 接受到消息时\n realThis.socketTask.onMessage(function (res) {\n __f__(\"log\", '收到API返回的内容:', res.data, \" at pages/index/index.vue:394\");\n var obj = JSON.parse(res.data);\n // console.log(\"我打印的\"+obj.payload);\n if (!realThis.wsLiveFlag) return;\n var dataArray = obj.payload.choices.text;\n for (var i = 0; i < dataArray.length; i++) {\n _this9.talkList[_this9.talkList.length - 1].content += dataArray[i].content;\n _this9.n_content = _this9.talkList[_this9.talkList.length - 1].content;\n realThis.tempRes = realThis.tempRes + dataArray[i].content;\n }\n var temp = JSON.parse(res.data);\n // console.log(\"0726\",temp.header.code)\n if (temp.header.code !== 0) {\n _this9.socketing = false;\n __f__(\"log\", \"\".concat(temp.header.code, \":\").concat(temp.message), \" at pages/index/index.vue:408\");\n realThis.socketTask.close({\n success: function success(res) {\n __f__(\"log\", '关闭成功', res, \" at pages/index/index.vue:411\");\n realThis.wsLiveFlag = false;\n },\n fail: function fail(err) {\n __f__(\"log\", '关闭失败', err, \" at pages/index/index.vue:415\");\n }\n });\n }\n if (temp.header.code === 0) {\n if (res.data && temp.header.status === 2) {\n _this9.socketing = false;\n _this9.historyTextList.push({\n \"role\": \"assistant\",\n \"content\": _this9.tempRes\n });\n setTimeout(function () {\n realThis.socketTask.close({\n success: function success(res) {\n __f__(\"log\", '关闭成功', res, \" at pages/index/index.vue:429\");\n realThis.wsLiveFlag = false;\n },\n fail: function fail(err) {\n // console.log('关闭失败', err)\n }\n });\n }, 1000);\n }\n }\n });\n case 6:\n case \"end\":\n return _context2.stop();\n }\n }\n }, _callee2);\n }))();\n },\n // 判断文字是否超过五千字\n isSurpass: function isSurpass() {\n var sum = this.params.reduce(function (accumulator, currentValue) {\n return accumulator + currentValue.content;\n }, '');\n if (sum.length > 5000) {\n this.params.shift();\n return this.isSurpass();\n } else {\n __f__(\"log\", \"\\u672C\\u6B21\\u53D1\\u9001\".concat(sum.length, \"\\u5B57\"), \" at pages/index/index.vue:450\");\n return sum;\n }\n },\n // 鉴权\n getWebSocketUrl: function getWebSocketUrl() {\n var _this10 = this;\n return new Promise(function (resolve, reject) {\n // https://spark-api.xf-yun.com/v1.1/chat V1.5 domain general\n // https://spark-api.xf-yun.com/v2.1/chat V2.0 domain generalv2\n var url = \"wss://spark-api.xf-yun.com/v2.1/chat\";\n var host = \"spark-api.xf-yun.com\";\n var apiKeyName = \"api_key\";\n var date = new Date().toGMTString();\n var algorithm = \"hmac-sha256\";\n var headers = \"host date request-line\";\n var signatureOrigin = \"host: \".concat(host, \"\\ndate: \").concat(date, \"\\nGET /v2.1/chat HTTP/1.1\");\n var signatureSha = _cryptoJs.default.HmacSHA256(signatureOrigin, _this10.APISecret);\n var signature = _cryptoJs.default.enc.Base64.stringify(signatureSha);\n var authorizationOrigin = \"\".concat(apiKeyName, \"=\\\"\").concat(_this10.APIKey, \"\\\", algorithm=\\\"\").concat(algorithm, \"\\\", headers=\\\"\").concat(headers, \"\\\", signature=\\\"\").concat(signature, \"\\\"\");\n var authorization = base64.encode(authorizationOrigin);\n url = \"\".concat(url, \"?authorization=\").concat(authorization, \"&date=\").concat(encodeURI(date), \"&host=\").concat(host);\n\n // console.log(url)\n resolve(url);\n });\n },\n // 滚动到头部\n bindScroll: function bindScroll() {\n if (this.userId == 0) {\n this.getHistory();\n this.getproductInfo();\n this.getOrderInfo();\n this.getRefundDetail();\n this.getStoreDetail();\n } else {\n this.getMerHistory();\n }\n },\n // 当滑动页面时,收起键盘,与微信聊天效果保持一致\n touchmove: function touchmove(e) {\n uni.hideKeyboard();\n }\n }\n};\nexports.default = _default;\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/vue-cli-plugin-uni/lib/format-log.js */ 21)[\"default\"]))//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInVuaS1hcHA6Ly8vcGFnZXMvaW5kZXgvaW5kZXgudnVlIl0sIm5hbWVzIjpbImNvbXBvbmVudHMiLCJCaW5nTWF0aCIsImRhdGEiLCJ3c3NUeXBlIiwiYXZhdGFyVHlwZSIsInRhbGtMaXN0IiwiYWpheCIsInJvd3MiLCJwYWdlIiwiZmxhZyIsImxvYWRpbmciLCJsb2FkVGV4dCIsImtleWJvYXJkSGVpZ2h0Iiwic2hvd3BsYyIsImNvbnRlbnQiLCJjX2NvbnRlbnQiLCJuX2NvbnRlbnQiLCJhdmF0YXIiLCJwYXJhbXMiLCJ0aW1lciIsInNvY2tldFRhc2siLCJURVhUIiwiaGlzdG9yeVRleHRMaXN0IiwidGVtcFJlcyIsInNvY2tldGluZyIsInNob3dTdG9wIiwic2Nyb2xsVG9wIiwic2hvdWxkU2Nyb2xsVG9Cb3R0b20iLCJtb3VudGVkIiwiJG5leHRUaWNrIiwiZ2V0SGlzdG9yeU1zZyIsInVuaSIsIm9uS2V5Ym9hcmRIZWlnaHRDaGFuZ2UiLCJlIiwiaCIsImhlaWdodCIsInNldFRpbWVvdXQiLCJwYWdlU2Nyb2xsVG8iLCJkdXJhdGlvbiIsIm9uTG9hZCIsImdldFN0b3JhZ2VTeW5jIiwiJG9uIiwiYmVmb3JlRGVzdHJveSIsIm9mZktleWJvYX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JcbmV4cG9ydCBkZWZhdWx0IHtcbiAgY29tcG9uZW50czoge1xuICAgICdiaW5nLW1hdGgnOiBCaW5nTWF0aFxuICB9LFxuICBkYXRhKCkge1xuICAgIHJldHVybiB7XG4gICAgICB3c3NUeXBlOiAnemhvbmd6aGknLCAvLyDnvZHnu5zov57mjqXnsbvlnotcbiAgICAgIGF2YXRhclR5cGU6IFwiL3N0YXRpYy9pY29uL3p6LnBuZ1wiLCAvLyBBSeWktOWDj+exu+Wei1xuICAgICAgdGFsa0xpc3Q6IFtdLFxuICAgICAgYWpheDoge1xuICAgICAgICByb3dzOiAxNSwgLy/mr4/pobXmlbDph49cbiAgICAgICAgcGFnZTogMSwgLy/pobXnoIFcbiAgICAgICAgZmxhZzogZmFsc2UsIC8vIOivt+axguW8gOWFs1xuICAgICAgICBsb2FkaW5nOiBmYWxzZSwgLy8g5Yqg6L295LitXG4gICAgICAgIGxvYWRUZXh0OiAn5q2j5Zyo6I635Y+W5raI5oGvJ1xuICAgICAgfSxcbiAgICAgIGtleWJvYXJkSGVpZ2h0OiAwLFxuICAgICAgc2hvd3BsYzogdHJ1ZSxcbiAgICAgIGNvbnRlbnQ6ICcnLFxuICAgICAgY19jb250ZW50OiAnJyxcbiAgICAgIG5fY29udGVudDogJycsXG4gICAgICBhdmF0YXI6ICcvc3RhdGljL2F2YXRhci5wbmcnLCAvLyDnlKjmiLflpLTlg49cbiAgICAgIHBhcmFtczogW10sIC8vIOWPkemAgeeahOa2iOaBr+WGheWuuVxuICAgICAgdGltZXI6ICcnLFxuICAgICAgc29ja2V0VGFzazoge30sXG4gICAgICBURVhUOiAnJyxcbiAgICAgIGhpc3RvcnlUZXh0TGlzdDogW10sIC8vIOWOhuWPsuS8muivneS/oeaBr++8jOeUseS6juacgOWkp3Rva2VuMTIwMDAs5Y+v5Lul57uT5ZCI5a6e6ZmF5L2/55So77yM6L+b6KGM56e75Ye6XG4gICAgICB0ZW1wUmVzOiAnJywgLy8g5Li05pe2562U5aSN5L+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S5YWl5pWw5o2u5ZCO77yM5rua5Yqo5p2h5a6a5L2N5pe25L2/55SoXG4gICAgICAgIGxldCBzZWxlY3RvciA9ICcnO1xuXG4gICAgICAgIGlmICh0aGlzLmFqYXgucGFnZSA+IDEpIHtcbiAgICAgICAgICAvLyDpnZ7nrKzkuIDpobXvvIzliJnlj5bljoblj7Lmtojmga/mlbDmja7nmoTnrKzkuIDmnaHkv6Hmga/lhYPntKBcbiAgICAgICAgICBzZWxlY3RvciA9IGAjbXNnLSR7dGhpcy50YWxrTGlzdFswXS5pZH1gO1xuICAgICAgICB9IGVsc2Uge1xuICAgICAgICAgIC8vIOesrOS4gOmhte+8jOWImeWPluW9k+WJjea2iOaBr+aVsOaNrueahOacgOWQjuS4gOadoeS/oeaBr+WFg+e0oFxuICAgICAgICAgIHNlbGVjdG9yID0gYCNtc2ctJHtkYXRhW2RhdGEubGVuZ3RoLTFdLmlkfWA7XG4gICAgICAgIH1cblxuICAgICAgICAvLyDlsIbojrflj5bliLDnmoTmtojmga/mlbDmja7lkIjlubbliLDmtojmga/mlbDnu4TkuK1cbiAgICAgICAgdGhpcy50YWxrTGlzdCA9IFsuLi5kYXRhLCAuLi50aGlzLnRhbGtMaXN0XTtcblxuICAgICAgICAvLyDmlbDmja7mjILovb3lkI7miafooYzvvIzkuI3mh4LnmoTor7foh6rooYzpmIXor7sgVnVlLmpzIOaWh+aho+WvuSBWdWUubmV4dFRpY2sg5Ye95pWw6K+05piO44CCXG4gICAgICAgIHRoaXMuJG5leHRUaWNrKCgpID0+IHtcbiAgICAgICAgICAvLyDorr7nva7lvZPliY3mu5rliqjnmoTkvY3nva5cbiAgICAgICAgICB0aGlzLnNldFBhZ2VTY3JvbGxUbyhzZWxlY3Rvcik7XG5cbiAgICAgICAgICB0aGlzLmhpZGVMb2FkVGlwcyh0cnVlKTtcblxuICAgICAgICAgIGlmIChkYXRhLmxlbmd0aCA8IHRoaXMuYWpheC5yb3dzKSB7XG4gICAgICAgICAgICAvLyDlvZPliY3mtojmga/mlbDmja7mnaHmlbDlsI/kuo7or7fmsYLopoHmsYLmnaHmlbDml7bvvIzliJnml6Dmm7TlpJrmtojmga/vvIzkuI3lho3lhYHorrjor7fmsYLjgIJcbiAgICAgICAgICAgIC8vIOWPr+WcqOatpOWkhOe8luWGmeaXoOabtOWkmua2iOaBr+aVsOaNruaXtueahOmAu+i+kVxuICAgICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICB0aGlzLmFqYXgucGFnZSsrO1xuXG4gICAgICAgICAgICAvLyDlu7bov58gMjAwbXMg77yM5Lul5L+d6K+B6K6+572u56qX5Y+j5rua5Yqo5bey5a6M5oiQXG4gICAgICAgICAgICBzZXRUaW1lb3V0KCgpID0+IHtcbiAgICAgICAgICAgICAgdGhpcy5hamF4LmZsYWcgPSB0cnVlO1xuICAgICAgICAgICAgfSwgMjAwKVxuICAgICAgICAgIH1cblxuICAgICAgICB9KVxuICAgICAgfVxuICAgICAgZ2V0KCk7XG4gICAgfSxcbiAgICAvLyDmi7zmjqXljoblj7LorrDlvZXmtojmga9cbiAgICBqb2luSGlzdG9yeU1zZygpIHtcbiAgICAgIGxldCBqb2luID0gKCkgPT4ge1xuICAgICAgICBsZXQgYXJyID0gW107XG5cbiAgICAgICAgLy/pgJrov4flvZPliY3pobXnoIHlj4rpobXmlbDvvIzmqKHmi5/mlbDmja7lhoXlrrlcbiAgICAgICAgbGV0IHN0YXJ0SW5kZXggPSAodGhpcy5hamF4LnBhZ2UgLSAxKSAqIHRoaXMuYWpheC5yb3dzO1xuICAgICAgICBsZXQgZW5kSW5kZXggPSBzdGFydEluZGV4ICsgdGhpcy5hamF4LnJvd3M7XG4gICAgICAgIGZvciAobGV0IGkgPSBzdGFydEluZGV4OyBpIDwgZW5kSW5kZXg7IGkrKykge1xuICAgICAgICAgIGFyci5wdXNoKHtcbiAgICAgICAgICAgIFwiaWRcIjogaSwgLy8g5raI5oGv55qESURcbiAgICAgICAgICAgIFwiY29udGVudFwiOiBg6L+Z5piv5Y6G5Y+y6K6w5b2V55qE56ysJHtpKzF95p2h5raI5oGvYCwgLy8g5raI5oGv5YaF5a65XG4gICAgICAgICAgICBcInR5cGVcIjogTWF0aC5yYW5kb20oKSA+IDAuNSA/IDEgOiAwLCAvLyDmraTkuLrmtojmga/nsbvliKvvvIzorr4gMSDkuLrlj5Hlh7rljrvnmoTmtojmga/vvIwwIOS4uuaUtuWIsOWvueaWueeahOa2iOaBryxcbiAgICAgICAgICAgIFwicGljXCI6IFwiL3N0YXRpYy9hdmF0YXIucG5nXCIgLy8g5aS05YOPXG4gICAgICAgICAgfSlcbiAgICAgICAgfVxuXG4gICAgICAgIC8qXG4gICAgICAgIFx06aKg5YCS5pWw57uE5Lit5YWD57Sg55qE6aG65bqP44CC5bCG5pyA5paw55qE5pWw5o2u5o6S5Zyo5pys5qyh5o6l5Y+j6L+U5Zue5pWw5o2u55qE5pyA5ZCO6Z2i44CCXG4gICAgICAgIFx05ZCO56uv5o6l5Y+j5oyJIOa2iOaBr+eahOaXtumXtOmZjeW6j+afpeaJvuWHuuW9k+WJjemhteeahOaVsOaNruWQju+8jOWGjeWwhuacrOmhteaVsOaNruaMiea2iOaBr+aXtumXtOmZjeW6j+aOkuW6j+i/lOWbnuOAglxuICAgICAgICBcdOi/meaYr+aVsOaNrueahOmHjeeCue+8jOWboOS4uumhtemdoua7muWKqOadoeWSjOS4iuaLieWKoOi9veWOhuWPsueahOmXrumimOOAglxuICAgICAgICAgKi9cbiAgICAgICAgYXJyLnJldmVyc2UoKTtcblxuICAgICAgICByZXR1cm4gYXJyO1xuICAgICAgfVxuXG4gICAgICAvLyDmraTlpITnlKjliLAgRVM2IOeahCBQcm9taXNlIOefpeivhu+8jOS4jeaHgueahOivt+iHquihjOWtpuS5oOOAglxuICAgICAgcmV0dXJuIG5ldyBQcm9taXNlKChkb25lLCBmYWlsKSA9PiB7XG4gICAgICAgIC8vIOaXoOaVsOaNruivt+axguaOpeWPo++8jOeUsSBzZXRUaW1lb3V0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gICAgICAgIHRoaXMuc2hvd1N0b3AgPSBmYWxzZTtcbiAgICAgICAgICAgIGNvbnNvbGUubG9nKCfkuLvliqjmlq3lvIAnLCByZXMpO1xuICAgICAgICAgICAgdGhpcy53c0xpdmVGbGFnID0gZmFsc2U7XG4gICAgICAgICAgfVxuICAgICAgICB9KVxuICAgICAgfSBjYXRjaCAoZSkge1xuICAgICAgICAvL1RPRE8gaGFuZGxlIHRoZSBleGNlcHRpb25cbiAgICAgIH1cbiAgICB9LFxuICAgIC8vIOWPkemAgeS/oeaBr1xuICAgIHNlbmQoKSB7XG4gICAgICBpZiAoIXRoaXMuY29udGVudCkge1xuICAgICAgICB1bmkuc2hvd1RvYXN0KHtcbiAgICAgICAgICB0aXRsZTogJ+ivt+i+k+WFpeacieaViOeahOWGheWuuScsXG4gICAgICAgICAgaWNvbjogJ25vbmUnXG4gICAgICAgIH0pXG4gICAgICAgIHJldHVybjtcbiAgICAgIH1cbiAgICAgIHRoaXMuc2hvd1N0b3AgPSB0cnVlO1xuICAgICAgLy8g5bCG5b2T5YmN5Y+R6YCB5L+h5oGvIOa3u+WKoOWIsOa2iOaBr+WIl+ihqOOAglxuICAgICAgbGV0IGRhdGEgPSB7XG4gICAgICAgIFwiaWRcIjogbmV3IERhdGUoKS5nZXRUaW1lKCksXG4gICAgICAgIFwiY29udGVudFwiOiB0aGlzLmNvbnRlbnQsXG4gICAgICAgIFwidHlwZVwiOiAxLFxuICAgICAgICBcInBpY1wiOiB0aGlzLmF2YXRhclxuICAgICAgfVxuICAgICAgY29uc29sZS5sb2coZGF0YSk7XG4gICAgICB0aGlzLlRFWFQgPSB0aGlzLmNvbnRlbnQ7XG4gICAgICB0aGlzLnRhbGtMaXN0LnB1c2goZGF0YSk7XG4gICAgICB0aGlzLnRhbGtMaXN0LnB1c2goe1xuICAgICAgICBcImlkXCI6IG5ldyBEYXRlKCkuZ2V0VGltZSgpLFxuICAgICAgICBcImNvbnRlbnRcIjogJycsXG4gICAgICAgIFwidHl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ZW46ICcnLFxuICAgICAgICBzdWNjZXNzOiByZXMgPT4ge1xuICAgICAgICAgIGNvbnNvbGUubG9nKHJlcywgXCJ3c+aIkOWKn+i/nuaOpS4uLlwiKVxuICAgICAgICAgIHJlYWxUaGlzLndzTGl2ZUZsYWcgPSB0cnVlO1xuICAgICAgICB9XG4gICAgICB9KVxuICAgICAgcmVhbFRoaXMuc29ja2V0VGFzay5vbkVycm9yKChyZXMpID0+IHtcbiAgICAgICAgY29uc29sZS5sb2coXCLov57mjqXlj5HnlJ/plJnor6/vvIzor7fmo4Dmn6VhcHBpZOaYr+WQpuWhq+WGmVwiLCByZXMpXG4gICAgICB9KVxuICAgICAgcmVhbFRoaXMuc29ja2V0VGFzay5vbk9wZW4oKHJlcykgPT4ge1xuICAgICAgICB0aGlzLmhpc3RvcnlUZXh0TGlzdC5wdXNoKHtcbiAgICAgICAgICBcInJvbGVcIjogXCJ1c2VyXCIsXG4gICAgICAgICAgXCJjb250ZW50XCI6IHRoaXMuVEVYVFxuICAgICAgICB9KVxuICAgICAgICAvLyDnrKzkuIDluKcuLi4uLi4uLi4uLi4uLi4uLi4uLi4uLi4uLi4uLi4uLi4uLi4uLi4uLi5cbiAgICAgICAgY29uc29sZS5sb2coJ+i/nuaOpeaIkOWKny4uLicpXG4gICAgICAgIC8vIGxldCBwYXJhbXMgPSB7XG4gICAgICAgIC8vICAgXCJoZWFkZXJcIjoge1xuICAgICAgICAvLyAgICAgXCJhcHBfaWRcIjogdGhpcy5BUFBJRCxcbiAgICAgICAgLy8gICAgIFwidWlkXCI6IFwiYWVmOWY5NjMtN1wiXG4gICAgICAgIC8vICAgfSxcbiAgICAgICAgLy8gICBcInBhcmFtZXRlclwiOiB7XG4gICAgICAgIC8vICAgICBcImNoYXRcIjoge1xuICAgICAgICAvLyAgICAgICBcImRvbWFpblwiOiBcImdlbmVyYWx2MlwiLFxuICAgICAgICAvLyAgICAgICBcInRlbXBlcmF0dXJlXCI6IDAuNSxcbiAgICAgICAgLy8gICAgICAgXCJtYXhfdG9rZW5zXCI6IDEwMjRcbiAgICAgICAgLy8gICAgIH1cbiAgICAgICAgLy8gICB9LFxuICAgICAgICAvLyAgIFwicGF5bG9hZFwiOiB7XG4gICAgICAgIC8vICAgICBcIm1lc3NhZ2VcIjoge1xuICAgICAgICAvLyAgICAgICBcInRleHRcIjogdGhpcy5oaXN0b3J5VGV4dExpc3RcbiAgICAgICAgLy8gICAgIH1cbiAgICAgICAgLy8gICB9XG4gICAgICAgIC8vIH07XG4gICAgICAgIGlmICh0aGlzLmhpc3RvcnlUZXh0TGlzdC5sZW5ndGggPiA5KSB0aGlzLnBhcmFtcyA9IEpTT04ucGFyc2UoSlNPTi5zdHJpbmdpZnkodGhpcy5oaXN0b3J5VGV4dExpc3RcbiAgICAgICAgICAuc3BsaWNlKC05KSkpO1xuICAgICAgICBlbHNlIHRoaXMucGFyYW1zID0gSlNPTi5wYXJzZShKU09OLnN0cmluZ2lmeSh0aGlzLmhpc3RvcnlUZXh0TGlzdCkpO1xuICAgICAgICB0aGlzLmlzU3VycGFzcygpO1xuICAgICAgICByZWFsVGhpcy5zb2NrZXRUYXNrLnNlbmQoeyAvLyDlj5HpgIHmtojmga/vvIzvvIzpg73nlKh1bmnnmoTlrpjmlrnniYjmnKxcbiAgICAgICAgICBkYXRhOiBKU09OLnN0cmluZ2lmeSh0aGlzLnBhcmFtcyksXG4gICAgICAgICAgc3VjY2VzcygpIHtcbiAgICAgICAgICAgIGNvbnNvbGUubG9nKCfnrKzkuIDluKflj5HpgIHmiJDlip8nKTtcbiAgICAgICAgICB9XG4gICAgICAgIH0pO1xuICAgICAgfSk7XG5cbiAgICAgIC8vIOaOpeWPl+WIsOa2iOaBr+aXtlxuICAgICAgcmVhbFRoaXMuc29ja2V0VGFzay5vbk1lc3NhZ2UoKHJlcykgPT4ge1xuICAgICAgICBjb25zb2xlLmxvZygn5pS25YiwQVBJ6L+U5Zue55qE5YaF5a6577yaJywgcmVzLmRhdGEpO1xuICAgICA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XMud3NMaXZlRmxhZyA9IGZhbHNlO1xuICAgICAgICAgICAgfSxcbiAgICAgICAgICAgIGZhaWwoZXJyKSB7XG4gICAgICAgICAgICAgIGNvbnNvbGUubG9nKCflhbPpl63lpLHotKUnLCBlcnIpXG4gICAgICAgICAgICB9XG4gICAgICAgICAgfSlcbiAgICAgICAgfVxuICAgICAgICBpZiAodGVtcC5oZWFkZXIuY29kZSA9PT0gMCkge1xuICAgICAgICAgIGlmIChyZXMuZGF0YSAmJiB0ZW1wLmhlYWRlci5zdGF0dXMgPT09IDIpIHtcbiAgICAgICAgICAgIHRoaXMuc29ja2V0aW5nID0gZmFsc2U7XG4gICAgICAgICAgICB0aGlzLmhpc3RvcnlUZXh0TGlzdC5wdXNoKHtcbiAgICAgICAgICAgICAgXCJyb2xlXCI6IFwiYXNzaXN0YW50XCIsXG4gICAgICAgICAgICAgIFwiY29udGVudFwiOiB0aGlzLnRlbXBSZXNcbiAgICAgICAgICAgIH0pXG4gICAgICAgICAgICBzZXRUaW1lb3V0KCgpID0+IHtcbiAgICAgICAgICAgICAgcmVhbFRoaXMuc29ja2V0VGFzay5jbG9zZSh7XG4gICAgICAgICAgICAgICAgc3VjY2VzcyhyZXMpIHtcbiAgICAgICAgICAgICAgICAgIGNvbnNvbGUubG9nKCflhbPpl63miJDlip8nLCByZXMpXG4gICAgICAgICAgICAgICAgICByZWFsVGhpcy53c0xpdmVGbGFnID0gZmFsc2U7XG4gICAgICAgICAgICAgICAgfSxcbiAgICAgICAgICAgICAgICBmYWlsKGVycikge1xuICAgICAgICAgICAgICAgICAgLy8gY29uc29sZS5sb2coJ+WFs+mXreWksei0pScsIGVycilcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgIH0pXG4gICAgICAgICAgICB9LCAxMDAwKVxuICAgICAgICAgIH1cbiAgICAgICAgfVxuICAgICAgfSlcbiAgICB9LFxuICAgIC8vIOWIpOaWreaWh+Wtl+aYr+WQpui2hei/h+S6lOWNg+Wtl1xuICAg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gICAgIHRoaXMuZ2V0T3JkZXJJbmZvKCk7XG4gICAgICAgIHRoaXMuZ2V0UmVmdW5kRGV0YWlsKCk7XG4gICAgICAgIHRoaXMuZ2V0U3RvcmVEZXRhaWwoKTtcbiAgICAgIH0gZWxzZSB7XG4gICAgICAgIHRoaXMuZ2V0TWVySGlzdG9yeSgpO1xuICAgICAgfVxuICAgIH0sXG4gICAgLy8g5b2T5ruR5Yqo6aG16Z2i5pe2LOaUtui1t+mUruebmCzkuI7lvq7kv6HogYrlpKnmlYjmnpzkv53mjIHkuIDoh7RcbiAgICB0b3VjaG1vdmUoZSkge1xuICAgICAgdW5pLmhpZGVLZXlib2FyZCgpXG4gICAgfVxuICB9XG59XG4iXSwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///32\n"); /***/ }), /* 33 */ diff --git a/unpackage/dist/dev/app-plus/manifest.json b/unpackage/dist/dev/app-plus/manifest.json index 970d258..33ececc 100644 --- a/unpackage/dist/dev/app-plus/manifest.json +++ b/unpackage/dist/dev/app-plus/manifest.json @@ -1 +1 @@ -{"@platforms":["android","iPhone","iPad"],"id":"__UNI__8080F14","name":"情感咨询","version":{"name":"1.0.0","code":"100"},"description":"","launch_path":"__uniappview.html","developer":{"name":"","email":"","url":""},"permissions":{"UniNView":{"description":"UniNView原生渲染"}},"plus":{"useragent":{"value":"uni-app","concatenate":true},"splashscreen":{"target":"id:1","autoclose":true,"waiting":true,"delay":0},"popGesture":"close","launchwebview":{"render":"always","id":"1","kernel":"WKWebview"},"statusbar":{"immersed":"supportedDevice","style":"dark","background":"#F8F8F8"},"usingComponents":true,"nvueStyleCompiler":"uni-app","compilerVersion":3,"distribute":{"google":{"permissions":["","","","","","","","","","","","","","",""],"abiFilters":["armeabi-v7a","arm64-v8a","x86"]},"apple":{"dSYMs":false},"plugins":{"ad":{},"audio":{"mp3":{"description":"Android平台录音支持MP3格式文件"}}}},"uniStatistics":{"enable":false},"arguments":"{\"name\":\"\",\"path\":\"\",\"query\":\"\",\"id\":0}","allowsInlineMediaPlayback":true,"uni-app":{"compilerVersion":"3.8.12","control":"uni-v3","nvueCompiler":"uni-app","renderer":"auto","nvue":{"flex-direction":"column"},"nvueLaunchMode":"normal"},"launch_path":"__uniappview.html"}} \ No newline at end of file +{"@platforms":["android","iPhone","iPad"],"id":"__UNI__9EDFE40","name":"种植咨询","version":{"name":"1.0.0","code":"100"},"description":"","launch_path":"__uniappview.html","developer":{"name":"","email":"","url":""},"permissions":{"UniNView":{"description":"UniNView原生渲染"}},"plus":{"useragent":{"value":"uni-app","concatenate":true},"splashscreen":{"target":"id:1","autoclose":true,"waiting":true,"delay":0},"popGesture":"close","launchwebview":{"render":"always","id":"1","kernel":"WKWebview"},"statusbar":{"immersed":"supportedDevice","style":"dark","background":"#F8F8F8"},"usingComponents":true,"nvueStyleCompiler":"uni-app","compilerVersion":3,"distribute":{"google":{"permissions":["","","","","","","","","","","","","","",""],"abiFilters":["armeabi-v7a","arm64-v8a","x86"]},"apple":{"dSYMs":false},"plugins":{"ad":{},"audio":{"mp3":{"description":"Android平台录音支持MP3格式文件"}}}},"uniStatistics":{"enable":false},"arguments":"{\"name\":\"\",\"path\":\"\",\"query\":\"\",\"id\":0}","allowsInlineMediaPlayback":true,"uni-app":{"compilerVersion":"3.8.12","control":"uni-v3","nvueCompiler":"uni-app","renderer":"auto","nvue":{"flex-direction":"column"},"nvueLaunchMode":"normal"},"launch_path":"__uniappview.html"}} \ No newline at end of file