building-sign/unpackage/dist/dev/.sourcemap/mp-weixin/pagesA/singlePage/singlePage.js.map

1 line
7.6 KiB
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

{"version":3,"sources":["uni-app:///main.js","webpack:///C:/wwwroot/building-sign/pagesA/singlePage/singlePage.vue?34da","webpack:///C:/wwwroot/building-sign/pagesA/singlePage/singlePage.vue?6bbc","webpack:///C:/wwwroot/building-sign/pagesA/singlePage/singlePage.vue?fed0","webpack:///C:/wwwroot/building-sign/pagesA/singlePage/singlePage.vue?4967","uni-app:///pagesA/singlePage/singlePage.vue"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","createPage","Page","components","tabbar","data","statusHeight","userType","pageTitle","content","onLoad","methods","getSinglePageEv","console"],"mappings":";;;;;;;;;;;;;AAAA;AAGA;AACA;AAHA;AACAA,EAAE,CAACC,iCAAiC,GAAGC,mBAAmB;AAG1DC,UAAU,CAACC,mBAAI,CAAC,C;;;;;;;;;;;;;ACLhB;AAAA;AAAA;AAAA;AAAA;AAAmI;AACnI;AAC8D;AACL;;;AAGzD;AAC4K;AAC5K,gBAAgB,sLAAU;AAC1B,EAAE,gFAAM;AACR,EAAE,iGAAM;AACR,EAAE,0GAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,qGAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACtBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA,aAAa,oMAEN;AACP,KAAK;AACL;AACA,aAAa,kOAEN;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;;;;;;;;;;;;;;ACtCA;AAAA;AAAA;AAAA;AAAopB,CAAgB,iqBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;eCexqB;EACAC;IACAC;EACA;EACAC;IACA;MACAC;MAAA;MACAC;MAAA;MACAC;MAAA;MACAC;IACA;EACA;EACAC;IACA;MACA;MACA;MACA;IACA;IACA;MACA;MACA;MACA;IACA;IACA;MACA;MACA;MACA;IACA;EACA;EACAC;IACA;IACAC;MAAA;MACA;QACA;UACAC;UACA;QACA;MACA;IACA;EACA;AACA;AAAA,2B","file":"pagesA/singlePage/singlePage.js","sourcesContent":["import 'uni-pages';\n// @ts-ignore\nwx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;\nimport Vue from 'vue'\nimport Page from './pagesA/singlePage/singlePage.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./singlePage.vue?vue&type=template&id=44f8418b&scoped=true&\"\nvar renderjs\nimport script from \"./singlePage.vue?vue&type=script&lang=js&\"\nexport * from \"./singlePage.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../WEB/Idea/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 \"44f8418b\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"pagesA/singlePage/singlePage.vue\"\nexport default component.exports","export * from \"-!../../../../WEB/Idea/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../WEB/Idea/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--16-0!../../../../WEB/Idea/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../WEB/Idea/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../WEB/Idea/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../WEB/Idea/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./singlePage.vue?vue&type=template&id=44f8418b&scoped=true&\"","var components\ntry {\n components = {\n statusNav: function () {\n return import(\n /* webpackChunkName: \"components/status-nav/status-nav\" */ \"@/components/status-nav/status-nav.vue\"\n )\n },\n tabbar: function () {\n return import(\n /* webpackChunkName: \"components/tabbar/tabbar\" */ \"@/components/tabbar/tabbar.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 \"-!../../../../WEB/Idea/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../WEB/Idea/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../WEB/Idea/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../WEB/Idea/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../WEB/Idea/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./singlePage.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../WEB/Idea/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../WEB/Idea/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../WEB/Idea/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../WEB/Idea/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../WEB/Idea/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./singlePage.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view class=\"pad-x120\">\r\n\t\t<!-- 头部 -->\r\n\t\t<status-nav :navBarTitle=\"pageTitle\"></status-nav>\r\n\t\t<view class=\"content\" :style=\"{'padding-top':statusHeight+50+'px'}\">\r\n\t\t\t<view class=\"single-page font26\">\r\n\t\t\t\t<rich-text :nodes=\"content\"></rich-text>\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t\t<!-- 尾部 -->\r\n\t\t<tabbar :userType=\"userType\" current=\"2\"></tabbar>\r\n\t</view>\r\n</template>\r\n<script>\r\n\timport tabbar from '@/components/tabbar/tabbar';\r\n\texport default {\r\n\t\tcomponents:{\r\n\t\t\ttabbar\r\n\t\t},\r\n\t\tdata() {\r\n\t\t\treturn {\r\n\t\t\t\tstatusHeight:uni.getSystemInfoSync().statusBarHeight, //状态栏高度\r\n\t\t\t\tuserType:'worker', //账户类型 工人worker 负责人director\r\n\t\t\t\tpageTitle:'', //页面标题\r\n\t\t\t\tcontent:'', //内容\r\n\t\t\t}\r\n\t\t},\r\n\t\tonLoad(op) {\r\n\t\t\tif(op.type == 'manual'){\r\n\t\t\t\tthis.pageTitle = '员工手册';\r\n\t\t\t\t// 获取内容\r\n\t\t\t\tthis.getSinglePageEv('/api/v1/index/handbook')\r\n\t\t\t}\r\n\t\t\tif(op.type == 'security'){\r\n\t\t\t\tthis.pageTitle = '安全告知';\r\n\t\t\t\t// 获取内容\r\n\t\t\t\tthis.getSinglePageEv('/api/v1/index/safe-notice')\r\n\t\t\t}\r\n\t\t\tif(op.type == 'notice'){\r\n\t\t\t\tthis.pageTitle = '公告';\r\n\t\t\t\t// 获取内容\r\n\t\t\t\tthis.getSinglePageEv('/api/v1/index/notice')\r\n\t\t\t}\r\n\t\t},\r\n\t\tmethods: {\r\n\t\t\t// 获取内容\r\n\t\t\tgetSinglePageEv(url){\r\n\t\t\t\tthis.$requst.get(url).then(res=>{\r\n\t\t\t\t\tif(res.code==0){\r\n\t\t\t\t\t\tconsole.log(res,'单页内容');\r\n\t\t\t\t\t\tthis.content = res.data.content;\r\n\t\t\t\t\t}\r\n\t\t\t\t})\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n</script>\r\n<style scoped>\r\n\t\r\n</style>"],"sourceRoot":""}