增加新模块
This commit is contained in:
+1
@@ -0,0 +1 @@
|
||||
{"version":3,"names":["common_vendor","ref","_sfc_main","name","props","watch","emptyCountdownRef","value","oldValue","countdown","data","emptyCountdown","emits","mounted","methods","getCode","val","codeNumber","codeNumberRef","$emit","$refs","uToastRef","show","type","message","$t","wx","createComponent","Component"],"sources":["code-comm.vue","D:/Tool/HBuilderX/plugins/uniapp-cli-vite/uniComponent:/RTovUHJvamVjdC9WdWUvdW5pYXBwL2hhc2htYWxsLWFwcC9jb21wb25lbnRzL2NvZGUtY29tbS9jb2RlLWNvbW0udnVl"],"sourcesContent":["<template>\r\n\t<view class=\"comm-input-warp\">\r\n\t\t<up-input\r\n\t\t\tplaceholder=\"请输入密码\"\r\n\t\t\tborder=\"surround\"\r\n\t\t\tv-model=\"form.password\"\r\n\t\t\t:customStyle=\"inputCss\"\r\n\t\t>\r\n\t\t\t<template #suffix style=\"margin-right: 10rpx;\">\r\n\t\t\t\r\n\t\t\t</template>\r\n\t\t</up-input>\r\n\t\t<up-toast ref=\"uToastRef\"></up-toast>\r\n\t</view>\r\n</template>\n\n<script>\r\n\timport { ref } from 'vue';\r\n\t\r\n\tconst uCodeRef = ref(null);\r\n\t\r\n\texport default {\r\n\t\tname: 'inputComm',\n\t\tprops: ['modelValue','codeNumberRef','emptyCountdownRef'],\r\n\t\twatch: {\r\n\t\t emptyCountdownRef(value,oldValue) {\r\n\t\t\t\tif(value){\r\n\t\t\t\t\tthis.countdown = true;\r\n\t\t\t\t}\r\n\t\t },\r\n\t\t},\r\n\t\tdata() {\r\n\t\t\treturn {\r\n\t\t\t\tcountdown:false,\r\n\t\t\t\temptyCountdown:this.emptyCountdownRef,\r\n\t\t\t}\r\n\t\t},\r\n\t\temits: ['update:modelValue'],\r\n\t\tmounted() {\r\n\t\t},\r\n\t\tmethods: {\r\n\t\t\tgetCode(val){\r\n\t\t\t\tconst emptyCountdown = this.emptyCountdown;\r\n\t\t\t\tif(val){\r\n\t\t\t\t\tconst codeNumber = this.codeNumberRef;\r\n\t\t\t\t\tif(codeNumber){\r\n\t\t\t\t\t\tthis.$emit('getCode');\r\n\t\t\t\t\t}else{\r\n\t\t\t\t\t\tthis.$refs.uToastRef.show({\r\n\t\t\t\t\t\t\ttype: 'error',\r\n\t\t\t\t\t\t\tmessage: this.$t('login.comm.email'),\r\n\t\t\t\t\t\t});\r\n\t\t\t\t\t\treturn;\r\n\t\t\t\t\t}\r\n\t\t\t\t}else{\r\n\t\t\t\t\t// uni.dialog.showMessage('请输入邮箱');\r\n\t\t\t\t\tthis.$refs.uToastRef.show({\r\n\t\t\t\t\t\ttype: 'error',\r\n\t\t\t\t\t\tmessage: this.$t('login.comm.email'),\r\n\t\t\t\t\t});\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t},\n\t};\r\n\n</script>\n\n<style lang=\"less\" scoped>\r\n\t.code-warp{\r\n\t\twidth: 30%;\r\n\t\ttext-align: right;\r\n\t\tdisplay: flex;\r\n\t\tjustify-content: flex-end;\r\n\t}\r\n\t.wrap {\r\n\t\tpadding: 24rpx;\r\n\t}\r\n</style>","import Component from 'E:/Project/Vue/uniapp/hashmall-app/components/code-comm/code-comm.vue'\nwx.createComponent(Component)"],"mappings":";;;;AAmBkBA,aAAA,CAAGC,GAAA,CAAC,IAAI;AAEzB,IAAKC,SAAA,GAAU;EACdC,IAAA,EAAM;EACNC,KAAA,EAAO,CAAC,cAAa,iBAAgB,mBAAmB;EACxDC,KAAA,EAAO;IACHC,iBAAA,WAAAA,kBAAkBC,KAAA,EAAMC,QAAA,EAAU;MACpC,IAAGD,KAAA,EAAM;QACR,KAAKE,SAAA,GAAY;MAClB;IACG;EACJ;EACDC,IAAA,WAAAA,KAAA,EAAO;IACN,OAAO;MACND,SAAA,EAAU;MACVE,cAAA,EAAe,KAAKL;IACrB;EACA;EACDM,KAAA,EAAO,CAAC,mBAAmB;EAC3BC,OAAA,WAAAA,QAAA,EAAU,CACT;EACDC,OAAA,EAAS;IACRC,OAAA,WAAAA,QAAQC,GAAA,EAAI;MACY,KAAKL,cAAA;MAC5B,IAAGK,GAAA,EAAI;QACN,IAAMC,UAAA,GAAa,KAAKC,aAAA;QACxB,IAAGD,UAAA,EAAW;UACb,KAAKE,KAAA,CAAM,SAAS;QAAA,OAChB;UACJ,KAAKC,KAAA,CAAMC,SAAA,CAAUC,IAAA,CAAK;YACzBC,IAAA,EAAM;YACNC,OAAA,EAAS,KAAKC,EAAA,CAAG,kBAAkB;UACpC,CAAC;UACD;QACD;MAAA,OACI;QAEJ,KAAKL,KAAA,CAAMC,SAAA,CAAUC,IAAA,CAAK;UACzBC,IAAA,EAAM;UACNC,OAAA,EAAS,KAAKC,EAAA,CAAG,kBAAkB;QACpC,CAAC;MACF;IACA;EACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AC7DHC,EAAA,CAAGC,eAAA,CAAgBC,SAAS","ignoreList":[]}
|
||||
Reference in New Issue
Block a user