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
1 lines
11 KiB
{"version":3,"sources":[null,"webpack:///D:/大庆/ui文件/大庆小程序/components/refresh.vue?2830","webpack:///D:/大庆/ui文件/大庆小程序/components/refresh.vue?be87","webpack:///D:/大庆/ui文件/大庆小程序/components/refresh.vue?6cc4","uni-app:///components/refresh.vue","webpack:///D:/大庆/ui文件/大庆小程序/components/refresh.vue?39d6","webpack:///D:/大庆/ui文件/大庆小程序/components/refresh.vue?116f"],"names":[],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAoH;AACpH;AAC2D;AACL;AACc;;;AAGpE;AACmK;AACnK,gBAAgB,6KAAU;AAC1B,EAAE,6EAAM;AACR,EAAE,kFAAM;AACR,EAAE,2FAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,sFAAU;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;AAAomB,CAAgB,inBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;ACWxnB;AACA,iBADA;AAEA;AACA;AACA,kBADA;AAEA,gBAFA,EADA,EAFA;;;AAQA,MARA,kBAQA;AACA;AACA,gBADA;AAEA,oBAFA;AAGA,mBAHA;AAIA,cAJA;;AAMA,GAfA;;AAiBA;AACA,gBADA,wBACA,CADA,EACA;AACA;AACA;AACA;AACA,KALA;AAMA,eANA,uBAMA,CANA,EAMA;AACA;AACA;AACA,gCADA;AAEA,2CAFA;AAGA;AACA;AACA;AACA;AACA;AACA,OATA,MASA;AACA;AACA;AACA;AACA;AACA,KArBA;AAsBA,cAtBA,sBAsBA,CAtBA,EAsBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAJA,MAIA;AACA;AACA;AACA;AACA,KAjCA;AAkCA,YAlCA,sBAkCA;AACA;AACA;AACA;AACA;AACA,OAHA,EAGA,GAHA;AAIA,KAxCA,EAjBA;;AA2DA;AACA,cADA,wBACA;AACA;AACA;AACA;AACA,KALA;AAMA,UANA,oBAMA;AACA;AACA;AACA;AACA,KAVA,EA3DA,E;;;;;;;;;;;;ACXA;AAAA;AAAA;AAAA;AAAymC,CAAgB,2jCAAG,EAAC,C;;;;;;;;;;;ACA7nC;AACA,OAAO,KAAU,EAAE,kBAKd","file":"components/refresh.js","sourcesContent":["import { render, staticRenderFns, recyclableRender, components } from \"./refresh.vue?vue&type=template&id=3ecbddf0&\"\nvar renderjs\nimport script from \"./refresh.vue?vue&type=script&lang=js&\"\nexport * from \"./refresh.vue?vue&type=script&lang=js&\"\nimport style0 from \"./refresh.vue?vue&type=style&index=0&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../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 null,\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"components/refresh.vue\"\nexport default component.exports","export * from \"-!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--16-0!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./refresh.vue?vue&type=template&id=3ecbddf0&\"","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 \"-!../../../../HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./refresh.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./refresh.vue?vue&type=script&lang=js&\"","<template>\n\t<view class='refreshBox' :style=\"isTranform\">\n\t\t<view class='refresh' :style=\"isZoom\" :class=\"isEnd==2?'animationSmall':''\">\n\t\t\t<view class='refreshWord' v-if=\"isEnd == 0\">松开刷新</view>\n\t\t\t<view class='refreshCirle animation' v-if=\"isEnd == 1\"></view>\n\t\t\t<image class='iconYes' src='../static/icon-yes.png' v-if=\"isEnd==2\"></image>\n\t\t</view>\n\t</view>\n</template>\n\n<script>\n\texport default {\n\t\tname: 'refresh',\n\t\tprops: {\n\t\t\t isTop:{\n\t\t\t\t type:Number,\n\t\t\t\t default:1\n\t\t\t }\n\t\t},\n\t\tdata() {\n\t\t\treturn {\n\t\t\t\tisTranf: 0,\n\t\t\t\ttouchStart: '',\n\t\t\t\ttouchMove: '',\n\t\t\t\tisEnd: 0\n\t\t\t};\n\t\t},\n\t\t\n\t\tmethods: {\n\t\t\trefreshStart(e) {\n\t\t\t\tif (this.isEnd == 0 && this.isTop == 1) {\n\t\t\t\t\tthis.touchStart = e.changedTouches[0].pageY\n\t\t\t\t}\n\t\t\t},\n\t\t\trefreshMove(e){\n\t\t\t\tif (this.isEnd == 0 && this.isTop == 1) {\n\t\t\t\t\tvar touchStart = this.touchStart,\n\t\t\t\t\t\toldMove = this.touchMove,\n\t\t\t\t\t\tnewMove = e.changedTouches[0].pageY\n\t\t\t\t\tif (touchStart <= newMove) {\n\t\t\t\t\t\tvar isTranf = touchStart > newMove ? 0 : newMove - touchStart\n\t\t\t\t\t\tthis.isTranf = isTranf\n\t\t\t\t\t\tthis.touchMove = e.changedTouches[0].pageY\n\t\t\t\t\t}\n\t\t\t\t} else{\n\t\t\t\t\tthis.isTranf = 0\n\t\t\t\t\tthis.isEnd = 0\n\t\t\t\t\tthis.touchStart = 9999\n\t\t\t\t}\n\t\t\t},\n\t\t\trefreshEnd(e) {\n\t\t\t\tvar that = this\n\t\t\t\tif (this.isEnd == 0 && this.isTop == 1) {\n\t\t\t\t\tif (this.isTranf >= 90) {\n\t\t\t\t\t\tthis.isTranf = 125\n\t\t\t\t\t\tthis.isEnd = 1\n\t\t\t\t\t\tthis.$emit('isRefresh');\n\t\t\t\t\t} else {\n\t\t\t\t\t\tthis.isTranf = 0\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t},\n\t\t\tendAfter(){\n\t\t\t\tthis.isEnd = 2\n\t\t\t\tsetTimeout(() => {\n\t\t\t\t\tthis.isTranf = 0\n\t\t\t\t\tthis.isEnd = 0\n\t\t\t\t}, 600)\n\t\t\t}\n\t\t},\n\t\tcomputed: {\n\t\t\tisTranform() {\n\t\t\t\tvar isTranf = this.isTranf > 150 ? 150 : this.isTranf\n\t\t\t\tvar isTemp = `transform: translateY(${isTranf-100}px);`\n\t\t\t\treturn isTemp\n\t\t\t},\n\t\t\tisZoom() {\n\t\t\t\tvar isTranf = this.isTranf > 125 ? 125 : this.isTranf\n\t\t\t\tvar isTemp = `zoom:${isTranf/125};`\n\t\t\t\treturn isTemp\n\t\t\t}\n\t\t}\n\n\t}\n</script>\n\n<style lang=\"scss\">\n\t.refreshBox {\n\t\tmargin:0 auto;\n\t\twidth: 100%;\n\t\theight: 100upx;\n\t\toverflow: hidden;\n\t\tdisplay: flex;\n\t\talign-items: center;\n\t\tjustify-content: center;\n\t\tmax-height: 300upx;\n\t\tposition: fixed;\n\t\tz-index: 999;\n\t\ttop: 0;\n\t\tleft: 0;\n\t\ttransform: translateY(-100upx);\n\t}\n\n\t.animationSmall {\n\t\tanimation: small 1.1s both;\n\t}\n\n\t@keyframes small {\n\t\t0% {\n\t\t\ttransform: scale(1)\n\t\t}\n\t\t20%{\n\t\t\ttransform: scale(1.4)\n\t\t}\n\t\t100% {\n\t\t\ttransform: scale(0)\n\t\t}\n\t}\n\t.refreshWord{\n\t\twidth: 150upx;\n\t\theight: 26upx;\n\t\tfont-size: 24upx;\n\t\tline-height: 26upx;\n\t\ttext-align: center;\n\t\tborder-radius: 26upx;\n\t}\n\n\t.refresh {\n\t\tmin-width: 50upx;\n\t\tdisplay: flex;\n\t\talign-items: center;\n\t\tjustify-content: center;\n\t\theight: 50upx;\n\t\tbackground: #FFFFFF;\n\t\tbox-shadow: 0 0 16upx 0 rgba(0, 0, 0, 0.10);\n\t\tborder-radius: 50upx;\n\t}\n\n\t.refreshCirle {\n\t\twidth: 26upx;\n\t\theight: 26upx;\n\t\tborder-radius: 50%;\n\t\tdisplay: inline-block;\n\t\tposition: relative;\n\t\tborder: 6upx solid black;\n\t\tborder-bottom-color: transparent;\n\t\tborder-top-color: transparent;\n\t}\n\n\t.animation {\n\t\tanimation: rotate 1.1s infinite;\n\t\tanimation-timing-function: cubic-bezier(0.3, 1.65, 0.7, -0.65);\n\t}\n\n\t@keyframes rotate {\n\t\t0% {\n\t\t\ttransform: rotate(0deg);\n\t\t}\n\n\t\t100% {\n\t\t\ttransform: rotate(360deg);\n\t\t}\n\t}\n\n\t.true {\n\t\tcolor: black;\n\t}\n\n\t.iconYes {\n\t\twidth: 34upx;\n\t\theight: 34upx;\n\t}\n</style>\n","import mod from \"-!../../../../HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../HBuilderX/plugins/uniapp-cli/node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./refresh.vue?vue&type=style&index=0&lang=scss&\"; export default mod; export * from \"-!../../../../HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../HBuilderX/plugins/uniapp-cli/node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./refresh.vue?vue&type=style&index=0&lang=scss&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1606184086884\n var cssReload = require(\"D:/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":""} |