no message
Showing
15 changed files
with
73 additions
and
45 deletions
This file is too large to display.
| ... | @@ -77,6 +77,14 @@ export function getCaptchaSms(data) { | ... | @@ -77,6 +77,14 @@ export function getCaptchaSms(data) { |
| 77 | data: data | 77 | data: data |
| 78 | }) | 78 | }) |
| 79 | } | 79 | } |
| 80 | // 发送手机验证码 | ||
| 81 | export function getCaptchaSms2(data) { | ||
| 82 | return request({ | ||
| 83 | url: `/captchaByCheckCode2`, | ||
| 84 | method: 'post', | ||
| 85 | data: data | ||
| 86 | }) | ||
| 87 | } | ||
| 80 | export function checkRegisterCode(data) { | 88 | export function checkRegisterCode(data) { |
| 81 | return request({ | 89 | return request({ |
| 82 | url: `/checkRegisterCode`, | 90 | url: `/checkRegisterCode`, | ... | ... |
src/assets/file/ENTRY GUIDE.pdf
0 → 100644
This diff could not be displayed because it is too large.
| ... | @@ -39,17 +39,17 @@ | ... | @@ -39,17 +39,17 @@ |
| 39 | 39 | ||
| 40 | 40 | ||
| 41 | <el-row style="align-items: center;" v-if="language==1"> | 41 | <el-row style="align-items: center;" v-if="language==1"> |
| 42 | <el-col :lg="12" :md="12" :xs="24"> | 42 | <el-col :lg="14" :md="12" :xs="24"> |
| 43 | <ul> | 43 | <ul> |
| 44 | <li>Postal code:214000</li> | 44 | <li>Postal code:214000</li> |
| 45 | <li>100 meters northeast of the intersection of Hefeng Road and Qingshu, the Taihu Lake New Town, Wuxi, Jiangsu</li> | 45 | <li>Address:100 meters northeast of the intersection of Hefeng Road and Qingshu, the Taihu Lake New Town, Wuxi, Jiangsu</li> |
| 46 | 46 | ||
| 47 | </ul> | 47 | </ul> |
| 48 | </el-col> | 48 | </el-col> |
| 49 | <el-col :lg="18" :md="12" :xs="24"> | 49 | <el-col :lg="6" :md="12" :xs="24"> |
| 50 | <ul style="text-align: right"> | 50 | <ul style="text-align: right"> |
| 51 | <li>telephone:15606190026</li> | 51 | <li>Telephone:15606190026</li> |
| 52 | <li>e-mail:info@wdsfwuxicenter.com</li> | 52 | <li>E-mail:info@wdsfwuxicenter.com</li> |
| 53 | <li> | 53 | <li> |
| 54 | 54 | ||
| 55 | <!-- <a class="ffoot" target="_blank" href="http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=11010102004192">--> | 55 | <!-- <a class="ffoot" target="_blank" href="http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=11010102004192">--> | ... | ... |
| 1 | <template> | 1 | <template> |
| 2 | <el-card class="mb20"> | 2 | <el-card class="mb20"> |
| 3 | <div class="pd20"> | 3 | <div class=""> |
| 4 | <div class="matchItem" v-for="n in billList" :key="n.id"> | 4 | <div class="matchItem" v-for="n in billList" :key="n.id"> |
| 5 | <div class="status-po"> | 5 | <div class="status-po"> |
| 6 | <span class="bg-pink" v-if="n.auditStatus=='0'">{{ language==0?'未提交':'Uncommitted' }}</span> | 6 | <span class="bg-pink" v-if="n.auditStatus=='0'">{{ language==0?'未提交':'Uncommitted' }}</span> |
| 7 | <span class="bg-primary" v-if="n.auditStatus=='1'">{{ language==0?'待审核':'Audit' }}</span> | 7 | <span class="bg-primary" v-if="n.auditStatus=='1'">{{ language==0?'待审核':'Auditing' }}</span> |
| 8 | <span class="bg-blue" v-if="n.auditStatus=='2'">{{ language==0?'审核通过':'Approved' }}</span> | 8 | <span class="bg-blue" v-if="n.auditStatus=='2'">{{ language==0?'审核通过':'Approved' }}</span> |
| 9 | <span class="bg-danger" v-if="n.auditStatus=='3'">{{ language==0?'审核驳回':'Reject' }}</span> | 9 | <span class="bg-danger" v-if="n.auditStatus=='3'">{{ language==0?'审核驳回':'Reject' }}</span> |
| 10 | </div> | 10 | </div> |
| ... | @@ -28,8 +28,8 @@ | ... | @@ -28,8 +28,8 @@ |
| 28 | </el-col> | 28 | </el-col> |
| 29 | <el-col :lg="8"> | 29 | <el-col :lg="8"> |
| 30 | <p class="ppl"><label>{{ language==0?'报名时间':'Registration Period' }}:</label>{{ n.signBeginTime.substring(0,10) }}~{{n.signEndTime.substring(0,10)}}</p> | 30 | <p class="ppl"><label>{{ language==0?'报名时间':'Registration Period' }}:</label>{{ n.signBeginTime.substring(0,10) }}~{{n.signEndTime.substring(0,10)}}</p> |
| 31 | <div class="btnbox"> | 31 | <div class="btnbox" style="display: flex"> |
| 32 | <el-button plain round type="primary" @click="goDetail(n)" v-if="n.auditStatus!='0'"> | 32 | <el-button class="mb10" plain round type="primary" @click="goDetail(n)" v-if="n.auditStatus!='0'"> |
| 33 | {{ language==0?'详情':'Detail' }}</el-button> | 33 | {{ language==0?'详情':'Detail' }}</el-button> |
| 34 | <el-button plain round type="primary" @click="continueSign(n)" v-if="n.auditStatus=='0'"> | 34 | <el-button plain round type="primary" @click="continueSign(n)" v-if="n.auditStatus=='0'"> |
| 35 | {{ language==0?'继续报名':'Continue to register' }}</el-button> | 35 | {{ language==0?'继续报名':'Continue to register' }}</el-button> |
| ... | @@ -190,7 +190,7 @@ function getList() { | ... | @@ -190,7 +190,7 @@ function getList() { |
| 190 | .matchItem { | 190 | .matchItem { |
| 191 | cursor: pointer; | 191 | cursor: pointer; |
| 192 | margin: 0 0 20px; | 192 | margin: 0 0 20px; |
| 193 | padding: 0 0 20px;background: #FBFCFD; | 193 | padding: 20px 15px;background: #FBFCFD; |
| 194 | border-radius: 2px; | 194 | border-radius: 2px; |
| 195 | position: relative; | 195 | position: relative; |
| 196 | .status-po{position: absolute;right: 0;top: 0;font-size: 12px; | 196 | .status-po{position: absolute;right: 0;top: 0;font-size: 12px; | ... | ... |
| ... | @@ -31,7 +31,7 @@ | ... | @@ -31,7 +31,7 @@ |
| 31 | </template> | 31 | </template> |
| 32 | </van-count-down> | 32 | </van-count-down> |
| 33 | </div> | 33 | </div> |
| 34 | <div class="banner-count" style="width: 580px;justify-content: center;height: 100px;font-size: 30px" v-else @click="goMatch(n)"> | 34 | <div class="banner-count bb" v-else @click="goMatch(n)"> |
| 35 | 开始报名 | 35 | 开始报名 |
| 36 | <!-- <el-button class="btn-lineG" style="font-size: 17px;height: 40px" round type="primary">开始报名</el-button>--> | 36 | <!-- <el-button class="btn-lineG" style="font-size: 17px;height: 40px" round type="primary">开始报名</el-button>--> |
| 37 | </div> | 37 | </div> |
| ... | @@ -49,7 +49,7 @@ | ... | @@ -49,7 +49,7 @@ |
| 49 | <el-col :sm="24" :lg="10"> | 49 | <el-col :sm="24" :lg="10"> |
| 50 | <div class="bgbg"> | 50 | <div class="bgbg"> |
| 51 | <img src="@/assets/dance/text.png"> | 51 | <img src="@/assets/dance/text.png"> |
| 52 | <a class="zn-btn">参赛指南 | 52 | <a class="zn-btn" href="/file/GUIDE.pdf" target="_blank">参赛指南 |
| 53 | <el-icon> | 53 | <el-icon> |
| 54 | <download/> | 54 | <download/> |
| 55 | </el-icon> | 55 | </el-icon> |
| ... | @@ -590,7 +590,7 @@ const goMatch = (n) => { | ... | @@ -590,7 +590,7 @@ const goMatch = (n) => { |
| 590 | background: #000; | 590 | background: #000; |
| 591 | position: relative; | 591 | position: relative; |
| 592 | 592 | ||
| 593 | .banner-count { | 593 | .banner-count {cursor: pointer; |
| 594 | position: absolute; | 594 | position: absolute; |
| 595 | padding: 20px 40px; | 595 | padding: 20px 40px; |
| 596 | font-size: 20px; | 596 | font-size: 20px; |
| ... | @@ -633,7 +633,10 @@ const goMatch = (n) => { | ... | @@ -633,7 +633,10 @@ const goMatch = (n) => { |
| 633 | font-size: 20px; | 633 | font-size: 20px; |
| 634 | } | 634 | } |
| 635 | } | 635 | } |
| 636 | 636 | .bb{width: 580px;justify-content: center;height: 100px;font-size: 30px;} | |
| 637 | .banner-count.bb:hover{box-shadow: 0 0 20px #453DEA;border-radius: 100px; | ||
| 638 | background: linear-gradient(-90deg, #8623FC, #453DEA) | ||
| 639 | } | ||
| 637 | .box { | 640 | .box { |
| 638 | position: absolute; | 641 | position: absolute; |
| 639 | height: 100%; | 642 | height: 100%; | ... | ... |
| ... | @@ -28,7 +28,7 @@ | ... | @@ -28,7 +28,7 @@ |
| 28 | </template> | 28 | </template> |
| 29 | </van-count-down> | 29 | </van-count-down> |
| 30 | </div> | 30 | </div> |
| 31 | <div class="banner-count" style="width: 580px;justify-content: center;height: 100px;font-size: 30px" v-else @click="goMatch(n)"> | 31 | <div class="banner-count bb" v-else @click="goMatch(n)"> |
| 32 | Register Now | 32 | Register Now |
| 33 | <!-- <el-button class="btn-lineG" style="font-size: 17px;height: 40px" round type="primary">开始报名</el-button>--> | 33 | <!-- <el-button class="btn-lineG" style="font-size: 17px;height: 40px" round type="primary">开始报名</el-button>--> |
| 34 | </div> | 34 | </div> |
| ... | @@ -46,7 +46,7 @@ | ... | @@ -46,7 +46,7 @@ |
| 46 | <el-col :sm="24" :lg="10"> | 46 | <el-col :sm="24" :lg="10"> |
| 47 | <div class="bgbg"> | 47 | <div class="bgbg"> |
| 48 | <h1 style="color: #fff">WDSF ASIAN DANCESPORT FESTIVAL .WUXI 2024</h1> | 48 | <h1 style="color: #fff">WDSF ASIAN DANCESPORT FESTIVAL .WUXI 2024</h1> |
| 49 | <a class="zn-btn">ENTRY GUIDE | 49 | <a class="zn-btn" href="/file/GUIDE.pdf" target="_blank">ENTRY GUIDE |
| 50 | <el-icon><download /></el-icon> | 50 | <el-icon><download /></el-icon> |
| 51 | </a> | 51 | </a> |
| 52 | </div> | 52 | </div> |
| ... | @@ -503,8 +503,10 @@ const goMatch = (n) => { | ... | @@ -503,8 +503,10 @@ const goMatch = (n) => { |
| 503 | border-radius: 15px;} | 503 | border-radius: 15px;} |
| 504 | .zn-Box{background-size: contain;position: relative;overflow: hidden; | 504 | .zn-Box{background-size: contain;position: relative;overflow: hidden; |
| 505 | .bbbg{position: absolute;width: 100%;height: 100%;object-fit: cover;} | 505 | .bbbg{position: absolute;width: 100%;height: 100%;object-fit: cover;} |
| 506 | .bgbg{ | 506 | .bgbg{height: 100%; |
| 507 | padding: 5%; | 507 | padding: 5%;display: flex; |
| 508 | flex-direction: column; | ||
| 509 | justify-content: space-between; | ||
| 508 | img{margin: 5% 0} | 510 | img{margin: 5% 0} |
| 509 | } | 511 | } |
| 510 | .itemBox{ | 512 | .itemBox{ |
| ... | @@ -513,12 +515,12 @@ const goMatch = (n) => { | ... | @@ -513,12 +515,12 @@ const goMatch = (n) => { |
| 513 | } | 515 | } |
| 514 | border-radius: 15px; | 516 | border-radius: 15px; |
| 515 | .zn-btn{background: #FFFFFF; | 517 | .zn-btn{background: #FFFFFF; |
| 516 | font-size: 18px; | 518 | font-size: 18px; width: fit-content; |
| 517 | color: #453DEA; | 519 | color: #453DEA; |
| 518 | border-radius: 23px;padding: 10px 20px;display: inline-flex;align-items: center;} | 520 | border-radius: 23px;padding: 10px 20px;display: inline-flex;align-items: center;} |
| 519 | .item{box-shadow: 0px 0px 21px 0px rgba(41,23,101,0.14);margin: 20px 0; | 521 | .item{box-shadow: 0px 0px 21px 0px rgba(41,23,101,0.14);margin: 40px 0 0; |
| 520 | display: flex;align-items: center;text-align: center; | 522 | display: flex;align-items: center;text-align: center; |
| 521 | font-size: 18px; flex-direction: column;padding: 50px 10px 20px; | 523 | font-size: 18px; flex-direction: column;padding: 35px 10px 20px; |
| 522 | background:url("@/assets/dance/znbb.png") no-repeat left #FFFFFF; | 524 | background:url("@/assets/dance/znbb.png") no-repeat left #FFFFFF; |
| 523 | background-size: cover; | 525 | background-size: cover; |
| 524 | position: relative; | 526 | position: relative; |
| ... | @@ -541,6 +543,7 @@ const goMatch = (n) => { | ... | @@ -541,6 +543,7 @@ const goMatch = (n) => { |
| 541 | .bannerItem { | 543 | .bannerItem { |
| 542 | height: 450px; | 544 | height: 450px; |
| 543 | background: #000;position: relative; | 545 | background: #000;position: relative; |
| 546 | |||
| 544 | .banner-count{position: absolute;padding: 20px 40px; | 547 | .banner-count{position: absolute;padding: 20px 40px; |
| 545 | font-size: 20px;align-items: center; | 548 | font-size: 20px;align-items: center; |
| 546 | overflow: hidden; | 549 | overflow: hidden; |
| ... | @@ -564,6 +567,10 @@ const goMatch = (n) => { | ... | @@ -564,6 +567,10 @@ const goMatch = (n) => { |
| 564 | .colon{ color: #fff;display: block;margin: 20px 0 0; | 567 | .colon{ color: #fff;display: block;margin: 20px 0 0; |
| 565 | font-size: 20px;} | 568 | font-size: 20px;} |
| 566 | } | 569 | } |
| 570 | .bb{width: 580px;justify-content: center;height: 100px;font-size: 30px;} | ||
| 571 | .banner-count.bb:hover{box-shadow: 0 0 20px #453DEA;border-radius: 100px; | ||
| 572 | background: linear-gradient(-90deg, #8623FC, #453DEA) | ||
| 573 | } | ||
| 567 | .box { | 574 | .box { |
| 568 | position: absolute; | 575 | position: absolute; |
| 569 | height: 100%; | 576 | height: 100%; | ... | ... |
| ... | @@ -3,7 +3,7 @@ | ... | @@ -3,7 +3,7 @@ |
| 3 | v-model="show" class="pcloginpop" width="450px" :append-to-body="true" :title="title" | 3 | v-model="show" class="pcloginpop" width="450px" :append-to-body="true" :title="title" |
| 4 | destroy-on-close :show-close="showClose" :close-on-click-modal="false" @close="close" | 4 | destroy-on-close :show-close="showClose" :close-on-click-modal="false" @close="close" |
| 5 | > | 5 | > |
| 6 | 6 | <div class="pd10"></div> | |
| 7 | <el-form ref="loginRef" :model="loginForm" :rules="language==0?loginRules:loginRules_en" class="login-form" | 7 | <el-form ref="loginRef" :model="loginForm" :rules="language==0?loginRules:loginRules_en" class="login-form" |
| 8 | v-if="loginStatus==0"> | 8 | v-if="loginStatus==0"> |
| 9 | <el-form-item prop="username"> | 9 | <el-form-item prop="username"> |
| ... | @@ -102,7 +102,7 @@ | ... | @@ -102,7 +102,7 @@ |
| 102 | 102 | ||
| 103 | </el-input> | 103 | </el-input> |
| 104 | </el-form-item> | 104 | </el-form-item> |
| 105 | <el-form-item prop="code"> | 105 | <el-form-item> |
| 106 | <el-input | 106 | <el-input |
| 107 | v-model.trim="changePasswordForm.code" | 107 | v-model.trim="changePasswordForm.code" |
| 108 | size="large" | 108 | size="large" |
| ... | @@ -111,12 +111,16 @@ | ... | @@ -111,12 +111,16 @@ |
| 111 | @keyup.enter="handleLogin" | 111 | @keyup.enter="handleLogin" |
| 112 | > | 112 | > |
| 113 | <template #append> | 113 | <template #append> |
| 114 | <el-button type="primary" plain style="width: 110px" @click="sendsmsMsg"> | 114 | <el-button type="primary" plain style="width: 110px;" @click="sendsmsMsg"> |
| 115 | <count-down v-if="counting" v-slot="{ totalSeconds }" :time="60000" @end="counting=false"> | 115 | <van-count-down v-if="counting" :time="60000" format="ss" @finish="counting=false"> |
| 116 | {{ totalSeconds }} {{ language == 0 ? '秒' : 's' }} | 116 | <template #default="timeData"> |
| 117 | </count-down> | 117 | <span class="text-primary">{{ timeData.seconds }}{{ language == 0 ? '秒' : 's' }}</span> |
| 118 | </template> | ||
| 119 | </van-count-down> | ||
| 120 | <!-- <count-down v-slot="{ totalSeconds }" :time="60000" @end="counting=false">--> | ||
| 121 | <!-- {{ totalSeconds }} {{ language == 0 ? '秒' : 's' }}--> | ||
| 122 | <!-- </count-down>--> | ||
| 118 | <span v-else> | 123 | <span v-else> |
| 119 | <!-- Send verification code--> | ||
| 120 | {{ language == 0 ? '发送验证码' : 'Send' }} | 124 | {{ language == 0 ? '发送验证码' : 'Send' }} |
| 121 | </span> | 125 | </span> |
| 122 | </el-button> | 126 | </el-button> |
| ... | @@ -167,6 +171,7 @@ | ... | @@ -167,6 +171,7 @@ |
| 167 | </template> | 171 | </template> |
| 168 | 172 | ||
| 169 | <script setup> | 173 | <script setup> |
| 174 | import {getCurrentInstance, ref, watch} from 'vue' | ||
| 170 | import Vcode from "vue3-puzzle-vcode" | 175 | import Vcode from "vue3-puzzle-vcode" |
| 171 | import CountDown from '@chenfengyuan/vue-countdown' | 176 | import CountDown from '@chenfengyuan/vue-countdown' |
| 172 | import {forgetPassword, getCodeImg} from '@/api/login' | 177 | import {forgetPassword, getCodeImg} from '@/api/login' |
| ... | @@ -176,10 +181,10 @@ import useUserStore from '@/store/modules/user' | ... | @@ -176,10 +181,10 @@ import useUserStore from '@/store/modules/user' |
| 176 | 181 | ||
| 177 | const language = useStorage('language', 0) | 182 | const language = useStorage('language', 0) |
| 178 | import {useRouter} from 'vue-router' | 183 | import {useRouter} from 'vue-router' |
| 179 | import {getCurrentInstance, ref, watch} from 'vue' | ||
| 180 | import {ElMessage, ElMessageBox} from 'element-plus' | 184 | import {ElMessage, ElMessageBox} from 'element-plus' |
| 181 | import cache from "@/plugins/cache"; | 185 | import cache from "@/plugins/cache"; |
| 182 | import {useStorage} from "@vueuse/core/index"; | 186 | import {useStorage} from "@vueuse/core/index"; |
| 187 | import {getCaptchaSms, getCaptchaSms2} from "@/apiPc/match"; | ||
| 183 | 188 | ||
| 184 | const emit = defineEmits(['submitForm']) | 189 | const emit = defineEmits(['submitForm']) |
| 185 | const userStore = useUserStore() | 190 | const userStore = useUserStore() |
| ... | @@ -281,16 +286,13 @@ function handleLogin() { | ... | @@ -281,16 +286,13 @@ function handleLogin() { |
| 281 | 286 | ||
| 282 | function close() { | 287 | function close() { |
| 283 | loginStatus.value = 0 | 288 | loginStatus.value = 0 |
| 284 | title.value = '用户登录' | 289 | title.value = language.value == 0?'用户登录':'LOGIN' |
| 285 | } | 290 | } |
| 286 | 291 | ||
| 287 | function showChangePassword() { | 292 | function showChangePassword() { |
| 288 | loginStatus.value = 2 | 293 | loginStatus.value = 2 |
| 289 | if (language.value == 0) { | 294 | title.value = language.value == 0?'忘记密码/密码重置':'FORGET PASSWORD' |
| 290 | title.value = '忘记密码/密码重置' | 295 | |
| 291 | } else { | ||
| 292 | title.value = 'FORGET PASSWORD' | ||
| 293 | } | ||
| 294 | } | 296 | } |
| 295 | 297 | ||
| 296 | function showRegister() { | 298 | function showRegister() { |
| ... | @@ -340,6 +342,7 @@ function getCookie() { | ... | @@ -340,6 +342,7 @@ function getCookie() { |
| 340 | } | 342 | } |
| 341 | 343 | ||
| 342 | function sendsmsMsg() { | 344 | function sendsmsMsg() { |
| 345 | // 忘记密码发信息 | ||
| 343 | if (!changePasswordForm.value.username) { | 346 | if (!changePasswordForm.value.username) { |
| 344 | if (language.value == 0) { | 347 | if (language.value == 0) { |
| 345 | ElMessage.error('请填写手机/邮箱') | 348 | ElMessage.error('请填写手机/邮箱') |
| ... | @@ -349,16 +352,19 @@ function sendsmsMsg() { | ... | @@ -349,16 +352,19 @@ function sendsmsMsg() { |
| 349 | return | 352 | return |
| 350 | } | 353 | } |
| 351 | if (counting.value) { | 354 | if (counting.value) { |
| 352 | return | 355 | |
| 353 | } else { | 356 | } else { |
| 354 | isShow.value = true | 357 | isShow.value = true |
| 355 | } | 358 | } |
| 356 | } | 359 | } |
| 357 | 360 | ||
| 358 | function codeSuccess() { | 361 | function codeSuccess() { |
| 362 | // 忘记密码验证成功 | ||
| 359 | isShow.value = false | 363 | isShow.value = false |
| 360 | isCodeTrue.value = true | 364 | isCodeTrue.value = true |
| 365 | getCaptchaSms2({account: changePasswordForm.value.username}).then(res => { | ||
| 361 | counting.value = true | 366 | counting.value = true |
| 367 | }) | ||
| 362 | } | 368 | } |
| 363 | 369 | ||
| 364 | function changePasswordFormUsername() { | 370 | function changePasswordFormUsername() { |
| ... | @@ -371,11 +377,11 @@ function handleChangePassword() { | ... | @@ -371,11 +377,11 @@ function handleChangePassword() { |
| 371 | if (isCodeTrue.value) { | 377 | if (isCodeTrue.value) { |
| 372 | delete changePasswordForm.value.confirmPassword | 378 | delete changePasswordForm.value.confirmPassword |
| 373 | forgetPassword(changePasswordForm.value).then(res => { | 379 | forgetPassword(changePasswordForm.value).then(res => { |
| 374 | ElMessage.success('操作成功,请登录') | 380 | ElMessage.success(language.value == 0 ? '操作成功,请登录' :'Operation successful, please log in') |
| 375 | close() | 381 | close() |
| 376 | }) | 382 | }) |
| 377 | } else { | 383 | } else { |
| 378 | ElMessage.error('请发送验证码') | 384 | ElMessage.error(language.value == 0 ? '请发送验证码' :'Please send the verification code') |
| 379 | } | 385 | } |
| 380 | } | 386 | } |
| 381 | }) | 387 | }) | ... | ... |
| ... | @@ -72,7 +72,7 @@ | ... | @@ -72,7 +72,7 @@ |
| 72 | <div class="panel border"> | 72 | <div class="panel border"> |
| 73 | <div class="panel-header "> | 73 | <div class="panel-header "> |
| 74 | <h3 class="panel-title" v-if="language==0">可参与报名的项目</h3> | 74 | <h3 class="panel-title" v-if="language==0">可参与报名的项目</h3> |
| 75 | <h3 class="panel-title" v-else>Eligible Events for Registration</h3> | 75 | <h3 class="panel-title" v-else>Search Events</h3> |
| 76 | <div class="fr"> | 76 | <div class="fr"> |
| 77 | <el-input size="small" v-model="projectQuery.name" :prefix-icon="Search" @change="getProjectList" | 77 | <el-input size="small" v-model="projectQuery.name" :prefix-icon="Search" @change="getProjectList" |
| 78 | clearable/> | 78 | clearable/> | ... | ... |
| ... | @@ -71,7 +71,7 @@ | ... | @@ -71,7 +71,7 @@ |
| 71 | <div class="panel border"> | 71 | <div class="panel border"> |
| 72 | <div class="panel-header "> | 72 | <div class="panel-header "> |
| 73 | <h3 class="panel-title" v-if="language==0">可参与报名的项目</h3> | 73 | <h3 class="panel-title" v-if="language==0">可参与报名的项目</h3> |
| 74 | <h3 class="panel-title" v-else>Eligible Events for Registration</h3> | 74 | <h3 class="panel-title" v-else>Search Events</h3> |
| 75 | <div class="fr"> | 75 | <div class="fr"> |
| 76 | <el-input size="small" v-model="projectQuery.name" :prefix-icon="Search" | 76 | <el-input size="small" v-model="projectQuery.name" :prefix-icon="Search" |
| 77 | @change="getProjectList" | 77 | @change="getProjectList" | ... | ... |
| ... | @@ -43,7 +43,7 @@ | ... | @@ -43,7 +43,7 @@ |
| 43 | <div class="panel border"> | 43 | <div class="panel border"> |
| 44 | <div class="panel-header "> | 44 | <div class="panel-header "> |
| 45 | <h3 class="panel-title" v-if="language==0">可参与报名的项目</h3> | 45 | <h3 class="panel-title" v-if="language==0">可参与报名的项目</h3> |
| 46 | <h3 class="panel-title" v-else>Eligible Events for Registration</h3> | 46 | <h3 class="panel-title" v-else>Search Events</h3> |
| 47 | <div class="fr"> | 47 | <div class="fr"> |
| 48 | <el-input size="small" v-model="projectQuery.name" :prefix-icon="Search" | 48 | <el-input size="small" v-model="projectQuery.name" :prefix-icon="Search" |
| 49 | @change="getProjectList" | 49 | @change="getProjectList" | ... | ... |
| ... | @@ -7,12 +7,16 @@ | ... | @@ -7,12 +7,16 @@ |
| 7 | <el-form ref="dialogRef" :model="form" :rules="language==0?rules:rules_cn" label-width="120px" inline> | 7 | <el-form ref="dialogRef" :model="form" :rules="language==0?rules:rules_cn" label-width="120px" inline> |
| 8 | <el-row :gutter="30" class="mt30"> | 8 | <el-row :gutter="30" class="mt30"> |
| 9 | <el-col :lg="12" class="touxiang"> | 9 | <el-col :lg="12" class="touxiang"> |
| 10 | |||
| 10 | <el-form-item prop="picUrl" :label="language==0?'个人照片':'photo'"> | 11 | <el-form-item prop="picUrl" :label="language==0?'个人照片':'photo'"> |
| 11 | <ImageUpload2 | 12 | <ImageUpload2 |
| 12 | v-model="form.picUrl" :crop-height="280" :crop-width="200" class="threeFour" :limit="1" | 13 | v-model="form.picUrl" :crop-height="280" :crop-width="200" class="threeFour" :limit="1" |
| 13 | :is-show-tip="false" | 14 | :is-show-tip="false" |
| 14 | /> | 15 | /> |
| 15 | </el-form-item> | 16 | </el-form-item> |
| 17 | <el-form-item v-if="language=='1'" :label="language==0?'WDSF会员号':'WDSF code'" prop="wdsfMin"> | ||
| 18 | <el-input v-model="form.wdsfMin" type="number"/> | ||
| 19 | </el-form-item> | ||
| 16 | <el-form-item :label="language==0?'姓氏':'surname'" prop="xing" required> | 20 | <el-form-item :label="language==0?'姓氏':'surname'" prop="xing" required> |
| 17 | <el-input v-model="form.xing"/> | 21 | <el-input v-model="form.xing"/> |
| 18 | </el-form-item> | 22 | </el-form-item> |
| ... | @@ -73,7 +77,7 @@ | ... | @@ -73,7 +77,7 @@ |
| 73 | <el-input v-model="form.address" type="textarea" :rows="4"/> | 77 | <el-input v-model="form.address" type="textarea" :rows="4"/> |
| 74 | 78 | ||
| 75 | </el-form-item> | 79 | </el-form-item> |
| 76 | <el-form-item :label="language==0?'WDSF会员号':'WDSF code'" prop="wdsfMin"> | 80 | <el-form-item v-if="language=='0'" :label="language==0?'WDSF会员号':'WDSF code'" prop="wdsfMin"> |
| 77 | <el-input v-model="form.wdsfMin" type="number"/> | 81 | <el-input v-model="form.wdsfMin" type="number"/> |
| 78 | </el-form-item> | 82 | </el-form-item> |
| 79 | 83 | ... | ... |
| ... | @@ -196,7 +196,7 @@ function editPerson(row) { | ... | @@ -196,7 +196,7 @@ function editPerson(row) { |
| 196 | 196 | ||
| 197 | function addMember() { | 197 | function addMember() { |
| 198 | const params = { | 198 | const params = { |
| 199 | title: '添加人员', | 199 | title: language.value == 0 ?'添加人员':'Add', |
| 200 | id: 0, | 200 | id: 0, |
| 201 | groupId: groupId | 201 | groupId: groupId |
| 202 | } | 202 | } | ... | ... |
| ... | @@ -23,7 +23,7 @@ | ... | @@ -23,7 +23,7 @@ |
| 23 | {{ totalSeconds }} {{ language == 0 ? '秒' : 's' }} | 23 | {{ totalSeconds }} {{ language == 0 ? '秒' : 's' }} |
| 24 | </count-down> | 24 | </count-down> |
| 25 | <span v-else> | 25 | <span v-else> |
| 26 | {{ language == 0 ? '发送验证码' : 'Send code' }} | 26 | {{ language == 0 ? '发送验证码' : 'Send' }} |
| 27 | </span> | 27 | </span> |
| 28 | </el-button> | 28 | </el-button> |
| 29 | </template> | 29 | </template> | ... | ... |
| ... | @@ -82,7 +82,7 @@ export default defineConfig(({ mode, command }) => { | ... | @@ -82,7 +82,7 @@ export default defineConfig(({ mode, command }) => { |
| 82 | rewrite: (p) => p.replace(/^\/dev-api\/ztx-webSite/, '') | 82 | rewrite: (p) => p.replace(/^\/dev-api\/ztx-webSite/, '') |
| 83 | }, | 83 | }, |
| 84 | '/dev-api': { | 84 | '/dev-api': { |
| 85 | // target: 'http://192.168.1.131:8083/', | 85 | // target: 'http://192.168.1.96:9083/', |
| 86 | target: 'https://dance.itechtop.cn/stage-api', | 86 | target: 'https://dance.itechtop.cn/stage-api', |
| 87 | changeOrigin: true, | 87 | changeOrigin: true, |
| 88 | rewrite: (p) => p.replace(/^\/dev-api/, '') | 88 | rewrite: (p) => p.replace(/^\/dev-api/, '') | ... | ... |
-
Please register or sign in to post a comment