67c08943 by zhangmeng

国旗

1 parent dfaca9ae
......@@ -165,7 +165,11 @@
<el-table-column label="COUNTRY" min-width="200">
<template #default="scope">
<div>
<span :class="`flag-icon flag-icon-${scope.row.code}`" />
<!-- <span :class="`flag-icon flag-icon-${scope.row.code}`" />-->
<span v-if="scope.row.code!='tw'" :class="`flag-icon flag-icon-${scope.row.code}`" />
<span v-else class="flag-icon">
<img :src="hkImage" alt="" class="hkimg">
</span>
{{ language == 0 ? scope.row.name : scope.row.enName }}
</div>
</template>
......@@ -432,6 +436,7 @@ import AffixInvitation from '/@/viewsPc/match/components/affix-invitation.vue'
import { useStorage } from '@vueuse/core/index'
import useUserStore from '/@/store/modules/user'
import clubImage from '@/assets/logo/club.png'
import hkImage from '/@/assets/nationalFlag/hk.png'
const language = useStorage('language', 0)
......@@ -1376,4 +1381,11 @@ function applyInvitation() {
top: 40%;
}
.hkimg {
width: 19px;
height: 14px;
position: absolute;
top: 0;
}
</style>
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!