uni-fav.js.map 12 KB

1
  1. {"version":3,"sources":["webpack:///G:/item/appBase/components/uni-fav/uni-fav.vue?7e89","webpack:///G:/item/appBase/components/uni-fav/uni-fav.vue?d846","webpack:///G:/item/appBase/components/uni-fav/uni-fav.vue?58e3","webpack:///G:/item/appBase/components/uni-fav/uni-fav.vue?e170","uni-app:///components/uni-fav/uni-fav.vue","webpack:///G:/item/appBase/components/uni-fav/uni-fav.vue?b85b","webpack:///G:/item/appBase/components/uni-fav/uni-fav.vue?a87f"],"names":[],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAgI;AAChI;AAC2D;AACL;AACsC;;;AAG5F;AAC2K;AAC3K,gBAAgB,oLAAU;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;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;AAA+nB,CAAgB,opBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACkBnpB;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;AAAirC,CAAgB,kpCAAG,EAAC,C;;;;;;;;;;;ACArsC;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 \"!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 \"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 \"-!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-fav.vue?vue&type=template&id=6b4a1d82&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-fav.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-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 \"-!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-fav.vue?vue&type=style&index=0&id=6b4a1d82&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-fav.vue?vue&type=style&index=0&id=6b4a1d82&lang=scss&scoped=true&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1618025084878\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":""}