1 line
11 KiB
Plaintext
1 line
11 KiB
Plaintext
{"version":3,"sources":["webpack:///D:/office/phy/HSLink/HSLink-app/components/noData/noData.vue?2cc8","webpack:///D:/office/phy/HSLink/HSLink-app/components/noData/noData.vue?b2ef","webpack:///D:/office/phy/HSLink/HSLink-app/components/noData/noData.vue?cbcf","webpack:///D:/office/phy/HSLink/HSLink-app/components/noData/noData.vue?6f45","uni-app:///components/noData/noData.vue","webpack:///D:/office/phy/HSLink/HSLink-app/components/noData/noData.vue?264b","webpack:///D:/office/phy/HSLink/HSLink-app/components/noData/noData.vue?243a"],"names":[],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAA+H;AAC/H;AAC0D;AACL;AACsC;;;AAG3F;AAC2K;AAC3K,gBAAgB,kLAAU;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;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACRA;AAAA;AAAA;AAAA;AAA2oB,CAAgB,yoBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACiB/pB;AACA,gG;AACA;AACA;AACA;AACA,mBADA;AAEA,oBAFA,EADA;;AAKA;AACA;AACA,kBADA;AAEA,wBAFA,EANA;;AAUA;AACA;AACA,kBADA;AAEA,wBAFA,EAXA;;AAeA;AACA;AACA,kBADA;AAEA,wBAFA,EAhBA;;AAoBA;AACA;AACA,iBADA;AAEA,oBAFA,EArBA,EADA;;;AA2BA;AACA,0CADA,CA3BA;;AA8BA,MA9BA,kBA8BA;AACA;AACA,cADA;AAEA,+BAFA;AAGA,yBAHA;AAIA,+BAJA;AAKA,gDALA;AAMA,8CANA;;AAQA,GAvCA;AAwCA;AACA,WADA,mBACA,MADA,EACA;AACA;AACA;AACA;AACA;AACA,OAHA,MAGA;AACA;AACA;AACA,KATA,EAxCA,E;;;;;;;;;;;;ACnBA;AAAA;AAAA;AAAA;AAA8sC,CAAgB,qoCAAG,EAAC,C;;;;;;;;;;;ACAluC;AACA,OAAO,KAAU,EAAE,kBAKd","file":"components/noData/noData.js","sourcesContent":["import { render, staticRenderFns, recyclableRender, components } from \"./noData.vue?vue&type=template&id=1424cde4&scoped=true&\"\nvar renderjs\nimport script from \"./noData.vue?vue&type=script&lang=js&\"\nexport * from \"./noData.vue?vue&type=script&lang=js&\"\nimport style0 from \"./noData.vue?vue&type=style&index=0&id=1424cde4&lang=less&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../work/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 \"1424cde4\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"components/noData/noData.vue\"\nexport default component.exports","export * from \"-!../../../../../work/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../work/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--16-0!../../../../../work/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../work/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../work/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../work/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./noData.vue?vue&type=template&id=1424cde4&scoped=true&\"","var components\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 \"-!../../../../../work/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../work/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../work/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../work/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../work/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./noData.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../work/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../work/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../work/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../work/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../work/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./noData.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view class=\"noData hideToShow\" :style=\"{ backgroundColor: bgColor }\">\r\n\t\t<view class=\"image\"><image src=\"@/static/img/noData.png\"></image></view>\r\n\t\t<!-- 网络连接失败默认显示内容 -->\r\n\t\t<view class=\"content\" v-if=\"netType == 'none' && custom == false\">\r\n\t\t\t<text class=\"title\" :style=\"{ color: mainColor }\">{{ mainText }}</text>\r\n\t\t\t<text class=\"desc\" :style=\"{ color: viceColor }\">{{ viceText }}</text>\r\n\t\t\t<!-- #ifdef MP -->\r\n\t\t\t<button class=\"btn\" type=\"default\" @tap=\"setting(true)\">刷新试试</button>\r\n\t\t\t<!-- #endif -->\r\n\t\t</view>\r\n\t\t<!-- 自定义内容 -->\r\n\t\t<slot />\r\n\t</view>\r\n</template>\r\n\r\n<script>\r\nimport { mapGetters } from 'vuex';\r\nimport settings from '@/static/js/settings.js';\r\nexport default {\r\n\tprops: {\r\n\t\tisShow: {\r\n\t\t\ttype: Boolean,\r\n\t\t\tdefault: false\r\n\t\t},\r\n\t\t/* 背景颜色自定义 */\r\n\t\tbgColor: {\r\n\t\t\ttype: String,\r\n\t\t\tdefault: '#ffffff'\r\n\t\t},\r\n\t\t/* 标题颜色自定义 */\r\n\t\tmainColor: {\r\n\t\t\ttype: String,\r\n\t\t\tdefault: '#373a40'\r\n\t\t},\r\n\t\t/* 描述颜色自定义 */\r\n\t\tviceColor: {\r\n\t\t\ttype: String,\r\n\t\t\tdefault: '#8b8b8b'\r\n\t\t},\r\n\t\t// 是否开启自定义\r\n\t\tcustom: {\r\n\t\t\ttype: false,\r\n\t\t\tdefault: false\r\n\t\t}\r\n\t},\r\n\tcomputed: {\r\n\t\t...mapGetters(['netWorkStatus'])\r\n\t},\r\n\tdata() {\r\n\t\treturn {\r\n\t\t\ttype: '',\r\n\t\t\tnetType: this.networkType,\r\n\t\t\tmainText: '网络居然崩溃了',\r\n\t\t\tviceText: '别紧张,去检测一下网络设置',\r\n\t\t\tnetWorkImg: '/static/images/noNetWork.png',\r\n\t\t\tnoDataImg: '/static/images/notFound.png'\r\n\t\t};\r\n\t},\r\n\tmethods: {\r\n\t\tsetting(status) {\r\n\t\t\t/* 检查到网络已打开,请点击按钮手动刷新数据 */\r\n\t\t\tif (status) {\r\n\t\t\t\tthis.$emit('handle', status);\r\n\t\t\t\t/* 如果没有网络,打开系统设置检查网络连接 */\r\n\t\t\t} else {\r\n\t\t\t\tsettings.open(settings.SETTINGS);\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n};\r\n</script>\r\n\r\n<style lang=\"less\" scoped>\r\n.noData {\r\n\tpadding: 100rpx;\r\n\twidth: 100%;\r\n\theight: 100%;\r\n\tdisplay: flex;\r\n\talign-items: center;\r\n\tjustify-content: center;\r\n\tflex-direction: column;\r\n\t.image {\r\n\t\twidth: 187upx;\r\n\t\theight: 120upx;\r\n\t\timage {\r\n\t\t\twidth: 100%;\r\n\t\t\theight: 100%;\r\n\t\t}\r\n\t}\r\n\t.title{\r\n\t\tcolor: #bfbfbf!important;\r\n\t}\r\n\t.content {\r\n\t\tcolor: #bfbfbf!important;\r\n\t\twidth: 100%;\r\n\t\tdisplay: flex;\r\n\t\talign-items: center;\r\n\t\tflex-direction: column;\r\n\t\tjustify-content: center;\r\n\t\tletter-spacing: 1upx;\r\n\t\t.title {\r\n\t\t\tfont-size: 36upx;\r\n\t\t}\r\n\t\t.desc {\r\n\t\t\tfont-size: 28upx;\r\n\t\t\tmargin-top: 6upx;\r\n\t\t}\r\n\t\t.btn {\r\n\t\t\twidth: 160upx;\r\n\t\t\theight: 65upx;\r\n\t\t\tcolor: #868d91;\r\n\t\t\tfont-size: 24upx;\r\n\t\t\tmargin-top: 34upx;\r\n\t\t\tborder-radius: 36upx;\r\n\t\t\tborder: 1upx solid #d4d4d4;\r\n\t\t}\r\n\t\t.btn::after {\r\n\t\t\tborder: none;\r\n\t\t}\r\n\t}\r\n}\r\n</style>\n","import mod from \"-!../../../../../work/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../../../../../work/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!../../../../../work/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../work/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--10-oneOf-1-2!../../../../../work/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-3!../../../../../work/HBuilderX/plugins/uniapp-cli/node_modules/less-loader/dist/cjs.js??ref--10-oneOf-1-4!../../../../../work/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--10-oneOf-1-5!../../../../../work/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../work/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./noData.vue?vue&type=style&index=0&id=1424cde4&lang=less&scoped=true&\"; export default mod; export * from \"-!../../../../../work/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../../../../../work/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!../../../../../work/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../work/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--10-oneOf-1-2!../../../../../work/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-3!../../../../../work/HBuilderX/plugins/uniapp-cli/node_modules/less-loader/dist/cjs.js??ref--10-oneOf-1-4!../../../../../work/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--10-oneOf-1-5!../../../../../work/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../work/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./noData.vue?vue&type=style&index=0&id=1424cde4&lang=less&scoped=true&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1602301330859\n var cssReload = require(\"D:/office/work/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":""} |