tn-line-progress.js.map 14 KB

1
  1. {"version":3,"sources":["webpack:///D:/Code2024/图鸟模板-社区/tuniao-ui/components/tn-line-progress/tn-line-progress.vue?a730","webpack:///D:/Code2024/图鸟模板-社区/tuniao-ui/components/tn-line-progress/tn-line-progress.vue?bccd","webpack:///D:/Code2024/图鸟模板-社区/tuniao-ui/components/tn-line-progress/tn-line-progress.vue?47ab","webpack:///D:/Code2024/图鸟模板-社区/tuniao-ui/components/tn-line-progress/tn-line-progress.vue?2519","uni-app:///tuniao-ui/components/tn-line-progress/tn-line-progress.vue","webpack:///D:/Code2024/图鸟模板-社区/tuniao-ui/components/tn-line-progress/tn-line-progress.vue?2b62","webpack:///D:/Code2024/图鸟模板-社区/tuniao-ui/components/tn-line-progress/tn-line-progress.vue?bb90"],"names":["name","props","percent","type","default","validator","height","round","striped","stripedAnimation","activeColor","inactiveColor","showPercent","computed","progressStyle","style","progressActiveStyle","data"],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAyI;AACzI;AACoE;AACL;AACsC;;;AAGrG;AAC8M;AAC9M,gBAAgB,qNAAU;AAC1B,EAAE,sFAAM;AACR,EAAE,uGAAM;AACR,EAAE,gHAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,2GAAU;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;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACrBA;AAAA;AAAA;AAAA;AAAo0B,CAAgB,k0BAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;eCoBx1B;EACAA;EACAC;IACA;IACAC;MACAC;MACAC;MACAC;QACA;MACA;IACA;IACA;IACAC;MACAH;MACAC;IACA;IACA;IACAG;MACAJ;MACAC;IACA;IACA;IACAI;MACAL;MACAC;IACA;IACA;IACAK;MACAN;MACAC;IACA;IACA;IACAM;MACAP;MACAC;IACA;IACA;IACAO;MACAR;MACAC;IACA;IACA;IACAQ;MACAT;MACAC;IACA;EACA;EACAS;IACAC;MACA;MACAC;MACA;QACAA;MACA;MACA;QACAA;MACA;MACA;IACA;IACAC;MACA;MACAD;MACA;QACAA;MACA;MACA;IACA;EACA;EACAE;IACA,QAEA;EACA;AAEA;AAAA,2B;;;;;;;;;;;;AC9FA;AAAA;AAAA;AAAA;AAAmjD,CAAgB,y+CAAG,EAAC,C;;;;;;;;;;;ACAvkD;AACA,OAAO,KAAU,EAAE,kBAKd","file":"tuniao-ui/components/tn-line-progress/tn-line-progress.js","sourcesContent":["import { render, staticRenderFns, recyclableRender, components } from \"./tn-line-progress.vue?vue&type=template&id=77f7b248&scoped=true&\"\nvar renderjs\nimport script from \"./tn-line-progress.vue?vue&type=script&lang=js&\"\nexport * from \"./tn-line-progress.vue?vue&type=script&lang=js&\"\nimport style0 from \"./tn-line-progress.vue?vue&type=style&index=0&id=77f7b248&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../self software/HBuilderX.3.99.2023122611/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 \"77f7b248\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"tuniao-ui/components/tn-line-progress/tn-line-progress.vue\"\nexport default component.exports","export * from \"-!../../../../../self software/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../self software/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--17-0!../../../../../self software/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../self software/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../self software/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../self software/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./tn-line-progress.vue?vue&type=template&id=77f7b248&scoped=true&\"","var components\nvar render = function () {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n var s0 = _vm.__get_style([_vm.progressStyle])\n var s1 = _vm.__get_style([_vm.progressActiveStyle])\n var g0 = _vm.$t.color.getBackgroundColorInternalClass(_vm.activeColor)\n _vm.$mp.data = Object.assign(\n {},\n {\n $root: {\n s0: s0,\n s1: s1,\n g0: g0,\n },\n }\n )\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!../../../../../self software/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../self software/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--13-1!../../../../../self software/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../self software/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../self software/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./tn-line-progress.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../self software/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../self software/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--13-1!../../../../../self software/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../self software/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../self software/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./tn-line-progress.vue?vue&type=script&lang=js&\"","<template>\r\n <view\r\n class=\"tn-line-progress-class tn-line-progress\"\r\n :style=\"[progressStyle]\"\r\n >\r\n <view\r\n class=\"tn-line-progress--active\"\r\n :class=\"[\r\n $t.color.getBackgroundColorInternalClass(activeColor),\r\n striped ? stripedAnimation ? 'tn-line-progress__striped tn-line-progress__striped--active' : 'tn-line-progress__striped' : '',\r\n ]\"\r\n :style=\"[progressActiveStyle]\"\r\n >\r\n <slot v-if=\"$slots.default || $slots.$default\"></slot>\r\n <block v-else-if=\"showPercent\">{{ percent + '%' }}</block>\r\n </view>\r\n </view>\r\n</template>\r\n\r\n<script>\r\n export default {\r\n name: 'tn-line-progress',\r\n props: {\r\n // 进度(百分比)\r\n percent: {\r\n type: Number,\r\n default: 0,\r\n validator: val => {\r\n return val >= 0 && val <= 100\r\n }\r\n },\r\n // 高度\r\n height: {\r\n type: Number,\r\n default: 0\r\n },\r\n // 是否显示为圆角\r\n round: {\r\n type: Boolean,\r\n default: true\r\n },\r\n // 是否显示条纹\r\n striped: {\r\n type: Boolean,\r\n default: false\r\n },\r\n // 条纹是否运动\r\n stripedAnimation: {\r\n type: Boolean,\r\n default: true\r\n },\r\n // 激活部分颜色\r\n activeColor: {\r\n type: String,\r\n default: ''\r\n },\r\n // 非激活部分颜色\r\n inactiveColor: {\r\n type: String,\r\n default: ''\r\n },\r\n // 是否显示进度条内部百分比值\r\n showPercent: {\r\n type: Boolean,\r\n default: false\r\n }\r\n },\r\n computed: {\r\n progressStyle() {\r\n let style = {}\r\n style.borderRadius = this.round ? '100rpx' : 0\r\n if (this.height) {\r\n style.height = this.$t.string.getLengthUnitValue(this.height)\r\n }\r\n if (this.inactiveColor) {\r\n style.backgroundColor = this.inactiveColor\r\n }\r\n return style\r\n },\r\n progressActiveStyle() {\r\n let style = {}\r\n style.width = this.percent + '%'\r\n if (this.$t.color.getBackgroundColorStyle(this.activeColor)) {\r\n style.backgroundColor = this.$t.color.getBackgroundColorStyle(this.activeColor)\r\n }\r\n return style\r\n }\r\n },\r\n data() {\r\n return {\r\n \r\n }\r\n },\r\n \r\n }\r\n</script>\r\n\r\n<style lang=\"scss\" scoped>\r\n \r\n .tn-line-progress {\r\n /* #ifndef APP-NVUE */\r\n display: inline-flex;\r\n /* #endif */\r\n align-items: center;\r\n width: 100%;\r\n height: 28rpx;\r\n overflow: hidden;\r\n border-radius: 100rpx;\r\n background-color: $tn-progress-bg-color;\r\n \r\n &--active {\r\n display: flex;\r\n flex-direction: row;\r\n align-items: center;\r\n justify-items: flex-end;\r\n justify-content: space-around;\r\n width: 0;\r\n height: 100%;\r\n font-size: 20rpx;\r\n color: #FFFFFF;\r\n background-color: $tn-main-color;\r\n transition: all 0.3s ease;\r\n }\r\n \r\n &__striped {\r\n background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);\r\n background-size: 80rpx 80rpx;\r\n \r\n &--active {\r\n animation: progress-striped 2s linear infinite;\r\n }\r\n }\r\n }\r\n \r\n @keyframes progress-striped {\r\n 0% {\r\n background-position: 0 0;\r\n }\r\n 100% {\r\n background-position: 80rpx 0;\r\n }\r\n }\r\n</style>\r\n","import mod from \"-!../../../../../self software/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../self software/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../self software/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../self software/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../self software/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../self software/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../self software/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../self software/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../self software/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./tn-line-progress.vue?vue&type=style&index=0&id=77f7b248&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../../../../self software/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../self software/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../self software/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../self software/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../self software/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../self software/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../self software/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../self software/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../self software/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./tn-line-progress.vue?vue&type=style&index=0&id=77f7b248&lang=scss&scoped=true&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1732334456437\n var cssReload = require(\"D:/self software/HBuilderX.3.99.2023122611/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":""}