1 |
- {"version":3,"sources":["webpack:///D:/yzm/worknew/wardrobe/tm-vuetify/components/tm-poup/tm-poup.vue?ebd3","webpack:///D:/yzm/worknew/wardrobe/tm-vuetify/components/tm-poup/tm-poup.vue?e3fc","webpack:///D:/yzm/worknew/wardrobe/tm-vuetify/components/tm-poup/tm-poup.vue?345c","webpack:///D:/yzm/worknew/wardrobe/tm-vuetify/components/tm-poup/tm-poup.vue?5be3","uni-app:///tm-vuetify/components/tm-poup/tm-poup.vue","webpack:///D:/yzm/worknew/wardrobe/tm-vuetify/components/tm-poup/tm-poup.vue?51bd","webpack:///D:/yzm/worknew/wardrobe/tm-vuetify/components/tm-poup/tm-poup.vue?7a7e"],"names":[],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAgI;AAChI;AAC2D;AACL;AACsC;;;AAG5F;AACmM;AACnM,gBAAgB,0MAAU;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;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACRA;AAAA;AAAA;AAAA;AAAowB,CAAgB,kwBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACwDxxB;;;;;;;;;;;;;;;;;;AAkBA;AACA,iBADA;AAEA;AACA;AACA,kBADA;AAEA,sBAFA,EADA;;AAKA;AACA;AACA,kBADA;AAEA,gCAFA,EANA;;AAUA;AACA,4BADA;AAEA,mBAFA,EAVA;;AAcA;AACA,kBADA;AAEA,iBAFA,EAdA;;AAkBA;AACA,mBADA;AAEA,oBAFA,EAlBA;;AAsBA;AACA;AACA,kBADA;AAEA,uBAFA,EAvBA;;AA2BA;AACA,2BADA;AAEA,mBAFA,EA3BA;;AA+BA;AACA,2BADA;AAEA,oBAFA,EA/BA;;AAmCA;AACA,2BADA;AAEA,kBAFA,EAnCA;;AAuCA;AACA,mBADA;AAEA,mBAFA,EAvCA;;AA2CA;AACA,mBADA;AAEA,mBAFA,EA3CA;;AA+CA;AACA;AACA,mBADA;AAEA,oBAFA,EAhDA,EAFA;;;AAuDA;AACA,iBADA;AAEA,kBAFA;AAGA,eAHA,EAvDA;;AA4DA;AACA;AACA;AACA;AACA;AACA,OAFA,MAEA;AACA,KANA;AAOA;AACA;AACA,KATA,EA5DA;;AAuEA,SAvEA,qBAuEA;AACA;AACA,GAzEA;AA0EA;AACA;AACA;AACA;AACA,KAJA;AAKA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAZA;AAaA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KApBA,EA1EA;;;AAiGA,MAjGA,kBAiGA;AACA;AACA,kBADA;AAEA,sBAFA;AAGA,gCAHA;AAIA,mBAJA,EAIA;AACA,mBALA;AAMA,0BANA;;;AASA,GA3GA;AA4GA,aA5GA,yBA4GA;AACA;AACA,GA9GA;AA+GA,WA/GA,uBA+GA;AACA;AACA,GAjHA;AAkHA,SAlHA,qBAkHA;AACA;AACA;AACA;AACA,GAtHA;AAuHA;AACA,aADA,uBACA;AACA;AACA;AACA,KAJA;AAKA,SALA,mBAKA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OANA;AAOA,KAjBA;AAkBA,QAlBA,kBAkBA;AACA;AACA;;;AAGA;AACA;;AAEA;AACA;;AAEA;AACA;AACA,OALA;;AAOA,KAjCA;AAkCA;AACA,aAnCA,qBAmCA,GAnCA,EAmCA,IAnCA,EAmCA;AACA;AACA;AACA;AACA,qBADA;AAEA,gCAFA;;AAIA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA,OAXA,MAWA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA,OAXA,MAWA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA,OAXA,MAWA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA,OAXA,MAWA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA,SAHA,EAGA,GAHA;AAIA,OALA;AAMA,KA3GA;AA4GA,YA5GA,oBA4GA,CA5GA,EA4GA,EA5GA,EAvHA,E;;;;;;;;;;;;;AC1EA;AAAA;AAAA;AAAA;AAAu8C,CAAgB,63CAAG,EAAC,C;;;;;;;;;;;ACA39C;AACA,OAAO,KAAU,EAAE,kBAKd","file":"tm-vuetify/components/tm-poup/tm-poup.js","sourcesContent":["import { render, staticRenderFns, recyclableRender, components } from \"./tm-poup.vue?vue&type=template&id=4a95362b&scoped=true&\"\nvar renderjs\nimport script from \"./tm-poup.vue?vue&type=script&lang=js&\"\nexport * from \"./tm-poup.vue?vue&type=script&lang=js&\"\nimport style0 from \"./tm-poup.vue?vue&type=style&index=0&id=4a95362b&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../exe/HBuilderX.3.4.7.20220422/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 \"4a95362b\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"tm-vuetify/components/tm-poup/tm-poup.vue\"\nexport default component.exports","export * from \"-!../../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--16-0!../../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./tm-poup.vue?vue&type=template&id=4a95362b&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 \"-!../../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./tm-poup.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./tm-poup.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view class=\"tm-poups \" @click.stop=\"\">\r\n\r\n\t\t<block v-if=\"position_sv != 'center'\">\r\n\t\t\t<view v-show=\"value==true&&position_sv != 'center'\" class=\"tm-poup \" :class=\"[\r\n\t\t\t\t\t\tisFilter?'blur':'',\r\n\t\t\t\t\t\tposition_sv == 'center' ? 'tm-poup-center' : '',\r\n\t\t\t\t\t\tposition_sv !='center'?position_sv:'',\r\n\t\t\t\t\t\tisClickbled?'isClickbled':''\r\n\t\t\t\t\t]\" @click.stop.prevent=\"overClick\" @touchmove.stop.prevent=\"stopMove\" :style=\"{\r\n\t\t\t\t\t\tbackgroundColor: overColor,\r\n\t\t\t\t\t\twidth:'100%',height:'100%'\r\n\t\t\t\t\t}\">\r\n\t\t\t\t<!-- 内容 -->\r\n\t\t\t\t<!-- <view class=\"tm-poup-wk bottom\">{{ show ? 'on' : 'off'}}</view> -->\r\n\t\t\t\t<scroll-view :animation=\"aniData\" @click.stop.prevent=\"\" class=\"tm-poup-wk dhshiKa\" scroll-y=\"true\" :class=\"[\r\n\t\t\t\t\t\t\tposition_sv == 'top'?'round-b-' + round:'',\r\n\t\t\t\t\t\t\tposition_sv == 'bottom'?'round-t-' + round:'', \r\n\t\t\t\t\t\t\tposition_sv, aniOn ? 'on ' : 'off', \r\n\t\t\t\t\t\t\tblack_tmeme ? 'grey-darken-5 bk' : bgColor\r\n\t\t\t\t\t\t]\" :style=\"{\r\n\t\t\t\t\t\t\twidth: (position_sv == 'top' || position_sv == 'bottom') ? '100%' : width_w,\r\n\t\t\t\t\t\t\theight: position_sv == 'right' || position_sv == 'left' ?'100%' : height_h,\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t}\">\r\n\t\t\t\t\t<view :class=\"[clssStyle]\" >\r\n\t\t\t\t\t\t<slot></slot>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</scroll-view>\r\n\t\t\t</view>\r\n\t\t</block>\r\n\r\n\t\t<view v-if=\"value===true&&position_sv == 'center'\" class=\"tm-poup \" :class=\"[\r\n\t\t\t\tisFilter?'blur':'',\r\n\t\t\t\tposition_sv == 'center' ? 'tm-poup-center' : ''\r\n\t\t\t]\" @click=\"overClick\" @touchmove.stop.prevent=\"stopMove\" :style=\"{\r\n\t\t\t\tbackgroundColor: overColor,\r\n\t\t\t\twidth:sysInfo.screenWidth+'px',height:'100%'\r\n\t\t\t}\">\r\n\t\t\t<!-- 内容 -->\r\n\t\t\t<scroll-view :animation=\"aniData\" @click.stop.prevent=\"\" class=\"tm-poup-wk \" scroll-y=\"true\" :class=\"[\r\n\t\t\t\t\t`round-${round}`,aniOn ? 'on' : 'off', position_sv,\r\n\t\t\t\t\tblack_tmeme ? 'grey-darken-5 bk' : bgColor\r\n\t\t\t\t]\" :style=\"{\r\n\t\t\t\t\twidth: width_w,\r\n\t\t\t\t\theight: height_h\r\n\t\t\t\t}\">\r\n\t\t\t\t<view :class=\"[clssStyle]\">\r\n\t\t\t\t\t<slot></slot>\r\n\t\t\t\t</view>\r\n\t\t\t</scroll-view>\r\n\t\t</view>\r\n\t</view>\r\n</template>\r\n\r\n<script>\r\n\t/**\r\n\t * poup弹出层\r\n\t * @description poup弹出层,上下,左右方向。\r\n\t * @property {Boolean} value = [true|false] 使用时value.sync可同步,也可不同步。等同于v-model\r\n\t * @property {Boolea} v-model 显示和关闭。\r\n\t * @property {String} position = [bottom|top|left|right|center] 方向可选bottom,left,right,top,center\r\n\t * @property {Function} change 改变时会调用此函数,参数e等同于v-model和value\r\n\t * @property {String|Number} width 宽,位置为left,right是起作用。可以是30%或者数字(单位upx)\r\n\t * @property {String|Number} height 宽,位置为top,bottom是起作用。可以是30%或者数字(单位upx)\r\n\t * @property {String|Number} round 圆角0-25\r\n\t * @property {String|Boolean} black = [true|false] 暗黑模式\r\n\t * @property {Boolean} over-close = [true|false] 是否点击遮罩关闭。\r\n\t * @property {Boolean} is-filter = [true|false] 是否背景模糊\r\n\t * @property {String} clss-style = [] 自定内容的类\r\n\t * @property {String} bg-color = [white|blue] 默认:white,白色背景;请填写背景的主题色名称。\r\n\t * @property {String} over-color = [] 默认:rgba(0,0,0,0.3), 遮罩层颜色值不是主题。\r\n\t * @example <tm-poup height=\"85%\" v-model=\"show\"></tm-poup>\r\n\t */\r\n\texport default {\r\n\t\tname: 'tm-poup',\r\n\t\tprops: {\r\n\t\t\tbgColor: {\r\n\t\t\t\ttype: String,\r\n\t\t\t\tdefault: 'white'\r\n\t\t\t},\r\n\t\t\t// 遮罩层颜色。\r\n\t\t\toverColor: {\r\n\t\t\t\ttype: String,\r\n\t\t\t\tdefault: 'rgba(0,0,0,0.3)'\r\n\t\t\t},\r\n\t\t\tblack: {\r\n\t\t\t\ttype: Boolean | String,\r\n\t\t\t\tdefault: null\r\n\t\t\t},\r\n\t\t\tclssStyle: {\r\n\t\t\t\ttype: String,\r\n\t\t\t\tdefault: ''\r\n\t\t\t},\r\n\t\t\tvalue: {\r\n\t\t\t\ttype: Boolean,\r\n\t\t\t\tdefault: false\r\n\t\t\t},\r\n\t\t\t// bottom,left,right,top\r\n\t\t\tposition: {\r\n\t\t\t\ttype: String,\r\n\t\t\t\tdefault: 'bottom'\r\n\t\t\t},\r\n\t\t\tround: {\r\n\t\t\t\ttype: String | Number,\r\n\t\t\t\tdefault: '10'\r\n\t\t\t},\r\n\t\t\twidth: {\r\n\t\t\t\ttype: String | Number,\r\n\t\t\t\tdefault: '30%'\r\n\t\t\t},\r\n\t\t\theight: {\r\n\t\t\t\ttype: String | Number,\r\n\t\t\t\tdefault: 220\r\n\t\t\t},\r\n\t\t\toverClose: {\r\n\t\t\t\ttype: Boolean,\r\n\t\t\t\tdefault: true\r\n\t\t\t},\r\n\t\t\tisFilter: {\r\n\t\t\t\ttype: Boolean,\r\n\t\t\t\tdefault: true,\r\n\t\t\t},\r\n\t\t\t//允许穿透背景遮罩。\r\n\t\t\tisClickbled: {\r\n\t\t\t\ttype: Boolean,\r\n\t\t\t\tdefault: false\r\n\t\t\t}\r\n\t\t},\r\n\t\tmodel: {\r\n\t\t\tprop: 'value',\r\n\t\t\tevent: 'input',\r\n\t\t\tsysInfo: {},\r\n\t\t},\r\n\t\twatch: {\r\n\t\t\tvalue:function(val){\r\n\t\t\t\tthis.$emit('change', val);\r\n\t\t\t\tif(val){\r\n\t\t\t\t\tthis.open()\r\n\t\t\t\t}else{this.close()}\r\n\t\t\t},\r\n\t\t\tposition: function() {\r\n\t\t\t\tthis.position_sv = this.position\r\n\t\t\t}\r\n\t\t},\r\n\t\tcreated() {\r\n\t\t\tthis.sysInfo = uni.getSystemInfoSync();\r\n\t\t},\r\n\t\tcomputed: {\r\n\t\t\tblack_tmeme: function() {\r\n\t\t\t\tif (this.black !== null) return this.black;\r\n\t\t\t\treturn this.$tm.vx.state().tmVuetify.black;\r\n\t\t\t},\r\n\t\t\twidth_w: function() {\r\n\t\t\t\tlet w = this.$TestUnit(this.width);\r\n\t\t\t\tlet i = w.value;\r\n\t\t\t\tif (w.type == 'number') {\r\n\t\t\t\t\ti = w.value + 'px';\r\n\t\t\t\t}\r\n\t\t\t\treturn i;\r\n\t\t\t},\r\n\t\t\theight_h: function() {\r\n\t\t\t\tlet w = this.$TestUnit(this.height);\r\n\t\t\t\tlet i = w.value;\r\n\t\t\t\tif (w.type == 'number') {\r\n\t\t\t\t\ti = w.value + 'px';\r\n\t\t\t\t}\r\n\t\t\t\treturn i;\r\n\t\t\t},\r\n\r\n\t\t},\r\n\t\tdata() {\r\n\t\t\treturn {\r\n\t\t\t\taniOn: false,\r\n\t\t\t\tcloseTimid: null,\r\n\t\t\t\tposition_sv: this.position,\r\n\t\t\t\tdhshiKa:true,//是否结束动画\r\n\t\t\t\taniData:null,\r\n\t\t\t\ttimdiiid:6369784254,\r\n\t\t\t\t\r\n\t\t\t};\r\n\t\t},\r\n\t\tdeactivated() {\r\n\t\t\tclearTimeout(this.closeTimid)\r\n\t\t},\r\n\t\tdestroyed() {\r\n\t\t\tclearTimeout(this.closeTimid)\r\n\t\t},\r\n\t\tmounted() {\r\n\t\t\tif(this.value){\r\n\t\t\t\tthis.open()\r\n\t\t\t}\r\n\t\t},\r\n\t\tmethods: {\r\n\t\t\toverClick() {\r\n\t\t\t\tif (!this.overClose) return;\r\n\t\t\t\tthis.close();\r\n\t\t\t},\r\n\t\t\tclose() {\r\n\t\t\t\tlet t = this;\t\r\n\t\t\t\tclearTimeout(this.timdiiid)\r\n\t\t\t\tthis.dhshiKa=false;\r\n\t\t\t\tt.aniOn=false;\r\n\t\t\t\tthis.createBtT(this.position_sv,'off').then(()=>{\r\n\t\t\t\t\tt.$emit('input', false);\r\n\t\t\t\t\tt.closeTimid = null;\r\n\t\t\t\t\tt.dhshiKa = true;\r\n\t\t\t\t\t// t.$emit('change', false);\r\n\t\t\t\t\t// console.log('off');\r\n\t\t\t\t})\r\n\t\t\t},\r\n\t\t\topen() {\r\n\t\t\t\tlet t = this;\r\n\t\t\t\tclearTimeout(this.timdiiid)\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\tthis.dhshiKa=false\r\n\t\t\t\tthis.aniOn=true;\r\n\t\t\t\t\r\n\t\t\t\tthis.createBtT(this.position_sv,'on').then(()=>{\r\n\t\t\t\t\tt.dhshiKa=true\r\n\t\t\t\t\t\r\n\t\t\t\t\tt.isclick=false\r\n\t\t\t\t\t// console.log('on');\r\n\t\t\t\t})\r\n\t\t\t\t\r\n\t\t\t},\r\n\t\t\t//下至上。\r\n\t\t\tcreateBtT(pos,type){\r\n\t\t\t\tlet t = this;\r\n\t\t\t\tthis.aniData = '';\r\n\t\t\t\tlet aniData = uni.createAnimation({\r\n\t\t\t\t\tduration:240,\r\n\t\t\t\t\ttimingFunction: 'linear',\r\n\t\t\t\t})\r\n\t\t\t\tthis.aniData = aniData;\r\n\t\t\t\tif(pos=='bottom'){\r\n\t\t\t\t\tif(type=='on'){\r\n\t\t\t\t\t\taniData.translateY('0%').step();\r\n\t\t\t\t\t\tthis.aniData = aniData.export()\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t}\r\n\t\t\t\t\tif(type=='off'){\r\n\t\t\t\t\t\taniData.translateY('100%').step();\r\n\t\t\t\t\t\tthis.aniData = aniData.export()\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t}\r\n\t\t\t\t}else if(pos=='top'){\r\n\t\t\t\t\tif(type=='on'){\r\n\t\t\t\t\t\taniData.translateY('0%').step();\r\n\t\t\t\t\t\tthis.aniData = aniData.export()\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t}\r\n\t\t\t\t\tif(type=='off'){\r\n\t\t\t\t\t\taniData.translateY('-100%').step();\r\n\t\t\t\t\t\tthis.aniData = aniData.export()\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t}\r\n\t\t\t\t}else if(pos=='left'){\r\n\t\t\t\t\tif(type=='on'){\r\n\t\t\t\t\t\taniData.translateX('0%').step();\r\n\t\t\t\t\t\tthis.aniData = aniData.export()\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t}\r\n\t\t\t\t\tif(type=='off'){\r\n\t\t\t\t\t\taniData.translateX('-100%').step();\r\n\t\t\t\t\t\tthis.aniData = aniData.export()\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t}\r\n\t\t\t\t}else if(pos=='right'){\r\n\t\t\t\t\tif(type=='on'){\r\n\t\t\t\t\t\taniData.translateX('0%').step();\r\n\t\t\t\t\t\tthis.aniData = aniData.export()\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t}\r\n\t\t\t\t\tif(type=='off'){\r\n\t\t\t\t\t\taniData.translateX('100%').step();\r\n\t\t\t\t\t\tthis.aniData = aniData.export()\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t}\r\n\t\t\t\t}else if(pos=='center'){\r\n\t\t\t\t\t\r\n\t\t\t\t\tif(type=='on'){\r\n\t\t\t\t\t\taniData.opacity(1).scale(1).step();\r\n\t\t\t\t\t\tthis.aniData = aniData.export()\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t}\r\n\t\t\t\t\tif(type=='off'){\r\n\t\t\t\t\t\taniData.opacity(0).scale(0.6).step();\r\n\t\t\t\t\t\tthis.aniData = aniData.export()\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t\treturn new Promise(res=>{\r\n\t\t\t\t\tt.timdiiid = setTimeout(()=>{\r\n\t\t\t\t\t\tt.aniData = null;\r\n\t\t\t\t\t\tres();\r\n\t\t\t\t\t},240)\r\n\t\t\t\t})\r\n\t\t\t},\r\n\t\t\tstopMove(e) {}\r\n\t\t}\r\n\t};\r\n</script>\r\n\r\n<style lang=\"scss\" scoped>\r\n\r\n\t.tm-poup {\r\n\t\tposition: fixed;\r\n\t\tz-index: 452;\r\n\t\twidth: 100%;\r\n\t\theight: 100%;\r\n\t\tmin-height: 100%;\r\n\t\tmin-width: 100%;\r\n\t\toverflow: hidden;\r\n\t\ttop: 0;\r\n\t\tleft: 0;\r\n\t\t\r\n\t\t&.isClickbled {\r\n\t\t\tpointer-events: none;\r\n\t\t}\r\n\t\t&.okkk{\r\n\t\t\tpointer-events: none;\r\n\t\t}\r\n\t\t&.blur {\r\n\t\t\tbackdrop-filter: blur(10px);\r\n\t\t}\r\n\r\n\t\t&.on {\r\n\t\t\tanimation: opta 1s linear;\r\n\t\t}\r\n\r\n\t\t&.off {\r\n\t\t\tanimation: opta_off 0.35s linear;\r\n\t\t}\r\n\t\t.tm-poup-wk {\r\n\t\t\tposition: absolute;\r\n\t\t\toverflow: hidden;\r\n\t\t\tpointer-events: auto;\r\n\t\t\t// transition: all 0.3s;\r\n\t\t\t&.bottom {\r\n\t\t\t\ttransform: translateY(100%);\r\n\t\t\t\twidth: 100%;\r\n\t\t\t\tbottom: 0;\r\n\t\t\t\t\r\n\t\t\t}\r\n\r\n\t\t\t&.top {\r\n\t\t\t\ttop: 0;\r\n\t\t\t\tleft: 0;\r\n\t\t\t\twidth: 100%;\r\n\t\t\t\ttransform: translateY(-100%);\r\n\t\t\t}\r\n\r\n\t\t\t&.left {\r\n\t\t\t\ttop: 0;\r\n\t\t\t\ttransform: translateX(-100%);\r\n\t\t\t\tborder-radius: 0 !important;\r\n\t\t\t\tleft: 0;\r\n\t\t\t}\r\n\r\n\t\t\t&.right {\r\n\t\t\t\ttop: 0;\r\n\t\t\t\tright: 0;\r\n\t\t\t\ttransform: translateX(100%);\r\n\t\t\t\tborder-radius: 0 !important;\r\n\r\n\t\t\t}\r\n\r\n\t\t\t&.center {\r\n\t\t\t\topacity:0;\r\n\t\t\t\ttransform: scale(0.6);\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\t&.tm-poup-center {\r\n\t\t\tdisplay: flex;\r\n\t\t\tjustify-content: center;\r\n\t\t\talign-items: center;\r\n\t\t\talign-content: center;\r\n\t\t\t\r\n\r\n\t\t\t.tm-poup-wk {\r\n\t\t\t\tposition: static;\r\n\t\t\t}\r\n\r\n\t\t}\r\n\t}\r\n\r\n\t@keyframes opta {\r\n\t\tfrom {\r\n\t\t\topacity: 0.6;\r\n\t\t}\r\n\r\n\t\tto {\r\n\t\t\topacity: 1;\r\n\t\t}\r\n\t}\r\n\r\n\t@keyframes opta_off {\r\n\t\tfrom {\r\n\t\t\topacity: 1;\r\n\t\t}\r\n\r\n\t\tto {\r\n\t\t\topacity: 0;\r\n\t\t}\r\n\t}\r\n\r\n\t@keyframes bottomTtop {\r\n\t\tfrom {\r\n\t\t\ttransform: translateY(100%);\r\n\t\t}\r\n\r\n\t\tto {\r\n\t\t\ttransform: translateY(0%);\r\n\t\t}\r\n\t}\r\n\r\n\t@keyframes bottomTtop_off {\r\n\t\tfrom {\r\n\t\t\ttransform: translateY(0%);\r\n\t\t}\r\n\r\n\t\tto {\r\n\t\t\ttransform: translateY(100%);\r\n\t\t}\r\n\t}\r\n\r\n\t@keyframes topTbottom {\r\n\t\tfrom {\r\n\t\t\ttransform: translateY(-100%);\r\n\t\t}\r\n\r\n\t\tto {\r\n\t\t\ttransform: translateY(0);\r\n\t\t}\r\n\t}\r\n\r\n\t@keyframes topTbottom_off {\r\n\t\tfrom {\r\n\t\t\ttransform: translateY(0);\r\n\t\t}\r\n\r\n\t\tto {\r\n\t\t\ttransform: translateY(-100%);\r\n\t\t}\r\n\t}\r\n\r\n\t@keyframes leftTright {\r\n\t\tfrom {\r\n\t\t\ttransform: translateX(-100%);\r\n\t\t}\r\n\r\n\t\tto {\r\n\t\t\ttransform: translateX(0);\r\n\t\t}\r\n\t}\r\n\r\n\t@keyframes leftTright_off {\r\n\t\tfrom {\r\n\t\t\ttransform: translateX(0);\r\n\t\t}\r\n\r\n\t\tto {\r\n\t\t\ttransform: translateX(-100%);\r\n\t\t}\r\n\t}\r\n\r\n\t@keyframes rightTleft {\r\n\t\tfrom {\r\n\r\n\t\t\ttransform: translateX(100%);\r\n\t\t}\r\n\r\n\t\tto {\r\n\t\t\ttransform: translateX(0%);\r\n\t\t}\r\n\t}\r\n\r\n\t@keyframes rightTleft_off {\r\n\t\tfrom {\r\n\t\t\ttransform: translateX(0%);\r\n\t\t}\r\n\r\n\t\tto {\r\n\t\t\ttransform: translateX(100%);\r\n\t\t}\r\n\t}\r\n\r\n\t@keyframes Centerleft {\r\n\t\tfrom {\r\n\t\t\ttransform: scale(0.65);\r\n\t\t\topacity: 0.65;\r\n\t\t}\r\n\r\n\t\tto {\r\n\t\t\ttransform: scale(1);\r\n\t\t\topacity: 1;\r\n\t\t}\r\n\t}\r\n\r\n\t@keyframes Centerleft_off {\r\n\t\tfrom {\r\n\t\t\ttransform: scale(1);\r\n\t\t\topacity: 1;\r\n\t\t}\r\n\r\n\t\tto {\r\n\t\t\ttransform: scale(0.65);\r\n\t\t\topacity: 0.65;\r\n\r\n\t\t}\r\n\t}\r\n</style>\r\n","import mod from \"-!../../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./tm-poup.vue?vue&type=style&index=0&id=4a95362b&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../exe/HBuilderX.3.4.7.20220422/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./tm-poup.vue?vue&type=style&index=0&id=4a95362b&lang=scss&scoped=true&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1678780470180\n var cssReload = require(\"D:/yzm/exe/HBuilderX.3.4.7.20220422/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":""}
|