uni-badge.js.map 11 KB

1
  1. {"version":3,"sources":["webpack:///C:/Users/Administrator/Desktop/xmt_new/components/uni-badge/uni-badge.vue?7a2e","webpack:///C:/Users/Administrator/Desktop/xmt_new/components/uni-badge/uni-badge.vue?7636","webpack:///C:/Users/Administrator/Desktop/xmt_new/components/uni-badge/uni-badge.vue?c879","webpack:///C:/Users/Administrator/Desktop/xmt_new/components/uni-badge/uni-badge.vue?d16f","uni-app:///components/uni-badge/uni-badge.vue","webpack:///C:/Users/Administrator/Desktop/xmt_new/components/uni-badge/uni-badge.vue?907a","webpack:///C:/Users/Administrator/Desktop/xmt_new/components/uni-badge/uni-badge.vue?ee1d"],"names":[],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAkI;AAClI;AAC6D;AACL;AACsC;;;AAG9F;AACqK;AACrK,gBAAgB,+KAAU;AAC1B,EAAE,+EAAM;AACR,EAAE,gGAAM;AACR,EAAE,yGAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,oGAAU;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;AAAmmB,CAAgB,6nBAAG,EAAC,C;;;;;;;;;;;;;;;;;;ACMvnB;AACA,kBADA;AAEA;AACA;AACA,kBADA;AAEA,wBAFA,EADA;;AAKA;AACA,mBADA;AAEA,oBAFA,EALA;;AASA;AACA,4BADA;AAEA,iBAFA,EATA;;AAaA;AACA;AACA,kBAFA;AAGA,uBAHA,EAbA,EAFA;;;AAqBA,MArBA,kBAqBA;AACA;AACA,8FADA;;AAGA,GAzBA;AA0BA;AACA,WADA,qBACA;AACA;AACA,KAHA,EA1BA,E;;;;;;;;;;;;ACNA;AAAA;AAAA;AAAA;AAAsqC,CAAgB,4oCAAG,EAAC,C;;;;;;;;;;;ACA1rC;AACA,OAAO,KAAU,EAAE,kBAKd","file":"components/uni-badge/uni-badge.js","sourcesContent":["import { render, staticRenderFns, recyclableRender, components } from \"./uni-badge.vue?vue&type=template&id=26a60cd2&scoped=true&\"\nvar renderjs\nimport script from \"./uni-badge.vue?vue&type=script&lang=js&\"\nexport * from \"./uni-badge.vue?vue&type=script&lang=js&\"\nimport style0 from \"./uni-badge.vue?vue&type=style&index=0&id=26a60cd2&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!D:\\\\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 \"26a60cd2\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"components/uni-badge/uni-badge.vue\"\nexport default component.exports","export * from \"-!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\templateLoader.js??vue-loader-options!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--16-0!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\template.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-uni-app-loader\\\\page-meta.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./uni-badge.vue?vue&type=template&id=26a60cd2&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 \"-!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./uni-badge.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./uni-badge.vue?vue&type=script&lang=js&\"","<template>\r\n\t<text v-if=\"text\" :class=\"inverted ? 'uni-badge--' + type + ' uni-badge--' + size + ' uni-badge--' + type + '-inverted' : 'uni-badge--' + type + ' uni-badge--' + size\"\r\n\t class=\"uni-badge\" :style=\"width\" @click=\"onClick()\">{{ text }}</text>\r\n</template>\r\n\r\n<script>\r\n\texport default {\r\n\t\tname: 'UniBadge',\r\n\t\tprops: {\r\n\t\t\ttype: {\r\n\t\t\t\ttype: String,\r\n\t\t\t\tdefault: 'default'\r\n\t\t\t},\r\n\t\t\tinverted: {\r\n\t\t\t\ttype: Boolean,\r\n\t\t\t\tdefault: false\r\n\t\t\t},\r\n\t\t\ttext: {\r\n\t\t\t\ttype: [String,Number],\r\n\t\t\t\tdefault: ''\r\n\t\t\t},\r\n\t\t\tsize: {\r\n\t\t\t\t// small.normal\r\n\t\t\t\ttype: String,\r\n\t\t\t\tdefault: 'normal'\r\n\t\t\t}\r\n\t\t},\r\n\t\tdata() {\r\n\t\t\treturn {\r\n\t\t\t\twidth: `display: inline-block;width: ${String(this.text).length * 15 + 25}rpx`\r\n\t\t\t};\r\n\t\t},\r\n\t\tmethods: {\r\n\t\t\tonClick() {\r\n\t\t\t\tthis.$emit('click');\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$bage-size: 12px;\r\n\t$bage-small: scale(0.8);\r\n\t$bage-height: 40rpx;\r\n\r\n\t.uni-badge {\r\n\t\t/* #ifndef APP-PLUS */\r\n\t\tdisplay: flex;\r\n\t\t/* #endif */\r\n\t\tflex-direction: row;\r\n\t\theight: $bage-height;\r\n\t\tline-height: $bage-height;\r\n\t\tcolor: $uni-text-color;\r\n\t\tborder-radius: 100px;\r\n\t\tbackground-color: $uni-bg-color-hover;\r\n\t\tbackground-color: transparent;\r\n\t\ttext-align: center;\r\n\t\tfont-family: 'Helvetica Neue', Helvetica, sans-serif;\r\n\t\tfont-size: $bage-size;\r\n\t\tpadding: 0;\r\n\t}\r\n\r\n\t.uni-badge--inverted {\r\n\t\tpadding: 0 5px 0 0;\r\n\t\tcolor: $uni-bg-color-hover;\r\n\t}\r\n\r\n\t.uni-badge--default {\r\n\t\tcolor: $uni-text-color;\r\n\t\tbackground-color: $uni-bg-color-hover;\r\n\t}\r\n\r\n\t.uni-badge--default-inverted {\r\n\t\tcolor: $uni-text-color-grey;\r\n\t\tbackground-color: transparent;\r\n\t}\r\n\r\n\t.uni-badge--primary {\r\n\t\tcolor: $uni-text-color-inverse;\r\n\t\tbackground-color: $uni-color-primary;\r\n\t}\r\n\r\n\t.uni-badge--primary-inverted {\r\n\t\tcolor: $uni-color-primary;\r\n\t\tbackground-color: transparent;\r\n\t}\r\n\r\n\t.uni-badge--success {\r\n\t\tcolor: $uni-text-color-inverse;\r\n\t\tbackground-color: $uni-color-success;\r\n\t}\r\n\r\n\t.uni-badge--success-inverted {\r\n\t\tcolor: $uni-color-success;\r\n\t\tbackground-color: transparent;\r\n\t}\r\n\r\n\t.uni-badge--warning {\r\n\t\tcolor: $uni-text-color-inverse;\r\n\t\tbackground-color: $uni-color-warning;\r\n\t}\r\n\r\n\t.uni-badge--warning-inverted {\r\n\t\tcolor: $uni-color-warning;\r\n\t\tbackground-color: transparent;\r\n\t}\r\n\r\n\t.uni-badge--error {\r\n\t\tcolor: $uni-text-color-inverse;\r\n\t\tbackground-color: $uni-color-error;\r\n\t}\r\n\r\n\t.uni-badge--error-inverted {\r\n\t\tcolor: $uni-color-error;\r\n\t\tbackground-color: transparent;\r\n\t}\r\n\r\n\t.uni-badge--small {\r\n\t\ttransform: $bage-small;\r\n\t\ttransform-origin: center center;\r\n\t}\r\n</style>\r\n","import mod from \"-!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-1!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-2!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\sass-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-4!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./uni-badge.vue?vue&type=style&index=0&id=26a60cd2&lang=scss&scoped=true&\"; export default mod; export * from \"-!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-1!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-2!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\sass-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-4!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./uni-badge.vue?vue&type=style&index=0&id=26a60cd2&lang=scss&scoped=true&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1660177693159\n var cssReload = require(\"D:/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":""}