From 4990f39dc106b65b5c70bba97029f9d4efbd1256 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=BE=89?= <814457906@qq.com> Date: Wed, 3 Jan 2024 10:30:18 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/text.vue | 64 +++++++++++++++--------------- pages/login/login.scss | 90 ++++++++++++++++++++++++++++++++++++++++++ pages/login/login.vue | 55 +++++++++++++++++++++++++- 3 files changed, 176 insertions(+), 33 deletions(-) diff --git a/components/text.vue b/components/text.vue index 07934c5..5c23358 100644 --- a/components/text.vue +++ b/components/text.vue @@ -1,6 +1,6 @@ @@ -23,7 +52,11 @@ import { mapMutations } from "vuex"; + import contenttext from '../../components/text.vue' export default { + components: { + contenttext, + }, data() { return { phonecode: undefined, @@ -31,6 +64,8 @@ timer: undefined, cityCode: null, SOCKETURL: '', + radio: 1, + maskshow: false, // scenenurseStationId: undefined, }; }, @@ -50,6 +85,24 @@ // this.scenenurseStationId = uni.getStorageSync('scenenurseStationId'); }, methods: { + nologin() { + this.$refs.uToast.show({ + title: '请先阅读并同意《用户协议与隐私政策》', + type: 'error', + duration: '1500', + }) + }, + tapradio() { + this.radio = 2; + this.maskshow = false; + }, + changeRadio() { + if (this.radio == 1) { + this.radio = 2; + } else { + this.radio = 1; + } + }, ...mapMutations(['scoket']), //获取当前位置 getAddress() {