u-line-progress.js.map 13.8 KB
{"version":3,"sources":["webpack:////Users/juvenile/Documents/web/xiaoai/excellent-working/uview-ui/components/u-line-progress/u-line-progress.vue?e650","webpack:////Users/juvenile/Documents/web/xiaoai/excellent-working/uview-ui/components/u-line-progress/u-line-progress.vue?eb19","webpack:////Users/juvenile/Documents/web/xiaoai/excellent-working/uview-ui/components/u-line-progress/u-line-progress.vue?ef94","webpack:////Users/juvenile/Documents/web/xiaoai/excellent-working/uview-ui/components/u-line-progress/u-line-progress.vue?0759","uni-app:///uview-ui/components/u-line-progress/u-line-progress.vue","webpack:////Users/juvenile/Documents/web/xiaoai/excellent-working/uview-ui/components/u-line-progress/u-line-progress.vue?1248","webpack:////Users/juvenile/Documents/web/xiaoai/excellent-working/uview-ui/components/u-line-progress/u-line-progress.vue?ee8c"],"names":[],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAwI;AACxI;AACmE;AACL;AACsC;;;AAGpG;AACsN;AACtN,gBAAgB,iNAAU;AAC1B,EAAE,qFAAM;AACR,EAAE,sGAAM;AACR,EAAE,+GAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,0GAAU;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;;AAEA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AClBA;AAAA;AAAA;AAAA;AAA22B,CAAgB,6yBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACoB/3B;;;;;;;;;;;;;;;AAeA;AACA,yBADA;AAEA;AACA;AACA;AACA,mBADA;AAEA,mBAFA,EAFA;;AAMA;AACA;AACA,kBADA;AAEA,iBAFA,EAPA;;AAWA;AACA;AACA,kBADA;AAEA,wBAFA,EAZA;;AAgBA;AACA,kBADA;AAEA,wBAFA,EAhBA;;AAoBA;AACA;AACA,kBADA;AAEA,gBAFA,EArBA;;AAyBA;AACA;AACA,mBADA;AAEA,mBAFA,EA1BA;;AA8BA;AACA;AACA,4BADA;AAEA,iBAFA,EA/BA;;AAmCA;AACA;AACA,mBADA;AAEA,oBAFA,EApCA;;AAwCA;AACA;AACA,mBADA;AAEA,oBAFA,EAzCA,EAFA;;;AAgDA,MAhDA,kBAgDA;AACA;;;AAGA,GApDA;AAqDA;AACA,iBADA,2BACA;AACA;AACA;AACA;AACA;AACA,KANA,EArDA;;AA6DA,aA7DA,E;;;;;;;;;;;;ACnCA;AAAA;AAAA;AAAA;AAAolD,CAAgB,+5CAAG,EAAC,C;;;;;;;;;;;ACAxmD;AACA,OAAO,KAAU,EAAE,kBAKd","file":"uview-ui/components/u-line-progress/u-line-progress.js","sourcesContent":["import { render, staticRenderFns, recyclableRender, components } from \"./u-line-progress.vue?vue&type=template&id=0fa21744&scoped=true&\"\nvar renderjs\nimport script from \"./u-line-progress.vue?vue&type=script&lang=js&\"\nexport * from \"./u-line-progress.vue?vue&type=script&lang=js&\"\nimport style0 from \"./u-line-progress.vue?vue&type=style&index=0&id=0fa21744&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../../../../Applications/HBuilderX.app/Contents/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  \"0fa21744\",\n  null,\n  false,\n  components,\n  renderjs\n)\n\ncomponent.options.__file = \"uview-ui/components/u-line-progress/u-line-progress.vue\"\nexport default component.exports","export * from \"-!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--16-0!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-line-progress.vue?vue&type=template&id=0fa21744&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\n  _vm.$mp.data = Object.assign(\n    {},\n    {\n      $root: {\n        s0: s0\n      }\n    }\n  )\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-line-progress.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-line-progress.vue?vue&type=script&lang=js&\"","<template>\n\t<view class=\"u-progress\" :style=\"{\n\t\tborderRadius: round ? '100rpx' : 0,\n\t\theight: height + 'rpx',\n\t\tbackgroundColor: inactiveColor\n\t}\">\n\t\t<view :class=\"[\n\t\t\ttype ? `u-type-${type}-bg` : '',\n\t\t\tstriped ? 'u-striped' : '',\n\t\t\tstriped && stripedActive ? 'u-striped-active' : ''\n\t\t]\" class=\"u-active\" :style=\"[progressStyle]\">\n\t\t\t<slot v-if=\"$slots.default || $slots.$default\" />\n\t\t\t<block v-else-if=\"showPercent\">\n\t\t\t\t{{percent + '%'}}\n\t\t\t</block>\n\t\t</view>\n\t</view>\n</template>\n\n<script>\n\t/**\n\t * lineProgress 线型进度条\n\t * @description 展示操作或任务的当前进度,比如上传文件,是一个线形的进度条。\n\t * @tutorial https://www.uviewui.com/components/lineProgress.html\n\t * @property {String Number} percent 进度条百分比值,为数值类型,0-100\n\t * @property {Boolean} round 进度条两端是否为半圆(默认true)\n\t * @property {String} type 如设置,active-color值将会失效\n\t * @property {String} active-color 进度条激活部分的颜色(默认#19be6b)\n\t * @property {String} inactive-color 进度条的底色(默认#ececec)\n\t * @property {Boolean} show-percent 是否在进度条内部显示当前的百分比值数值(默认true)\n\t * @property {String Number} height 进度条的高度,单位rpx(默认28)\n\t * @property {Boolean} striped 是否显示进度条激活部分的条纹(默认false)\n\t * @property {Boolean} striped-active 条纹是否具有动态效果(默认false)\n\t * @example <u-line-progress :percent=\"70\" :show-percent=\"true\"></u-line-progress>\n\t */\n\texport default {\n\t\tname: \"u-line-progress\",\n\t\tprops: {\n\t\t\t// 两端是否显示半圆形\n\t\t\tround: {\n\t\t\t\ttype: Boolean,\n\t\t\t\tdefault: true\n\t\t\t},\n\t\t\t// 主题颜色\n\t\t\ttype: {\n\t\t\t\ttype: String,\n\t\t\t\tdefault: ''\n\t\t\t},\n\t\t\t// 激活部分的颜色\n\t\t\tactiveColor: {\n\t\t\t\ttype: String,\n\t\t\t\tdefault: '#19be6b'\n\t\t\t},\n\t\t\tinactiveColor: {\n\t\t\t\ttype: String,\n\t\t\t\tdefault: '#ececec'\n\t\t\t},\n\t\t\t// 进度百分比,数值\n\t\t\tpercent: {\n\t\t\t\ttype: Number,\n\t\t\t\tdefault: 0\n\t\t\t},\n\t\t\t// 是否在进度条内部显示百分比的值\n\t\t\tshowPercent: {\n\t\t\t\ttype: Boolean,\n\t\t\t\tdefault: true\n\t\t\t},\n\t\t\t// 进度条的高度,单位rpx\n\t\t\theight: {\n\t\t\t\ttype: [Number, String],\n\t\t\t\tdefault: 28\n\t\t\t},\n\t\t\t// 是否显示条纹\n\t\t\tstriped: {\n\t\t\t\ttype: Boolean,\n\t\t\t\tdefault: false\n\t\t\t},\n\t\t\t// 条纹是否显示活动状态\n\t\t\tstripedActive: {\n\t\t\t\ttype: Boolean,\n\t\t\t\tdefault: false\n\t\t\t}\n\t\t},\n\t\tdata() {\n\t\t\treturn {\n\n\t\t\t}\n\t\t},\n\t\tcomputed: {\n\t\t\tprogressStyle() {\n\t\t\t\tlet style = {};\n\t\t\t\tstyle.width = this.percent + '%';\n\t\t\t\tif(this.activeColor) style.backgroundColor = this.activeColor;\n\t\t\t\treturn style;\n\t\t\t}\n\t\t},\n\t\tmethods: {\n\n\t\t}\n\t}\n</script>\n\n<style lang=\"scss\" scoped>\n\t@import \"../../libs/css/style.components.scss\";\n\t\n\t.u-progress {\n\t\toverflow: hidden;\n\t\theight: 15px;\n\t\t/* #ifndef APP-NVUE */\n\t\tdisplay: inline-flex;\n\t\t/* #endif */\n\t\talign-items: center;\n\t\twidth: 100%;\n\t\tborder-radius: 100rpx;\n\t}\n\n\t.u-active {\n\t\twidth: 0;\n\t\theight: 100%;\n\t\talign-items: center;\n\t\t@include vue-flex;\n\t\tjustify-items: flex-end;\n\t\tjustify-content: space-around;\n\t\tfont-size: 20rpx;\n\t\tcolor: #ffffff;\n\t\ttransition: all 0.4s ease;\n\t}\n\n\t.u-striped {\n\t\tbackground-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);\n\t\tbackground-size: 39px 39px;\n\t}\n\n\t.u-striped-active {\n\t\tanimation: progress-stripes 2s linear infinite;\n\t}\n\n\t@keyframes progress-stripes {\n\t\t0% {\n\t\t\tbackground-position: 0 0;\n\t\t}\n\n\t\t100% {\n\t\t\tbackground-position: 39px 0;\n\t\t}\n\t}\n</style>\n","import mod from \"-!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-line-progress.vue?vue&type=style&index=0&id=0fa21744&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./u-line-progress.vue?vue&type=style&index=0&id=0fa21744&lang=scss&scoped=true&\"","// extracted by mini-css-extract-plugin\n    if(module.hot) {\n      // 1689239523020\n      var cssReload = require(\"/Applications/HBuilderX.app/Contents/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":""}