接机隐藏
Showing
1 changed file
with
189 additions
and
161 deletions
| 1 | <template> | 1 | <template> |
| 2 | <div class="app-container" v-loading="loading"> | 2 | <div v-loading="loading" class="app-container"> |
| 3 | <div class="mt30"/> | 3 | <div class="mt30"/> |
| 4 | <div v-if="error"> | 4 | <div v-if="error"> |
| 5 | <el-result | 5 | <el-result |
| 6 | icon="error" | ||
| 7 | :title="language==0?'未找到赛事':'No Data'" | 6 | :title="language==0?'未找到赛事':'No Data'" |
| 7 | icon="error" | ||
| 8 | > | 8 | > |
| 9 | <template #extra> | 9 | <template #extra> |
| 10 | </template> | 10 | </template> |
| 11 | </el-result> | 11 | </el-result> |
| 12 | </div> | 12 | </div> |
| 13 | <div class="box mb20" v-else> | 13 | <div v-else class="box mb20"> |
| 14 | <el-card class="mb20"> | 14 | <el-card class="mb20"> |
| 15 | <el-row :gutter="20" align="middle"> | 15 | <el-row :gutter="20" align="middle"> |
| 16 | <el-col :lg="matchData.type=='0'?7:8" :md="12" :xl="6"> | 16 | <el-col :lg="matchData.type=='0'?7:8" :md="12" :xl="6"> |
| 17 | <div class="popo"> | 17 | <div class="popo"> |
| 18 | <el-tag v-if="matchData.signType==0">{{ language==0?'个人':'Individual' }}</el-tag> | 18 | <el-tag v-if="matchData.signType==0">{{ language == 0 ? '个人' : 'Individual' }}</el-tag> |
| 19 | <el-tag v-if="matchData.signType==1">{{ language==0?'团体':'Team' }}</el-tag> | 19 | <el-tag v-if="matchData.signType==1">{{ language == 0 ? '团体' : 'Team' }}</el-tag> |
| 20 | <el-tag v-if="matchData.signType==2">{{ language==0?'个人/团体':'Individual/Team' }}</el-tag> | 20 | <el-tag v-if="matchData.signType==2">{{ language == 0 ? '个人/团体' : 'Individual/Team' }}</el-tag> |
| 21 | </div> | 21 | </div> |
| 22 | 22 | ||
| 23 | <img class="mauto w100 as16_9" :src="fillImgUrl(matchData.coverUrl)"> | 23 | <img :src="fillImgUrl(matchData.coverUrl)" class="mauto w100 as16_9"> |
| 24 | </el-col> | 24 | </el-col> |
| 25 | <el-col :lg="matchData.type=='0'?9:16" :md="12" :xl="10" style="position: relative"> | 25 | <el-col :lg="matchData.type=='0'?9:16" :md="12" :xl="10" style="position: relative"> |
| 26 | <h3 style="margin: 0 0 10px">{{ matchData.name }}</h3> | 26 | <h3 style="margin: 0 0 10px">{{ matchData.name }}</h3> |
| ... | @@ -32,7 +32,7 @@ | ... | @@ -32,7 +32,7 @@ |
| 32 | <label class="bm1">{{ language == 0 ? '赛事时间' : 'COMPETITION DATE' }}:</label> | 32 | <label class="bm1">{{ language == 0 ? '赛事时间' : 'COMPETITION DATE' }}:</label> |
| 33 | {{ matchData.beginTime?.slice(0, 10) }} ~ | 33 | {{ matchData.beginTime?.slice(0, 10) }} ~ |
| 34 | {{ matchData.endTime?.slice(0, 10) }}</p> | 34 | {{ matchData.endTime?.slice(0, 10) }}</p> |
| 35 | <p class="ppl" v-if="matchData.address"> | 35 | <p v-if="matchData.address" class="ppl"> |
| 36 | <label class="bm3"> | 36 | <label class="bm3"> |
| 37 | {{ language == 0 ? '地    点' : 'LOCATION' }}: | 37 | {{ language == 0 ? '地    点' : 'LOCATION' }}: |
| 38 | </label> | 38 | </label> |
| ... | @@ -40,39 +40,47 @@ | ... | @@ -40,39 +40,47 @@ |
| 40 | <!-- <p class="ppl" v-if="matchData.signEndTime"><label class="bm4">Registration Deadline:</label>{{ matchData.signEndTime?.slice(0, 10) }}</p>--> | 40 | <!-- <p class="ppl" v-if="matchData.signEndTime"><label class="bm4">Registration Deadline:</label>{{ matchData.signEndTime?.slice(0, 10) }}</p>--> |
| 41 | 41 | ||
| 42 | <p class="ppl"><label> | 42 | <p class="ppl"><label> |
| 43 | <svg style="position: relative;top: 3px;" t="1712726889323" class="icon" viewBox="0 0 1024 1024" version="1.1" | 43 | <svg class="icon" height="18" p-id="37235" style="position: relative;top: 3px;" |
| 44 | xmlns="http://www.w3.org/2000/svg" p-id="37235" width="18" height="18"> | 44 | t="1712726889323" |
| 45 | <path d="M290.88 128H928V96a64 64 0 0 0-64-64H288a192 192 0 0 0-192 192v576a192 192 0 0 0 192 192h576a64 64 0 0 0 64-64V320a64 64 0 0 0-64-64H290.88A64 64 0 0 1 224 192a64 64 0 0 1 66.88-64z m77.12 608l96-22.72v-29.12a123.2 123.2 0 0 1-58.24-84.48c-29.76-2.24-24.64-41.28-24.64-41.28 0-19.84 10.24-26.24 18.56-27.84v-19.2c0-148.48 128-128 128-128a128 128 0 0 1 55.04 5.12c34.56 11.2 72.32 42.24 72.32 123.2v19.2c8.32 1.92 18.56 8 18.56 28.16 0 0 5.12 39.04-24.64 41.28a123.2 123.2 0 0 1-58.24 84.48v29.12l96 22.72c47.04 16.64 0 96 0 96h-320S320 752 368 736z" fill="#d3d8d9" p-id="37236"></path></svg> | 45 | version="1.1" viewBox="0 0 1024 1024" width="18" xmlns="http://www.w3.org/2000/svg"> |
| 46 | {{ language==0?'联 系 人':'CONTACT PERSON' }}:</label>{{ matchData.contactPerson }}</p> | 46 | <path |
| 47 | d="M290.88 128H928V96a64 64 0 0 0-64-64H288a192 192 0 0 0-192 192v576a192 192 0 0 0 192 192h576a64 64 0 0 0 64-64V320a64 64 0 0 0-64-64H290.88A64 64 0 0 1 224 192a64 64 0 0 1 66.88-64z m77.12 608l96-22.72v-29.12a123.2 123.2 0 0 1-58.24-84.48c-29.76-2.24-24.64-41.28-24.64-41.28 0-19.84 10.24-26.24 18.56-27.84v-19.2c0-148.48 128-128 128-128a128 128 0 0 1 55.04 5.12c34.56 11.2 72.32 42.24 72.32 123.2v19.2c8.32 1.92 18.56 8 18.56 28.16 0 0 5.12 39.04-24.64 41.28a123.2 123.2 0 0 1-58.24 84.48v29.12l96 22.72c47.04 16.64 0 96 0 96h-320S320 752 368 736z" | ||
| 48 | fill="#d3d8d9" p-id="37236"></path> | ||
| 49 | </svg> | ||
| 50 | {{ language == 0 ? '联 系 人' : 'CONTACT PERSON' }}:</label>{{ matchData.contactPerson }} | ||
| 51 | </p> | ||
| 47 | 52 | ||
| 48 | <p class="ppl"> | 53 | <p class="ppl"> |
| 49 | <label> | 54 | <label> |
| 50 | <svg style="position: relative;top: 2px;" t="1711708779620" class="icon" viewBox="0 0 1024 1024" | 55 | <svg class="icon" height="20" p-id="7920" style="position: relative;top: 2px;" |
| 51 | version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="7920" width="20" height="20"> | 56 | t="1711708779620" version="1.1" viewBox="0 0 1024 1024" width="20" xmlns="http://www.w3.org/2000/svg"> |
| 52 | <path | 57 | <path |
| 53 | d="M398.652952 165.692952c-32.280381-46.006857-58.172952-61.318095-92.867047-54.808381-14.969905 2.80381-24.210286 7.850667-41.20381 22.528l-12.946285 11.361524-25.185524 20.894476-6.582857 5.753905c-3.705905 3.413333-6.38781 6.217143-9.825524 10.118095-64 72.46019-81.724952 185.782857-44.470857 292.327619 26.794667 76.55619 74.605714 152.624762 142.774857 228.644572 72.289524 80.62781 133.046857 131.364571 202.922666 168.374857 54.857143 29.013333 96.865524 41.74019 145.676191 43.227429 59.001905 1.828571 110.957714-11.50781 153.648762-39.15581a162.133333 162.133333 0 0 0 19.553524-15.189333l8.289523-7.558095 16.335239-15.213715 5.534476-4.924952 10.922666-9.435429c22.040381-19.651048 29.184-31.939048 30.646858-51.370666 2.194286-29.647238-11.215238-52.736-49.737143-85.699048l-26.063238-21.820952-12.117334-10.581334-11.459047-9.825524c-37.229714-30.744381-64.804571-40.69181-100.205715-35.35238-24.283429 3.632762-38.278095 12.141714-63.073523 38.107428l-10.947048 11.654095c-18.041905 19.017143-28.330667 26.258286-43.544381 29.305905-22.25981 4.461714-44.373333-7.046095-80.262095-36.205714-46.250667-37.546667-84.626286-80.676571-117.613715-131.949714-22.869333-35.766857-31.890286-62.902857-24.941714-87.600762 2.82819-9.99619 9.679238-17.042286 24.064-28.184381l14.994286-11.312762 2.413714-1.877334 22.747429-18.553904c20.114286-16.822857 28.281905-28.281905 32.572952-45.836191 8.899048-36.10819 0.487619-66.072381-32.426667-117.638095l-15.62819-24.234667-5.558857-8.533333-6.436572-9.435429z" | 58 | d="M398.652952 165.692952c-32.280381-46.006857-58.172952-61.318095-92.867047-54.808381-14.969905 2.80381-24.210286 7.850667-41.20381 22.528l-12.946285 11.361524-25.185524 20.894476-6.582857 5.753905c-3.705905 3.413333-6.38781 6.217143-9.825524 10.118095-64 72.46019-81.724952 185.782857-44.470857 292.327619 26.794667 76.55619 74.605714 152.624762 142.774857 228.644572 72.289524 80.62781 133.046857 131.364571 202.922666 168.374857 54.857143 29.013333 96.865524 41.74019 145.676191 43.227429 59.001905 1.828571 110.957714-11.50781 153.648762-39.15581a162.133333 162.133333 0 0 0 19.553524-15.189333l8.289523-7.558095 16.335239-15.213715 5.534476-4.924952 10.922666-9.435429c22.040381-19.651048 29.184-31.939048 30.646858-51.370666 2.194286-29.647238-11.215238-52.736-49.737143-85.699048l-26.063238-21.820952-12.117334-10.581334-11.459047-9.825524c-37.229714-30.744381-64.804571-40.69181-100.205715-35.35238-24.283429 3.632762-38.278095 12.141714-63.073523 38.107428l-10.947048 11.654095c-18.041905 19.017143-28.330667 26.258286-43.544381 29.305905-22.25981 4.461714-44.373333-7.046095-80.262095-36.205714-46.250667-37.546667-84.626286-80.676571-117.613715-131.949714-22.869333-35.766857-31.890286-62.902857-24.941714-87.600762 2.82819-9.99619 9.679238-17.042286 24.064-28.184381l14.994286-11.312762 2.413714-1.877334 22.747429-18.553904c20.114286-16.822857 28.281905-28.281905 32.572952-45.836191 8.899048-36.10819 0.487619-66.072381-32.426667-117.638095l-15.62819-24.234667-5.558857-8.533333-6.436572-9.435429z" |
| 54 | p-id="7921" fill="#d3d8d9"></path> | 59 | fill="#d3d8d9" p-id="7921"></path> |
| 55 | </svg> | 60 | </svg> |
| 56 | {{ language == 0 ? '联系电话' : 'TEL' }}:</label>086-{{ matchData.contactTelno }} | 61 | {{ language == 0 ? '联系电话' : 'TEL' }}:</label>086-{{ matchData.contactTelno }} |
| 57 | </p> | 62 | </p> |
| 58 | <p class="ppl"> | 63 | <p class="ppl"> |
| 59 | <label> | 64 | <label> |
| 60 | <svg style="position: relative;top: 4px;" t="1712726978978" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="40177" | 65 | <svg class="icon" height="18" p-id="40177" style="position: relative;top: 4px;" |
| 61 | width="18" height="18"> | 66 | t="1712726978978" version="1.1" viewBox="0 0 1024 1024" |
| 62 | <path d="M853.333333 341.333333l-341.333333 213.333334-341.333333-213.333334V256l341.333333 213.333333 341.333333-213.333333m0-85.333333H170.666667c-47.36 0-85.333333 37.973333-85.333334 85.333333v512a85.333333 85.333333 0 0 0 85.333334 85.333333h682.666666a85.333333 85.333333 0 0 0 85.333334-85.333333V256a85.333333 85.333333 0 0 0-85.333334-85.333333z" fill="#d3d8d9" p-id="40178"></path> | 67 | width="18" xmlns="http://www.w3.org/2000/svg"> |
| 68 | <path | ||
| 69 | d="M853.333333 341.333333l-341.333333 213.333334-341.333333-213.333334V256l341.333333 213.333333 341.333333-213.333333m0-85.333333H170.666667c-47.36 0-85.333333 37.973333-85.333334 85.333333v512a85.333333 85.333333 0 0 0 85.333334 85.333333h682.666666a85.333333 85.333333 0 0 0 85.333334-85.333333V256a85.333333 85.333333 0 0 0-85.333334-85.333333z" | ||
| 70 | fill="#d3d8d9" p-id="40178"></path> | ||
| 63 | </svg> | 71 | </svg> |
| 64 | {{ language==0?'邮    箱':'EMAIL' }}: | 72 | {{ language == 0 ? '邮    箱' : 'EMAIL' }}: |
| 65 | </label> | 73 | </label> |
| 66 | {{ matchData.contactEmail }} | 74 | {{ matchData.contactEmail }} |
| 67 | </p> | 75 | </p> |
| 68 | <p class="ppl"> | 76 | <p class="ppl"> |
| 69 | <label> | 77 | <label> |
| 70 | <svg style="position: relative;top: 2px;" t="1711707785514" class="icon" viewBox="0 0 1024 1024" | 78 | <svg class="icon" height="18" p-id="6578" style="position: relative;top: 2px;" |
| 71 | version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="6578" | 79 | t="1711707785514" version="1.1" viewBox="0 0 1024 1024" |
| 72 | width="18" height="18"> | 80 | width="18" xmlns="http://www.w3.org/2000/svg"> |
| 73 | <path | 81 | <path |
| 74 | d="M780 68H256c-71.6 0-130.2 55.5-130.2 123.2v711.2c1.5 42.8 50 69.3 90.6 50.6l227.2-105c38.5-17.8 83.4-18.5 122.6-1.9l255.4 108.6c34.8 14.8 76.1-2.7 86.3-37.6 1.6-5.4 2.4-11 2.4-16.9v-709C910.2 123.5 851.6 68 780 68zM276.9 231.3h255.9c23.9 0 43.3 18.4 43.3 41s-19.4 41-43.3 41H276.9c-23.9 0-43.3-18.4-43.3-41s19.4-41 43.3-41z m386.8 464H276.9c-23.9 0-43.3-18.4-43.3-41s19.4-41 43.3-41h386.8c23.9 0 43.3 18.4 43.3 41s-19.4 41-43.3 41z m0-191H276.9c-23.9 0-43.3-18.4-43.3-41s19.4-41 43.3-41h386.8c23.9 0 43.3 18.4 43.3 41s-19.4 41-43.3 41z" | 82 | d="M780 68H256c-71.6 0-130.2 55.5-130.2 123.2v711.2c1.5 42.8 50 69.3 90.6 50.6l227.2-105c38.5-17.8 83.4-18.5 122.6-1.9l255.4 108.6c34.8 14.8 76.1-2.7 86.3-37.6 1.6-5.4 2.4-11 2.4-16.9v-709C910.2 123.5 851.6 68 780 68zM276.9 231.3h255.9c23.9 0 43.3 18.4 43.3 41s-19.4 41-43.3 41H276.9c-23.9 0-43.3-18.4-43.3-41s19.4-41 43.3-41z m386.8 464H276.9c-23.9 0-43.3-18.4-43.3-41s19.4-41 43.3-41h386.8c23.9 0 43.3 18.4 43.3 41s-19.4 41-43.3 41z m0-191H276.9c-23.9 0-43.3-18.4-43.3-41s19.4-41 43.3-41h386.8c23.9 0 43.3 18.4 43.3 41s-19.4 41-43.3 41z" |
| 75 | p-id="6579" fill="#d3d8d9"></path> | 83 | fill="#d3d8d9" p-id="6579"></path> |
| 76 | </svg> | 84 | </svg> |
| 77 | {{ language == 0 ? '分 站 赛' : 'NO. OF TOURNAMENTS' }}:</label> | 85 | {{ language == 0 ? '分 站 赛' : 'NO. OF TOURNAMENTS' }}:</label> |
| 78 | {{ matchData.cpts.length }} | 86 | {{ matchData.cpts.length }} |
| ... | @@ -89,41 +97,43 @@ | ... | @@ -89,41 +97,43 @@ |
| 89 | {{ matchData.address }} | 97 | {{ matchData.address }} |
| 90 | </p> | 98 | </p> |
| 91 | <p class="ppl"><label>{{ language == 0 ? '赛事级别' : 'EVENT LEVEL' }}:</label>{{ matchData.level }}</p> | 99 | <p class="ppl"><label>{{ language == 0 ? '赛事级别' : 'EVENT LEVEL' }}:</label>{{ matchData.level }}</p> |
| 92 | <!-- <p class="ppl">--> | 100 | <!-- <p class="ppl">--> |
| 93 | <!-- <label>{{ language == 0 ? '报名截止' : 'Registration Deadline' }}:</label>--> | 101 | <!-- <label>{{ language == 0 ? '报名截止' : 'Registration Deadline' }}:</label>--> |
| 94 | <!-- {{ matchData.signEndTime?.slice(0, 10) }}--> | 102 | <!-- {{ matchData.signEndTime?.slice(0, 10) }}--> |
| 95 | <!-- </p>--> | 103 | <!-- </p>--> |
| 96 | <p class="ppl" v-if="matchData.contactPerson"> | 104 | <p v-if="matchData.contactPerson" class="ppl"> |
| 97 | <label>{{ language == 0 ? '联 系 人' : 'CONTACT PERSON' }}:</label> | 105 | <label>{{ language == 0 ? '联 系 人' : 'CONTACT PERSON' }}:</label> |
| 98 | {{ matchData.contactPerson }} | 106 | {{ matchData.contactPerson }} |
| 99 | </p> | 107 | </p> |
| 100 | <p class="ppl"><label>{{ language == 0 ? '联系电话' : 'TEL' }}:</label> | 108 | <p class="ppl"><label>{{ language == 0 ? '联系电话' : 'TEL' }}:</label> |
| 101 | 086-{{ matchData.contactTelno }} | 109 | 086-{{ matchData.contactTelno }} |
| 102 | </p> | 110 | </p> |
| 103 | <p class="ppl" v-if="matchData.contactEmail"> | 111 | <p v-if="matchData.contactEmail" class="ppl"> |
| 104 | <label>{{ language == 0 ? '邮    箱' : 'EMAIL' }}:</label> | 112 | <label>{{ language == 0 ? '邮    箱' : 'EMAIL' }}:</label> |
| 105 | {{ matchData.contactEmail }}</p> | 113 | {{ matchData.contactEmail }}</p> |
| 106 | </div> | 114 | </div> |
| 107 | <div style="height: 30px"></div> | 115 | <div style="height: 30px"></div> |
| 108 | <div class="ppl_pb"> | 116 | <div class="ppl_pb"> |
| 109 | <el-link class="mr20" v-if="matchData.signKnowUrl&&JSON.parse(matchData.signKnowUrl)?.length>0" type="primary" | 117 | <el-link v-if="matchData.signKnowUrl&&JSON.parse(matchData.signKnowUrl)?.length>0" :href="fillImgUrl(JSON.parse(matchData.signKnowUrl)[0]?.url)" |
| 110 | :href="fillImgUrl(JSON.parse(matchData.signKnowUrl)[0]?.url)" target="_blank"> | 118 | class="mr20" |
| 119 | target="_blank" type="primary"> | ||
| 111 | <el-icon :size="20"> | 120 | <el-icon :size="20"> |
| 112 | <Download/> | 121 | <Download/> |
| 113 | </el-icon> | 122 | </el-icon> |
| 114 | {{ language == 0 ? '报名须知' : 'Notes' }} | 123 | {{ language == 0 ? '报名须知' : 'Notes' }} |
| 115 | </el-link> | 124 | </el-link> |
| 116 | 125 | ||
| 117 | <el-link class="mr20" v-if="matchData.disclaimerUrl&&JSON.parse(matchData.disclaimerUrl)?.length>0" type="primary" | 126 | <el-link v-if="matchData.disclaimerUrl&&JSON.parse(matchData.disclaimerUrl)?.length>0" :href="fillImgUrl(JSON.parse(matchData.disclaimerUrl)[0]?.url)" |
| 118 | :href="fillImgUrl(JSON.parse(matchData.disclaimerUrl)[0]?.url)" target="_blank"> | 127 | class="mr20" |
| 128 | target="_blank" type="primary"> | ||
| 119 | <el-icon :size="20"> | 129 | <el-icon :size="20"> |
| 120 | <Download/> | 130 | <Download/> |
| 121 | </el-icon> | 131 | </el-icon> |
| 122 | {{ language == 0 ? '免责声明' : 'Disclaimers' }} | 132 | {{ language == 0 ? '免责声明' : 'Disclaimers' }} |
| 123 | </el-link> | 133 | </el-link> |
| 124 | <el-link v-if="matchData.ruleUrl&&JSON.parse(matchData.ruleUrl)?.length>0" type="primary" | 134 | <el-link v-if="matchData.ruleUrl&&JSON.parse(matchData.ruleUrl)?.length>0" :href="fillImgUrl(JSON.parse(matchData.ruleUrl)[0]?.url)" |
| 125 | :href="fillImgUrl(JSON.parse(matchData.ruleUrl)[0]?.url)" | 135 | target="_blank" |
| 126 | target="_blank"> | 136 | type="primary"> |
| 127 | <el-icon :size="20"> | 137 | <el-icon :size="20"> |
| 128 | <Download/> | 138 | <Download/> |
| 129 | </el-icon> | 139 | </el-icon> |
| ... | @@ -132,12 +142,12 @@ | ... | @@ -132,12 +142,12 @@ |
| 132 | </div> | 142 | </div> |
| 133 | 143 | ||
| 134 | </el-col> | 144 | </el-col> |
| 135 | <el-col :lg="8" :md="12" :xl="8" v-if="matchData.type=='0'"> | 145 | <el-col v-if="matchData.type=='0'" :lg="8" :md="12" :xl="8"> |
| 136 | <p class="countDownTitle" v-if="language==0"> | 146 | <p v-if="language==0" class="countDownTitle"> |
| 137 | <span v-if="startSign>0">报名开始倒计时</span> | 147 | <span v-if="startSign>0">报名开始倒计时</span> |
| 138 | <span v-else>报名截止倒计时</span> | 148 | <span v-else>报名截止倒计时</span> |
| 139 | </p> | 149 | </p> |
| 140 | <p class="countDownTitle" v-else> | 150 | <p v-else class="countDownTitle"> |
| 141 | <span>REGISTRATION COUNTDOWN</span> | 151 | <span>REGISTRATION COUNTDOWN</span> |
| 142 | </p> | 152 | </p> |
| 143 | 153 | ||
| ... | @@ -155,82 +165,90 @@ | ... | @@ -155,82 +165,90 @@ |
| 155 | </van-count-down> | 165 | </van-count-down> |
| 156 | 166 | ||
| 157 | <div class="flexCenter"> | 167 | <div class="flexCenter"> |
| 158 | <el-button v-if="matchData.progressStatusCode=='2'" ref="RegisterRef" type="primary" round | 168 | <el-button v-if="matchData.progressStatusCode=='2'" ref="RegisterRef" class="btn-lineG mt10 w100" round |
| 159 | class="btn-lineG mt10 w100" | 169 | style="font-size: 16px" |
| 160 | @click="choseSignType" style="font-size: 16px"> | 170 | type="primary" @click="choseSignType"> |
| 161 | {{ language == 0 ? '我要报名' : 'REGISTER' }} | 171 | {{ language == 0 ? '我要报名' : 'REGISTER' }} |
| 162 | </el-button> | 172 | </el-button> |
| 163 | <div v-else-if="time<=0" style="opacity: 0.5;" class="btn-lineG mb20 mauto text-center"> | 173 | <div v-else-if="time<=0" class="btn-lineG mb20 mauto text-center" style="opacity: 0.5;"> |
| 164 | {{ language == 0 ? '报名已结束' : 'Registration has ended' }} | 174 | {{ language == 0 ? '报名已结束' : 'Registration has ended' }} |
| 165 | </div> | 175 | </div> |
| 166 | <div v-else-if="startSign>0" style="opacity: 0.5;" class="btn-lineG mb20 mauto text-center"> | 176 | <div v-else-if="startSign>0" class="btn-lineG mb20 mauto text-center" style="opacity: 0.5;"> |
| 167 | {{ language == 0 ? '报名未开始' : 'Not started yet' }} | 177 | {{ language == 0 ? '报名未开始' : 'Not started yet' }} |
| 168 | </div> | 178 | </div> |
| 169 | </div> | 179 | </div> |
| 170 | <p class="text-gray text-center uppercase">{{ language==0?'报名截止':'Registration Deadline' }}:{{ matchData.signEndTime?.slice(0,10) }}</p> | 180 | <p class="text-gray text-center uppercase">{{ |
| 181 | language == 0 ? '报名截止' : 'Registration Deadline' | ||
| 182 | }}:{{ matchData.signEndTime?.slice(0, 10) }}</p> | ||
| 171 | 183 | ||
| 172 | </el-col> | 184 | </el-col> |
| 173 | </el-row> | 185 | </el-row> |
| 174 | </el-card> | 186 | </el-card> |
| 175 | 187 | ||
| 176 | <!-- 只联赛有--> | 188 | <!-- 只联赛有--> |
| 177 | <quick-row :match-id="matchId" v-if="matchData.leagueId==0"/> | 189 | <quick-row v-if="matchData.leagueId==0" :match-id="matchId"/> |
| 178 | 190 | ||
| 179 | <el-row :gutter="20" v-if="matchData.type=='0'"> | 191 | <el-row v-if="matchData.type=='0'" :gutter="20"> |
| 180 | <el-col :lg="18"> | 192 | <el-col :lg="18"> |
| 181 | <el-card :body-style="{'padding':'0'}"> | 193 | <el-card :body-style="{'padding':'0'}"> |
| 182 | <div class="lineHead"> | 194 | <div class="lineHead"> |
| 183 | <ul> | 195 | <ul> |
| 184 | <li v-for="l in menu" :key="l.name" @click="changeMenu(menu,l)" :class="l.active==1?'active':''"> | 196 | <li v-for="l in menu" :key="l.name" :class="l.active==1?'active':''" @click="changeMenu(menu,l)"> |
| 185 | {{ language == 0 ? l.cn : l.name }} | 197 | {{ language == 0 ? l.cn : l.name }} |
| 186 | </li> | 198 | </li> |
| 187 | </ul> | 199 | </ul> |
| 188 | </div> | 200 | </div> |
| 189 | <matchInfo :form="matchData" v-if="menu[0].active==1"/> | 201 | <matchInfo v-if="menu[0].active==1" :form="matchData"/> |
| 190 | <div v-if="menu[1].active==1"> | 202 | <div v-if="menu[1].active==1"> |
| 191 | <match-info-project-list :match-id="matchData.id" :is-national="isNational"/> | 203 | <match-info-project-list :is-national="isNational" :match-id="matchData.id"/> |
| 192 | </div> | 204 | </div> |
| 193 | <match-schedule-list :match-data="matchData" v-if="menu[2].active==1"/> | 205 | <match-schedule-list v-if="menu[2].active==1" :match-data="matchData"/> |
| 194 | <div v-if="menu[3].active==1"> | 206 | <div v-if="menu[3].active==1"> |
| 195 | <div v-if="matchData.showPersonFlag=='1'"> | 207 | <div v-if="matchData.showPersonFlag=='1'"> |
| 196 | <!-- <el-row :gutter="20" v-if="matchData.signType == '0'">--> | 208 | <!-- <el-row :gutter="20" v-if="matchData.signType == '0'">--> |
| 197 | <!-- <el-col v-for="t in signDoneGroupList" :key="t.id" :span="8">--> | 209 | <!-- <el-col v-for="t in signDoneGroupList" :key="t.id" :span="8">--> |
| 198 | <!-- <div class="teamItem">--> | 210 | <!-- <div class="teamItem">--> |
| 199 | <!-- <el-avatar :size="60" :src="fillImgUrl(t.imgUrl||t.avatar)"/>--> | 211 | <!-- <el-avatar :size="60" :src="fillImgUrl(t.imgUrl||t.avatar)"/>--> |
| 200 | <!-- <span class="name">{{ t.name }}</span>--> | 212 | <!-- <span class="name">{{ t.name }}</span>--> |
| 201 | <!-- </div>--> | 213 | <!-- </div>--> |
| 202 | <!-- </el-col>--> | 214 | <!-- </el-col>--> |
| 203 | <!-- </el-row>--> | 215 | <!-- </el-row>--> |
| 204 | <el-row :gutter="20" class="pd20"> | 216 | <el-row :gutter="20" class="pd20"> |
| 205 | <el-col :span="24"> | 217 | <el-col :span="24"> |
| 206 | <div class="fr mb20"> | 218 | <div class="fr mb20"> |
| 207 | <div class="flex"> | 219 | <div class="flex"> |
| 208 | <el-input class="mr10" size="small" v-model="queryGroupList.groupName" :prefix-icon="Search" | 220 | <el-input v-model="queryGroupList.groupName" :placeholder="language == 0 ? '请输入参赛队名称' :'Please enter the Team name'" :prefix-icon="Search" class="mr10" |
| 209 | :placeholder="language == 0 ? '请输入参赛队名称' :'Please enter the Team name'" | 221 | clearable |
| 210 | @change="getGroupListByCptId" clearable/> | 222 | size="small" @change="getGroupListByCptId"/> |
| 211 | <el-input size="small" v-model="queryGroupList.athleteName" :prefix-icon="Search" | 223 | <el-input v-model="queryGroupList.athleteName" :placeholder=" language == 0 ? '请输入运动员查询' :'Please enter the athlete name'" :prefix-icon="Search" |
| 212 | :placeholder=" language == 0 ? '请输入运动员查询' :'Please enter the athlete name'" | 224 | clearable |
| 213 | @change="getGroupListByCptId" clearable/> | 225 | size="small" @change="getGroupListByCptId"/> |
| 214 | </div> | 226 | </div> |
| 215 | </div> | 227 | </div> |
| 216 | <el-table :data="signDoneGroupList"> | 228 | <el-table :data="signDoneGroupList"> |
| 217 | <el-table-column prop="groupCode" align="center" :label="language == 0 ? '组别代码' :'EVENT CODE'" min-width="120"/> | 229 | <el-table-column :label="language == 0 ? '组别代码' :'EVENT CODE'" align="center" min-width="120" |
| 218 | <el-table-column prop="group" :label="language == 0 ?'组别':'EVENT'" min-width="200"> | 230 | prop="groupCode"/> |
| 231 | <el-table-column :label="language == 0 ?'组别':'EVENT'" min-width="200" prop="group"> | ||
| 219 | <template #default="scope"> | 232 | <template #default="scope"> |
| 220 | <div class="esp">{{scope.row.group}}</div> | 233 | <div class="esp">{{ scope.row.group }}</div> |
| 221 | </template> | 234 | </template> |
| 222 | </el-table-column> | 235 | </el-table-column> |
| 223 | <el-table-column prop="maleAthName" :label="language == 0 ?'男运动员':'man name'" min-width="150"/> | 236 | <el-table-column :label="language == 0 ?'男运动员':'man name'" min-width="150" |
| 224 | <el-table-column prop="femaleAthName" :label="language == 0 ?'女运动员':'woman name'" min-width="150"/> | 237 | prop="maleAthName"/> |
| 225 | <el-table-column prop="danceType" align="center" :label="language == 0 ?'舞种':'Division'" min-width="90"/> | 238 | <el-table-column :label="language == 0 ?'女运动员':'woman name'" min-width="150" |
| 226 | <el-table-column prop="countryName" align="center" :label="language == 0 ?'国籍':'Representing'" min-width="130"/> | 239 | prop="femaleAthName"/> |
| 227 | <el-table-column prop="groupName" align="center" :label="language == 0 ?'参赛队名称':'Team name'" min-width="150"/> | 240 | <el-table-column :label="language == 0 ?'舞种':'Division'" align="center" min-width="90" |
| 241 | prop="danceType"/> | ||
| 242 | <el-table-column :label="language == 0 ?'国籍':'Representing'" align="center" min-width="130" | ||
| 243 | prop="countryName"/> | ||
| 244 | <el-table-column :label="language == 0 ?'参赛队名称':'Team name'" align="center" min-width="150" | ||
| 245 | prop="groupName"/> | ||
| 228 | </el-table> | 246 | </el-table> |
| 229 | <PaginationPc | 247 | <PaginationPc |
| 230 | v-show="signDoneGroupListToTal>0" | 248 | v-show="signDoneGroupListToTal>0" |
| 231 | :total="signDoneGroupListToTal" | ||
| 232 | v-model:page="queryGroupList.pageNum" | ||
| 233 | v-model:limit="queryGroupList.pageSize" | 249 | v-model:limit="queryGroupList.pageSize" |
| 250 | v-model:page="queryGroupList.pageNum" | ||
| 251 | :total="signDoneGroupListToTal" | ||
| 234 | @pagination="getGroupListByCptId" | 252 | @pagination="getGroupListByCptId" |
| 235 | /> | 253 | /> |
| 236 | </el-col> | 254 | </el-col> |
| ... | @@ -249,10 +267,10 @@ | ... | @@ -249,10 +267,10 @@ |
| 249 | <div class="xzbox"> | 267 | <div class="xzbox"> |
| 250 | <div v-html="matchData.signKnow"></div> | 268 | <div v-html="matchData.signKnow"></div> |
| 251 | <div v-if="matchData.signKnowUrl"> | 269 | <div v-if="matchData.signKnowUrl"> |
| 252 | <el-link v-for="(item,index) in JSON.parse(matchData.signKnowUrl)" type="primary" | 270 | <el-link v-for="(item,index) in JSON.parse(matchData.signKnowUrl)" :href="fillImgUrl(item.url)" |
| 253 | :href="fillImgUrl(item.url)" target="_blank"> | 271 | target="_blank" type="primary"> |
| 254 | <el-icon :size="20"> | 272 | <el-icon :size="20"> |
| 255 | <Download /> | 273 | <Download/> |
| 256 | </el-icon> | 274 | </el-icon> |
| 257 | {{ item.name }} | 275 | {{ item.name }} |
| 258 | </el-link> | 276 | </el-link> |
| ... | @@ -273,30 +291,30 @@ | ... | @@ -273,30 +291,30 @@ |
| 273 | <el-card :body-style="{'padding':'0'}"> | 291 | <el-card :body-style="{'padding':'0'}"> |
| 274 | <div class="lineHead"> | 292 | <div class="lineHead"> |
| 275 | <ul> | 293 | <ul> |
| 276 | <li v-for="l in menu1" :key="l.name" @click="changeMenu(menu1,l)" :class="l.active==1?'active':''"> | 294 | <li v-for="l in menu1" :key="l.name" :class="l.active==1?'active':''" @click="changeMenu(menu1,l)"> |
| 277 | {{ language == 0 ? l.cn : l.name }} | 295 | {{ language == 0 ? l.cn : l.name }} |
| 278 | </li> | 296 | </li> |
| 279 | </ul> | 297 | </ul> |
| 280 | </div> | 298 | </div> |
| 281 | <!-- 分站赛--> | 299 | <!-- 分站赛--> |
| 282 | <substation-list v-if="menu1[0].active==1" :list="matchData.cpts"/> | 300 | <substation-list v-if="menu1[0].active==1" :list="matchData.cpts"/> |
| 283 | <matchInfo :form="matchData" v-if="menu1[1].active==1"/> | 301 | <matchInfo v-if="menu1[1].active==1" :form="matchData"/> |
| 284 | <match-schedule-list :match-data="matchData" v-if="menu1[2].active==1"/> | 302 | <match-schedule-list v-if="menu1[2].active==1" :match-data="matchData"/> |
| 285 | </el-card> | 303 | </el-card> |
| 286 | </el-col> | 304 | </el-col> |
| 287 | </el-row> | 305 | </el-row> |
| 288 | </div> | 306 | </div> |
| 289 | 307 | ||
| 290 | <div class="fixed_gg_l" @click="applyInvitation" v-if="matchData.leagueId==0"> | 308 | <div v-if="matchData.leagueId==0" class="fixed_gg_l" @click="applyInvitation"> |
| 291 | <img src="@/assets/logo/Invitation_c.png" v-if="language==0"/> | 309 | <img v-if="language==0" src="@/assets/logo/Invitation_c.png"/> |
| 292 | <img src="@/assets/logo/Invitation_e.png" v-else/> | 310 | <img v-else src="@/assets/logo/Invitation_e.png"/> |
| 293 | </div> | 311 | </div> |
| 294 | 312 | ||
| 295 | <affix-invitation ref="dialogInvitationRef"/> | 313 | <affix-invitation ref="dialogInvitationRef"/> |
| 296 | <div style="height: 50px"></div> | 314 | <div style="height: 50px"></div> |
| 297 | 315 | ||
| 298 | <el-dialog v-model="signTypePop" class="pcloginpop" close-icon="CircleClose" | 316 | <el-dialog v-model="signTypePop" center class="pcloginpop" |
| 299 | center width="450px" title="Choose Type"> | 317 | close-icon="CircleClose" title="Choose Type" width="450px"> |
| 300 | <div> | 318 | <div> |
| 301 | <div class="rItem r1" @click="goLogin"> | 319 | <div class="rItem r1" @click="goLogin"> |
| 302 | <h3>{{ language == 0 ? '机构用户' : 'Organization' }}</h3> | 320 | <h3>{{ language == 0 ? '机构用户' : 'Organization' }}</h3> |
| ... | @@ -306,8 +324,8 @@ | ... | @@ -306,8 +324,8 @@ |
| 306 | </div> | 324 | </div> |
| 307 | </div> | 325 | </div> |
| 308 | </el-dialog> | 326 | </el-dialog> |
| 309 | <el-dialog v-model="upgradePop" class="pcloginpop" close-icon="CircleClose" | 327 | <el-dialog v-model="upgradePop" center class="pcloginpop" |
| 310 | center width="450px" title="Upgrade"> | 328 | close-icon="CircleClose" title="Upgrade" width="450px"> |
| 311 | <div> | 329 | <div> |
| 312 | <div class="rItem r1" @click="goUpdateTeam"> | 330 | <div class="rItem r1" @click="goUpdateTeam"> |
| 313 | <h3>{{ language == 0 ? '升级机构用户' : 'Organization' }}</h3> | 331 | <h3>{{ language == 0 ? '升级机构用户' : 'Organization' }}</h3> |
| ... | @@ -318,7 +336,7 @@ | ... | @@ -318,7 +336,7 @@ |
| 318 | </div> | 336 | </div> |
| 319 | </el-dialog> | 337 | </el-dialog> |
| 320 | 338 | ||
| 321 | <a class="ding" @click="openPickup" v-if="matchData.leagueId==0&&matchId=='1802602359043600385'">{{ language==0?'接 / 送机服务':'Pick-up/drop-off service' }}</a> | 339 | <!-- <a class="ding" @click="openPickup" v-if="matchData.leagueId==0&&matchId=='1802602359043600385'">{{ language==0?'接 / 送机服务':'Pick-up/drop-off service' }}</a>--> |
| 322 | <pickup ref="pickupRef"></pickup> | 340 | <pickup ref="pickupRef"></pickup> |
| 323 | </div> | 341 | </div> |
| 324 | </template> | 342 | </template> |
| ... | @@ -335,6 +353,7 @@ import {getCurrentInstance, ref} from 'vue' | ... | @@ -335,6 +353,7 @@ import {getCurrentInstance, ref} from 'vue' |
| 335 | import {reactive, onMounted} from '@vue/runtime-core' | 353 | import {reactive, onMounted} from '@vue/runtime-core' |
| 336 | import {useRoute, useRouter} from 'vue-router' | 354 | import {useRoute, useRouter} from 'vue-router' |
| 337 | import AffixInvitation from '@/viewsPc/match/components/affix-invitation' | 355 | import AffixInvitation from '@/viewsPc/match/components/affix-invitation' |
| 356 | |||
| 338 | const language = useStorage('language', 0) | 357 | const language = useStorage('language', 0) |
| 339 | const route = useRoute() | 358 | const route = useRoute() |
| 340 | const router = useRouter() | 359 | const router = useRouter() |
| ... | @@ -345,6 +364,7 @@ import {dayjs, ElMessage, ElMessageBox} from 'element-plus' | ... | @@ -345,6 +364,7 @@ import {dayjs, ElMessage, ElMessageBox} from 'element-plus' |
| 345 | import useUserStore from "@/store/modules/user" | 364 | import useUserStore from "@/store/modules/user" |
| 346 | import {useStorage} from "@vueuse/core/index" | 365 | import {useStorage} from "@vueuse/core/index" |
| 347 | import {Search} from "@element-plus/icons-vue" | 366 | import {Search} from "@element-plus/icons-vue" |
| 367 | |||
| 348 | const user = useUserStore().user | 368 | const user = useUserStore().user |
| 349 | const group = useUserStore().group | 369 | const group = useUserStore().group |
| 350 | const data = reactive({ | 370 | const data = reactive({ |
| ... | @@ -366,15 +386,15 @@ const data = reactive({ | ... | @@ -366,15 +386,15 @@ const data = reactive({ |
| 366 | {name: 'Event details', cn: '赛事详情', active: 0}, | 386 | {name: 'Event details', cn: '赛事详情', active: 0}, |
| 367 | {name: 'Schedule', cn: '日程', active: 0}], | 387 | {name: 'Schedule', cn: '日程', active: 0}], |
| 368 | signDoneGroupList: [], | 388 | signDoneGroupList: [], |
| 369 | signDoneGroupListToTal:0, | 389 | signDoneGroupListToTal: 0, |
| 370 | queryGroupList:{ | 390 | queryGroupList: { |
| 371 | name:'', | 391 | name: '', |
| 372 | pageSize:10, | 392 | pageSize: 10, |
| 373 | pageNum:1 | 393 | pageNum: 1 |
| 374 | }, | 394 | }, |
| 375 | time: '', | 395 | time: '', |
| 376 | startSign: '', | 396 | startSign: '', |
| 377 | isNational:false | 397 | isNational: false |
| 378 | }) | 398 | }) |
| 379 | const { | 399 | const { |
| 380 | error, | 400 | error, |
| ... | @@ -384,8 +404,8 @@ const { | ... | @@ -384,8 +404,8 @@ const { |
| 384 | groupId, | 404 | groupId, |
| 385 | menu, | 405 | menu, |
| 386 | menu1, | 406 | menu1, |
| 387 | signDoneGroupList,signDoneGroupListToTal,queryGroupList, | 407 | signDoneGroupList, signDoneGroupListToTal, queryGroupList, |
| 388 | time, startSign,isNational | 408 | time, startSign, isNational |
| 389 | } = toRefs(data) | 409 | } = toRefs(data) |
| 390 | const signTypePop = ref(false) | 410 | const signTypePop = ref(false) |
| 391 | const upgradePop = ref(false) | 411 | const upgradePop = ref(false) |
| ... | @@ -420,7 +440,7 @@ function getMatch(id) { | ... | @@ -420,7 +440,7 @@ function getMatch(id) { |
| 420 | var today = dayjs().format('YYYY-MM-DD HH:mm:ss') | 440 | var today = dayjs().format('YYYY-MM-DD HH:mm:ss') |
| 421 | time.value = dayjs(res.data.signEndTime).diff(today, 'millisecond') | 441 | time.value = dayjs(res.data.signEndTime).diff(today, 'millisecond') |
| 422 | startSign.value = dayjs(res.data.signBeginTime).diff(today, 'millisecond') | 442 | startSign.value = dayjs(res.data.signBeginTime).diff(today, 'millisecond') |
| 423 | if(matchData.value.languageSource=='100'){ | 443 | if (matchData.value.languageSource == '100') { |
| 424 | isNational.value = false | 444 | isNational.value = false |
| 425 | } else { | 445 | } else { |
| 426 | isNational.value = true | 446 | isNational.value = true |
| ... | @@ -433,15 +453,15 @@ function getMatch(id) { | ... | @@ -433,15 +453,15 @@ function getMatch(id) { |
| 433 | } | 453 | } |
| 434 | 454 | ||
| 435 | function getGroupListByCptId() { | 455 | function getGroupListByCptId() { |
| 436 | match.getGroupListByCptId(matchId.value,queryGroupList.value).then(res => { | 456 | match.getGroupListByCptId(matchId.value, queryGroupList.value).then(res => { |
| 437 | signDoneGroupList.value = res.rows | 457 | signDoneGroupList.value = res.rows |
| 438 | signDoneGroupListToTal.value = res.total | 458 | signDoneGroupListToTal.value = res.total |
| 439 | }) | 459 | }) |
| 440 | } | 460 | } |
| 441 | 461 | ||
| 442 | function changeMenu(menu, l) { | 462 | function changeMenu(menu, l) { |
| 443 | console.log(matchData.value.leagueId,l.name) | 463 | console.log(matchData.value.leagueId, l.name) |
| 444 | if(matchData.value.leagueId=='1778253367748993026' && (l.name=='成绩'||l.name=='Achievement')){ | 464 | if (matchData.value.leagueId == '1778253367748993026' && (l.name == '成绩' || l.name == 'Achievement')) { |
| 445 | window.open('http://www.cdsf.org.cn/h5/sscj.index?matchID=526') | 465 | window.open('http://www.cdsf.org.cn/h5/sscj.index?matchID=526') |
| 446 | } | 466 | } |
| 447 | for (const n of menu) { | 467 | for (const n of menu) { |
| ... | @@ -475,35 +495,38 @@ function choseSignType() { | ... | @@ -475,35 +495,38 @@ function choseSignType() { |
| 475 | }) | 495 | }) |
| 476 | } | 496 | } |
| 477 | } | 497 | } |
| 498 | |||
| 478 | function goUpdateTeam() { | 499 | function goUpdateTeam() { |
| 479 | //升级团队 | 500 | //升级团队 |
| 480 | router.push({ | 501 | router.push({ |
| 481 | name:'teamRegister', | 502 | name: 'teamRegister', |
| 482 | query:{ | 503 | query: { |
| 483 | step:'1', | 504 | step: '1', |
| 484 | matchId:matchId.value | 505 | matchId: matchId.value |
| 485 | } | 506 | } |
| 486 | }) | 507 | }) |
| 487 | } | 508 | } |
| 509 | |||
| 488 | function goUpdatePersonal() { | 510 | function goUpdatePersonal() { |
| 489 | //升级团队 | 511 | //升级团队 |
| 490 | router.push({ | 512 | router.push({ |
| 491 | name:'personalRegister', | 513 | name: 'personalRegister', |
| 492 | query:{ | 514 | query: { |
| 493 | matchId:matchId.value | 515 | matchId: matchId.value |
| 494 | } | 516 | } |
| 495 | }) | 517 | }) |
| 496 | } | 518 | } |
| 519 | |||
| 497 | function goTeamSign() { | 520 | function goTeamSign() { |
| 498 | if (matchData.value.languageSource == '100') { | 521 | if (matchData.value.languageSource == '100') { |
| 499 | // 国内 | 522 | // 国内 |
| 500 | if(group.type =='4'){ | 523 | if (group.type == '4') { |
| 501 | ElMessageBox.confirm( | 524 | ElMessageBox.confirm( |
| 502 | language.value==0?'您的团体类型不符合报名条件':'Your Team type does not meet the registration requirements', | 525 | language.value == 0 ? '您的团体类型不符合报名条件' : 'Your Team type does not meet the registration requirements', |
| 503 | language.value==0?'提示':'Warning', | 526 | language.value == 0 ? '提示' : 'Warning', |
| 504 | { | 527 | { |
| 505 | confirmButtonText: language.value==1?'OK':'确定', | 528 | confirmButtonText: language.value == 1 ? 'OK' : '确定', |
| 506 | cancelButtonText: language.value==1?'Cancel':'取消', | 529 | cancelButtonText: language.value == 1 ? 'Cancel' : '取消', |
| 507 | type: 'warning', | 530 | type: 'warning', |
| 508 | } | 531 | } |
| 509 | ) | 532 | ) |
| ... | @@ -521,13 +544,13 @@ function goTeamSign() { | ... | @@ -521,13 +544,13 @@ function goTeamSign() { |
| 521 | }) | 544 | }) |
| 522 | } else { | 545 | } else { |
| 523 | // 国际赛 | 546 | // 国际赛 |
| 524 | if(group?.type!='4'&& matchData.value.countryLimit=='1'){ | 547 | if (group?.type != '4' && matchData.value.countryLimit == '1') { |
| 525 | ElMessageBox.confirm( | 548 | ElMessageBox.confirm( |
| 526 | language.value==0?'您的团体类型不符合报名条件':'Your Team type does not meet the registration requirements', | 549 | language.value == 0 ? '您的团体类型不符合报名条件' : 'Your Team type does not meet the registration requirements', |
| 527 | language.value==0?'提示':'Warning', | 550 | language.value == 0 ? '提示' : 'Warning', |
| 528 | { | 551 | { |
| 529 | confirmButtonText: language.value==1?'OK':'确定', | 552 | confirmButtonText: language.value == 1 ? 'OK' : '确定', |
| 530 | cancelButtonText: language.value==1?'Cancel':'取消', | 553 | cancelButtonText: language.value == 1 ? 'Cancel' : '取消', |
| 531 | type: 'warning', | 554 | type: 'warning', |
| 532 | } | 555 | } |
| 533 | ) | 556 | ) |
| ... | @@ -578,18 +601,18 @@ function checkIsSign() { | ... | @@ -578,18 +601,18 @@ function checkIsSign() { |
| 578 | groupId: groupId.value || 0 | 601 | groupId: groupId.value || 0 |
| 579 | } | 602 | } |
| 580 | return match.getMySignInfo(obj).then(res => { | 603 | return match.getMySignInfo(obj).then(res => { |
| 581 | switch (res.data.type){ | 604 | switch (res.data.type) { |
| 582 | case '0': | 605 | case '0': |
| 583 | // 未报名 | 606 | // 未报名 |
| 584 | break | 607 | break |
| 585 | case '1': | 608 | case '1': |
| 586 | // 提交报名,未审核 | 609 | // 提交报名,未审核 |
| 587 | ElMessageBox.confirm( | 610 | ElMessageBox.confirm( |
| 588 | language.value == 0 ?'您的报名信息已提交,是否撤回,重新填写报名信息?':'Your registration information has been submitted. Do you want to withdraw it and fill in the registration information again?', | 611 | language.value == 0 ? '您的报名信息已提交,是否撤回,重新填写报名信息?' : 'Your registration information has been submitted. Do you want to withdraw it and fill in the registration information again?', |
| 589 | language.value==0?'提示':'Warning', | 612 | language.value == 0 ? '提示' : 'Warning', |
| 590 | { | 613 | { |
| 591 | confirmButtonText: language.value==1?'Withdraw the registration':'撤回报名信息', | 614 | confirmButtonText: language.value == 1 ? 'Withdraw the registration' : '撤回报名信息', |
| 592 | cancelButtonText: language.value==1?'Cancel':'取消', | 615 | cancelButtonText: language.value == 1 ? 'Cancel' : '取消', |
| 593 | type: 'warning', | 616 | type: 'warning', |
| 594 | } | 617 | } |
| 595 | ).then(() => { | 618 | ).then(() => { |
| ... | @@ -599,11 +622,11 @@ function checkIsSign() { | ... | @@ -599,11 +622,11 @@ function checkIsSign() { |
| 599 | break | 622 | break |
| 600 | case '2': | 623 | case '2': |
| 601 | ElMessageBox.confirm( | 624 | ElMessageBox.confirm( |
| 602 | language.value == 0 ?'报名审批拒绝,是否重新报名':'Registration approval rejected. Do you want to register again', | 625 | language.value == 0 ? '报名审批拒绝,是否重新报名' : 'Registration approval rejected. Do you want to register again', |
| 603 | language.value==0?'提示':'Warning', | 626 | language.value == 0 ? '提示' : 'Warning', |
| 604 | { | 627 | { |
| 605 | confirmButtonText: language.value==1?'OK':'确定', | 628 | confirmButtonText: language.value == 1 ? 'OK' : '确定', |
| 606 | cancelButtonText: language.value==1?'Cancel':'取消', | 629 | cancelButtonText: language.value == 1 ? 'Cancel' : '取消', |
| 607 | type: 'warning', | 630 | type: 'warning', |
| 608 | } | 631 | } |
| 609 | ).then(() => { | 632 | ).then(() => { |
| ... | @@ -613,11 +636,11 @@ function checkIsSign() { | ... | @@ -613,11 +636,11 @@ function checkIsSign() { |
| 613 | break | 636 | break |
| 614 | case '3': | 637 | case '3': |
| 615 | ElMessageBox.confirm( | 638 | ElMessageBox.confirm( |
| 616 | language.value == 0 ?'报名已取消,是否重新报名':'Registration cancelled. Do you want to register again', | 639 | language.value == 0 ? '报名已取消,是否重新报名' : 'Registration cancelled. Do you want to register again', |
| 617 | language.value==0?'提示':'Warning', | 640 | language.value == 0 ? '提示' : 'Warning', |
| 618 | { | 641 | { |
| 619 | confirmButtonText: language.value==1?'OK':'确定', | 642 | confirmButtonText: language.value == 1 ? 'OK' : '确定', |
| 620 | cancelButtonText: language.value==1?'Cancel':'取消', | 643 | cancelButtonText: language.value == 1 ? 'Cancel' : '取消', |
| 621 | type: 'warning', | 644 | type: 'warning', |
| 622 | } | 645 | } |
| 623 | ).then(() => { | 646 | ).then(() => { |
| ... | @@ -628,11 +651,11 @@ function checkIsSign() { | ... | @@ -628,11 +651,11 @@ function checkIsSign() { |
| 628 | case '4': | 651 | case '4': |
| 629 | // 审核通过未缴费 | 652 | // 审核通过未缴费 |
| 630 | ElMessageBox.confirm( | 653 | ElMessageBox.confirm( |
| 631 | language.value == 0 ?'您的报名信息已审核通过,如需修改,请联系组委会':'Your registration information has been approved. If you need to make any changes, please contact the organizing committee', | 654 | language.value == 0 ? '您的报名信息已审核通过,如需修改,请联系组委会' : 'Your registration information has been approved. If you need to make any changes, please contact the organizing committee', |
| 632 | language.value==0?'提示':'Warning', | 655 | language.value == 0 ? '提示' : 'Warning', |
| 633 | { | 656 | { |
| 634 | confirmButtonText: language.value==1?'OK':'确定', | 657 | confirmButtonText: language.value == 1 ? 'OK' : '确定', |
| 635 | cancelButtonText: language.value==1?'Cancel':'取消', | 658 | cancelButtonText: language.value == 1 ? 'Cancel' : '取消', |
| 636 | type: 'warning', | 659 | type: 'warning', |
| 637 | } | 660 | } |
| 638 | ).then(() => { | 661 | ).then(() => { |
| ... | @@ -643,11 +666,11 @@ function checkIsSign() { | ... | @@ -643,11 +666,11 @@ function checkIsSign() { |
| 643 | case '5': | 666 | case '5': |
| 644 | // 审核通过已缴费 | 667 | // 审核通过已缴费 |
| 645 | ElMessageBox.confirm( | 668 | ElMessageBox.confirm( |
| 646 | language.value == 0 ?'您的报名信息已完成缴费,如需修改,请联系组委会':'Your registration information has been paid. If you need to make any changes, please contact the organizing committee', | 669 | language.value == 0 ? '您的报名信息已完成缴费,如需修改,请联系组委会' : 'Your registration information has been paid. If you need to make any changes, please contact the organizing committee', |
| 647 | language.value==0?'提示':'Warning', | 670 | language.value == 0 ? '提示' : 'Warning', |
| 648 | { | 671 | { |
| 649 | confirmButtonText: language.value==1?'OK':'确定', | 672 | confirmButtonText: language.value == 1 ? 'OK' : '确定', |
| 650 | cancelButtonText: language.value==1?'Cancel':'取消', | 673 | cancelButtonText: language.value == 1 ? 'Cancel' : '取消', |
| 651 | type: 'warning', | 674 | type: 'warning', |
| 652 | } | 675 | } |
| 653 | ) | 676 | ) |
| ... | @@ -656,45 +679,48 @@ function checkIsSign() { | ... | @@ -656,45 +679,48 @@ function checkIsSign() { |
| 656 | } | 679 | } |
| 657 | }) | 680 | }) |
| 658 | } | 681 | } |
| 682 | |||
| 659 | function withDraw(orderId) { | 683 | function withDraw(orderId) { |
| 660 | match.withDrawByOrderId(orderId).then(res=>{ | 684 | match.withDrawByOrderId(orderId).then(res => { |
| 661 | choseSignType() | 685 | choseSignType() |
| 662 | }) | 686 | }) |
| 663 | } | 687 | } |
| 664 | function reSign(){ | 688 | |
| 689 | function reSign() { | ||
| 665 | match.recoverMySignFromCancel(matchId.value).then((res) => { | 690 | match.recoverMySignFromCancel(matchId.value).then((res) => { |
| 666 | switchSignType() | 691 | switchSignType() |
| 667 | }) | 692 | }) |
| 668 | } | 693 | } |
| 694 | |||
| 669 | function switchSignType() { | 695 | function switchSignType() { |
| 670 | switch (matchData.value.signType) { | 696 | switch (matchData.value.signType) { |
| 671 | case '0': | 697 | case '0': |
| 672 | if (user.utype == '1' ) { | 698 | if (user.utype == '1') { |
| 673 | goPersonalSign() | 699 | goPersonalSign() |
| 674 | } | 700 | } |
| 675 | if(user.utype == '2'){ | 701 | if (user.utype == '2') { |
| 676 | ElMessageBox.confirm( | 702 | ElMessageBox.confirm( |
| 677 | language.value == 0 ?'当前活动是个人活动,无法报名':'The current event is a personal event, cannot register', | 703 | language.value == 0 ? '当前活动是个人活动,无法报名' : 'The current event is a personal event, cannot register', |
| 678 | language.value == 0 ?'提示':'Warning', | 704 | language.value == 0 ? '提示' : 'Warning', |
| 679 | { | 705 | { |
| 680 | confirmButtonText: language.value == 0 ?'好的':'OK', | 706 | confirmButtonText: language.value == 0 ? '好的' : 'OK', |
| 681 | cancelButtonText: language.value == 0 ?'取消':'Cancel', | 707 | cancelButtonText: language.value == 0 ? '取消' : 'Cancel', |
| 682 | type: 'warning', | 708 | type: 'warning', |
| 683 | } | 709 | } |
| 684 | ) | 710 | ) |
| 685 | } | 711 | } |
| 686 | if(user.utype == '3'){ | 712 | if (user.utype == '3') { |
| 687 | goGeren() | 713 | goGeren() |
| 688 | } | 714 | } |
| 689 | break | 715 | break |
| 690 | case '1': | 716 | case '1': |
| 691 | if (user.utype == '1') { | 717 | if (user.utype == '1') { |
| 692 | ElMessageBox.confirm( | 718 | ElMessageBox.confirm( |
| 693 | language.value == 0 ?'当前活动是团队活动,无法报名':'The current event is a team event, cannot register', | 719 | language.value == 0 ? '当前活动是团队活动,无法报名' : 'The current event is a team event, cannot register', |
| 694 | language.value == 0 ?'提示':'Warning', | 720 | language.value == 0 ? '提示' : 'Warning', |
| 695 | { | 721 | { |
| 696 | confirmButtonText: language.value == 0 ?'好的':'OK', | 722 | confirmButtonText: language.value == 0 ? '好的' : 'OK', |
| 697 | cancelButtonText: language.value == 0 ?'取消':'Cancel', | 723 | cancelButtonText: language.value == 0 ? '取消' : 'Cancel', |
| 698 | type: 'warning', | 724 | type: 'warning', |
| 699 | } | 725 | } |
| 700 | ) | 726 | ) |
| ... | @@ -721,29 +747,30 @@ function switchSignType() { | ... | @@ -721,29 +747,30 @@ function switchSignType() { |
| 721 | break | 747 | break |
| 722 | } | 748 | } |
| 723 | } | 749 | } |
| 750 | |||
| 724 | function applyInvitation() { | 751 | function applyInvitation() { |
| 725 | var obj = { | 752 | var obj = { |
| 726 | title: language.value==0?'邀请函申请':'Visa Invitation Letter ', | 753 | title: language.value == 0 ? '邀请函申请' : 'Visa Invitation Letter ', |
| 727 | cptId: matchId.value, | 754 | cptId: matchId.value, |
| 728 | } | 755 | } |
| 729 | proxy.$refs['dialogInvitationRef'].open(obj) | 756 | proxy.$refs['dialogInvitationRef'].open(obj) |
| 730 | } | 757 | } |
| 731 | 758 | ||
| 732 | const openPickup= () => { | 759 | const openPickup = () => { |
| 733 | const obj = { | 760 | const obj = { |
| 734 | title:language.value==0?'接 / 送机服务':'Pick-up/drop-off service' , | 761 | title: language.value == 0 ? '接 / 送机服务' : 'Pick-up/drop-off service', |
| 735 | cptId:matchId.value | 762 | cptId: matchId.value |
| 736 | } | 763 | } |
| 737 | proxy.$refs['pickupRef'].open(obj) | 764 | proxy.$refs['pickupRef'].open(obj) |
| 738 | } | 765 | } |
| 739 | </script> | 766 | </script> |
| 740 | 767 | ||
| 741 | <style scoped lang="scss"> | 768 | <style lang="scss" scoped> |
| 742 | .ding{ | 769 | .ding { |
| 743 | position: fixed; | 770 | position: fixed; |
| 744 | right: 0; | 771 | right: 0; |
| 745 | z-index:99; | 772 | z-index: 99; |
| 746 | top:38%; | 773 | top: 38%; |
| 747 | background: linear-gradient(-90deg, #8623FC, #453DEA) !important; | 774 | background: linear-gradient(-90deg, #8623FC, #453DEA) !important; |
| 748 | box-shadow: 0 0 10px #666; | 775 | box-shadow: 0 0 10px #666; |
| 749 | color: #fff; | 776 | color: #fff; |
| ... | @@ -751,6 +778,7 @@ const openPickup= () => { | ... | @@ -751,6 +778,7 @@ const openPickup= () => { |
| 751 | padding: 10px 20px; | 778 | padding: 10px 20px; |
| 752 | text-align: center; | 779 | text-align: center; |
| 753 | } | 780 | } |
| 781 | |||
| 754 | .rItem { | 782 | .rItem { |
| 755 | height: 130px; | 783 | height: 130px; |
| 756 | cursor: pointer; | 784 | cursor: pointer; | ... | ... |
-
Please register or sign in to post a comment