u-section.js.map 14 KB

1
  1. {"version":3,"sources":["webpack:///D:/星火篮球维护/代码/小程序销售端/spark-sale/uview-ui/components/u-section/u-section.vue?222a","webpack:///D:/星火篮球维护/代码/小程序销售端/spark-sale/uview-ui/components/u-section/u-section.vue?d3c2","webpack:///D:/星火篮球维护/代码/小程序销售端/spark-sale/uview-ui/components/u-section/u-section.vue?4421","webpack:///D:/星火篮球维护/代码/小程序销售端/spark-sale/uview-ui/components/u-section/u-section.vue?bd5e","uni-app:///uview-ui/components/u-section/u-section.vue","webpack:///D:/星火篮球维护/代码/小程序销售端/spark-sale/uview-ui/components/u-section/u-section.vue?2076","webpack:///D:/星火篮球维护/代码/小程序销售端/spark-sale/uview-ui/components/u-section/u-section.vue?1668"],"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,aAAa,uMAEN;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,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;AC1CA;AAAA;AAAA;AAAA;AAAmmB,CAAgB,6nBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AC8BvnB;;;;;;;;;;;;;;;AAeA;AACA,mBADA;AAEA;AACA;AACA;AACA,kBADA;AAEA,iBAFA,EAFA;;AAMA;AACA;AACA,kBADA;AAEA,mBAFA,EAPA;;AAWA;AACA;AACA,mBADA;AAEA,mBAFA,EAZA;;AAgBA;AACA,4BADA;AAEA,iBAFA,EAhBA;;AAoBA;AACA;AACA,mBADA;AAEA,mBAFA,EArBA;;AAyBA;AACA;AACA,kBADA;AAEA,wBAFA,EA1BA;;AA8BA;AACA;AACA,kBADA;AAEA,wBAFA,EA/BA;;AAmCA;AACA;AACA,mBADA;AAEA,mBAFA,EApCA;;AAwCA;AACA;AACA,kBADA;AAEA,iBAFA,EAzCA;;AA6CA;AACA;AACA,mBADA;AAEA,mBAFA,EA9CA,EAFA;;;AAqDA;AACA;AACA,aAFA,uBAEA;AACA;AACA;AACA;AACA,oDAFA;AAGA,qFAHA;;AAKA,KATA,EArDA;;AAgEA;AACA,cADA,wBACA;AACA;AACA,KAHA,EAhEA,E;;;;;;;;;;;;AC7CA;AAAA;AAAA;AAAA;AAA6nC,CAAgB,umCAAG,EAAC,C;;;;;;;;;;;ACAjpC;AACA,OAAO,KAAU,EAAE,kBAKd","file":"uview-ui/components/u-section/u-section.js","sourcesContent":["import { render, staticRenderFns, recyclableRender, components } from \"./u-section.vue?vue&type=template&id=38dad548&scoped=true&\"\nvar renderjs\nimport script from \"./u-section.vue?vue&type=script&lang=js&\"\nexport * from \"./u-section.vue?vue&type=script&lang=js&\"\nimport style0 from \"./u-section.vue?vue&type=style&index=0&id=38dad548&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!E:\\\\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 \"38dad548\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"uview-ui/components/u-section/u-section.vue\"\nexport default component.exports","export * from \"-!E:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\templateLoader.js??vue-loader-options!E:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--16-0!E:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\template.js!E:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-uni-app-loader\\\\page-meta.js!E:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!E:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./u-section.vue?vue&type=template&id=38dad548&scoped=true&\"","var components\ntry {\n components = {\n uIcon: function() {\n return import(\n /* webpackChunkName: \"uview-ui/components/u-icon/u-icon\" */ \"@/uview-ui/components/u-icon/u-icon.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.showLine ? _vm.__get_style([_vm.lineStyle]) : null\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 \"-!E:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!E:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!E:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!E:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!E:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./u-section.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!E:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!E:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!E:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!E:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!E:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./u-section.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view class=\"u-section\">\r\n\t\t<view class=\"u-section__title\" :style=\"{\r\n\t\t\tfontWeight: bold ? 'bold' : 'normal',\r\n\t\t\tcolor: color,\r\n\t\t\tfontSize: fontSize + 'rpx',\r\n\t\t\tpaddingLeft: showLine ? (fontSize * 0.7) + 'rpx' : 0\r\n\t\t}\" :class=\"{\r\n\t\t\t'u-section--line': showLine\r\n\t\t}\">\r\n\t\t\t<view class=\"u-section__title__icon-wrap u-flex\" :style=\"[lineStyle]\" v-if=\"showLine\">\r\n\t\t\t\t<u-icon top=\"0\" name=\"column-line\" :size=\"fontSize * 1.25\" bold :color=\"lineColor ? lineColor : color\"></u-icon>\r\n\t\t\t</view>\r\n\t\t\t<text class=\"u-flex u-section__title__text\">{{title}}</text>\r\n\t\t</view>\r\n\t\t<view class=\"u-section__right-info\" v-if=\"right || $slots.right\" :style=\"{\r\n\t\t\tcolor: subColor\r\n\t\t}\" @tap=\"rightClick\"> \r\n\t\t\t<slot name=\"right\" v-if=\"$slots.right\" />\r\n\t\t\t<block v-else>\r\n\t\t\t\t{{subTitle}}\r\n\t\t\t\t<view class=\"u-section__right-info__icon-arrow u-flex\" v-if=\"arrow\">\r\n\t\t\t\t\t<u-icon name=\"arrow-right\" size=\"24\" :color=\"subColor\"></u-icon>\r\n\t\t\t\t</view>\r\n\t\t\t</block>\r\n\t\t</view>\r\n\t</view>\r\n</template>\r\n\r\n<script>\r\n\t/**\r\n\t * section 查看更多\r\n\t * @description 该组件一般用于分类信息有很多,但是限于篇幅只能列出一部分,让用户通过\"查看更多\"获得更多信息的场景,实际效果见演示。\r\n\t * @tutorial https://www.uviewui.com/components/section.html\r\n\t * @property {String} title 左边主标题\r\n\t * @property {String} sub-title 右边副标题(默认更多)\r\n\t * @property {Boolean} right 是否显示右边的内容(默认true)\r\n\t * @property {Boolean} showLine 是否显示左边的竖条(默认true)\r\n\t * @property {Boolean} arrow 是否显示右边箭头(默认true)\r\n\t * @property {String Number} font-size 主标题的字体大小(默认28)\r\n\t * @property {Boolean} bold 主标题是否加粗(默认true)\r\n\t * @property {String} color 主标题颜色(默认#303133)\r\n\t * @event {Function} click 组件右侧的内容被点击时触发,用于跳转\"更多\"\r\n\t * @example <u-section title=\"今日热门\" :right=\"false\"></u-section>\r\n\t */\r\n\texport default {\r\n\t\tname: \"u-section\",\r\n\t\tprops: {\r\n\t\t\t// 标题信息\r\n\t\t\ttitle: {\r\n\t\t\t\ttype: String,\r\n\t\t\t\tdefault: ''\r\n\t\t\t},\r\n\t\t\t// 右边副标题内容\r\n\t\t\tsubTitle: {\r\n\t\t\t\ttype: String,\r\n\t\t\t\tdefault: '更多'\r\n\t\t\t},\r\n\t\t\t// 是否显示右边的内容\r\n\t\t\tright: {\r\n\t\t\t\ttype: Boolean,\r\n\t\t\t\tdefault: true\r\n\t\t\t},\r\n\t\t\tfontSize: {\r\n\t\t\t\ttype: [Number, String],\r\n\t\t\t\tdefault: 28\r\n\t\t\t},\r\n\t\t\t// 主标题是否加粗\r\n\t\t\tbold: {\r\n\t\t\t\ttype: Boolean,\r\n\t\t\t\tdefault: true\r\n\t\t\t},\r\n\t\t\t// 主标题的颜色\r\n\t\t\tcolor: {\r\n\t\t\t\ttype: String,\r\n\t\t\t\tdefault: '#303133'\r\n\t\t\t},\r\n\t\t\t// 右边副标题的颜色\r\n\t\t\tsubColor: {\r\n\t\t\t\ttype: String,\r\n\t\t\t\tdefault: '#909399'\r\n\t\t\t},\r\n\t\t\t// 是否显示左边的竖条\r\n\t\t\tshowLine: {\r\n\t\t\t\ttype: Boolean,\r\n\t\t\t\tdefault: true\r\n\t\t\t},\r\n\t\t\t// 左边竖线的颜色\r\n\t\t\tlineColor: {\r\n\t\t\t\ttype: String,\r\n\t\t\t\tdefault: ''\r\n\t\t\t},\r\n\t\t\t// 是否显示右边箭头\r\n\t\t\tarrow: {\r\n\t\t\t\ttype: Boolean,\r\n\t\t\t\tdefault: true\r\n\t\t\t},\r\n\t\t},\r\n\t\tcomputed: {\r\n\t\t\t// 左边竖条的样式\r\n\t\t\tlineStyle() {\r\n\t\t\t\t// 由于安卓和iOS的,需要稍微调整绝对定位的top值,才能让左边的竖线和右边的文字垂直居中\r\n\t\t\t\treturn {\r\n\t\t\t\t\t// 由于竖线为字体图标,具有比实际线宽更宽的宽度,所以也需要根据字体打下动态调整\r\n\t\t\t\t\tleft: -(Number(this.fontSize) * 0.9) + 'rpx',\r\n\t\t\t\t\ttop: -(Number(this.fontSize) * (this.$u.os() == 'ios' ? 0.14 : 0.15)) + 'rpx',\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t},\r\n\t\tmethods: {\r\n\t\t\trightClick() {\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/style.components.scss\";\r\n\t\r\n\t.u-section {\r\n\t\t@include vue-flex;\r\n\t\tjustify-content: space-between;\r\n\t\talign-items: center;\r\n\t\twidth: 100%;\r\n\t\t\r\n\t\t&__title {\r\n\t\t\tposition: relative;\r\n\t\t\tfont-size: 28rpx;\r\n\t\t\tpadding-left: 20rpx;\r\n\t\t\t@include vue-flex;\r\n\t\t\talign-items: center;\r\n\t\t\t\r\n\t\t\t&__icon-wrap {\r\n\t\t\t\tposition: absolute;\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\t&__text {\r\n\t\t\t\tline-height: 1;\r\n\t\t\t}\r\n\t\t}\r\n\t\t\r\n\t\t&__right-info {\r\n\t\t\tcolor: $u-tips-color;\r\n\t\t\tfont-size: 26rpx;\r\n\t\t\t@include vue-flex;\r\n\t\t\talign-items: center;\r\n\t\t\t\r\n\t\t\t&__icon-arrow {\r\n\t\t\t\tmargin-left: 6rpx;\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n</style>\r\n","import mod from \"-!E:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!E:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-1!E:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!E:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-2!E:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!E:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\sass-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-4!E:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!E:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!E:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./u-section.vue?vue&type=style&index=0&id=38dad548&lang=scss&scoped=true&\"; export default mod; export * from \"-!E:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!E:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-1!E:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!E:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-2!E:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!E:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\sass-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-4!E:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!E:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!E:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./u-section.vue?vue&type=style&index=0&id=38dad548&lang=scss&scoped=true&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1631763038569\n var cssReload = require(\"E:/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":""}