diff --git a/pages/users/chat/index.vue b/pages/users/chat/index.vue index 1781658..dd886d8 100644 --- a/pages/users/chat/index.vue +++ b/pages/users/chat/index.vue @@ -165,7 +165,7 @@ console.log(e) }, }, - onUnload() { + onBackPress() { zim.logout(); } } diff --git a/unpackage/dist/dev/app-plus/app-service.js b/unpackage/dist/dev/app-plus/app-service.js index 1722236..bbc82e4 100644 --- a/unpackage/dist/dev/app-plus/app-service.js +++ b/unpackage/dist/dev/app-plus/app-service.js @@ -2746,7 +2746,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _rua /***/ (function(module, exports, __webpack_require__) { "use strict"; -eval("/* WEBPACK VAR INJECTION */(function(__f__) {\n\nvar _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 1);\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar _regenerator = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/regenerator */ 19));\nvar _asyncToGenerator2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/asyncToGenerator */ 21));\nvar _index = _interopRequireDefault(__webpack_require__(/*! @/js_sdk/zego-ZIMUniplugin-JS/lib/index.js */ 52));\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//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n_index.default.create({\n appID: 267111980,\n appSign: 'afcaa90a7750ee556e450ca62287c5f9a362e9ed711789717cda0e18f088858e'\n});\nvar zim = _index.default.getInstance();\nvar _default = {\n data: function data() {\n return {\n id: \"\",\n isOpen: false,\n title: \"\",\n keyword: \"\",\n userInfo: {},\n list: [],\n itemList: [],\n chatList: []\n };\n },\n onLoad: function onLoad(o) {\n this.id = o.id;\n this.getUserInfo();\n this.getChatList();\n },\n onReady: function onReady() {\n this.toImLogin();\n\n // 注册监听“收到单聊消息”的回调\n zim.on('receivePeerMessage', function (zim, _ref) {\n var messageList = _ref.messageList,\n fromConversationID = _ref.fromConversationID;\n __f__(\"log\", 'receivePeerMessage', messageList, fromConversationID, \" at pages/users/chat/index.vue:92\");\n });\n },\n methods: {\n toImLogin: function toImLogin() {\n zim.login(uni.getStorageSync(\"userInfo\").id, {\n userName: uni.getStorageSync(\"userInfo\").nickname,\n token: uni.getStorageSync(\"chatToken\")\n }).then(function (res) {\n // 登录成功\n __f__(\"log\", res, \"登录成功\", \" at pages/users/chat/index.vue:104\");\n }).catch(function (err) {\n // 登录失败\n __f__(\"log\", err, \" at pages/users/chat/index.vue:108\");\n });\n },\n getChatList: function getChatList() {\n var _this = this;\n return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee() {\n var _yield$_this$$api$fin, code, data, msg;\n return _regenerator.default.wrap(function _callee$(_context) {\n while (1) {\n switch (_context.prev = _context.next) {\n case 0:\n _context.next = 2;\n return _this.$api.findChatList({\n formUserId: uni.getStorageSync(\"userInfo\").id,\n toUserId: _this.id\n });\n case 2:\n _yield$_this$$api$fin = _context.sent;\n code = _yield$_this$$api$fin.code;\n data = _yield$_this$$api$fin.data;\n msg = _yield$_this$$api$fin.msg;\n if (code == 200) {\n _this.chatList = data;\n }\n case 7:\n case \"end\":\n return _context.stop();\n }\n }\n }, _callee);\n }))();\n },\n getUserInfo: function getUserInfo() {\n var _this2 = this;\n return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee2() {\n var _yield$_this2$$api$fi, code, data, msg;\n return _regenerator.default.wrap(function _callee2$(_context2) {\n while (1) {\n switch (_context2.prev = _context2.next) {\n case 0:\n _context2.next = 2;\n return _this2.$api.findOtherUserInfo({\n userId: uni.getStorageSync(\"userInfo\").id,\n sellerId: _this2.id\n });\n case 2:\n _yield$_this2$$api$fi = _context2.sent;\n code = _yield$_this2$$api$fi.code;\n data = _yield$_this2$$api$fi.data;\n msg = _yield$_this2$$api$fi.msg;\n if (code == 200) {\n _this2.userInfo = data;\n _this2.itemList = [\"查看TA的主页\", data.isCare == 0 ? \"关注\" : \"取消关注\", \"举报\", data.isBlack == 0 ? \"加入黑名单\" : \"移除黑名单\"];\n _this2.title = data.nickname;\n _this2.getConfigData();\n } else {\n uni.showToast({\n title: mgs,\n position: \"bottom\",\n icon: \"none\"\n });\n }\n case 7:\n case \"end\":\n return _context2.stop();\n }\n }\n }, _callee2);\n }))();\n },\n //字典查询\n getConfigData: function getConfigData() {\n var _this3 = this;\n return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee3() {\n var that, res1;\n return _regenerator.default.wrap(function _callee3$(_context3) {\n while (1) {\n switch (_context3.prev = _context3.next) {\n case 0:\n that = _this3;\n _context3.next = 3;\n return that.$api.getConfigData({\n dictType: 'CONFIG_MESSAGE_NOTICE'\n });\n case 3:\n res1 = _context3.sent;\n if (res1.data && res1.data.length > 0) {}\n case 5:\n case \"end\":\n return _context3.stop();\n }\n }\n }, _callee3);\n }))();\n },\n //加入黑名单\n toYichu: function toYichu(type) {\n var _this4 = this;\n return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee4() {\n var _yield$_this4$$api$ad, code, data;\n return _regenerator.default.wrap(function _callee4$(_context4) {\n while (1) {\n switch (_context4.prev = _context4.next) {\n case 0:\n _context4.next = 2;\n return _this4.$api.addOrRemoveBlacklist({\n userId: uni.getStorageSync(\"userInfo\").id,\n sellerId: _this4.id,\n type: type\n });\n case 2:\n _yield$_this4$$api$ad = _context4.sent;\n code = _yield$_this4$$api$ad.code;\n data = _yield$_this4$$api$ad.data;\n if (code == 200) {\n uni.showToast({\n title: type == 2 ? \"移除成功\" : \"加入成功\"\n });\n setTimeout(function () {\n _this4.getInfo();\n }, 2000);\n }\n case 6:\n case \"end\":\n return _context4.stop();\n }\n }\n }, _callee4);\n }))();\n },\n toSheet: function toSheet() {\n uni.showActionSheet({\n itemList: this.itemList,\n success: function success(res) {\n __f__(\"log\", res.tapIndex, \" at pages/users/chat/index.vue:160\");\n }\n });\n },\n inputValue: function inputValue(e) {\n __f__(\"log\", e, \" at pages/users/chat/index.vue:165\");\n }\n },\n onUnload: function onUnload() {\n zim.logout();\n }\n};\nexports.default = _default;\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/vue-cli-plugin-uni/lib/format-log.js */ 18)[\"default\"]))//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInVuaS1hcHA6Ly8vcGFnZXMvdXNlcnMvY2hhdC9pbmRleC52dWUiXSwibmFtZXMiOlsiWklNIiwiY3JlYXRlIiwiYXBwSUQiLCJhcHBTaWduIiwiemltIiwiZ2V0SW5zdGFuY2UiLCJkYXRhIiwiaWQiLCJpc09wZW4iLCJ0aXRsZSIsImtleXdvcmQiLCJ1c2VySW5mbyIsImxpc3QiLCJpdGVtTGlzdCIsImNoYXRMaXN0Iiwib25Mb2FkIiwibyIsImdldFVzZXJJbmZvIiwiZ2V0Q2hhdExpc3QiLCJvblJlYWR5IiwidG9JbUxvZ2luIiwib24iLCJtZXNzYWdlTGlzdCIsImZyb21Db252ZXJzYXRpb25JRCIsIm1ldGhvZHMiLCJsb2dpbiIsInVuaSIsImdldFN0b3JhZ2VTeW5jIiwidXNlck5hbWUiLCJuaWNrbmFtZSIsInRva2VuIiwidGhlbiIsInJlcyIsImNhdGNoIiwiZXJyIiwiJGFwaSIsImZpbmRDaGF0TGlzdCIsImZvcm1Vc2VySWQiLCJ0b1VzZXJJZCIsImNvZGUiLCJtc2ciLCJmaW5kT3RoZXJVc2VySW5mbyIsInVzZXJJZCIsInNlbGxlcklkIiwiaXNDYXJlIiwiaXNCbGFjayIsImdldENvbmZpZ0RhdGEiLCJzaG93VG9hc3QiLCJt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HRcdFx0fSwyMDAwKVxuXHRcdFx0fVxuXHRcdH0sXG5cdFx0dG9TaGVldCgpIHtcblx0XHRcdHVuaS5zaG93QWN0aW9uU2hlZXQoe1xuXHRcdFx0XHRpdGVtTGlzdDogdGhpcy5pdGVtTGlzdCxcblx0XHRcdFx0c3VjY2VzcyhyZXMpe1xuXHRcdFx0XHRcdGNvbnNvbGUubG9nKHJlcy50YXBJbmRleClcblx0XHRcdFx0fVxuXHRcdFx0fSlcblx0XHR9LFxuXHRcdGlucHV0VmFsdWUoZSkge1xuXHRcdFx0Y29uc29sZS5sb2coZSlcblx0XHR9LFxuXHR9LFxuXHRvblVubG9hZCgpIHtcblx0XHR6aW0ubG9nb3V0KCk7XG5cdH1cbn1cbiJdLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///51\n"); +eval("/* WEBPACK VAR INJECTION */(function(__f__) {\n\nvar _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 1);\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar _regenerator = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/regenerator */ 19));\nvar _asyncToGenerator2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/asyncToGenerator */ 21));\nvar _index = _interopRequireDefault(__webpack_require__(/*! @/js_sdk/zego-ZIMUniplugin-JS/lib/index.js */ 52));\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//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n_index.default.create({\n appID: 267111980,\n appSign: 'afcaa90a7750ee556e450ca62287c5f9a362e9ed711789717cda0e18f088858e'\n});\nvar zim = _index.default.getInstance();\nvar _default = {\n data: function data() {\n return {\n id: \"\",\n isOpen: false,\n title: \"\",\n keyword: \"\",\n userInfo: {},\n list: [],\n itemList: [],\n chatList: []\n };\n },\n onLoad: function onLoad(o) {\n this.id = o.id;\n this.getUserInfo();\n this.getChatList();\n },\n onReady: function onReady() {\n this.toImLogin();\n\n // 注册监听“收到单聊消息”的回调\n zim.on('receivePeerMessage', function (zim, _ref) {\n var messageList = _ref.messageList,\n fromConversationID = _ref.fromConversationID;\n __f__(\"log\", 'receivePeerMessage', messageList, fromConversationID, \" at pages/users/chat/index.vue:92\");\n });\n },\n methods: {\n toImLogin: function toImLogin() {\n zim.login(uni.getStorageSync(\"userInfo\").id, {\n userName: uni.getStorageSync(\"userInfo\").nickname,\n token: uni.getStorageSync(\"chatToken\")\n }).then(function (res) {\n // 登录成功\n __f__(\"log\", res, \"登录成功\", \" at pages/users/chat/index.vue:104\");\n }).catch(function (err) {\n // 登录失败\n __f__(\"log\", err, \" at pages/users/chat/index.vue:108\");\n });\n },\n getChatList: function getChatList() {\n var _this = this;\n return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee() {\n var _yield$_this$$api$fin, code, data, msg;\n return _regenerator.default.wrap(function _callee$(_context) {\n while (1) {\n switch (_context.prev = _context.next) {\n case 0:\n _context.next = 2;\n return _this.$api.findChatList({\n formUserId: uni.getStorageSync(\"userInfo\").id,\n toUserId: _this.id\n });\n case 2:\n _yield$_this$$api$fin = _context.sent;\n code = _yield$_this$$api$fin.code;\n data = _yield$_this$$api$fin.data;\n msg = _yield$_this$$api$fin.msg;\n if (code == 200) {\n _this.chatList = data;\n }\n case 7:\n case \"end\":\n return _context.stop();\n }\n }\n }, _callee);\n }))();\n },\n getUserInfo: function getUserInfo() {\n var _this2 = this;\n return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee2() {\n var _yield$_this2$$api$fi, code, data, msg;\n return _regenerator.default.wrap(function _callee2$(_context2) {\n while (1) {\n switch (_context2.prev = _context2.next) {\n case 0:\n _context2.next = 2;\n return _this2.$api.findOtherUserInfo({\n userId: uni.getStorageSync(\"userInfo\").id,\n sellerId: _this2.id\n });\n case 2:\n _yield$_this2$$api$fi = _context2.sent;\n code = _yield$_this2$$api$fi.code;\n data = _yield$_this2$$api$fi.data;\n msg = _yield$_this2$$api$fi.msg;\n if (code == 200) {\n _this2.userInfo = data;\n _this2.itemList = [\"查看TA的主页\", data.isCare == 0 ? \"关注\" : \"取消关注\", \"举报\", data.isBlack == 0 ? \"加入黑名单\" : \"移除黑名单\"];\n _this2.title = data.nickname;\n _this2.getConfigData();\n } else {\n uni.showToast({\n title: mgs,\n position: \"bottom\",\n icon: \"none\"\n });\n }\n case 7:\n case \"end\":\n return _context2.stop();\n }\n }\n }, _callee2);\n }))();\n },\n //字典查询\n getConfigData: function getConfigData() {\n var _this3 = this;\n return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee3() {\n var that, res1;\n return _regenerator.default.wrap(function _callee3$(_context3) {\n while (1) {\n switch (_context3.prev = _context3.next) {\n case 0:\n that = _this3;\n _context3.next = 3;\n return that.$api.getConfigData({\n dictType: 'CONFIG_MESSAGE_NOTICE'\n });\n case 3:\n res1 = _context3.sent;\n if (res1.data && res1.data.length > 0) {}\n case 5:\n case \"end\":\n return _context3.stop();\n }\n }\n }, _callee3);\n }))();\n },\n //加入黑名单\n toYichu: function toYichu(type) {\n var _this4 = this;\n return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee4() {\n var _yield$_this4$$api$ad, code, data;\n return _regenerator.default.wrap(function _callee4$(_context4) {\n while (1) {\n switch (_context4.prev = _context4.next) {\n case 0:\n _context4.next = 2;\n return _this4.$api.addOrRemoveBlacklist({\n userId: uni.getStorageSync(\"userInfo\").id,\n sellerId: _this4.id,\n type: type\n });\n case 2:\n _yield$_this4$$api$ad = _context4.sent;\n code = _yield$_this4$$api$ad.code;\n data = _yield$_this4$$api$ad.data;\n if (code == 200) {\n uni.showToast({\n title: type == 2 ? \"移除成功\" : \"加入成功\"\n });\n setTimeout(function () {\n _this4.getInfo();\n }, 2000);\n }\n case 6:\n case \"end\":\n return _context4.stop();\n }\n }\n }, _callee4);\n }))();\n },\n toSheet: function toSheet() {\n uni.showActionSheet({\n itemList: this.itemList,\n success: function success(res) {\n __f__(\"log\", res.tapIndex, \" at pages/users/chat/index.vue:160\");\n }\n });\n },\n inputValue: function inputValue(e) {\n __f__(\"log\", e, \" at pages/users/chat/index.vue:165\");\n }\n },\n onBackPress: function onBackPress() {\n zim.logout();\n }\n};\nexports.default = _default;\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/vue-cli-plugin-uni/lib/format-log.js */ 18)[\"default\"]))//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInVuaS1hcHA6Ly8vcGFnZXMvdXNlcnMvY2hhdC9pbmRleC52dWUiXSwibmFtZXMiOlsiWklNIiwiY3JlYXRlIiwiYXBwSUQiLCJhcHBTaWduIiwiemltIiwiZ2V0SW5zdGFuY2UiLCJkYXRhIiwiaWQiLCJpc09wZW4iLCJ0aXRsZSIsImtleXdvcmQiLCJ1c2VySW5mbyIsImxpc3QiLCJpdGVtTGlzdCIsImNoYXRMaXN0Iiwib25Mb2FkIiwibyIsImdldFVzZXJJbmZvIiwiZ2V0Q2hhdExpc3QiLCJvblJlYWR5IiwidG9JbUxvZ2luIiwib24iLCJtZXNzYWdlTGlzdCIsImZyb21Db252ZXJzYXRpb25JRCIsIm1ldGhvZHMiLCJsb2dpbiIsInVuaSIsImdldFN0b3JhZ2VTeW5jIiwidXNlck5hbWUiLCJuaWNrbmFtZSIsInRva2VuIiwidGhlbiIsInJlcyIsImNhdGNoIiwiZXJyIiwiJGFwaSIsImZpbmRDaGF0TGlzdCIsImZvcm1Vc2VySWQiLCJ0b1VzZXJJZCIsImNvZGUiLCJtc2ciLCJmaW5kT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