u-column-notice.js.map
17.0 KB
{"version":3,"sources":["webpack:////Users/linon/work/workai/job-sharing/uview-ui/components/u-column-notice/u-column-notice.vue?9718","webpack:////Users/linon/work/workai/job-sharing/uview-ui/components/u-column-notice/u-column-notice.vue?3e1b","webpack:////Users/linon/work/workai/job-sharing/uview-ui/components/u-column-notice/u-column-notice.vue?5f31","webpack:////Users/linon/work/workai/job-sharing/uview-ui/components/u-column-notice/u-column-notice.vue?b2dd","uni-app:///uview-ui/components/u-column-notice/u-column-notice.vue","webpack:////Users/linon/work/workai/job-sharing/uview-ui/components/u-column-notice/u-column-notice.vue?d751","webpack:////Users/linon/work/workai/job-sharing/uview-ui/components/u-column-notice/u-column-notice.vue?3886"],"names":[],"mappings":"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","file":"uview-ui/components/u-column-notice/u-column-notice.js","sourcesContent":["import { render, staticRenderFns, recyclableRender, components } from \"./u-column-notice.vue?vue&type=template&id=475fdbf0&scoped=true&\"\nvar renderjs\nimport script from \"./u-column-notice.vue?vue&type=script&lang=js&\"\nexport * from \"./u-column-notice.vue?vue&type=script&lang=js&\"\nimport style0 from \"./u-column-notice.vue?vue&type=style&index=0&id=475fdbf0&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 \"475fdbf0\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"uview-ui/components/u-column-notice/u-column-notice.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-column-notice.vue?vue&type=template&id=475fdbf0&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.__get_style([_vm.textStyle])\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-column-notice.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-column-notice.vue?vue&type=script&lang=js&\"","<template>\n\t<view\n\t\tclass=\"u-notice-bar\"\n\t\t:style=\"{\n\t\t\tbackground: computeBgColor,\n\t\t\tpadding: padding\n\t\t}\"\n\t\t:class=\"[\n\t\t\ttype ? `u-type-${type}-light-bg` : ''\n\t\t]\"\n\t>\n\t\t<view class=\"u-icon-wrap\">\n\t\t\t<u-icon class=\"u-left-icon\" v-if=\"volumeIcon\" name=\"volume-fill\" :size=\"volumeSize\" :color=\"computeColor\"></u-icon>\n\t\t</view>\n\t\t<swiper :disable-touch=\"disableTouch\" @change=\"change\" :autoplay=\"autoplay && playState == 'play'\" :vertical=\"vertical\" circular :interval=\"duration\" class=\"u-swiper\">\n\t\t\t<swiper-item v-for=\"(item, index) in list\" :key=\"index\" class=\"u-swiper-item\">\n\t\t\t\t<view\n\t\t\t\t\tclass=\"u-news-item u-line-1\"\n\t\t\t\t\t:style=\"[textStyle]\"\n\t\t\t\t\t@tap=\"click(index)\"\n\t\t\t\t\t:class=\"['u-type-' + type]\"\n\t\t\t\t>\n\t\t\t\t\t{{ item }}\n\t\t\t\t</view>\n\t\t\t</swiper-item>\n\t\t</swiper>\n\t\t<view class=\"u-icon-wrap\">\n\t\t\t<u-icon @click=\"getMore\" class=\"u-right-icon\" v-if=\"moreIcon\" name=\"arrow-right\" :size=\"26\" :color=\"computeColor\"></u-icon>\n\t\t\t<u-icon @click=\"close\" class=\"u-right-icon\" v-if=\"closeIcon\" name=\"close\" :size=\"24\" :color=\"computeColor\"></u-icon>\n\t\t</view>\n\t</view>\n</template>\n\n<script>\nexport default {\n\tprops: {\n\t\t// 显示的内容,数组\n\t\tlist: {\n\t\t\ttype: Array,\n\t\t\tdefault() {\n\t\t\t\treturn [];\n\t\t\t}\n\t\t},\n\t\t// 显示的主题,success|error|primary|info|warning\n\t\ttype: {\n\t\t\ttype: String,\n\t\t\tdefault: 'warning'\n\t\t},\n\t\t// 是否显示左侧的音量图标\n\t\tvolumeIcon: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: true\n\t\t},\n\t\t// 是否显示右侧的右箭头图标\n\t\tmoreIcon: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: false\n\t\t},\n\t\t// 是否显示右侧的关闭图标\n\t\tcloseIcon: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: false\n\t\t},\n\t\t// 是否自动播放\n\t\tautoplay: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: true\n\t\t},\n\t\t// 文字颜色,各图标也会使用文字颜色\n\t\tcolor: {\n\t\t\ttype: String,\n\t\t\tdefault: ''\n\t\t},\n\t\t// 背景颜色\n\t\tbgColor: {\n\t\t\ttype: String,\n\t\t\tdefault: ''\n\t\t},\n\t\t// 滚动方向,row-水平滚动,column-垂直滚动\n\t\tdirection: {\n\t\t\ttype: String,\n\t\t\tdefault: 'row'\n\t\t},\n\t\t// 是否显示\n\t\tshow: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: true\n\t\t},\n\t\t// 字体大小,单位rpx\n\t\tfontSize: {\n\t\t\ttype: [Number, String],\n\t\t\tdefault: 26\n\t\t},\n\t\t// 滚动一个周期的时间长,单位ms\n\t\tduration: {\n\t\t\ttype: [Number, String],\n\t\t\tdefault: 2000\n\t\t},\n\t\t// 音量喇叭的大小\n\t\tvolumeSize: {\n\t\t\ttype: [Number, String],\n\t\t\tdefault: 34\n\t\t},\n\t\t// 水平滚动时的滚动速度,即每秒滚动多少rpx,这有利于控制文字无论多少时,都能有一个恒定的速度\n\t\tspeed: {\n\t\t\ttype: Number,\n\t\t\tdefault: 160\n\t\t},\n\t\t// 水平滚动时,是否采用衔接形式滚动\n\t\tisCircular: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: true\n\t\t},\n\t\t// 滚动方向,horizontal-水平滚动,vertical-垂直滚动\n\t\tmode: {\n\t\t\ttype: String,\n\t\t\tdefault: 'horizontal'\n\t\t},\n\t\t// 播放状态,play-播放,paused-暂停\n\t\tplayState: {\n\t\t\ttype: String,\n\t\t\tdefault: 'play'\n\t\t},\n\t\t// 是否禁止用手滑动切换\n\t\t// 目前HX2.6.11,只支持App 2.5.5+、H5 2.5.5+、支付宝小程序、字节跳动小程序\n\t\tdisableTouch: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: true\n\t\t},\n\t\t// 通知的边距\n\t\tpadding: {\n\t\t\ttype: [Number, String],\n\t\t\tdefault: '18rpx 24rpx'\n\t\t}\n\t},\n\tcomputed: {\n\t\t// 计算字体颜色,如果没有自定义的,就用uview主题颜色\n\t\tcomputeColor() {\n\t\t\tif (this.color) return this.color;\n\t\t\t// 如果是无主题,就默认使用content-color\n\t\t\telse if(this.type == 'none') return '#606266';\n\t\t\telse return this.type;\n\t\t},\n\t\t// 文字内容的样式\n\t\ttextStyle() {\n\t\t\tlet style = {};\n\t\t\tif (this.color) style.color = this.color;\n\t\t\telse if(this.type == 'none') style.color = '#606266';\n\t\t\tstyle.fontSize = this.fontSize + 'rpx';\n\t\t\treturn style;\n\t\t},\n\t\t// 垂直或者水平滚动\n\t\tvertical() {\n\t\t\tif(this.mode == 'horizontal') return false;\n\t\t\telse return true;\n\t\t},\n\t\t// 计算背景颜色\n\t\tcomputeBgColor() {\n\t\t\tif (this.bgColor) return this.bgColor;\n\t\t\telse if(this.type == 'none') return 'transparent';\n\t\t}\n\t},\n\tdata() {\n\t\treturn {\n\t\t\t// animation: false\n\t\t};\n\t},\n\tmethods: {\n\t\t// 点击通告栏\n\t\tclick(index) {\n\t\t\tthis.$emit('click', index);\n\t\t},\n\t\t// 点击关闭按钮\n\t\tclose() {\n\t\t\tthis.$emit('close');\n\t\t},\n\t\t// 点击更多箭头按钮\n\t\tgetMore() {\n\t\t\tthis.$emit('getMore');\n\t\t},\n\t\tchange(e) {\n\t\t\tlet index = e.detail.current;\n\t\t\tif(index == this.list.length - 1) {\n\t\t\t\tthis.$emit('end');\n\t\t\t}\n\t\t}\n\t}\n};\n</script>\n\n<style lang=\"scss\" scoped>\n@import \"../../libs/css/style.components.scss\";\n\n.u-notice-bar {\n\twidth: 100%;\n\t@include vue-flex;\n\talign-items: center;\n\tjustify-content: center;\n\tflex-wrap: nowrap;\n\tpadding: 18rpx 24rpx;\n\toverflow: hidden;\n}\n\n.u-swiper {\n\tfont-size: 26rpx;\n\theight: 32rpx;\n\t@include vue-flex;\n\talign-items: center;\n\tflex: 1;\n\tmargin-left: 12rpx;\n}\n\n.u-swiper-item {\n\t@include vue-flex;\n\talign-items: center;\n\toverflow: hidden;\n}\n\n.u-news-item {\n\toverflow: hidden;\n}\n\n.u-right-icon {\n\tmargin-left: 12rpx;\n\t/* #ifndef APP-NVUE */\n\tdisplay: inline-flex;\t\t\n\t/* #endif */\n\talign-items: center;\n}\n\n.u-left-icon {\n\t/* #ifndef APP-NVUE */\n\tdisplay: inline-flex;\t\t\n\t/* #endif */\n\talign-items: center;\n}\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/@dcloudio/vue-cli-plugin-uni/packages/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-column-notice.vue?vue&type=style&index=0&id=475fdbf0&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/@dcloudio/vue-cli-plugin-uni/packages/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-column-notice.vue?vue&type=style&index=0&id=475fdbf0&lang=scss&scoped=true&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1657536258206\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":""}