message.js.map
15.8 KB
{"version":3,"sources":["webpack:////Users/juvenile/Documents/web/xiaoai/excellent-working/pages/student/tabBar/message/message.vue?5fa2","webpack:////Users/juvenile/Documents/web/xiaoai/excellent-working/pages/student/tabBar/message/message.vue?7253","uni-app:///main.js","webpack:////Users/juvenile/Documents/web/xiaoai/excellent-working/pages/student/tabBar/message/message.vue?8512","webpack:////Users/juvenile/Documents/web/xiaoai/excellent-working/pages/student/tabBar/message/message.vue?7d19","webpack:////Users/juvenile/Documents/web/xiaoai/excellent-working/pages/student/tabBar/message/message.vue?16f8","webpack:////Users/juvenile/Documents/web/xiaoai/excellent-working/pages/student/tabBar/message/message.vue?0051","uni-app:///pages/student/tabBar/message/message.vue"],"names":["createPage","Page"],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAumD,CAAgB,u5CAAG,EAAC,C;;;;;;;;;;;ACA3nD;AACA,OAAO,KAAU,EAAE,kBAKd;;;;;;;;;;;;;kDCNL,wCAAmB;AACnB;AACA,iH;AACAA,UAAU,CAACC,gBAAD,CAAV,C;;;;;;;;;;;;;ACHA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAgI;AAChI;AAC2D;AACL;AACsC;;;AAG5F;AACyN;AACzN,gBAAgB,iNAAU;AAC1B,EAAE,6EAAM;AACR,EAAE,8FAAM;AACR,EAAE,uGAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,kGAAU;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,0QAEN;AACP,KAAK;AACL;AACA,aAAa,8MAEN;AACP,KAAK;AACL;AACA,aAAa,qMAEN;AACP;AACA;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;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACjEA;AAAA;AAAA;AAAA;AAAk3B,CAAgB,qyBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACqDt4B;AACA,MADA,kBACA;AACA;AACA,sBADA;AAEA,sBAFA;AAGA,0BAHA;;AAKA,GAPA;;AASA,QATA,oBASA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OALA;AAMA;AACA,GAlBA;;AAoBA;AACA,gBADA,wBACA,KADA,EACA;AACA;AACA,KAHA;;AAKA,eALA,yBAKA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SALA;AAMA;AACA,KAdA;;AAgBA,QAhBA,gBAgBA,IAhBA,EAgBA;AACA;AACA;AACA;AACA;;AAEA;AACA,+DADA;AAEA;AACA,oBADA,EAFA;;;AAMA,KA5BA,EApBA,E","file":"pages/student/tabBar/message/message.js","sourcesContent":["import mod from \"-!../../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./message.vue?vue&type=style&index=0&id=1b3e423b&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./message.vue?vue&type=style&index=0&id=1b3e423b&lang=scss&scoped=true&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1700461806324\n var cssReload = require(\"/Applications/HBuilderX.app/Contents/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 ","import 'uni-pages';import '@dcloudio/uni-stat';\nimport Vue from 'vue'\nimport Page from './pages/student/tabBar/message/message.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./message.vue?vue&type=template&id=1b3e423b&scoped=true&\"\nvar renderjs\nimport script from \"./message.vue?vue&type=script&lang=js&\"\nexport * from \"./message.vue?vue&type=script&lang=js&\"\nimport style0 from \"./message.vue?vue&type=style&index=0&id=1b3e423b&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../../../../../Applications/HBuilderX.app/Contents/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 \"1b3e423b\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"pages/student/tabBar/message/message.vue\"\nexport default component.exports","export * from \"-!../../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--16-0!../../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./message.vue?vue&type=template&id=1b3e423b&scoped=true&\"","var components\ntry {\n components = {\n uTabbar: function() {\n return import(\n /* webpackChunkName: \"uview-ui/components/u-tabbar/u-tabbar\" */ \"@/uview-ui/components/u-tabbar/u-tabbar.vue\"\n )\n },\n uPopup: function() {\n return import(\n /* webpackChunkName: \"uview-ui/components/u-popup/u-popup\" */ \"@/uview-ui/components/u-popup/u-popup.vue\"\n )\n },\n yxlyLogin: function() {\n return import(\n /* webpackChunkName: \"components/yxly-login/yxly-login\" */ \"@/components/yxly-login/yxly-login.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 var g0 = _vm.systemNotice.sendTime\n ? _vm.$u.timeFrom(_vm.systemNotice.sendTime)\n : null\n var g1 = _vm.schoolNotice.sendTime\n ? _vm.$u.timeFrom(_vm.schoolNotice.sendTime)\n : null\n\n if (!_vm._isMounted) {\n _vm.e0 = function($event) {\n _vm.yxlyLoginShow = false\n }\n }\n\n _vm.$mp.data = Object.assign(\n {},\n {\n $root: {\n g0: g0,\n g1: g1\n }\n }\n )\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!../../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./message.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./message.vue?vue&type=script&lang=js&\"","<template>\n <view class=\"page\" :style=\"vuex_theme\">\n <view class=\"cell\" @click=\"jump('1')\">\n <!-- <view style=\"display: flex; width: 100%;\"> -->\n <img\n class=\"icon\"\n lazy-load=\"true\"\n :src=\"vuex_baseImgUrl && `${vuex_baseImgUrl}msg2.png`\"\n alt=\"\"\n />\n <view class=\"cell-c\">\n <view class=\"t1\"> 系统公告 </view>\n <view class=\"t2\">\n {{ systemNotice.noticeTitle ? systemNotice.noticeTitle : \"暂无公告\" }}\n </view>\n </view>\n <!-- </view> -->\n <view class=\"time\" v-if=\"systemNotice.sendTime\">\n {{ $u.timeFrom(systemNotice.sendTime) }}\n </view>\n <view v-if=\"systemNotice.ifRead == 'unread'\" class=\"red\"></view>\n </view>\n <view class=\"cell\" style=\"margin-top: 30px\" @click=\"jump('2')\">\n <!-- <view style=\"display: flex; width: 100%;\"> -->\n <img class=\"icon\" src=\"/static/img/message/msg1.png\" alt=\"\" />\n <view class=\"cell-c\">\n <view class=\"t1\"> 学校公告 </view>\n <view class=\"t2\">\n {{ schoolNotice.noticeTitle ? schoolNotice.noticeTitle : \"暂无公告\" }}\n </view>\n </view>\n <!-- </view> -->\n <view class=\"time\" v-if=\"schoolNotice.sendTime\">\n {{ $u.timeFrom(schoolNotice.sendTime) }}\n </view>\n <view v-if=\"schoolNotice.ifRead == 'unread'\" class=\"red\"></view>\n </view>\n <u-tabbar\n :list=\"vuex_role == 'student' ? vuex_tabbar_inter : vuex_tabbar\"\n :mid-button=\"false\"\n :before-switch=\"beforeSwitch\"\n :active-color=\"'var(--primary-color)'\"\n ></u-tabbar>\n <u-popup v-model=\"yxlyLoginShow\" mode=\"bottom\" border-radius=\"18\">\n <yxly-login\n @clickX=\"yxlyLoginShow = false\"\n @callBack=\"sucesslogin\"\n ></yxly-login>\n </u-popup>\n </view>\n</template>\n\n<script>\nexport default {\n data() {\n return {\n systemNotice: {},\n schoolNotice: {},\n yxlyLoginShow: false,\n };\n },\n\n onShow() {\n if (JSON.stringify(this.vuex_user) != \"{}\") {\n this.$u.api.getmsginfoUrl().then((res) => {\n if (res) {\n this.systemNotice = res.systemNotice;\n this.schoolNotice = res.schoolNotice;\n }\n });\n }\n },\n\n methods: {\n beforeSwitch(index) {\n return true;\n },\n\n sucesslogin() {\n if (JSON.stringify(this.vuex_user) != \"{}\") {\n this.$u.api.getmsginfoUrl().then((res) => {\n if (res) {\n this.systemNotice = res.systemNotice;\n this.schoolNotice = res.schoolNotice;\n }\n });\n }\n },\n\n jump(type) {\n if (JSON.stringify(this.vuex_user) == \"{}\") {\n this.yxlyLoginShow = true;\n return;\n }\n\n this.$u.route({\n url: \"/pages/student/message/message-list/message-list\",\n params: {\n type: type,\n },\n });\n },\n },\n};\n</script>\n\n<style lang=\"scss\" scoped>\n.page {\n padding: 16px;\n\n .cell {\n display: flex;\n align-items: center;\n justify-content: space-between;\n height: 50px;\n position: relative;\n\n .icon {\n width: 50px;\n height: 50px;\n }\n\n .cell-c {\n flex: 1;\n margin-left: 20rpx;\n display: flex;\n flex-direction: column;\n\n .t1 {\n font-size: 16px;\n font-family: PingFangSC-Medium, PingFang SC;\n font-weight: 500;\n color: #000000;\n }\n\n .t2 {\n width: 100%;\n overflow: hidden;\n text-overflow: ellipsis;\n display: -webkit-box;\n -webkit-line-clamp: 1;\n -webkit-box-orient: vertical;\n white-space: normal;\n word-break: break-all;\n word-wrap: break-word;\n margin-top: 20rpx;\n font-size: 14px;\n font-family: PingFangSC-Regular, PingFang SC;\n font-weight: 400;\n color: rgba(18, 18, 18, 0.45);\n }\n }\n\n .time {\n font-size: 14px;\n font-family: PingFangSC-Light, PingFang SC;\n font-weight: 300;\n color: rgba(0, 0, 0, 0.45);\n }\n\n .red {\n position: absolute;\n left: 3px;\n top: -1px;\n width: 12px;\n height: 12px;\n border-radius: 6px;\n background-color: red;\n }\n }\n}\n</style>"],"sourceRoot":""}