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() {