You cannot 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 line
24 KiB
Plaintext

{"version":3,"sources":["webpack:///D:/WebstormProjects/uni-Identify-quality/tm-vuetify/components/tm-translate/tm-translate.vue?8a8d","webpack:///D:/WebstormProjects/uni-Identify-quality/tm-vuetify/components/tm-translate/tm-translate.vue?4f84","webpack:///D:/WebstormProjects/uni-Identify-quality/tm-vuetify/components/tm-translate/tm-translate.vue?c7e1","webpack:///D:/WebstormProjects/uni-Identify-quality/tm-vuetify/components/tm-translate/tm-translate.vue?087c","uni-app:///tm-vuetify/components/tm-translate/tm-translate.vue","webpack:///D:/WebstormProjects/uni-Identify-quality/tm-vuetify/components/tm-translate/tm-translate.vue?ca01","webpack:///D:/WebstormProjects/uni-Identify-quality/tm-vuetify/components/tm-translate/tm-translate.vue?c5c1"],"names":["name","props","duration","type","default","wait","animationName","auto","data","animationData","show","aniOff","watch","mounted","destroyed","methods","play","autoPlay","fadeIn","console","timingFunction","animation","uni","t","fadeOut","fadeUp","fadeDown","fadeLeft","fadeRight","zoomIn","zoomOut"],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAqI;AACrI;AACgE;AACL;AACsC;;;AAGjG;AACwN;AACxN,gBAAgB,8NAAU;AAC1B,EAAE,kFAAM;AACR,EAAE,mGAAM;AACR,EAAE,4GAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,uGAAU;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;AAAq2B,CAAgB,22BAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;ACOz3B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AATA,eAUA;EACAA;EACAC;IACAC;MACAC;MACAC;IACA;IAAA;IACAC;MACAF;MACAC;IACA;IAAA;IACAE;MACAH;MACAC;IACA;IACAG;MAAA;MACAJ;MACAC;IACA;EACA;EACAI;IACA;MACAC;MACAC;MACAC;IACA;EACA;;EACAC;IACAN;MACA;IACA;EACA;EACAO;IACA;EACA;EACAC;IACA;MACA;IACA;EACA;EACAC;IACAC;MACA;QACA;MACA;IACA;IACAC;MACA;MAEA;IACA;IACAC;MACA;MACA;QACAC;QACA;MACA;MACA;MACA;MACA;MAEA;QACA;QAEA;QACA;QACA;QACA;UACAjB;UACAkB;QACA;QACA;QACAC;QACA;QAEAC;UACAD;YAAAnB;UAAA;UACAqB;QACA;UACA;QACA;UACA;UACAA;UACAA;QACA;MAIA;IACA;IACAC;MACA;MACA;QACAL;QACA;MACA;MACA;MACA;MACA;MAEA;QACA;QACA;QACA;QACA;QACA;UACAjB;UACAkB;QACA;QACA;QACAC;QACA;QAGAC;UACAD;YAAAnB;UAAA;UACAqB;QACA;UACA;UAAA;QACA;UACA;UACAA;UACAA;QACA;MAIA;IACA;IACAE;MACA;MACA;QACAN;QACA;MACA;MACA;MACA;MACA;MAEA;MACA;MACA;MACA;MACA;QACAjB;QACAkB;MACA;MACA;MACAC;MACA;MAEAC;QACAD;UAAAnB;QAAA;QACAqB;QACAD;UACA;UACAC;UACAA;QACA;MACA;IACA;IACAG;MACA;MACA;QACAP;QACA;MACA;MACA;MACA;MACA;MAEA;QACA;QACA;QACA;QACA;UACAjB;UACAkB;QACA;QACA;QACAC;QACA;QACAC;UACAD;YAAAnB;UAAA;UACAqB;QACA;UACA;QACA;UACA;UACAA;UACAA;QACA;MAEA;IACA;IACAI;MACA;MACA;QACAR;QACA;MACA;MACA;MACA;MACA;MACA;QACA;QACA;QACA;QACA;UACAjB;UACAkB;QACA;QACA;QACAC;QACA;QACAC;UACAD;YAAAnB;UAAA;UACAqB;QACA;UACA;QACA;UACA;UACAA;UACAA;QACA;MAEA;IACA;IACAK;MACA;MACA;QACAT;QACA;MACA;MACA;MACA;MACA;MACA;QACA;QACA;QACA;QACA;UACAjB;UACAkB;QACA;QACA;QACAC;QACA;QACAC;UACAD;YAAAnB;UAAA;UACAqB;QACA;UACA;QACA;UACA;UACAA;UACAA;QACA;MACA;IACA;IACAM;MACA;MACA;QACAV;QACA;MACA;MACA;MACA;MACA;MACA;QAAA;QACA;QACA;QACA;QACA;UACAjB;UACAkB;QACA;QACA;QACAC;QACA;QACAC;UACAD;YAAAnB;UAAA;UACA;QACA;UACA;QACA;UACA;UACAqB;UACAA;QACA;MAEA;IACA;IACAO;MACA;MACA;QACAX;QACA;MACA;MACA;MACA;MACA;MACA;QACA;QACA;QACA;QACA;UACAjB;UACAkB;QACA;QACA;QACAC;QACA;QACAC;UACAD;YAAAnB;UAAA;UACAqB;QACA;UACA;QACA;UACAA;UACA;UACAA;UACAA;QACA;MAEA;IACA;EACA;AACA;AAAA,2B;;;;;;;;;;;;;ACzVA;AAAA;AAAA;AAAA;AAAonD,CAAgB,sjDAAG,EAAC,C;;;;;;;;;;;ACAxoD;AACA,OAAO,KAAU,EAAE,kBAKd","file":"tm-vuetify/components/tm-translate/tm-translate.js","sourcesContent":["import { render, staticRenderFns, recyclableRender, components } from \"./tm-translate.vue?vue&type=template&id=70049f4d&scoped=true&\"\nvar renderjs\nimport script from \"./tm-translate.vue?vue&type=script&lang=js&\"\nexport * from \"./tm-translate.vue?vue&type=script&lang=js&\"\nimport style0 from \"./tm-translate.vue?vue&type=style&index=0&id=70049f4d&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!C:\\\\Users\\\\37363\\\\Downloads\\\\HBuilderX.3.8.7.20230703\\\\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 \"70049f4d\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"tm-vuetify/components/tm-translate/tm-translate.vue\"\nexport default component.exports","export * from \"-!C:\\\\Users\\\\37363\\\\Downloads\\\\HBuilderX.3.8.7.20230703\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\templateLoader.js??vue-loader-options!C:\\\\Users\\\\37363\\\\Downloads\\\\HBuilderX.3.8.7.20230703\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--17-0!C:\\\\Users\\\\37363\\\\Downloads\\\\HBuilderX.3.8.7.20230703\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\template.js!C:\\\\Users\\\\37363\\\\Downloads\\\\HBuilderX.3.8.7.20230703\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-uni-app-loader\\\\page-meta.js!C:\\\\Users\\\\37363\\\\Downloads\\\\HBuilderX.3.8.7.20230703\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!C:\\\\Users\\\\37363\\\\Downloads\\\\HBuilderX.3.8.7.20230703\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./tm-translate.vue?vue&type=template&id=70049f4d&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 \"-!C:\\\\Users\\\\37363\\\\Downloads\\\\HBuilderX.3.8.7.20230703\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!C:\\\\Users\\\\37363\\\\Downloads\\\\HBuilderX.3.8.7.20230703\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--13-1!C:\\\\Users\\\\37363\\\\Downloads\\\\HBuilderX.3.8.7.20230703\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!C:\\\\Users\\\\37363\\\\Downloads\\\\HBuilderX.3.8.7.20230703\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!C:\\\\Users\\\\37363\\\\Downloads\\\\HBuilderX.3.8.7.20230703\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./tm-translate.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!C:\\\\Users\\\\37363\\\\Downloads\\\\HBuilderX.3.8.7.20230703\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!C:\\\\Users\\\\37363\\\\Downloads\\\\HBuilderX.3.8.7.20230703\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--13-1!C:\\\\Users\\\\37363\\\\Downloads\\\\HBuilderX.3.8.7.20230703\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!C:\\\\Users\\\\37363\\\\Downloads\\\\HBuilderX.3.8.7.20230703\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!C:\\\\Users\\\\37363\\\\Downloads\\\\HBuilderX.3.8.7.20230703\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./tm-translate.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view v-show=\"show\" :animation=\"animationData\" class=\"tm-translate\" >\r\n\t\t<slot></slot>\r\n\t</view>\r\n</template>\r\n\r\n<script>\r\n\t/**\r\n\t * 动画\r\n\t * @property {Function} start 动画开始触发.\r\n\t * @property {Function} end 动画结束触发.\r\n\t * @property {Number} duration 动画时长\r\n\t * @property {Number} wait 延时\r\n\t * @property {String} animation-name = [fadeUp|fadeDown|fadeLeft|fadeRight|zoomIn|zoomOut|fadeIn|fadeOut] 动画效果名称.\r\n\t * @property {String|Boolean} auto = [true|false] 默认:true,是否自动播放动画.\r\n\t * @example <tm-translate wait=\"500\" animation-name=\"fadeDown\"><tm-upload></tm-upload></tm-translate>\r\n\t */\r\n\texport default {\r\n\t\tname:\"tm-translate\",\r\n\t\tprops:{\r\n\t\t\tduration:{\r\n\t\t\t\ttype:Number|String,\r\n\t\t\t\tdefault:600\r\n\t\t\t},//动画时长.\r\n\t\t\twait:{\r\n\t\t\t\ttype:Number|String,\r\n\t\t\t\tdefault:0\r\n\t\t\t},//延时动画.\r\n\t\t\tanimationName:{\r\n\t\t\t\ttype:String,\r\n\t\t\t\tdefault:\"fadeUp\"\r\n\t\t\t},\r\n\t\t\tauto:{//是否自动播放动画.\r\n\t\t\t\ttype:Boolean,\r\n\t\t\t\tdefault:true\r\n\t\t\t}\r\n\t\t},\r\n\t\tdata() {\r\n\t\t\treturn {\r\n\t\t\t\tanimationData:\"\",\r\n\t\t\t\tshow:false,\r\n\t\t\t\taniOff:true,//是否结束了动画.\r\n\t\t\t};\r\n\t\t},\r\n\t\twatch:{\r\n\t\t\tanimationName:function(){\r\n\t\t\t\tthis.play();\r\n\t\t\t}\r\n\t\t},\r\n\t\tmounted() {\r\n\t\t\tthis.autoPlay();\r\n\t\t},\r\n\t\tdestroyed() {\r\n\t\t\tthis.$nextTick(function(){\r\n\t\t\t\tthis[this.animationName]()\r\n\t\t\t})\r\n\t\t},\r\n\t\tmethods: {\r\n\t\t\tplay(){\r\n\t\t\t\tthis.$nextTick(function(){\r\n\t\t\t\t\tthis[this.animationName]()\r\n\t\t\t\t})\r\n\t\t\t},\r\n\t\t\tautoPlay(){\r\n\t\t\t\tif(!this.auto) return;\r\n\t\t\t\t\r\n\t\t\t\tthis[this.animationName]()\r\n\t\t\t},\r\n\t\t\tfadeIn() {\r\n\t\t\t\tlet t = this;\r\n\t\t\t\tif(!this.aniOff) {\r\n\t\t\t\t\tconsole.warn(\"未结束动画,不能连续点击.\")\r\n\t\t\t\t\treturn;\r\n\t\t\t\t}\r\n\t\t\t\t// 开始动画.\r\n\t\t\t\tthis.$emit('start')\r\n\t\t\t\tthis.show = true;\r\n\t\t\t\t\r\n\t\t\t\tthis.$nextTick(function(){\r\n\t\t\t\t\tthis.animationData = \"\";\r\n\r\n\t\t\t\t\tthis.aniOff = false;\r\n\t\t\t\t\tlet duration = parseInt(this.duration)?parseInt(this.duration):500;\r\n\t\t\t\t\tlet wait = parseInt(this.wait)? parseInt(this.wait) : 50;\r\n\t\t\t\t\tvar animation = uni.createAnimation({\r\n\t\t\t\t\t duration: 0,\r\n\t\t\t\t\t timingFunction: 'linear',\r\n\t\t\t\t\t })\r\n\t\t\t\t\t this.animation = animation\r\n\t\t\t\t\t animation.opacity(0).step()\r\n\t\t\t\t\t this.animationData = animation.export()\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\tuni.$tm.sleep(wait).then(()=>{\r\n\t\t\t\t\t\t\tanimation.opacity(1).step({duration:duration})\r\n\t\t\t\t\t\t\tt.animationData = animation.export()\r\n\t\t\t\t\t\t}).then(()=>{\r\n\t\t\t\t\t\t\treturn uni.$tm.sleep(duration);\r\n\t\t\t\t\t\t}).then(()=>{\r\n\t\t\t\t\t\t\t// 结束动画.\r\n\t\t\t\t\t\t\tt.$emit('end')\r\n\t\t\t\t\t\t\tt.aniOff = true;\r\n\t\t\t\t\t\t})\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t})\r\n\t\t\t},\r\n\t\t\tfadeOut() {\r\n\t\t\t\tlet t = this;\r\n\t\t\t\tif(!this.aniOff) {\r\n\t\t\t\t\tconsole.warn(\"未结束动画,不能连续点击.\")\r\n\t\t\t\t\treturn;\r\n\t\t\t\t}\r\n\t\t\t\t// 开始动画.\r\n\t\t\t\tthis.$emit('start')\r\n\t\t\t\tthis.show = true;\r\n\t\t\t\t\r\n\t\t\t\tthis.$nextTick(function(){\r\n\t\t\t\t\tthis.animationData = \"\";\r\n\t\t\t\t\tthis.aniOff = false;\r\n\t\t\t\t\tlet duration = parseInt(this.duration)?parseInt(this.duration):500;\r\n\t\t\t\t\tlet wait = parseInt(this.wait)? parseInt(this.wait) : 50;\r\n\t\t\t\t\tvar animation = uni.createAnimation({\r\n\t\t\t\t\t duration: 0,\r\n\t\t\t\t\t timingFunction: 'ease',\r\n\t\t\t\t\t })\r\n\t\t\t\t\t this.animation = animation\r\n\t\t\t\t\t animation.opacity(1).step()\r\n\t\t\t\t\t this.animationData = animation.export()\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\tuni.$tm.sleep(wait).then(()=>{\r\n\t\t\t\t\t\t\tanimation.opacity(0).step({duration:duration})\r\n\t\t\t\t\t\t\tt.animationData = animation.export()\r\n\t\t\t\t\t\t}).then(()=>{\r\n\t\t\t\t\t\t\treturn uni.$tm.sleep(duration);;\r\n\t\t\t\t\t\t}).then(()=>{\r\n\t\t\t\t\t\t\t// 结束动画.\r\n\t\t\t\t\t\t\tt.$emit('end')\r\n\t\t\t\t\t\t\tt.aniOff = true;\r\n\t\t\t\t\t\t})\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t})\r\n\t\t\t},\r\n\t\t\tfadeUp() {\r\n\t\t\t\tlet t = this;\r\n\t\t\t\tif(!this.aniOff) {\r\n\t\t\t\t\tconsole.warn(\"未结束动画,不能连续点击.\")\r\n\t\t\t\t\treturn;\r\n\t\t\t\t}\r\n\t\t\t\t// 开始动画.\r\n\t\t\t\tthis.$emit('start')\r\n\t\t\t\tthis.show = true;\r\n\t\t\t\t\r\n\t\t\t\tthis.animationData = \"\";\r\n\t\t\t\tthis.aniOff = false;\r\n\t\t\t\tlet duration = parseInt(this.duration)?parseInt(this.duration):500;\r\n\t\t\t\tlet wait = parseInt(this.wait)? parseInt(this.wait) : 50;\r\n\t\t\t\tvar animation = uni.createAnimation({\r\n\t\t\t\t duration: 0,\r\n\t\t\t\t timingFunction: 'ease',\r\n\t\t\t\t })\r\n\t\t\t\t this.animation = animation\r\n\t\t\t\t animation.translateY(45).opacity(0).step()\r\n\t\t\t\t this.animationData = animation.export()\r\n\t\t\t\t\t\r\n\t\t\t\t\tuni.$tm.sleep(wait).then(function(){\r\n\t\t\t\t\t\tanimation.translateY(0).opacity(1).step({duration:duration})\r\n\t\t\t\t\t\tt.animationData = animation.export()\r\n\t\t\t\t\t\t uni.$tm.sleep(duration).then(()=>{\r\n\t\t\t\t\t\t\t// 结束动画.\r\n\t\t\t\t\t\t\tt.$emit('end')\r\n\t\t\t\t\t\t\tt.aniOff = true;\r\n\t\t\t\t\t\t})\r\n\t\t\t\t\t})\r\n\t\t\t},\r\n\t\t\tfadeDown() {\r\n\t\t\t\tlet t = this;\r\n\t\t\t\tif(!this.aniOff) {\r\n\t\t\t\t\tconsole.warn(\"未结束动画,不能连续点击.\")\r\n\t\t\t\t\treturn;\r\n\t\t\t\t}\r\n\t\t\t\t// 开始动画.\r\n\t\t\t\tthis.$emit('start')\r\n\t\t\t\tthis.show = true;\r\n\t\t\t\t\r\n\t\t\t\tthis.$nextTick(function(){\r\n\t\t\t\t\tthis.aniOff = false;\r\n\t\t\t\t\tlet duration = parseInt(this.duration)?parseInt(this.duration):500;\r\n\t\t\t\t\tlet wait = parseInt(this.wait)? parseInt(this.wait) : 50;\r\n\t\t\t\t\tvar animation = uni.createAnimation({\r\n\t\t\t\t\t duration: 0,\r\n\t\t\t\t\t timingFunction: 'ease',\r\n\t\t\t\t\t })\r\n\t\t\t\t\t this.animation = animation\r\n\t\t\t\t\t animation.translateY(-45).opacity(0).step()\r\n\t\t\t\t\t this.animationData = animation.export()\r\n\t\t\t\t\t\tuni.$tm.sleep(wait).then(()=>{\r\n\t\t\t\t\t\t\tanimation.translateY(0).opacity(1).step({duration:duration})\r\n\t\t\t\t\t\t\tt.animationData = animation.export()\r\n\t\t\t\t\t\t}).then(()=>{\r\n\t\t\t\t\t\t\treturn uni.$tm.sleep(duration);\r\n\t\t\t\t\t\t}).then(()=>{\r\n\t\t\t\t\t\t\t// 结束动画.\r\n\t\t\t\t\t\t\tt.$emit('end')\r\n\t\t\t\t\t\t\tt.aniOff = true;\r\n\t\t\t\t\t\t})\r\n\t\t\t\t\t\t\r\n\t\t\t\t})\r\n\t\t\t},\r\n\t\t\tfadeLeft() {\r\n\t\t\t\tlet t= this;\r\n\t\t\t\tif(!this.aniOff) {\r\n\t\t\t\t\tconsole.warn(\"未结束动画,不能连续点击.\")\r\n\t\t\t\t\treturn;\r\n\t\t\t\t}\r\n\t\t\t\t// 开始动画.\r\n\t\t\t\tthis.$emit('start')\r\n\t\t\t\tthis.show = true;\r\n\t\t\t\tthis.$nextTick(function(){\r\n\t\t\t\t\tthis.aniOff = false;\r\n\t\t\t\t\tlet duration = parseInt(this.duration)?parseInt(this.duration):500;\r\n\t\t\t\t\tlet wait = parseInt(this.wait)? parseInt(this.wait) : 50;\r\n\t\t\t\t\tvar animation = uni.createAnimation({\r\n\t\t\t\t\t duration: 0,\r\n\t\t\t\t\t timingFunction: 'ease',\r\n\t\t\t\t\t })\r\n\t\t\t\t\t this.animation = animation\r\n\t\t\t\t\t animation.translateX(45).opacity(0).step()\r\n\t\t\t\t\t this.animationData = animation.export()\r\n\t\t\t\t\t\tuni.$tm.sleep(wait).then(()=>{\r\n\t\t\t\t\t\t\tanimation.translateX(0).opacity(1).step({duration:duration})\r\n\t\t\t\t\t\t\tt.animationData = animation.export()\r\n\t\t\t\t\t\t}).then(()=>{\r\n\t\t\t\t\t\t\treturn uni.$tm.sleep(duration);\r\n\t\t\t\t\t\t}).then(()=>{\r\n\t\t\t\t\t\t\t// 结束动画.\r\n\t\t\t\t\t\t\tt.$emit('end')\r\n\t\t\t\t\t\t\tt.aniOff = true;\r\n\t\t\t\t\t\t})\r\n\t\t\t\t\t\t\r\n\t\t\t\t})\r\n\t\t\t},\r\n\t\t\tfadeRight() {\r\n\t\t\t\tlet t = this;\r\n\t\t\t\tif(!this.aniOff) {\r\n\t\t\t\t\tconsole.warn(\"未结束动画,不能连续点击.\")\r\n\t\t\t\t\treturn;\r\n\t\t\t\t}\r\n\t\t\t\t// 开始动画.\r\n\t\t\t\tthis.$emit('start')\r\n\t\t\t\tthis.show = true;\r\n\t\t\t\tthis.$nextTick(function(){\r\n\t\t\t\t\tthis.aniOff = false;\r\n\t\t\t\t\tlet duration = parseInt(this.duration)?parseInt(this.duration):500;\r\n\t\t\t\t\tlet wait = parseInt(this.wait)? parseInt(this.wait) : 50;\r\n\t\t\t\t\tvar animation = uni.createAnimation({\r\n\t\t\t\t\t duration: 0,\r\n\t\t\t\t\t timingFunction: 'ease',\r\n\t\t\t\t\t })\r\n\t\t\t\t\t this.animation = animation\r\n\t\t\t\t\t animation.translateX(-45).opacity(0).step()\r\n\t\t\t\t\t this.animationData = animation.export()\r\n\t\t\t\t\t\tuni.$tm.sleep(wait).then(()=>{\r\n\t\t\t\t\t\t\tanimation.translateX(0).opacity(1).step({duration:duration})\r\n\t\t\t\t\t\t\tt.animationData = animation.export()\r\n\t\t\t\t\t\t}).then(()=>{\r\n\t\t\t\t\t\t\t return uni.$tm.sleep(duration);\r\n\t\t\t\t\t\t}).then(()=>{\r\n\t\t\t\t\t\t\t// 结束动画.\r\n\t\t\t\t\t\t\tt.$emit('end')\r\n\t\t\t\t\t\t\tt.aniOff = true;\r\n\t\t\t\t\t\t})\r\n\t\t\t\t})\r\n\t\t\t},\r\n\t\t\tzoomIn() {\r\n\t\t\t\tlet t= this;\r\n\t\t\t\tif(!this.aniOff) {\r\n\t\t\t\t\tconsole.warn(\"未结束动画,不能连续点击.\")\r\n\t\t\t\t\treturn;\r\n\t\t\t\t}\r\n\t\t\t\t// 开始动画.\r\n\t\t\t\tthis.$emit('start')\r\n\t\t\t\tthis.show = true;\r\n\t\t\t\tthis.$nextTick(function(){\r\n\t\t\t\t\tthis.aniOff = false;\r\n\t\t\t\t\tlet duration = parseInt(this.duration)?parseInt(this.duration):500;\r\n\t\t\t\t\tlet wait = parseInt(this.wait)? parseInt(this.wait) : 50;\r\n\t\t\t\t\tvar animation = uni.createAnimation({\r\n\t\t\t\t\t duration: 0,\r\n\t\t\t\t\t timingFunction: 'ease',\r\n\t\t\t\t\t })\r\n\t\t\t\t\t this.animation = animation\r\n\t\t\t\t\t animation.scale(0.64).opacity(0).step()\r\n\t\t\t\t\t this.animationData = animation.export()\r\n\t\t\t\t\t\tuni.$tm.sleep(wait).then(()=>{\r\n\t\t\t\t\t\t\tanimation.scale(1).opacity(1).step({duration:duration})\r\n\t\t\t\t\t\t\tthis.animationData = animation.export()\r\n\t\t\t\t\t\t}).then(()=>{\r\n\t\t\t\t\t\t\treturn uni.$tm.sleep(duration);\r\n\t\t\t\t\t\t}).then(()=>{\r\n\t\t\t\t\t\t\t// 结束动画.\r\n\t\t\t\t\t\t\tt.$emit('end')\r\n\t\t\t\t\t\t\tt.aniOff = true;\r\n\t\t\t\t\t\t})\r\n\t\t\t\t\t\t\r\n\t\t\t\t})\r\n\t\t\t},\r\n\t\t\tzoomOut() {\r\n\t\t\t\tlet t = this;\r\n\t\t\t\tif(!this.aniOff) {\r\n\t\t\t\t\tconsole.warn(\"未结束动画,不能连续点击.\")\r\n\t\t\t\t\treturn;\r\n\t\t\t\t}\r\n\t\t\t\t// 开始动画.\r\n\t\t\t\tthis.$emit('start')\r\n\t\t\t\tthis.show = true;\r\n\t\t\t\tthis.$nextTick(function(){\r\n\t\t\t\t\tthis.aniOff = false;\r\n\t\t\t\t\tlet duration = parseInt(this.duration)?parseInt(this.duration):500;\r\n\t\t\t\t\tlet wait = parseInt(this.wait)? parseInt(this.wait) : 50;\r\n\t\t\t\t\tvar animation = uni.createAnimation({\r\n\t\t\t\t\t duration: 0,\r\n\t\t\t\t\t timingFunction: 'ease',\r\n\t\t\t\t\t })\r\n\t\t\t\t\t this.animation = animation\r\n\t\t\t\t\t animation.scale(1).opacity(1).step()\r\n\t\t\t\t\t this.animationData = animation.export()\r\n\t\t\t\t\t\tuni.$tm.sleep(wait).then(()=>{\r\n\t\t\t\t\t\t\tanimation.scale(0.64).opacity(0).step({duration:duration})\r\n\t\t\t\t\t\t\tt.animationData = animation.export()\r\n\t\t\t\t\t\t}).then(()=>{\r\n\t\t\t\t\t\t\treturn uni.$tm.sleep(duration);\r\n\t\t\t\t\t\t}).then(()=>{\r\n\t\t\t\t\t\t\tt.show = false;\r\n\t\t\t\t\t\t\t// 结束动画.\r\n\t\t\t\t\t\t\tt.$emit('end')\r\n\t\t\t\t\t\t\tt.aniOff = true;\r\n\t\t\t\t\t\t})\r\n\t\t\t\t\t\t\r\n\t\t\t\t})\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.tm-translate{\r\n\t// #ifdef H5\r\n\topacity: 0;\r\n\t// #endif\r\n}\r\n</style>\r\n","import mod from \"-!C:\\\\Users\\\\37363\\\\Downloads\\\\HBuilderX.3.8.7.20230703\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!C:\\\\Users\\\\37363\\\\Downloads\\\\HBuilderX.3.8.7.20230703\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-1!C:\\\\Users\\\\37363\\\\Downloads\\\\HBuilderX.3.8.7.20230703\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!C:\\\\Users\\\\37363\\\\Downloads\\\\HBuilderX.3.8.7.20230703\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-2!C:\\\\Users\\\\37363\\\\Downloads\\\\HBuilderX.3.8.7.20230703\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!C:\\\\Users\\\\37363\\\\Downloads\\\\HBuilderX.3.8.7.20230703\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\sass-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-4!C:\\\\Users\\\\37363\\\\Downloads\\\\HBuilderX.3.8.7.20230703\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!C:\\\\Users\\\\37363\\\\Downloads\\\\HBuilderX.3.8.7.20230703\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!C:\\\\Users\\\\37363\\\\Downloads\\\\HBuilderX.3.8.7.20230703\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./tm-translate.vue?vue&type=style&index=0&id=70049f4d&lang=scss&scoped=true&\"; export default mod; export * from \"-!C:\\\\Users\\\\37363\\\\Downloads\\\\HBuilderX.3.8.7.20230703\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!C:\\\\Users\\\\37363\\\\Downloads\\\\HBuilderX.3.8.7.20230703\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-1!C:\\\\Users\\\\37363\\\\Downloads\\\\HBuilderX.3.8.7.20230703\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!C:\\\\Users\\\\37363\\\\Downloads\\\\HBuilderX.3.8.7.20230703\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-2!C:\\\\Users\\\\37363\\\\Downloads\\\\HBuilderX.3.8.7.20230703\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!C:\\\\Users\\\\37363\\\\Downloads\\\\HBuilderX.3.8.7.20230703\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\sass-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-4!C:\\\\Users\\\\37363\\\\Downloads\\\\HBuilderX.3.8.7.20230703\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!C:\\\\Users\\\\37363\\\\Downloads\\\\HBuilderX.3.8.7.20230703\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!C:\\\\Users\\\\37363\\\\Downloads\\\\HBuilderX.3.8.7.20230703\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./tm-translate.vue?vue&type=style&index=0&id=70049f4d&lang=scss&scoped=true&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1695274816009\n var cssReload = require(\"C:/Users/37363/Downloads/HBuilderX.3.8.7.20230703/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":""}