uni-steps.js.map 16 KB

1
  1. {"version":3,"sources":["webpack:///G:/item/appBase/components/uni-steps/uni-steps.vue?ef91","webpack:///G:/item/appBase/components/uni-steps/uni-steps.vue?2c3c","webpack:///G:/item/appBase/components/uni-steps/uni-steps.vue?89ee","webpack:///G:/item/appBase/components/uni-steps/uni-steps.vue?ccef","uni-app:///components/uni-steps/uni-steps.vue","webpack:///G:/item/appBase/components/uni-steps/uni-steps.vue?6a63","webpack:///G:/item/appBase/components/uni-steps/uni-steps.vue?eb74"],"names":[],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAkI;AAClI;AAC6D;AACL;AACsC;;;AAG9F;AAC2K;AAC3K,gBAAgB,oLAAU;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,aAAa,oPAEN;AACP;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACjCA;AAAA;AAAA;AAAA;AAAioB,CAAgB,spBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AC6BrpB;AACA,kBADA;AAEA;AACA,sBADA,EAFA;;AAKA;AACA;AACA;AACA,kBAFA;AAGA,oBAHA,EADA;;AAMA;AACA;AACA,kBAFA;AAGA,wBAHA,EANA;;AAWA;AACA;AACA,kBAFA;AAGA,wBAHA,EAXA;;AAgBA;AACA;AACA,kBAFA;AAGA,gBAHA,EAhBA;;AAqBA;AACA,iBADA;AAEA,aAFA,sBAEA;AACA;AACA,OAJA;AAKA;AA1BA,GALA;AAiCA,MAjCA,kBAiCA;AACA;AACA,GAnCA,E;;;;;;;;;;;;AC7BA;AAAA;AAAA;AAAA;AAAmrC,CAAgB,opCAAG,EAAC,C;;;;;;;;;;;ACAvsC;AACA,OAAO,KAAU,EAAE,kBAKd","file":"components/uni-steps/uni-steps.js","sourcesContent":["import { render, staticRenderFns, recyclableRender, components } from \"./uni-steps.vue?vue&type=template&id=61dda2da&scoped=true&\"\nvar renderjs\nimport script from \"./uni-steps.vue?vue&type=script&lang=js&\"\nexport * from \"./uni-steps.vue?vue&type=script&lang=js&\"\nimport style0 from \"./uni-steps.vue?vue&type=style&index=0&id=61dda2da&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!D:\\\\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 \"61dda2da\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"components/uni-steps/uni-steps.vue\"\nexport default component.exports","export * from \"-!D:\\\\work\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\templateLoader.js??vue-loader-options!D:\\\\work\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--16-0!D:\\\\work\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\template.js!D:\\\\work\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-uni-app-loader\\\\page-meta.js!D:\\\\work\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\work\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./uni-steps.vue?vue&type=template&id=61dda2da&scoped=true&\"","var components\ntry {\n components = {\n uniIcons: function() {\n return import(\n /* webpackChunkName: \"components/uni-icons/uni-icons\" */ \"@/components/uni-icons/uni-icons.vue\"\n )\n }\n }\n} catch (e) {\n if (\n e.message.indexOf(\"Cannot find module\") !== -1 &&\n e.message.indexOf(\".vue\") !== -1\n ) {\n console.error(e.message)\n console.error(\"1. 排查组件名称拼写是否正确\")\n console.error(\n \"2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom\"\n )\n console.error(\n \"3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件\"\n )\n } else {\n throw e\n }\n}\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:\\\\work\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\work\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\work\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\work\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\work\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./uni-steps.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!D:\\\\work\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\work\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\work\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\work\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\work\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./uni-steps.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view class=\"uni-steps\">\r\n\t\t<view :class=\"[direction==='column'?'uni-steps__column':'uni-steps__row']\">\r\n\t\t\t<view :class=\"[direction==='column'?'uni-steps__column-text-container':'uni-steps__row-text-container']\">\r\n\t\t\t\t<view v-for=\"(item,index) in options\" :key=\"index\" :class=\"[direction==='column'?'uni-steps__column-text':'uni-steps__row-text']\">\r\n\t\t\t\t\t<text :style=\"{color:index<=active?activeColor:deactiveColor}\" :class=\"[direction==='column'?'uni-steps__column-title':'uni-steps__row-title']\">{{item.status}}</text>\r\n\t\t\t\t\t<text :style=\"{color:index<=active?activeColor:deactiveColor}\" :class=\"[direction==='column'?'uni-steps__column-desc':'uni-steps__row-desc']\">{{item.context}}</text>\r\n\t\t\t\t\t<text :style=\"{color:index<=active?activeColor:deactiveColor}\" :class=\"[direction==='column'?'uni-steps__column-desc':'uni-steps__row-desc']\">{{item.time}}</text>\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t\t<view :class=\"[direction==='column'?'uni-steps__column-container':'uni-steps__row-container']\">\r\n\t\t\t\t<view :class=\"[direction==='column'?'uni-steps__column-line-item':'uni-steps__row-line-item']\" v-for=\"(item,index) in options\"\r\n\t\t\t\t :key=\"index\">\r\n\t\t\t\t\t<view :class=\"[direction==='column'?'uni-steps__column-line':'uni-steps__row-line',direction==='column'?'uni-steps__column-line--before':'uni-steps__row-line--before']\"\r\n\t\t\t\t\t :style=\"{backgroundColor:index<=active&&index!==0?activeColor:index===0?'transparent':deactiveColor}\"></view>\r\n\t\t\t\t\t<view :class=\"[direction==='column'?'uni-steps__column-check':'uni-steps__row-check']\" v-if=\"index === active\">\r\n\t\t\t\t\t\t<uni-icons :color=\"activeColor\" type=\"checkbox-filled\" size=\"14\"></uni-icons>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<view :class=\"[direction==='column'?'uni-steps__column-circle':'uni-steps__row-circle']\" v-else :style=\"{backgroundColor:index<active?activeColor:deactiveColor}\"></view>\r\n\t\t\t\t\t<view :class=\"[direction==='column'?'uni-steps__column-line':'uni-steps__row-line',direction==='column'?'uni-steps__column-line--after':'uni-steps__row-line--after']\"\r\n\t\t\t\t\t :style=\"{backgroundColor:index<active&&index!==options.length-1?activeColor:index===options.length-1?'transparent':deactiveColor}\"></view>\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t</view>\r\n</template>\r\n\r\n<script>\r\n\timport uniIcons from '../uni-icons/uni-icons.vue'\r\n\texport default {\r\n\t\tname: 'UniSteps',\r\n\t\tcomponents: {\r\n\t\t\tuniIcons\r\n\t\t},\r\n\t\tprops: {\r\n\t\t\tdirection: {\r\n\t\t\t\t// 排列方向 row column\r\n\t\t\t\ttype: String,\r\n\t\t\t\tdefault: 'row'\r\n\t\t\t},\r\n\t\t\tactiveColor: {\r\n\t\t\t\t// 激活状态颜色\r\n\t\t\t\ttype: String,\r\n\t\t\t\tdefault: '#1aad19'\r\n\t\t\t},\r\n\t\t\tdeactiveColor: {\r\n\t\t\t\t// 未激活状态颜色\r\n\t\t\t\ttype: String,\r\n\t\t\t\tdefault: '#999999'\r\n\t\t\t},\r\n\t\t\tactive: {\r\n\t\t\t\t// 当前步骤\r\n\t\t\t\ttype: Number,\r\n\t\t\t\tdefault: 0\r\n\t\t\t},\r\n\t\t\toptions: {\r\n\t\t\t\ttype: Array,\r\n\t\t\t\tdefault () {\r\n\t\t\t\t\treturn []\r\n\t\t\t\t}\r\n\t\t\t} // 数据\r\n\t\t},\r\n\t\tdata() {\r\n\t\t\treturn {}\r\n\t\t}\r\n\t}\r\n</script>\r\n\r\n<style lang=\"scss\" scoped>\r\n\t.uni-steps {\r\n\t\t/* #ifndef APP-NVUE */\r\n\t\tdisplay: flex;\r\n\t\twidth: 100%;\r\n\t\t/* #endif */\r\n\t\t/* #ifdef APP-NVUE */\r\n\t\tflex: 1;\r\n\t\t/* #endif */\r\n\t\tflex-direction: column;\r\n\t}\r\n\r\n\t.uni-steps__row {\r\n\t\t/* #ifndef APP-NVUE */\r\n\t\tdisplay: flex;\r\n\t\t/* #endif */\r\n\t\tflex-direction: column;\r\n\t}\r\n\r\n\t.uni-steps__column {\r\n\t\t/* #ifndef APP-NVUE */\r\n\t\tdisplay: flex;\r\n\t\t/* #endif */\r\n\t\tflex-direction: row-reverse;\r\n\t}\r\n\r\n\t.uni-steps__row-text-container {\r\n\t\t/* #ifndef APP-NVUE */\r\n\t\tdisplay: flex;\r\n\t\t/* #endif */\r\n\t\tflex-direction: row;\r\n\t}\r\n\r\n\t.uni-steps__column-text-container {\r\n\t\t/* #ifndef APP-NVUE */\r\n\t\tdisplay: flex;\r\n\t\t/* #endif */\r\n\t\tflex-direction: column;\r\n\t\tflex: 1;\r\n\t}\r\n\r\n\t.uni-steps__row-text {\r\n\t\t/* #ifndef APP-NVUE */\r\n\t\tdisplay: inline-flex;\r\n\t\t/* #endif */\r\n\t\tflex: 1;\r\n\t\tflex-direction: column;\r\n\t}\r\n\r\n\t.uni-steps__column-text {\r\n\t\tpadding: 6px 0px;\r\n\t\tborder-bottom-style: solid;\r\n\t\tborder-bottom-width: 1px;\r\n\t\tborder-bottom-color: $uni-border-color;\r\n\t\t/* #ifndef APP-NVUE */\r\n\t\tdisplay: flex;\r\n\t\t/* #endif */\r\n\t\tflex-direction: column;\r\n\t}\r\n\r\n\t.uni-steps__row-title {\r\n\t\tfont-size: $uni-font-size-base;\r\n\t\tline-height: 16px;\r\n\t\ttext-align: center;\r\n\t}\r\n\r\n\t.uni-steps__column-title {\r\n\t\tfont-size: $uni-font-size-base;\r\n\t\ttext-align: left;\r\n\t\tline-height: 18px;\r\n\t}\r\n\r\n\t.uni-steps__row-desc {\r\n\t\tfont-size: 12px;\r\n\t\tline-height: 14px;\r\n\t\ttext-align: center;\r\n\t}\r\n\r\n\t.uni-steps__column-desc {\r\n\t\tfont-size: $uni-font-size-sm;\r\n\t\ttext-align: left;\r\n\t\tline-height: 18px;\r\n\t}\r\n\r\n\t.uni-steps__row-container {\r\n\t\t/* #ifndef APP-NVUE */\r\n\t\tdisplay: flex;\r\n\t\t/* #endif */\r\n\t\tflex-direction: row;\r\n\t}\r\n\r\n\t.uni-steps__column-container {\r\n\t\t/* #ifndef APP-NVUE */\r\n\t\tdisplay: inline-flex;\r\n\t\t/* #endif */\r\n\t\twidth: 30px;\r\n\t\tflex-direction: column;\r\n\t}\r\n\r\n\t.uni-steps__row-line-item {\r\n\t\t/* #ifndef APP-NVUE */\r\n\t\tdisplay: inline-flex;\r\n\t\t/* #endif */\r\n\t\tflex-direction: row;\r\n\t\tflex: 1;\r\n\t\theight: 14px;\r\n\t\tline-height: 14px;\r\n\t\talign-items: center;\r\n\t\tjustify-content: center;\r\n\t}\r\n\r\n\t.uni-steps__column-line-item {\r\n\t\t/* #ifndef APP-NVUE */\r\n\t\tdisplay: flex;\r\n\t\t/* #endif */\r\n\t\tflex-direction: column;\r\n\t\tflex: 1;\r\n\t\talign-items: center;\r\n\t\tjustify-content: center;\r\n\t}\r\n\r\n\t.uni-steps__row-line {\r\n\t\tflex: 1;\r\n\t\theight: 1px;\r\n\t\tbackground-color: $uni-text-color-grey;\r\n\t}\r\n\r\n\t.uni-steps__column-line {\r\n\t\twidth: 1px;\r\n\t\tbackground-color: $uni-text-color-grey;\r\n\t}\r\n\r\n\t.uni-steps__row-line--after {\r\n\t\ttransform: translateX(1px);\r\n\t}\r\n\r\n\t.uni-steps__column-line--after {\r\n\t\tflex: 1;\r\n\t\ttransform: translate(0px, 1px);\r\n\t}\r\n\r\n\t.uni-steps__row-line--before {\r\n\t\ttransform: translateX(-1px);\r\n\t}\r\n\r\n\t.uni-steps__column-line--before {\r\n\t\theight: 6px;\r\n\t\ttransform: translate(0px, -1px);\r\n\t}\r\n\r\n\t.uni-steps__row-circle {\r\n\t\twidth: 5px;\r\n\t\theight: 5px;\r\n\t\tborder-radius: 100px;\r\n\t\tbackground-color: $uni-text-color-grey;\r\n\t\tmargin: 0px 3px;\r\n\t}\r\n\r\n\t.uni-steps__column-circle {\r\n\t\twidth: 5px;\r\n\t\theight: 5px;\r\n\t\tborder-radius: 100px;\r\n\t\tbackground-color: $uni-text-color-grey;\r\n\t\tmargin: 4px 0px 5px 0px;\r\n\t}\r\n\r\n\t.uni-steps__row-check {\r\n\t\tmargin: 0px 6px;\r\n\t}\r\n\r\n\t.uni-steps__column-check {\r\n\t\theight: 14px;\r\n\t\tline-height: 14px;\r\n\t\tmargin: 2px 0px;\r\n\t}\r\n</style>\r\n","import mod from \"-!D:\\\\work\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!D:\\\\work\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-1!D:\\\\work\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\work\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-2!D:\\\\work\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!D:\\\\work\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\sass-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-4!D:\\\\work\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!D:\\\\work\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\work\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./uni-steps.vue?vue&type=style&index=0&id=61dda2da&lang=scss&scoped=true&\"; export default mod; export * from \"-!D:\\\\work\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!D:\\\\work\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-1!D:\\\\work\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\work\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-2!D:\\\\work\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!D:\\\\work\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\sass-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-4!D:\\\\work\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!D:\\\\work\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\work\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./uni-steps.vue?vue&type=style&index=0&id=61dda2da&lang=scss&scoped=true&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1618025084699\n var cssReload = require(\"D:/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":""}