| 1 |
- {"remainingRequest":"/usr/local/develop/php/www/waibao/NN2024071001/NN2024071001/addons/admin/node_modules/vue-loader/lib/index.js??vue-loader-options!/usr/local/develop/php/www/waibao/NN2024071001/NN2024071001/addons/admin/src/components/EleDot/index.vue?vue&type=script&lang=js&","dependencies":[{"path":"/usr/local/develop/php/www/waibao/NN2024071001/NN2024071001/addons/admin/src/components/EleDot/index.vue","mtime":1616225276000},{"path":"/usr/local/develop/php/www/waibao/NN2024071001/NN2024071001/addons/admin/node_modules/cache-loader/dist/cjs.js","mtime":499162500000},{"path":"/usr/local/develop/php/www/waibao/NN2024071001/NN2024071001/addons/admin/node_modules/babel-loader/lib/index.js","mtime":499162500000},{"path":"/usr/local/develop/php/www/waibao/NN2024071001/NN2024071001/addons/admin/node_modules/cache-loader/dist/cjs.js","mtime":499162500000},{"path":"/usr/local/develop/php/www/waibao/NN2024071001/NN2024071001/addons/admin/node_modules/vue-loader/lib/index.js","mtime":499162500000}],"contextDependencies":[],"result":[{"type":"Buffer","data":"base64:Ly8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KDQpleHBvcnQgZGVmYXVsdCB7DQogIG5hbWU6ICJFbGVEb3QiLA0KICBwcm9wczogew0KICAgIHR5cGU6IHsNCiAgICAgIHR5cGU6IFN0cmluZywNCiAgICAgIGRlZmF1bHQ6ICcnDQogICAgfSwNCiAgICByaXBwbGU6IHsNCiAgICAgIHR5cGU6IEJvb2xlYW4sDQogICAgICBkZWZhdWx0OiB0cnVlDQogICAgfSwNCiAgICB0ZXh0OiB7DQogICAgICB0eXBlOiBTdHJpbmcsDQogICAgICBkZWZhdWx0OiAnJw0KICAgIH0sDQogICAgc2l6ZTogew0KICAgICAgdHlwZTogU3RyaW5nLA0KICAgICAgZGVmYXVsdDogJzZweCcNCiAgICB9DQogIH0sDQogIGNvbXB1dGVkOiB7DQogICAgZG90Q29sb3IoKSB7DQogICAgICByZXR1cm4gWw0KICAgICAgICAnZWxlLWJnLXByaW1hcnknLA0KICAgICAgICB7J2VsZS1iZy1zdWNjZXNzJzogdGhpcy50eXBlID09PSAnc3VjY2Vzcyd9LA0KICAgICAgICB7J2VsZS1iZy13YXJuaW5nJzogdGhpcy50eXBlID09PSAnd2FybmluZyd9LA0KICAgICAgICB7J2VsZS1iZy1kYW5nZXInOiB0aGlzLnR5cGUgPT09ICdkYW5nZXInfSwNCiAgICAgICAgeydlbGUtYmctaW5mbyc6IHRoaXMudHlwZSA9PT0gJ2luZm8nfQ0KICAgICAgXQ0KICAgIH0sDQogICAgZG90Q2xhc3MoKSB7DQogICAgICByZXR1cm4gWw0KICAgICAgICAnZWxlLWRvdCcsDQogICAgICAgIHsnZWxlLWRvdC1yaXBwbGUnOiB0aGlzLnJpcHBsZX0NCiAgICAgIF0uY29uY2F0KHRoaXMuZG90Q29sb3IpOw0KICAgIH0sDQogICAgZG90U3R5bGUoKSB7DQogICAgICByZXR1cm4ge3dpZHRoOiB0aGlzLnNpemUsIGhlaWdodDogdGhpcy5zaXplfTsNCiAgICB9DQogIH0NCn0NCg=="},{"version":3,"sources":["index.vue"],"names":[],"mappings":";;;;;;;;;AASA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","file":"index.vue","sourceRoot":"src/components/EleDot","sourcesContent":["<!-- 状态文字组件 -->\r\n<template>\r\n <span class=\"ele-status-dot\">\r\n <span :class=\"dotClass\" :style=\"dotStyle\"><span :class=\"dotColor\"></span></span>\r\n <span v-if=\"text\" class=\"ele-dot-text\">{{ text }}</span>\r\n </span>\r\n</template>\r\n\r\n<script>\r\nexport default {\r\n name: \"EleDot\",\r\n props: {\r\n type: {\r\n type: String,\r\n default: ''\r\n },\r\n ripple: {\r\n type: Boolean,\r\n default: true\r\n },\r\n text: {\r\n type: String,\r\n default: ''\r\n },\r\n size: {\r\n type: String,\r\n default: '6px'\r\n }\r\n },\r\n computed: {\r\n dotColor() {\r\n return [\r\n 'ele-bg-primary',\r\n {'ele-bg-success': this.type === 'success'},\r\n {'ele-bg-warning': this.type === 'warning'},\r\n {'ele-bg-danger': this.type === 'danger'},\r\n {'ele-bg-info': this.type === 'info'}\r\n ]\r\n },\r\n dotClass() {\r\n return [\r\n 'ele-dot',\r\n {'ele-dot-ripple': this.ripple}\r\n ].concat(this.dotColor);\r\n },\r\n dotStyle() {\r\n return {width: this.size, height: this.size};\r\n }\r\n }\r\n}\r\n</script>\r\n\r\n<style>\r\n.ele-status-dot {\r\n line-height: 1;\r\n display: inline-block;\r\n box-sizing: border-box;\r\n}\r\n\r\n.ele-status-dot .ele-dot-text {\r\n margin-left: 8px;\r\n display: inline-block;\r\n vertical-align: middle;\r\n}\r\n\r\n.ele-dot {\r\n border-radius: 50%;\r\n display: inline-block;\r\n vertical-align: middle;\r\n position: relative;\r\n}\r\n\r\n.ele-dot > span {\r\n display: none;\r\n}\r\n\r\n.ele-dot.ele-dot-ripple > span {\r\n position: absolute;\r\n top: 0;\r\n left: 0;\r\n width: 100%;\r\n height: 100%;\r\n display: block;\r\n border-radius: 50%;\r\n box-sizing: border-box;\r\n animation: eleAnimStatusDot 1.2s ease-in-out infinite;\r\n}\r\n\r\n@keyframes eleAnimStatusDot {\r\n from {\r\n transform: scale(.8);\r\n opacity: .6;\r\n }\r\n to {\r\n transform: scale(2.4);\r\n opacity: 0;\r\n }\r\n}\r\n</style>"]}]}
|