no message
Showing
4 changed files
with
19 additions
and
9 deletions
| ... | @@ -346,9 +346,9 @@ function sendsmsMsg() { | ... | @@ -346,9 +346,9 @@ function sendsmsMsg() { |
| 346 | // 忘记密码发信息 | 346 | // 忘记密码发信息 |
| 347 | if (!changePasswordForm.value.username) { | 347 | if (!changePasswordForm.value.username) { |
| 348 | if (language.value == 0) { | 348 | if (language.value == 0) { |
| 349 | ElMessage.warning('请填写手机/邮箱') | 349 | ElMessage.warning('请填写邮箱') |
| 350 | } else { | 350 | } else { |
| 351 | ElMessage.warning('Please fill in your phone/email address') | 351 | ElMessage.warning('Please fill in your Email address') |
| 352 | } | 352 | } |
| 353 | return | 353 | return |
| 354 | } | 354 | } | ... | ... |
| ... | @@ -7,7 +7,7 @@ | ... | @@ -7,7 +7,7 @@ |
| 7 | <el-form-item required :label="item.realName" v-for="item in list"> | 7 | <el-form-item required :label="item.realName" v-for="item in list"> |
| 8 | <div v-show="item.checked==2">{{ item.wdsfMin }}</div> | 8 | <div v-show="item.checked==2">{{ item.wdsfMin }}</div> |
| 9 | <el-input :disabled="item.checked==1" type="number" v-show="item.checked!=2" | 9 | <el-input :disabled="item.checked==1" type="number" v-show="item.checked!=2" |
| 10 | v-model="item.wdsfMin" :placeholder="language==0?'绑定WDSF会员号':'Bind WDSF Number'" | 10 | v-model="item.wdsfMin" :placeholder="language==0?'绑定WDSF会员号':'Bind WDSF MIN'" |
| 11 | > | 11 | > |
| 12 | <template #append> | 12 | <template #append> |
| 13 | <view @click="checkCode(item)" class="checkbb"> | 13 | <view @click="checkCode(item)" class="checkbb"> | ... | ... |
| ... | @@ -59,7 +59,7 @@ | ... | @@ -59,7 +59,7 @@ |
| 59 | <div class="item"><label>Event Name</label>{{ matchInfo.name }}</div> | 59 | <div class="item"><label>Event Name</label>{{ matchInfo.name }}</div> |
| 60 | </div> | 60 | </div> |
| 61 | <div> | 61 | <div> |
| 62 | <div class="item"><label>Event Type</label>{{ matchInfo.level }}</div> | 62 | <div class="item"><label>Event Level</label>{{ matchInfo.level }}</div> |
| 63 | </div> | 63 | </div> |
| 64 | <div> | 64 | <div> |
| 65 | <div class="item"><label>Event Date</label>{{ matchInfo.beginTime?.slice(0, 10) }} ~ | 65 | <div class="item"><label>Event Date</label>{{ matchInfo.beginTime?.slice(0, 10) }} ~ | ... | ... |
| ... | @@ -99,7 +99,7 @@ | ... | @@ -99,7 +99,7 @@ |
| 99 | I have read and accepted the Registration | 99 | I have read and accepted the Registration |
| 100 | <a class="text-primary" @click.stop="showAgreeMent">Agreement</a> | 100 | <a class="text-primary" @click.stop="showAgreeMent">Agreement</a> |
| 101 | and | 101 | and |
| 102 | <a class="text-primary" @click.stop="showAgreeMent">Personal Information Protection Policy | 102 | <a class="text-primary" @click.stop="showPolicy">Personal Information Protection Policy |
| 103 | </a> | 103 | </a> |
| 104 | </div> | 104 | </div> |
| 105 | </div> | 105 | </div> |
| ... | @@ -123,7 +123,8 @@ import * as match from "@/apiPc/match"; | ... | @@ -123,7 +123,8 @@ import * as match from "@/apiPc/match"; |
| 123 | import {ElMessage} from "element-plus"; | 123 | import {ElMessage} from "element-plus"; |
| 124 | import {setToken} from "@/utils/auth"; | 124 | import {setToken} from "@/utils/auth"; |
| 125 | import {useStorage} from "@vueuse/core/index"; | 125 | import {useStorage} from "@vueuse/core/index"; |
| 126 | 126 | import {useRouter} from "vue-router"; | |
| 127 | const router = useRouter() | ||
| 127 | const {proxy} = getCurrentInstance() | 128 | const {proxy} = getCurrentInstance() |
| 128 | const emit = defineEmits(['submit', 'prev']) | 129 | const emit = defineEmits(['submit', 'prev']) |
| 129 | const language= useStorage('language',0) | 130 | const language= useStorage('language',0) |
| ... | @@ -222,8 +223,8 @@ const goStep3 = () => { | ... | @@ -222,8 +223,8 @@ const goStep3 = () => { |
| 222 | ElMessage.warning(language.value == 0?'请输入密码':'Please enter password') | 223 | ElMessage.warning(language.value == 0?'请输入密码':'Please enter password') |
| 223 | return | 224 | return |
| 224 | } | 225 | } |
| 225 | if (!form.value.password) { | 226 | if (!form.value.confirmPassword) { |
| 226 | ElMessage.warning(language.value == 0?'请输入密码':'Please enter password') | 227 | ElMessage.warning(language.value == 0?'请再次输入密码':'Please enter password') |
| 227 | return | 228 | return |
| 228 | } | 229 | } |
| 229 | loading.value = true | 230 | loading.value = true |
| ... | @@ -244,7 +245,16 @@ const goStep3 = () => { | ... | @@ -244,7 +245,16 @@ const goStep3 = () => { |
| 244 | 245 | ||
| 245 | } | 246 | } |
| 246 | const showAgreeMent = () => { | 247 | const showAgreeMent = () => { |
| 247 | console.log('111') | 248 | const routeLocation = router.resolve({ |
| 249 | name: 'userAgreement', | ||
| 250 | }) | ||
| 251 | window.open(routeLocation.href, '_blank') | ||
| 252 | } | ||
| 253 | const showPolicy = () => { | ||
| 254 | const routeLocation = router.resolve({ | ||
| 255 | name: 'policy', | ||
| 256 | }) | ||
| 257 | window.open(routeLocation.href, '_blank') | ||
| 248 | } | 258 | } |
| 249 | onMounted(() => { | 259 | onMounted(() => { |
| 250 | console.log(props) | 260 | console.log(props) | ... | ... |
-
Please register or sign in to post a comment