62c8053d by zhangmeng

国旗

1 parent 5f6e323b
......@@ -173,7 +173,10 @@
<el-table-column label="国家" prop="name">
<template #default="scope">
<div>
<span :class="`flag-icon flag-icon-${scope.row.code}`" />
<span v-if="scope.row.code!='hk'" :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>
......@@ -452,6 +455,7 @@ import 'swiper/css'
import { dayjs } from 'element-plus'
import * as match from '@/apiPc/match'
import { getAboutUs, getppInfo, getZNList } from '@/apiPc/match'
import hkImage from '@/assets/nationalFlag/hk.png'
import AffixInvitation from '/@/viewsPc/match/components/affix-invitation.vue'
import { useStorage } from '@vueuse/core/index'
......@@ -1260,4 +1264,11 @@ function applyInvitation() {
left: 5px;
top: 50%;
}
.hkimg {
width: 19px;
height: 14px;
position: absolute;
top: 0;
}
</style>
......
......@@ -63,7 +63,10 @@
<el-table-column :label="language==0?'国家':'Country'" min-width="200" prop="name">
<template #default="scope">
<div>
<span :class="`flag-icon flag-icon-${scope.row.code}`" />
<span v-if="scope.row.code!='hk'" :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>
......@@ -160,6 +163,7 @@ import { cjList } from '@/assets/js/data'
import { ArrowRight } from '@element-plus/icons-vue'
import { dayjs } from 'element-plus'
import * as match from '@/apiPc/match'
import hkImage from '@/assets/nationalFlag/hk.png'
const router = useRouter()
import { useStorage } from '@vueuse/core/index'
......@@ -441,4 +445,11 @@ h3 {
background-clip: text; /* 标准语法 */
-webkit-text-fill-color: transparent; /* 文字颜色透明 */
}
.hkimg {
width: 19px;
height: 14px;
position: absolute;
top: 0;
}
</style>
......
......@@ -20,7 +20,11 @@
<el-table-column :label="language==0?'国家':'Country'" prop="name">
<template #default="scope">
<div>
<span :class="`flag-icon flag-icon-${query.code}`" />
<!-- <span :class="`flag-icon flag-icon-${query.code}`" />-->
<span v-if="query.code!='hk'" :class="`flag-icon flag-icon-${query.code}`" />
<span v-else class="flag-icon">
<img :src="hkImage" alt="" class="hkimg">
</span>
{{ language == 0 ? scope.row.countryName : scope.row.countryNameEn }}
</div>
</template>
......@@ -49,6 +53,7 @@
import { onMounted, ref } from 'vue'
import * as match from '@/apiPc/match'
import { useRoute } from 'vue-router'
import hkImage from '@/assets/nationalFlag/hk.png'
const route = useRoute()
import { useStorage } from '@vueuse/core/index'
......@@ -227,4 +232,11 @@ h3 {
.w15 {
width: 15%;
}
.hkimg {
width: 19px;
height: 14px;
position: absolute;
top: 0;
}
</style>
......
......@@ -83,9 +83,9 @@ export default defineConfig(({ mode, command }) => {
rewrite: (p) => p.replace(/^\/dev-api\/ztx-webSite/, '')
},
'/dev-api': {
target: 'http://192.168.1.213:8081/',
// target: 'http://192.168.1.213:8081/',
// target: 'http://192.168.1.118:8081',
// target: 'https://jijin.wtwuxicenter.com/stage-api',
target: 'https://jijin.wtwuxicenter.com/stage-api',
// target: 'https://wdsfwuxicenter.com/stage-api/',
changeOrigin: true,
rewrite: (p) => p.replace(/^\/dev-api/, '')
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!