You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1 line
15 KiB
Plaintext

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

{"version":3,"sources":["webpack:///D:/WebstormProjects/uni-Identify-quality/uview-ui/components/u-divider/u-divider.vue?dc1a","webpack:///D:/WebstormProjects/uni-Identify-quality/uview-ui/components/u-divider/u-divider.vue?34b2","webpack:///D:/WebstormProjects/uni-Identify-quality/uview-ui/components/u-divider/u-divider.vue?a1c4","webpack:///D:/WebstormProjects/uni-Identify-quality/uview-ui/components/u-divider/u-divider.vue?5d7e","uni-app:///uview-ui/components/u-divider/u-divider.vue","webpack:///D:/WebstormProjects/uni-Identify-quality/uview-ui/components/u-divider/u-divider.vue?786d"],"names":["renderjs","component","options","__file","components","uLine","e","message","indexOf","console","error","render","_vm","this","_h","$createElement","s0","_self","_c","__get_style","$u","addStyle","customStyle","s1","dot","text","textStyle","$mp","data","Object","assign","$root","recyclableRender","staticRenderFns","_withStripped","name","mixins","computed","style","leftLineStyle","rightLineStyle","methods","click"],"mappings":"wIAAA,oIACIA,EADJ,QASIC,EAAY,qBACd,aACA,YACA,sBACA,EACA,KACA,WACA,MACA,EACA,gBACAD,GAGFC,EAAUC,QAAQC,OAAS,8CACZ,aAAAF,E,0CCvBf,uQ,iCCAA,IAAIG,EAAJ,0LACA,IACEA,EAAa,CACXC,MAAO,WACL,OAAO,sGAKX,MAAOC,GACP,IAC+C,IAA7CA,EAAEC,QAAQC,QAAQ,wBACa,IAA/BF,EAAEC,QAAQC,QAAQ,QAWlB,MAAMF,EATNG,QAAQC,MAAMJ,EAAEC,SAChBE,QAAQC,MAAM,mBACdD,QAAQC,MACN,uFAEFD,QAAQC,MACN,mDAMN,IAAIC,EAAS,WACX,IAAIC,EAAMC,KACNC,EAAKF,EAAIG,eAETC,GADKJ,EAAIK,MAAMC,GACVN,EAAIO,YAAY,CAACP,EAAIQ,GAAGC,SAAST,EAAIU,gBAC1CC,GAAMX,EAAIY,KAAOZ,EAAIa,KAAOb,EAAIO,YAAY,CAACP,EAAIc,YAAc,KACnEd,EAAIe,IAAIC,KAAOC,OAAOC,OACpB,GACA,CACEC,MAAO,CACLf,GAAIA,EACJO,GAAIA,MAKRS,GAAmB,EACnBC,EAAkB,GACtBtB,EAAOuB,eAAgB,G,iCC5CvB,yHAAk3B,eAAG,G,2HC+Br3B,gBACA,EAiBA,CACAC,iBACAC,2CACAC,UACAX,qBACA,SAGA,OAFAY,uCACAA,uBACA,GAGAC,yBACA,SAOA,MALA,2BACAD,gBAEAA,SAEA,GAGAE,0BACA,SAOA,MALA,4BACAF,gBAEAA,SAEA,IAGAG,SAEAC,iBACA,uBAGA,c,6DCxFA,yHAAioD,eAAG,G","file":"uview-ui/components/u-divider/u-divider.js","sourcesContent":["import { render, staticRenderFns, recyclableRender, components } from \"./u-divider.vue?vue&type=template&id=23bd18c4&scoped=true&\"\nvar renderjs\nimport script from \"./u-divider.vue?vue&type=script&lang=js&\"\nexport * from \"./u-divider.vue?vue&type=script&lang=js&\"\nimport style0 from \"./u-divider.vue?vue&type=style&index=0&id=23bd18c4&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!C:\\\\Users\\\\37363\\\\Downloads\\\\HBuilderX.3.8.7.20230703\\\\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 \"23bd18c4\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"uview-ui/components/u-divider/u-divider.vue\"\nexport default component.exports","export * from \"-!C:\\\\Users\\\\37363\\\\Downloads\\\\HBuilderX.3.8.7.20230703\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\templateLoader.js??vue-loader-options!C:\\\\Users\\\\37363\\\\Downloads\\\\HBuilderX.3.8.7.20230703\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--17-0!C:\\\\Users\\\\37363\\\\Downloads\\\\HBuilderX.3.8.7.20230703\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\template.js!C:\\\\Users\\\\37363\\\\Downloads\\\\HBuilderX.3.8.7.20230703\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-uni-app-loader\\\\page-meta.js!C:\\\\Users\\\\37363\\\\Downloads\\\\HBuilderX.3.8.7.20230703\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!C:\\\\Users\\\\37363\\\\Downloads\\\\HBuilderX.3.8.7.20230703\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./u-divider.vue?vue&type=template&id=23bd18c4&scoped=true&\"","var components\ntry {\n components = {\n uLine: function () {\n return import(\n /* webpackChunkName: \"uview-ui/components/u-line/u-line\" */ \"@/uview-ui/components/u-line/u-line.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 var s0 = _vm.__get_style([_vm.$u.addStyle(_vm.customStyle)])\n var s1 = !_vm.dot && _vm.text ? _vm.__get_style([_vm.textStyle]) : null\n _vm.$mp.data = Object.assign(\n {},\n {\n $root: {\n s0: s0,\n s1: s1,\n },\n }\n )\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!C:\\\\Users\\\\37363\\\\Downloads\\\\HBuilderX.3.8.7.20230703\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!C:\\\\Users\\\\37363\\\\Downloads\\\\HBuilderX.3.8.7.20230703\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--13-1!C:\\\\Users\\\\37363\\\\Downloads\\\\HBuilderX.3.8.7.20230703\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!C:\\\\Users\\\\37363\\\\Downloads\\\\HBuilderX.3.8.7.20230703\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!C:\\\\Users\\\\37363\\\\Downloads\\\\HBuilderX.3.8.7.20230703\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./u-divider.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!C:\\\\Users\\\\37363\\\\Downloads\\\\HBuilderX.3.8.7.20230703\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!C:\\\\Users\\\\37363\\\\Downloads\\\\HBuilderX.3.8.7.20230703\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--13-1!C:\\\\Users\\\\37363\\\\Downloads\\\\HBuilderX.3.8.7.20230703\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!C:\\\\Users\\\\37363\\\\Downloads\\\\HBuilderX.3.8.7.20230703\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!C:\\\\Users\\\\37363\\\\Downloads\\\\HBuilderX.3.8.7.20230703\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./u-divider.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view\r\n\t class=\"u-divider\"\r\n\t :style=\"[$u.addStyle(customStyle)]\"\r\n\t\t@tap=\"click\"\r\n\t>\r\n\t\t<u-line\r\n\t\t :color=\"lineColor\"\r\n\t\t :customStyle=\"leftLineStyle\"\r\n\t\t :hairline=\"hairline\"\r\n\t\t\t:dashed=\"dashed\"\r\n\t\t></u-line>\r\n\t\t<text\r\n\t\t v-if=\"dot\"\r\n\t\t class=\"u-divider__dot\"\r\n\t\t>●</text>\r\n\t\t<text\r\n\t\t v-else-if=\"text\"\r\n\t\t class=\"u-divider__text\"\r\n\t\t :style=\"[textStyle]\"\r\n\t\t>{{text}}</text>\r\n\t\t<u-line\r\n\t\t :color=\"lineColor\"\r\n\t\t :customStyle=\"rightLineStyle\"\r\n\t\t :hairline=\"hairline\"\r\n\t\t\t:dashed=\"dashed\"\r\n\t\t></u-line>\r\n\t</view>\r\n</template>\r\n\r\n<script>\r\n\timport props from './props.js';\r\n\t/**\r\n\t * divider 分割线\r\n\t * @description 区隔内容的分割线,一般用于页面底部\"没有更多\"的提示。\r\n\t * @tutorial https://www.uviewui.com/components/divider.html\r\n\t * @property {Boolean}\t\t\tdashed\t\t\t是否虚线 (默认 false \r\n\t * @property {Boolean}\t\t\thairline\t\t是否细线 (默认 true \r\n\t * @property {Boolean}\t\t\tdot\t\t\t\t是否以点替代文字优先于text字段起作用 (默认 false \r\n\t * @property {String}\t\t\ttextPosition\t内容文本的位置left-左边center-中间right-右边 (默认 'center' \r\n\t * @property {String | Number}\ttext\t\t\t文本内容\r\n\t * @property {String | Number}\ttextSize\t\t文本大小 (默认 14\r\n\t * @property {String}\t\t\ttextColor\t\t文本颜色 (默认 '#909399' \r\n\t * @property {String}\t\t\tlineColor\t\t线条颜色 (默认 '#dcdfe6' \r\n\t * @property {Object}\t\t\tcustomStyle\t\t定义需要用到的外部样式\r\n\t *\r\n\t * @event {Function}\tclick\tdivider组件被点击时触发\r\n\t * @example <u-divider :color=\"color\">锦瑟无端五十弦</u-divider>\r\n\t */\r\n\texport default {\r\n\t\tname:'u-divider',\r\n\t\tmixins: [uni.$u.mpMixin, uni.$u.mixin,props],\r\n\t\tcomputed: {\r\n\t\t\ttextStyle() {\r\n\t\t\t\tconst style = {}\r\n\t\t\t\tstyle.fontSize = uni.$u.addUnit(this.textSize)\r\n\t\t\t\tstyle.color = this.textColor\r\n\t\t\t\treturn style\r\n\t\t\t},\r\n\t\t\t// 左边线条的的样式\r\n\t\t\tleftLineStyle() {\r\n\t\t\t\tconst style = {}\r\n\t\t\t\t// 如果是在左边,设置左边的宽度为固定值\r\n\t\t\t\tif (this.textPosition === 'left') {\r\n\t\t\t\t\tstyle.width = '80rpx'\r\n\t\t\t\t} else {\r\n\t\t\t\t\tstyle.flex = 1\r\n\t\t\t\t}\r\n\t\t\t\treturn style\r\n\t\t\t},\r\n\t\t\t// 右边线条的的样式\r\n\t\t\trightLineStyle() {\r\n\t\t\t\tconst style = {}\r\n\t\t\t\t// 如果是在右边,设置右边的宽度为固定值\r\n\t\t\t\tif (this.textPosition === 'right') {\r\n\t\t\t\t\tstyle.width = '80rpx'\r\n\t\t\t\t} else {\r\n\t\t\t\t\tstyle.flex = 1\r\n\t\t\t\t}\r\n\t\t\t\treturn style\r\n\t\t\t}\r\n\t\t},\r\n\t\tmethods: {\r\n\t\t\t// divider组件被点击时触发\r\n\t\t\tclick() {\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@import '../../libs/css/components.scss';\r\n\t$u-divider-margin:15px 0 !default;\r\n\t$u-divider-text-margin:0 15px !default;\r\n\t$u-divider-dot-font-size:12px !default;\r\n\t$u-divider-dot-margin:0 12px !default;\r\n\t$u-divider-dot-color: #c0c4cc !default;\r\n\r\n\t.u-divider {\r\n\t\t@include flex;\r\n\t\tflex-direction: row;\r\n\t\talign-items: center;\r\n\t\tmargin: $u-divider-margin;\r\n\r\n\t\t&__text {\r\n\t\t\tmargin: $u-divider-text-margin;\r\n\t\t}\r\n\r\n\t\t&__dot {\r\n\t\t\tfont-size: $u-divider-dot-font-size;\r\n\t\t\tmargin: $u-divider-dot-margin;\r\n\t\t\tcolor: $u-divider-dot-color;\r\n\t\t}\r\n\t}\r\n</style>\r\n","import mod from \"-!C:\\\\Users\\\\37363\\\\Downloads\\\\HBuilderX.3.8.7.20230703\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!C:\\\\Users\\\\37363\\\\Downloads\\\\HBuilderX.3.8.7.20230703\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-1!C:\\\\Users\\\\37363\\\\Downloads\\\\HBuilderX.3.8.7.20230703\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!C:\\\\Users\\\\37363\\\\Downloads\\\\HBuilderX.3.8.7.20230703\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-2!C:\\\\Users\\\\37363\\\\Downloads\\\\HBuilderX.3.8.7.20230703\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!C:\\\\Users\\\\37363\\\\Downloads\\\\HBuilderX.3.8.7.20230703\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\sass-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-4!C:\\\\Users\\\\37363\\\\Downloads\\\\HBuilderX.3.8.7.20230703\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!C:\\\\Users\\\\37363\\\\Downloads\\\\HBuilderX.3.8.7.20230703\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!C:\\\\Users\\\\37363\\\\Downloads\\\\HBuilderX.3.8.7.20230703\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./u-divider.vue?vue&type=style&index=0&id=23bd18c4&lang=scss&scoped=true&\"; export default mod; export * from \"-!C:\\\\Users\\\\37363\\\\Downloads\\\\HBuilderX.3.8.7.20230703\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!C:\\\\Users\\\\37363\\\\Downloads\\\\HBuilderX.3.8.7.20230703\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-1!C:\\\\Users\\\\37363\\\\Downloads\\\\HBuilderX.3.8.7.20230703\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!C:\\\\Users\\\\37363\\\\Downloads\\\\HBuilderX.3.8.7.20230703\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-2!C:\\\\Users\\\\37363\\\\Downloads\\\\HBuilderX.3.8.7.20230703\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!C:\\\\Users\\\\37363\\\\Downloads\\\\HBuilderX.3.8.7.20230703\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\sass-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-4!C:\\\\Users\\\\37363\\\\Downloads\\\\HBuilderX.3.8.7.20230703\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!C:\\\\Users\\\\37363\\\\Downloads\\\\HBuilderX.3.8.7.20230703\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!C:\\\\Users\\\\37363\\\\Downloads\\\\HBuilderX.3.8.7.20230703\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./u-divider.vue?vue&type=style&index=0&id=23bd18c4&lang=scss&scoped=true&\""],"sourceRoot":""}