国旗
Showing
3 changed files
with
15 additions
and
7 deletions
| ... | @@ -173,11 +173,13 @@ | ... | @@ -173,11 +173,13 @@ |
| 173 | <el-table-column label="国家" prop="name"> | 173 | <el-table-column label="国家" prop="name"> |
| 174 | <template #default="scope"> | 174 | <template #default="scope"> |
| 175 | <div> | 175 | <div> |
| 176 | <span v-if="scope.row.code!='hk'" :class="`flag-icon flag-icon-${scope.row.code}`" /> | 176 | <span v-if="scope.row.code!='tw'" :class="`flag-icon flag-icon-${scope.row.code}`" /> |
| 177 | <span v-else class="flag-icon"> | 177 | <span v-else class="flag-icon"> |
| 178 | <img :src="hkImage" alt="" class="hkimg"> | 178 | <img :src="hkImage" alt="" class="hkimg"> |
| 179 | </span> | 179 | </span> |
| 180 | {{ language == 0 ? scope.row.name : scope.row.enName }} | 180 | <span> |
| 181 | {{ language == 0 ? scope.row.code != 'tw' ? scope.row.name : '中国台北' : scope.row.enName }} | ||
| 182 | </span> | ||
| 181 | </div> | 183 | </div> |
| 182 | </template> | 184 | </template> |
| 183 | </el-table-column> | 185 | </el-table-column> | ... | ... |
| ... | @@ -63,11 +63,13 @@ | ... | @@ -63,11 +63,13 @@ |
| 63 | <el-table-column :label="language==0?'国家':'Country'" min-width="200" prop="name"> | 63 | <el-table-column :label="language==0?'国家':'Country'" min-width="200" prop="name"> |
| 64 | <template #default="scope"> | 64 | <template #default="scope"> |
| 65 | <div> | 65 | <div> |
| 66 | <span v-if="scope.row.code!='hk'" :class="`flag-icon flag-icon-${scope.row.code}`" /> | 66 | <span v-if="scope.row.code!='tw'" :class="`flag-icon flag-icon-${scope.row.code}`" /> |
| 67 | <span v-else class="flag-icon"> | 67 | <span v-else class="flag-icon"> |
| 68 | <img :src="hkImage" alt="" class="hkimg"> | 68 | <img :src="hkImage" alt="" class="hkimg"> |
| 69 | </span> | 69 | </span> |
| 70 | {{ language == 0 ? scope.row.name : scope.row.enName }} | 70 | <span> |
| 71 | {{ language == 0 ? scope.row.code != 'tw' ? scope.row.name : '中国台北' : scope.row.enName }} | ||
| 72 | </span> | ||
| 71 | </div> | 73 | </div> |
| 72 | </template> | 74 | </template> |
| 73 | </el-table-column> | 75 | </el-table-column> | ... | ... |
| ... | @@ -4,7 +4,10 @@ | ... | @@ -4,7 +4,10 @@ |
| 4 | <div class="mt20" /> | 4 | <div class="mt20" /> |
| 5 | <el-card class="mt20 mb20"> | 5 | <el-card class="mt20 mb20"> |
| 6 | 6 | ||
| 7 | <h3 style="text-align: center">{{ language == 0 ? query.name : query.enName }}</h3> | 7 | <h3 style="text-align: center"> |
| 8 | <!-- {{ // language == 0 ? query.name : query.enName }}--> | ||
| 9 | {{ language == 0 ? query.code != 'tw' ? query.name : '中国台北' : query.enName }} | ||
| 10 | </h3> | ||
| 8 | <div class="mt20" /> | 11 | <div class="mt20" /> |
| 9 | <el-table :data="rank" stripe> | 12 | <el-table :data="rank" stripe> |
| 10 | <el-table-column :label="language==0?'组别':'Group'" align="center" min-width="200"> | 13 | <el-table-column :label="language==0?'组别':'Group'" align="center" min-width="200"> |
| ... | @@ -21,11 +24,12 @@ | ... | @@ -21,11 +24,12 @@ |
| 21 | <template #default="scope"> | 24 | <template #default="scope"> |
| 22 | <div> | 25 | <div> |
| 23 | <!-- <span :class="`flag-icon flag-icon-${query.code}`" />--> | 26 | <!-- <span :class="`flag-icon flag-icon-${query.code}`" />--> |
| 24 | <span v-if="query.code!='hk'" :class="`flag-icon flag-icon-${query.code}`" /> | 27 | <span v-if="query.code!='tw'" :class="`flag-icon flag-icon-${query.code}`" /> |
| 25 | <span v-else class="flag-icon"> | 28 | <span v-else class="flag-icon"> |
| 26 | <img :src="hkImage" alt="" class="hkimg"> | 29 | <img :src="hkImage" alt="" class="hkimg"> |
| 27 | </span> | 30 | </span> |
| 28 | {{ language == 0 ? scope.row.countryName : scope.row.countryNameEn }} | 31 | {{ language == 0 ? query.code != 'tw' ? scope.row.name : '中国台北' : scope.row.enName }} |
| 32 | <!-- {{ language == 0 ? scope.row.countryName : scope.row.countryNameEn }}--> | ||
| 29 | </div> | 33 | </div> |
| 30 | </template> | 34 | </template> |
| 31 | </el-table-column> | 35 | </el-table-column> | ... | ... |
-
Please register or sign in to post a comment