You can not 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 lines
11 KiB

{"version":3,"sources":["webpack:///D:/工作/zhonglmini/components/struggler-uniapp-add-tip/struggler-uniapp-add-tip.vue?38bb","webpack:///D:/工作/zhonglmini/components/struggler-uniapp-add-tip/struggler-uniapp-add-tip.vue?138f","webpack:///D:/工作/zhonglmini/components/struggler-uniapp-add-tip/struggler-uniapp-add-tip.vue?a912","webpack:///D:/工作/zhonglmini/components/struggler-uniapp-add-tip/struggler-uniapp-add-tip.vue?602f","uni-app:///components/struggler-uniapp-add-tip/struggler-uniapp-add-tip.vue","webpack:///D:/工作/zhonglmini/components/struggler-uniapp-add-tip/struggler-uniapp-add-tip.vue?87e3","webpack:///D:/工作/zhonglmini/components/struggler-uniapp-add-tip/struggler-uniapp-add-tip.vue?ccf2"],"names":["data","showTip","mounted","setTimeout","props","tip","type","default","required","duration","methods","hideTip","uni"],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAiJ;AACjJ;AAC4E;AACL;AACsC;;;AAG7G;AACyK;AACzK,gBAAgB,+KAAU;AAC1B,EAAE,8FAAM;AACR,EAAE,+GAAM;AACR,EAAE,wHAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,mHAAU;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;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACRA;AAAA;AAAA;AAAA;AAAsoB,CAAgB,4oBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACW1pB;AAAA,eACA;EACAA;IACA;MACAC;IACA;EACA;EACAC;IAAA;IACA;IACAC;MACA;IACA;EACA;EACAC;IACAC;MACAC;MACAC;MACAC;IACA;IACAC;MACAH;MACAC;MACAC;IACA;EACA;EACAE;IACAC;MACAC;MACA;IACA;EACA;AACA;AAAA,2B;;;;;;;;;;;;;AC1CA;AAAA;AAAA;AAAA;AAAytC,CAAgB,2pCAAG,EAAC,C;;;;;;;;;;;ACA7uC;AACA,OAAO,KAAU,EAAE,kBAKd","file":"components/struggler-uniapp-add-tip/struggler-uniapp-add-tip.js","sourcesContent":["import { render, staticRenderFns, recyclableRender, components } from \"./struggler-uniapp-add-tip.vue?vue&type=template&id=73408264&scoped=true&\"\nvar renderjs\nimport script from \"./struggler-uniapp-add-tip.vue?vue&type=script&lang=js&\"\nexport * from \"./struggler-uniapp-add-tip.vue?vue&type=script&lang=js&\"\nimport style0 from \"./struggler-uniapp-add-tip.vue?vue&type=style&index=0&id=73408264&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 \"73408264\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"components/struggler-uniapp-add-tip/struggler-uniapp-add-tip.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--17-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!./struggler-uniapp-add-tip.vue?vue&type=template&id=73408264&scoped=true&\"","var components\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 \"-!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--13-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!./struggler-uniapp-add-tip.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--13-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!./struggler-uniapp-add-tip.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view>\r\n\t\t<view class=\"uni-add-tips-box\" v-if=\"showTip\">\r\n\t\t <view class='uni-add-tips-content' @tap='hideTip'>\r\n\t\t <text>{{tip}}</text>\r\n\t\t </view>\r\n\t\t</view>\r\n\t</view>\r\n</template>\r\n\r\n<script>\r\n\tconst SHOW_TIP = \"SHOW_TIP\"\r\n\texport default{\r\n\t\tdata(){\r\n\t\t\treturn{\r\n\t\t\t\tshowTip:false,\r\n\t\t\t}\r\n\t\t},\r\n\t\tmounted() {\r\n\t\t\tthis.showTip = !uni.getStorageInfoSync().keys.includes(SHOW_TIP)\r\n\t\t\tsetTimeout(()=>{\r\n\t\t\t\tthis.showTip = false\r\n\t\t\t},this.duration*1000)\r\n\t\t},\r\n\t\tprops:{\r\n\t\t\ttip:{\r\n\t\t\t\ttype:String,\r\n\t\t\t\tdefault:\"点击「添加小程序」,下次访问更便捷\",\r\n\t\t\t\trequired:true\t\t\t\t\r\n\t\t\t},\r\n\t\t\tduration:{\r\n\t\t\t\ttype:Number,\r\n\t\t\t\tdefault:5,\r\n\t\t\t\trequired:false\r\n\t\t\t}\r\n\t\t},\r\n\t\tmethods:{\r\n\t\t\thideTip(){\r\n\t\t\t\tuni.setStorageSync(SHOW_TIP,true)\r\n\t\t\t\tthis.showTip = false\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$themeColor:#34b5e2; //主题色\r\n\t.uni-add-tips-box {\r\n\t position: fixed;\r\n\t top:0;\r\n\t right: 0;\r\n\t z-index: 99999;\r\n\t opacity: 0.8;\r\n\t display: flex;\r\n\t justify-content: flex-end;\r\n\t align-items: flex-end;\r\n\t flex-direction: column;\r\n\t width: 600upx;\r\n\t animation: opacityC 1s linear infinite;\r\n\t}\r\n\t.uni-add-tips-content::before{\r\n\t\tcontent: \"\";\r\n\t\tposition: absolute;\r\n\t\twidth: 0;\r\n\t\theight: 0;\r\n\t\ttop:-38upx;\r\n\t\tright:105upx;\r\n\t\tborder-width: 20upx;\r\n\t\tborder-style: solid;\r\n\t\tdisplay: block;\r\n\t\tborder-color: transparent transparent $themeColor transparent;\r\n\t}\r\n\t.uni-add-tips-content {\r\n\t border-width: 0upx;\r\n\t margin-top: 20upx;\r\n\t position: relative;\r\n\t background-color: $themeColor;\r\n\t box-shadow: 0 10upx 20upx -10upx $themeColor;\r\n\t border-radius: 12upx;\r\n\t display: flex;\r\n\t align-items: center;\r\n\t justify-content: center;\r\n\t padding: 18upx 20upx;\r\n\t margin-right: 40upx;\r\n\t}\r\n\t.uni-add-tips-content > text {\r\n\t color: #fff;\r\n\t font-size: 28upx;\r\n\t font-weight: 400;\r\n\t}\r\n\t@keyframes opacityC{\r\n\t\t0%{opacity: 0.8;}\r\n\t\t50%{opacity: 1;}\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\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\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!./struggler-uniapp-add-tip.vue?vue&type=style&index=0&id=73408264&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\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\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!./struggler-uniapp-add-tip.vue?vue&type=style&index=0&id=73408264&lang=scss&scoped=true&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1719971333176\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":""}