Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
jijin
/
dance-pc
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
0ecb417e
authored
2025-07-06 02:01:51 +0800
by
zhangmeng
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
国旗
1 parent
62c8053d
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
7 deletions
src/viewsPc/index.vue
src/viewsPc/saiC/index.vue
src/viewsPc/saiC/view.vue
src/viewsPc/index.vue
View file @
0ecb417
...
...
@@ -173,11 +173,13 @@
<el-table-column
label=
"国家"
prop=
"name"
>
<
template
#
default=
"scope"
>
<div>
<span
v-if=
"scope.row.code!='
hk
'"
: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
}}
<span>
{{
language
==
0
?
scope
.
row
.
code
!=
'tw'
?
scope
.
row
.
name
:
'中国台北'
:
scope
.
row
.
enName
}}
</span>
</div>
</
template
>
</el-table-column>
...
...
src/viewsPc/saiC/index.vue
View file @
0ecb417
...
...
@@ -63,11 +63,13 @@
<el-table-column
:label=
"language==0?'国家':'Country'"
min-width=
"200"
prop=
"name"
>
<
template
#
default=
"scope"
>
<div>
<span
v-if=
"scope.row.code!='
hk
'"
: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
}}
<span>
{{
language
==
0
?
scope
.
row
.
code
!=
'tw'
?
scope
.
row
.
name
:
'中国台北'
:
scope
.
row
.
enName
}}
</span>
</div>
</
template
>
</el-table-column>
...
...
src/viewsPc/saiC/view.vue
View file @
0ecb417
...
...
@@ -4,7 +4,10 @@
<div
class=
"mt20"
/>
<el-card
class=
"mt20 mb20"
>
<h3
style=
"text-align: center"
>
{{
language
==
0
?
query
.
name
:
query
.
enName
}}
</h3>
<h3
style=
"text-align: center"
>
<!--
{{
// language == 0 ? query.name : query.enName
}}
-->
{{
language
==
0
?
query
.
code
!=
'tw'
?
query
.
name
:
'中国台北'
:
query
.
enName
}}
</h3>
<div
class=
"mt20"
/>
<el-table
:data=
"rank"
stripe
>
<el-table-column
:label=
"language==0?'组别':'Group'"
align=
"center"
min-width=
"200"
>
...
...
@@ -21,11 +24,12 @@
<
template
#
default=
"scope"
>
<div>
<!--
<span
:class=
"`flag-icon flag-icon-$
{query.code}`" />-->
<span
v-if=
"query.code!='
hk
'"
:class=
"`flag-icon flag-icon-$
{query.code}`" />
<span
v-if=
"query.code!='
tw
'"
: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
}}
{{
language
==
0
?
query
.
code
!=
'tw'
?
scope
.
row
.
name
:
'中国台北'
:
scope
.
row
.
enName
}}
<!--
{{
language
==
0
?
scope
.
row
.
countryName
:
scope
.
row
.
countryNameEn
}}
-->
</div>
</
template
>
</el-table-column>
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment