1 line
24 KiB
Plaintext
1 line
24 KiB
Plaintext
{"version":3,"sources":["uni-app:///main.js","webpack:///E:/云商会/云商会/pages/index/my_msg.vue?2454","webpack:///E:/云商会/云商会/pages/index/my_msg.vue?4583","webpack:///E:/云商会/云商会/pages/index/my_msg.vue?263a","webpack:///E:/云商会/云商会/pages/index/my_msg.vue?4f4a","uni-app:///pages/index/my_msg.vue","webpack:///E:/云商会/云商会/pages/index/my_msg.vue?134a","webpack:///E:/云商会/云商会/pages/index/my_msg.vue?6089"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","createPage","Page","name","data","loadingIn","uid","page","size","list","id","if_tongyi","showMode","content","title","show","key","button","text","backgroundColor","fontColor","onLoad","onReachBottom","methods","all_upadte_do","member_b_id","then","console","store","uni","icon","duration","catch","all_upadte","updateType","setMaillogUpdate","state","getMaillogIndex","modeClick","tn","url","goBack"],"mappings":";;;;;;;;;;;;;AAAA;AAGA;AACA;AAHA;AACAA,EAAE,CAACC,iCAAiC,GAAGC,mBAAmB;AAG1DC,UAAU,CAACC,eAAI,CAAC,C;;;;;;;;;;;;;ACLhB;AAAA;AAAA;AAAA;AAAA;AAAA;AAA+H;AAC/H;AAC0D;AACL;AACsC;;;AAG3F;AAC+L;AAC/L,gBAAgB,wMAAU;AAC1B,EAAE,4EAAM;AACR,EAAE,6FAAM;AACR,EAAE,sGAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,iGAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA,aAAa,wRAEN;AACP,KAAK;AACL;AACA,aAAa,sQAEN;AACP,KAAK;AACL;AACA,aAAa,kRAEN;AACP,KAAK;AACL;AACA,aAAa,gQAEN;AACP,KAAK;AACL;AACA,aAAa,oSAEN;AACP,KAAK;AACL;AACA,aAAa,4QAEN;AACP,KAAK;AACL;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AC1DA;AAAA;AAAA;AAAA;AAAkuB,CAAgB,uvBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;AC4FtvB;AAKA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;eACA;EACAC;EACAC;IACA;MACAC;MACAC;MACAC;MACAC;MACAC;MACAC;MACAC;MACAC;QACAC;QACAC;QACAC;QACAC;QACAC;UACAC;UACAC;UACAC;QACA,GACA;UACAF;UACAC;UACAC;QACA;MAEA;IAEA;EACA;EACAC;IACA;IACA;IACA;EACA;EACAC;IACA;IACA;EACA;EACAC;IACAC;MAAA;MACA;QACAC;MACA,GACAC;QACAC;QACA;UACAC;UACAC;YACAf;YACAgB;YACAC;UACA;QACA;UACAF;YACAf;YACAgB;YACAC;UACA;QACA;QACA;QACA;QACA;QACA;MACA,GACAC;QACAH;UACAf;UACAgB;UACAC;QACA;MACA;IACA;IACAE;MACA;MACA;MACA;MACA;IACA;IACAC;MACA;MACA;MACA;MACA;MACA;MACA;IACA;IACAC;MAAA;MACA;QACAzB;QACAC;QACAyB;MACA,GACAV;QACAC;QACA;UACAE;YACAf;YACAgB;YACAC;UACA;QACA;UACAF;YACAf;YACAgB;YACAC;UACA;QACA;QACA;QACA;QACA;QACA;MACA,GACAC;QACAH;UACAf;UACAgB;UACAC;QACA;MACA;IACA;IACAM;MAAA;MACA;QACAZ;QACAlB;QACAC;MAEA,GACAkB;QAAA;QACAC;QACA;QACA;UACA;QACA;MACA,GACAK;QACAH;UACAf;UACAgB;UACAC;QACA;MACA;IACA;IACAO;MACA;QACA;MACA;MACA;QACA;MACA;MACA;QACA;MACA;IACA;IACA;IACAC;MACAV;QACAW;MACA;IACA;IACAC;MACA;QACAZ;MACA;QACAA;UACAW;QACA;MAEA;IACA;EACA;AACA;AAAA,2B;;;;;;;;;;;;;AC9QA;AAAA;AAAA;AAAA;AAA64C,CAAgB,02CAAG,EAAC,C;;;;;;;;;;;ACAj6C;AACA,OAAO,KAAU,EAAE,kBAKd","file":"pages/index/my_msg.js","sourcesContent":["import 'uni-pages';\n// @ts-ignore\nwx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;\nimport Vue from 'vue'\nimport Page from './pages/index/my_msg.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./my_msg.vue?vue&type=template&id=f91ea478&scoped=true&\"\nvar renderjs\nimport script from \"./my_msg.vue?vue&type=script&lang=js&\"\nexport * from \"./my_msg.vue?vue&type=script&lang=js&\"\nimport style0 from \"./my_msg.vue?vue&type=style&index=0&id=f91ea478&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!F:\\\\HBuilderX.3.5.3.20220729\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\runtime\\\\componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"f91ea478\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"pages/index/my_msg.vue\"\nexport default component.exports","export * from \"-!F:\\\\HBuilderX.3.5.3.20220729\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\templateLoader.js??vue-loader-options!F:\\\\HBuilderX.3.5.3.20220729\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--17-0!F:\\\\HBuilderX.3.5.3.20220729\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\template.js!F:\\\\HBuilderX.3.5.3.20220729\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-uni-app-loader\\\\page-meta.js!F:\\\\HBuilderX.3.5.3.20220729\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!F:\\\\HBuilderX.3.5.3.20220729\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./my_msg.vue?vue&type=template&id=f91ea478&scoped=true&\"","var components\ntry {\n components = {\n tnNavBar: function () {\n return import(\n /* webpackChunkName: \"tuniao-ui/components/tn-nav-bar/tn-nav-bar\" */ \"@/tuniao-ui/components/tn-nav-bar/tn-nav-bar.vue\"\n )\n },\n tnTabs: function () {\n return import(\n /* webpackChunkName: \"tuniao-ui/components/tn-tabs/tn-tabs\" */ \"@/tuniao-ui/components/tn-tabs/tn-tabs.vue\"\n )\n },\n tnButton: function () {\n return import(\n /* webpackChunkName: \"tuniao-ui/components/tn-button/tn-button\" */ \"@/tuniao-ui/components/tn-button/tn-button.vue\"\n )\n },\n tnTag: function () {\n return import(\n /* webpackChunkName: \"tuniao-ui/components/tn-tag/tn-tag\" */ \"@/tuniao-ui/components/tn-tag/tn-tag.vue\"\n )\n },\n tnLoadMore: function () {\n return import(\n /* webpackChunkName: \"tuniao-ui/components/tn-load-more/tn-load-more\" */ \"@/tuniao-ui/components/tn-load-more/tn-load-more.vue\"\n )\n },\n tnModal: function () {\n return import(\n /* webpackChunkName: \"tuniao-ui/components/tn-modal/tn-modal\" */ \"@/tuniao-ui/components/tn-modal/tn-modal.vue\"\n )\n },\n }\n} catch (e) {\n if (\n e.message.indexOf(\"Cannot find module\") !== -1 &&\n e.message.indexOf(\".vue\") !== -1\n ) {\n console.error(e.message)\n console.error(\"1. 排查组件名称拼写是否正确\")\n console.error(\n \"2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom\"\n )\n console.error(\n \"3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件\"\n )\n } else {\n throw e\n }\n}\nvar render = function () {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!F:\\\\HBuilderX.3.5.3.20220729\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!F:\\\\HBuilderX.3.5.3.20220729\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--13-1!F:\\\\HBuilderX.3.5.3.20220729\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!F:\\\\HBuilderX.3.5.3.20220729\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!F:\\\\HBuilderX.3.5.3.20220729\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./my_msg.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!F:\\\\HBuilderX.3.5.3.20220729\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!F:\\\\HBuilderX.3.5.3.20220729\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--13-1!F:\\\\HBuilderX.3.5.3.20220729\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!F:\\\\HBuilderX.3.5.3.20220729\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!F:\\\\HBuilderX.3.5.3.20220729\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./my_msg.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view class=\"message tn-safe-area-inset-bottom\">\r\n\r\n\t\t<tn-nav-bar :isBack=\"false\" backTitle=\"\" :bottomShadow=\"true\" backgroundColor=\"#FFFFFF\">\r\n\t\t\t<view class=\"custom-nav tn-flex tn-flex-col-center tn-flex-row-left\">\r\n\t\t\t\t<view style=\"padding-left: 15rpx;\" @click=\"goBack()\">\r\n\t\t\t\t\t<text class=\"tn-icon-left\" style=\"font-size: 40rpx;\"></text>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"tn-margin-top\"\r\n\t\t\t\t\tstyle=\";text-shadow: 1rpx 0 0 #FFF, 0 1rpx 0 #FFF, -1rpx 0 0 #FFF , 0 -1rpx 0 #FFF;\">\r\n\t\t\t\t\t<tn-tabs :list=\"[{name:'我的消息'}]\" :current=\"topCurrent\" activeColor=\"#000\" :bold=\"false\"\r\n\t\t\t\t\t\t:fontSize=\"36\"></tn-tabs>\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t</tn-nav-bar>\r\n\t\t<view class=\"\" :style=\"{paddingTop: vuex_custom_bar_height + 'px'}\">\r\n\t\t\t<view style=\"text-align: right;padding: 30rpx 30rpx 0rpx 0;\">\r\n\t\t\t\t<tn-button @click=\"all_upadte\" backgroundColor=\"tn-bg-blue\" size=\"sm\" fontColor=\"tn-color-white\"\r\n\t\t\t\t\tshape=\"round\">全部已读</tn-button>\r\n\t\t\t</view>\r\n\t\t\t<view v-for=\"item in list\" class=\"tn-margin tn-padding\" @click=\"tn('/pageB/chat/chatGPT')\">\r\n\t\t\t\t<view class=\"tn-flex tn-flex-col-top\">\r\n\t\t\t\t\t<!-- 这个是图标形式 -->\r\n\t\t\t\t\t<view class=\"\">\r\n\t\t\t\t\t\t<view class=\"icon15__item--icon tn-flex tn-flex-row-center tn-flex-col-center tn-shadow-blur\"\r\n\t\t\t\t\t\t\tstyle=\"background-color: #F3F2F7;color: #7C8191;\">\r\n\t\t\t\t\t\t\t<view class=\"tn-icon-notice-fill\"></view>\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<view class=\"tn-padding-left-sm\" style=\"width: 100%;\">\r\n\t\t\t\t\t\t<view class=\"tn-flex tn-flex-col-center \">\r\n\t\t\t\t\t\t\t<view class=\"justify-content-item\">\r\n\t\t\t\t\t\t\t\t<text class=\"tn-color-wallpaper tn-text-lg tn-text-bold\">系统消息</text>\r\n\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t\t<view style=\"margin-left: 10rpx;\">\r\n\t\t\t\t\t\t\t\t<tn-tag padding=\"0rpx 0rpx\" width=\"80rpx\" v-if=\"item.state==0\" size=\"sm\" shape=\"circle\"\r\n\t\t\t\t\t\t\t\t\tbackgroundColor=\"#E83A30\" fontColor=\"#ffffff\">未读</tn-tag>\r\n\t\t\t\t\t\t\t\t<tn-tag padding=\"0rpx 0rpx\" width=\"80rpx\" v-if=\"item.state==1\" size=\"sm\" shape=\"circle\"\r\n\t\t\t\t\t\t\t\t\tbackgroundColor=\"#28B93D\" fontColor=\"#ffffff\">已读</tn-tag>\r\n\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t<view v-if=\"item.type==1\" class=\"tn-padding-top-xs tn-text-ellipsis-2 tn-color-gray\">\r\n\t\t\t\t\t\t\t<view>【{{item.member_q_id_name}}】申请查看您的联系方式!</view>\r\n\t\t\t\t\t\t\t<view v-if=\"item.content!=''\" style=\"margin-top: 10rpx;\">申请信息:{{item.content}}</view>\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t<view v-if=\"item.type==0\" class=\"tn-padding-top-xs tn-text-ellipsis-2 tn-color-gray\">\r\n\t\t\t\t\t\t\t<view style=\"margin-top: 10rpx;\">{{item.content}}</view>\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"tn-flex tn-flex-row-between tn-flex-col-between tn-margin-top-sm tn-flex-col-center\">\r\n\t\t\t\t\t<view class=\"justify-content-item tn-color-gray tn-text-center tn-color-gray\">\r\n\t\t\t\t\t\t<text class=\"tn-icon-time tn-padding-right-xs tn-padding-left-xs tn-text-df\"></text>\r\n\t\t\t\t\t\t<text class=\"tn-text-sm\">{{item.mail_time}}</text>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<block v-if=\"item.type==1 && item.if_tongyi==2\">\r\n\t\t\t\t\t\t<view @click=\"updateType(0,item.mail_id)\"\r\n\t\t\t\t\t\t\tclass=\"justify-content-item tn-round tn-text tn-bg-blue--light tn-color-blue\"\r\n\t\t\t\t\t\t\tstyle=\"padding: 5rpx 15rpx;\">\r\n\t\t\t\t\t\t\t<text class=\"tn-padding-xs\">通过申请</text>\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t<view @click=\"updateType(1,item.mail_id)\"\r\n\t\t\t\t\t\t\tclass=\"justify-content-item tn-round tn-text tn-bg-orangered--light tn-color-orangered\"\r\n\t\t\t\t\t\t\tstyle=\"padding: 5rpx 15rpx;\">\r\n\t\t\t\t\t\t\t<text class=\"tn-padding-xs\">拒绝申请</text>\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t</block>\r\n\t\t\t\t\t<block v-if=\"item.type==1 && item.if_tongyi==1\">\r\n\t\t\t\t\t\t<view>\r\n\t\t\t\t\t\t\t<tn-tag padding=\"0rpx 0rpx\" width=\"80rpx\" size=\"sm\" shape=\"circle\" backgroundColor=\"#E83A30\"\r\n\t\t\t\t\t\t\t\tfontColor=\"#ffffff\">已拒绝</tn-tag>\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t</block>\r\n\t\t\t\t\t<block v-if=\"item.type==1 && item.if_tongyi==0\">\r\n\t\t\t\t\t\t<view>\r\n\t\t\t\t\t\t\t<tn-tag padding=\"0rpx 0rpx\" width=\"80rpx\" size=\"sm\" shape=\"circle\" backgroundColor=\"#28B93D\"\r\n\t\t\t\t\t\t\t\tfontColor=\"#ffffff\">已同意</tn-tag>\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t</block>\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t\t<view style=\"margin-top: 40rpx;\">\r\n\t\t\t<tn-load-more :status=\"loadingIn\" :loadText=\"{nomore:'没有消息'}\"></tn-load-more>\r\n\t\t</view>\r\n\t\t<view class=\"tn-tabbar-height\"></view>\r\n\t\t<tn-modal v-model=\"showMode.show\" :title=\"showMode.title\" :content=\"showMode.content\" :button=\"showMode.button\"\r\n\t\t\t@click=\"modeClick\"></tn-modal>\r\n\t</view>\r\n</template>\r\n\r\n<script>\r\n\timport {\r\n\t\tMaillogIndex,\r\n\t\tMaillogUpdate,\r\n\t\tMaillogUpdateState\r\n\t} from \"@/util/api\";\r\n\timport store from \"@/store\";\r\n\texport default {\r\n\t\tname: 'Message',\r\n\t\tdata() {\r\n\t\t\treturn {\r\n\t\t\t\tloadingIn: 'loading',\r\n\t\t\t\tuid: 0,\r\n\t\t\t\tpage: 1,\r\n\t\t\t\tsize: 10,\r\n\t\t\t\tlist: [],\r\n\t\t\t\tid: 0,\r\n\t\t\t\tif_tongyi: 0,\r\n\t\t\t\tshowMode: {\r\n\t\t\t\t\tcontent: '',\r\n\t\t\t\t\ttitle: '',\r\n\t\t\t\t\tshow: false,\r\n\t\t\t\t\tkey: 1,\r\n\t\t\t\t\tbutton: [{\r\n\t\t\t\t\t\t\ttext: '取消',\r\n\t\t\t\t\t\t\tbackgroundColor: '#E6E6E6',\r\n\t\t\t\t\t\t\tfontColor: '#FFFFFF',\r\n\t\t\t\t\t\t},\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\ttext: '确定',\r\n\t\t\t\t\t\t\tbackgroundColor: 'tn-bg-indigo',\r\n\t\t\t\t\t\t\tfontColor: '#FFFFFF'\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t]\r\n\t\t\t\t}\r\n\r\n\t\t\t}\r\n\t\t},\r\n\t\tonLoad() {\r\n\t\t\tvar uid = uni.getStorageSync('uid');\r\n\t\t\tthis.uid = uid;\r\n\t\t\tthis.getMaillogIndex();\r\n\t\t},\r\n\t\tonReachBottom() {\r\n\t\t\tthis.page = this.page + 1;\r\n\t\t\tthis.getMaillogIndex();\r\n\t\t},\r\n\t\tmethods: {\r\n\t\t\tall_upadte_do() {\r\n\t\t\t\tMaillogUpdateState({\r\n\t\t\t\t\t\tmember_b_id: this.uid\r\n\t\t\t\t\t})\r\n\t\t\t\t\t.then(res => {\r\n\t\t\t\t\t\tconsole.log(res);\r\n\t\t\t\t\t\tif (res.code == 1) {\r\n\t\t\t\t\t\t\tstore.state.msgCount = 0;\r\n\t\t\t\t\t\t\tuni.showToast({\r\n\t\t\t\t\t\t\t\ttitle: '操作成功!',\r\n\t\t\t\t\t\t\t\ticon: 'none',\r\n\t\t\t\t\t\t\t\tduration: 2000\r\n\t\t\t\t\t\t\t});\r\n\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\tuni.showToast({\r\n\t\t\t\t\t\t\t\ttitle: res.msg,\r\n\t\t\t\t\t\t\t\ticon: 'none',\r\n\t\t\t\t\t\t\t\tduration: 2000\r\n\t\t\t\t\t\t\t});\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\tthis.showMode.show = false;\r\n\t\t\t\t\t\tthis.page = 1;\r\n\t\t\t\t\t\tthis.list = [];\r\n\t\t\t\t\t\tthis.getMaillogIndex();\r\n\t\t\t\t\t})\r\n\t\t\t\t\t.catch(error => {\r\n\t\t\t\t\t\tuni.showToast({\r\n\t\t\t\t\t\t\ttitle: error,\r\n\t\t\t\t\t\t\ticon: 'none',\r\n\t\t\t\t\t\t\tduration: 2000\r\n\t\t\t\t\t\t});\r\n\t\t\t\t\t})\r\n\t\t\t},\r\n\t\t\tall_upadte() {\r\n\t\t\t\tthis.showMode.show = true;\r\n\t\t\t\tthis.showMode.content = '确定修改为全部已读吗?';\r\n\t\t\t\tthis.showMode.title = '操作提示';\r\n\t\t\t\tthis.showMode.key = 2;\r\n\t\t\t},\r\n\t\t\tupdateType(type, id) {\r\n\t\t\t\tthis.showMode.show = true;\r\n\t\t\t\tthis.showMode.content = type == 0 ? '确定要通过申请吗?' : '确定要拒绝申请吗?';\r\n\t\t\t\tthis.showMode.title = '操作提示';\r\n\t\t\t\tthis.showMode.key = 1;\r\n\t\t\t\tthis.id = id;\r\n\t\t\t\tthis.if_tongyi = type;\r\n\t\t\t},\r\n\t\t\tsetMaillogUpdate() {\r\n\t\t\t\tMaillogUpdate({\r\n\t\t\t\t\t\tid: this.id,\r\n\t\t\t\t\t\tif_tongyi: this.if_tongyi,\r\n\t\t\t\t\t\tstate: 1, //已读\r\n\t\t\t\t\t})\r\n\t\t\t\t\t.then(res => {\r\n\t\t\t\t\t\tconsole.log(res);\r\n\t\t\t\t\t\tif (res.code == 1) {\r\n\t\t\t\t\t\t\tuni.showToast({\r\n\t\t\t\t\t\t\t\ttitle: '操作成功!',\r\n\t\t\t\t\t\t\t\ticon: 'none',\r\n\t\t\t\t\t\t\t\tduration: 2000\r\n\t\t\t\t\t\t\t});\r\n\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\tuni.showToast({\r\n\t\t\t\t\t\t\t\ttitle: res.msg,\r\n\t\t\t\t\t\t\t\ticon: 'none',\r\n\t\t\t\t\t\t\t\tduration: 2000\r\n\t\t\t\t\t\t\t});\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\tthis.showMode.show = false;\r\n\t\t\t\t\t\tthis.page = 1;\r\n\t\t\t\t\t\tthis.list = [];\r\n\t\t\t\t\t\tthis.getMaillogIndex();\r\n\t\t\t\t\t})\r\n\t\t\t\t\t.catch(error => {\r\n\t\t\t\t\t\tuni.showToast({\r\n\t\t\t\t\t\t\ttitle: error,\r\n\t\t\t\t\t\t\ticon: 'none',\r\n\t\t\t\t\t\t\tduration: 2000\r\n\t\t\t\t\t\t});\r\n\t\t\t\t\t})\r\n\t\t\t},\r\n\t\t\tgetMaillogIndex() {\r\n\t\t\t\tMaillogIndex({\r\n\t\t\t\t\t\tmember_b_id: this.uid,\r\n\t\t\t\t\t\tpage: this.page,\r\n\t\t\t\t\t\tsize: this.size,\r\n\r\n\t\t\t\t\t})\r\n\t\t\t\t\t.then(res => {\r\n\t\t\t\t\t\tconsole.log(res.data.length);\r\n\t\t\t\t\t\tthis.list.push(...res.data);\r\n\t\t\t\t\t\tif (res.data.length == 0 || this.list.length < 5) {\r\n\t\t\t\t\t\t\tthis.loadingIn = 'nomore';\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t})\r\n\t\t\t\t\t.catch(error => {\r\n\t\t\t\t\t\tuni.showToast({\r\n\t\t\t\t\t\t\ttitle: error,\r\n\t\t\t\t\t\t\ticon: 'none',\r\n\t\t\t\t\t\t\tduration: 2000\r\n\t\t\t\t\t\t});\r\n\t\t\t\t\t})\r\n\t\t\t},\r\n\t\t\tmodeClick(i) {\r\n\t\t\t\tif (i.index == 0) {\r\n\t\t\t\t\tthis.showMode.show = false;\r\n\t\t\t\t}\r\n\t\t\t\tif (this.showMode.key == 1 && i.index == 1) {\r\n\t\t\t\t\tthis.setMaillogUpdate();\r\n\t\t\t\t}\r\n\t\t\t\tif (this.showMode.key == 2 && i.index == 1) {\r\n\t\t\t\t\tthis.all_upadte_do();\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\t// 跳转\r\n\t\t\ttn(e) {\r\n\t\t\t\tuni.navigateTo({\r\n\t\t\t\t\turl: e,\r\n\t\t\t\t});\r\n\t\t\t},\r\n\t\t\tgoBack() {\r\n\t\t\t\tif (getCurrentPages().length > 1) {\r\n\t\t\t\t\tuni.navigateBack()\r\n\t\t\t\t} else {\r\n\t\t\t\t\tuni.redirectTo({\r\n\t\t\t\t\t\turl: '/pages/index/index'\r\n\t\t\t\t\t})\r\n\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t}\r\n\t}\r\n</script>\r\n\r\n<style lang=\"scss\" scoped>\r\n\t.message {\r\n\t\tmax-height: 100vh;\r\n\t}\r\n\r\n\t/* 自定义导航栏内容 end */\r\n\r\n\t/* 底部安全边距 start*/\r\n\t.tn-tabbar-height {\r\n\t\tmin-height: 20rpx;\r\n\t\theight: calc(40rpx + env(safe-area-inset-bottom) / 2);\r\n\t\theight: calc(40rpx + constant(safe-area-inset-bottom));\r\n\t}\r\n\r\n\r\n\t.tn-color-wallpaper {\r\n\t\tcolor: #1D2541;\r\n\t}\r\n\r\n\t/* 页面阴影 start*/\r\n\t.wallpaper-shadow {\r\n\t\tborder-radius: 15rpx;\r\n\t\tbox-shadow: 0rpx 0rpx 50rpx 0rpx rgba(0, 0, 0, 0.07);\r\n\t}\r\n\r\n\r\n\r\n\t/* 图标容器15 start */\r\n\t.icon15 {\r\n\t\t&__item {\r\n\t\t\twidth: 30%;\r\n\t\t\tbackground-color: #FFFFFF;\r\n\t\t\tborder-radius: 10rpx;\r\n\t\t\tpadding: 30rpx;\r\n\t\t\tmargin: 20rpx 10rpx;\r\n\t\t\ttransform: scale(1);\r\n\t\t\ttransition: transform 0.3s linear;\r\n\t\t\ttransform-origin: center center;\r\n\r\n\t\t\t&--icon {\r\n\t\t\t\twidth: 105rpx;\r\n\t\t\t\theight: 105rpx;\r\n\t\t\t\tfont-size: 60rpx;\r\n\t\t\t\tborder-radius: 50%;\r\n\t\t\t\tmargin-bottom: 18rpx;\r\n\t\t\t\tposition: relative;\r\n\t\t\t\tz-index: 1;\r\n\r\n\t\t\t\t&::after {\r\n\t\t\t\t\tcontent: \" \";\r\n\t\t\t\t\tposition: absolute;\r\n\t\t\t\t\tz-index: -1;\r\n\t\t\t\t\twidth: 100%;\r\n\t\t\t\t\theight: 100%;\r\n\t\t\t\t\tleft: 0;\r\n\t\t\t\t\tbottom: 0;\r\n\t\t\t\t\tborder-radius: inherit;\r\n\t\t\t\t\topacity: 1;\r\n\t\t\t\t\ttransform: scale(1, 1);\r\n\t\t\t\t\tbackground-size: 100% 100%;\r\n\r\n\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\r\n\t/* 用户头像 start */\r\n\t.logo-image {\r\n\t\twidth: 100rpx;\r\n\t\theight: 100rpx;\r\n\t\tposition: relative;\r\n\t}\r\n\r\n\t.logo-pic {\r\n\t\tbackground-size: cover;\r\n\t\tbackground-repeat: no-repeat;\r\n\t\t// background-attachment:fixed;\r\n\t\tbackground-position: top;\r\n\t\tborder: 1rpx solid rgba(255, 255, 255, 0.05);\r\n\t\tbox-shadow: 0rpx 0rpx 80rpx 0rpx rgba(0, 0, 0, 0.05);\r\n\t\tborder-radius: 50%;\r\n\t\toverflow: hidden;\r\n\t\t// background-color: #FFFFFF;\r\n\t}\r\n</style>","import mod from \"-!F:\\\\HBuilderX.3.5.3.20220729\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!F:\\\\HBuilderX.3.5.3.20220729\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-1!F:\\\\HBuilderX.3.5.3.20220729\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!F:\\\\HBuilderX.3.5.3.20220729\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-2!F:\\\\HBuilderX.3.5.3.20220729\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!F:\\\\HBuilderX.3.5.3.20220729\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\sass-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-4!F:\\\\HBuilderX.3.5.3.20220729\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!F:\\\\HBuilderX.3.5.3.20220729\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!F:\\\\HBuilderX.3.5.3.20220729\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./my_msg.vue?vue&type=style&index=0&id=f91ea478&lang=scss&scoped=true&\"; export default mod; export * from \"-!F:\\\\HBuilderX.3.5.3.20220729\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!F:\\\\HBuilderX.3.5.3.20220729\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-1!F:\\\\HBuilderX.3.5.3.20220729\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!F:\\\\HBuilderX.3.5.3.20220729\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-2!F:\\\\HBuilderX.3.5.3.20220729\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!F:\\\\HBuilderX.3.5.3.20220729\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\sass-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-4!F:\\\\HBuilderX.3.5.3.20220729\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!F:\\\\HBuilderX.3.5.3.20220729\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!F:\\\\HBuilderX.3.5.3.20220729\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./my_msg.vue?vue&type=style&index=0&id=f91ea478&lang=scss&scoped=true&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1717480335607\n var cssReload = require(\"F:/HBuilderX.3.5.3.20220729/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js\")(module.id, {\"hmr\":true,\"publicPath\":\"/\",\"locals\":false});\n module.hot.dispose(cssReload);\n module.hot.accept(undefined, cssReload);\n }\n "],"sourceRoot":""} |