HHSLinkSLink/HSLink-wx/unpackage/dist/dev/.sourcemap/mp-weixin/components/uni-fav/uni-fav.js.map
2020-12-19 12:13:27 +08:00

1 line
11 KiB
Plaintext

{"version":3,"sources":["webpack:///D:/office/phy/HSLink/HSLink-app/components/uni-fav/uni-fav.vue?8cd2","webpack:///D:/office/phy/HSLink/HSLink-app/components/uni-fav/uni-fav.vue?bd07","webpack:///D:/office/phy/HSLink/HSLink-app/components/uni-fav/uni-fav.vue?6bf5","webpack:///D:/office/phy/HSLink/HSLink-app/components/uni-fav/uni-fav.vue?bfc9","uni-app:///components/uni-fav/uni-fav.vue","webpack:///D:/office/phy/HSLink/HSLink-app/components/uni-fav/uni-fav.vue?278f","webpack:///D:/office/phy/HSLink/HSLink-app/components/uni-fav/uni-fav.vue?dd39"],"names":[],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAgI;AAChI;AAC2D;AACL;AACsC;;;AAG5F;AAC2K;AAC3K,gBAAgB,kLAAU;AAC1B,EAAE,6EAAM;AACR,EAAE,8FAAM;AACR,EAAE,uGAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,kGAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA,WAAW,oPAEN;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACdA;AAAA;AAAA;AAAA;AAA4oB,CAAgB,0oBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACkBhqB;AACA,gBADA;AAEA;AACA,sBADA,EAFA;;AAKA;AACA;AACA,6BADA;AAEA,mBAFA,EADA;;AAKA;AACA,kBADA;AAEA,wBAFA,EALA;;AASA;AACA,kBADA;AAEA,wBAFA,EATA;;AAaA;AACA,kBADA;AAEA,wBAFA,EAbA;;AAiBA;AACA,kBADA;AAEA,wBAFA,EAjBA;;AAqBA;AACA,6BADA;AAEA,oBAFA,EArBA;;AAyBA;AACA,mBADA;AAEA,oBAFA,EAzBA;;AA6BA;AACA,kBADA;AAEA,aAFA,sBAEA;AACA;AACA,8BADA;AAEA,2BAFA;;AAIA,OAPA,EA7BA,EALA;;;AA4CA;AACA,WADA,qBACA;AACA;AACA;AACA;AACA,SAFA,MAEA;AACA;AACA;AACA;AACA,KATA,EA5CA;;AAuDA;AACA,WADA,qBACA;AACA;AACA,KAHA,EAvDA,E;;;;;;;;;;;;;AClBA;AAAA;AAAA;AAAA;AAAysC,CAAgB,goCAAG,EAAC,C;;;;;;;;;;;ACA7tC;AACA,OAAO,KAAU,EAAE,kBAKd","file":"components/uni-fav/uni-fav.js","sourcesContent":["import { render, staticRenderFns, recyclableRender, components } from \"./uni-fav.vue?vue&type=template&id=6b4a1d82&scoped=true&\"\nvar renderjs\nimport script from \"./uni-fav.vue?vue&type=script&lang=js&\"\nexport * from \"./uni-fav.vue?vue&type=script&lang=js&\"\nimport style0 from \"./uni-fav.vue?vue&type=style&index=0&id=6b4a1d82&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../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 \"6b4a1d82\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"components/uni-fav/uni-fav.vue\"\nexport default component.exports","export * from \"-!../../../../../work/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../work/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--16-0!../../../../../work/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../work/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../work/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../work/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./uni-fav.vue?vue&type=template&id=6b4a1d82&scoped=true&\"","var components = {\n uniIcons: function() {\n return import(\n /* webpackChunkName: \"components/uni-icons/uni-icons\" */ \"@/components/uni-icons/uni-icons.vue\"\n )\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 \"-!../../../../../work/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../work/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../work/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../work/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../work/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./uni-fav.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../work/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../work/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../work/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../work/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../work/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./uni-fav.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view :class=\"[circle === true || circle === 'true' ? 'uni-fav--circle' : '']\" :style=\"[{ backgroundColor: checked ? bgColorChecked : bgColor }]\"\r\n\t @click=\"onClick\" class=\"uni-fav\">\r\n\t\t<!-- #ifdef MP-ALIPAY -->\r\n\t\t<view class=\"uni-fav-star\" v-if=\"!checked && (star === true || star === 'true')\">\r\n\t\t\t<uni-icons :color=\"fgColor\" :style=\"{color: checked ? fgColorChecked : fgColor}\" size=\"14\" type=\"star-filled\" />\r\n\t\t</view>\r\n\t\t<!-- #endif -->\r\n\t\t<!-- #ifndef MP-ALIPAY -->\r\n\t\t<uni-icons :color=\"fgColor\" :style=\"{color: checked ? fgColorChecked : fgColor}\" class=\"uni-fav-star\" size=\"14\" type=\"star-filled\"\r\n\t\t v-if=\"!checked && (star === true || star === 'true')\" />\r\n\t\t<!-- #endif -->\r\n\t\t<text :style=\"{color: checked ? fgColorChecked : fgColor}\" class=\"uni-fav-text\">{{ checked ? contentText.contentFav : contentText.contentDefault }}</text>\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: \"UniFav\",\r\n\t\tcomponents: {\r\n\t\t\tuniIcons\r\n\t\t},\r\n\t\tprops: {\r\n\t\t\tstar: {\r\n\t\t\t\ttype: [Boolean, String],\r\n\t\t\t\tdefault: true\r\n\t\t\t},\r\n\t\t\tbgColor: {\r\n\t\t\t\ttype: String,\r\n\t\t\t\tdefault: \"#eeeeee\"\r\n\t\t\t},\r\n\t\t\tfgColor: {\r\n\t\t\t\ttype: String,\r\n\t\t\t\tdefault: \"#666666\"\r\n\t\t\t},\r\n\t\t\tbgColorChecked: {\r\n\t\t\t\ttype: String,\r\n\t\t\t\tdefault: \"#007aff\"\r\n\t\t\t},\r\n\t\t\tfgColorChecked: {\r\n\t\t\t\ttype: String,\r\n\t\t\t\tdefault: \"#FFFFFF\"\r\n\t\t\t},\r\n\t\t\tcircle: {\r\n\t\t\t\ttype: [Boolean, String],\r\n\t\t\t\tdefault: false\r\n\t\t\t},\r\n\t\t\tchecked: {\r\n\t\t\t\ttype: Boolean,\r\n\t\t\t\tdefault: false\r\n\t\t\t},\r\n\t\t\tcontentText: {\r\n\t\t\t\ttype: Object,\r\n\t\t\t\tdefault () {\r\n\t\t\t\t\treturn {\r\n\t\t\t\t\t\tcontentDefault: \"收藏\",\r\n\t\t\t\t\t\tcontentFav: \"已收藏\"\r\n\t\t\t\t\t};\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t},\r\n\t\twatch: {\r\n\t\t\tchecked() {\r\n\t\t\t\tif (uni.report) {\r\n\t\t\t\t\tif (this.checked) {\r\n\t\t\t\t\t\tuni.report(\"收藏\", \"收藏\");\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\tuni.report(\"取消收藏\", \"取消收藏\");\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t},\r\n\t\tmethods: {\r\n\t\t\tonClick() {\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$fav-height: 25px;\r\n\r\n\t.uni-fav {\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\talign-items: center;\r\n\t\tjustify-content: center;\r\n\t\twidth: 60px;\r\n\t\theight: $fav-height;\r\n\t\tline-height: $fav-height;\r\n\t\ttext-align: center;\r\n\t\tborder-radius: 3px;\r\n\t}\r\n\r\n\t.uni-fav--circle {\r\n\t\tborder-radius: 30px;\r\n\t}\r\n\r\n\t.uni-fav-star {\r\n\t\t/* #ifndef APP-NVUE */\r\n\t\tdisplay: flex;\r\n\t\t/* #endif */\r\n\t\theight: $fav-height;\r\n\t\tline-height: 24px;\r\n\t\tmargin-right: 3px;\r\n\t\talign-items: center;\r\n\t\tjustify-content: center;\r\n\t}\r\n\r\n\t.uni-fav-text {\r\n\t\t/* #ifndef APP-NVUE */\r\n\t\tdisplay: flex;\r\n\t\t/* #endif */\r\n\t\theight: $fav-height;\r\n\t\tline-height: $fav-height;\r\n\t\talign-items: center;\r\n\t\tjustify-content: center;\r\n\t\tfont-size: $uni-font-size-base;\r\n\t}\r\n</style>\r\n","import mod from \"-!../../../../../work/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../work/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../work/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../work/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../work/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../work/HBuilderX/plugins/uniapp-cli/node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../work/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../work/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../work/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./uni-fav.vue?vue&type=style&index=0&id=6b4a1d82&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../../../../work/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../work/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../work/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../work/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../work/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../work/HBuilderX/plugins/uniapp-cli/node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../work/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../work/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../work/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./uni-fav.vue?vue&type=style&index=0&id=6b4a1d82&lang=scss&scoped=true&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1602301330872\n var cssReload = require(\"D:/office/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":""}