update fe

This commit is contained in:
Himit_ZH 2021-12-10 20:45:20 +08:00
parent 4449e7782f
commit 98c7d88aca
6 changed files with 148 additions and 88 deletions

View File

@ -340,6 +340,8 @@ export const m = {
save_as_image: 'save as image',
Contest_Rank_Seq:'Rank',
Star_User:'Star User',
Unfollow:'Unfollow',
Top_And_Follow:'Top And Follow',
// /views/oj/contest/children/ACMInfo.vue
AC_Time: 'AC Time',

View File

@ -343,6 +343,8 @@ export const m = {
save_as_image: '保存成图片',
Contest_Rank_Seq:'排名',
Star_User:'打星用户',
Unfollow:'取消关注',
Top_And_Follow:'置顶关注',
// /views/oj/contest/children/ACMInfo.vue
AC_Time: 'AC 时间',

View File

@ -88,17 +88,24 @@
:src="row.avatar"
:title="row[contest.rankShowName]"
></avatar>
<span
class="contest-rank-concerned"
@click="updateConcernedList(row.uid, !row.isConcerned)"
>
<i
class="fa fa-star"
v-if="row.isConcerned"
style="color: red;"
></i>
<i class="el-icon-star-off" v-else></i>
</span>
<el-tooltip placement="top">
<div slot="content">
{{
row.isConcerned ? $t('m.Unfollow') : $t('m.Top_And_Follow')
}}
</div>
<span
class="contest-rank-concerned"
@click="updateConcernedList(row.uid, !row.isConcerned)"
>
<i
class="fa fa-star"
v-if="row.isConcerned"
style="color: red;"
></i>
<i class="el-icon-star-off" v-else></i>
</span>
</el-tooltip>
<span style="float:right;text-align:right">
<a @click="getUserHomeByUsername(row.uid, row.username)">
<span class="contest-username"
@ -134,17 +141,24 @@
:src="row.avatar"
:title="row[contest.rankShowName]"
></avatar>
<span
class="contest-rank-concerned"
@click="updateConcernedList(row.uid, !row.isConcerned)"
>
<i
class="fa fa-star"
v-if="row.isConcerned"
style="color: red;"
></i>
<i class="el-icon-star-off" v-else></i>
</span>
<el-tooltip placement="top">
<div slot="content">
{{
row.isConcerned ? $t('m.Unfollow') : $t('m.Top_And_Follow')
}}
</div>
<span
class="contest-rank-concerned"
@click="updateConcernedList(row.uid, !row.isConcerned)"
>
<i
class="fa fa-star"
v-if="row.isConcerned"
style="color: red;"
></i>
<i class="el-icon-star-off" v-else></i>
</span>
</el-tooltip>
<span style="float:right;text-align:right">
<a @click="getUserHomeByUsername(row.uid, row.username)">
<span class="contest-username"

View File

@ -90,17 +90,24 @@
:src="row.avatar"
:title="row[contest.rankShowName]"
></avatar>
<span
class="contest-rank-concerned"
@click="updateConcernedList(row.uid, !row.isConcerned)"
>
<i
class="fa fa-star"
v-if="row.isConcerned"
style="color: red;"
></i>
<i class="el-icon-star-off" v-else></i>
</span>
<el-tooltip placement="top">
<div slot="content">
{{
row.isConcerned ? $t('m.Unfollow') : $t('m.Top_And_Follow')
}}
</div>
<span
class="contest-rank-concerned"
@click="updateConcernedList(row.uid, !row.isConcerned)"
>
<i
class="fa fa-star"
v-if="row.isConcerned"
style="color: red;"
></i>
<i class="el-icon-star-off" v-else></i>
</span>
</el-tooltip>
<span style="float:right;text-align:right">
<a @click="getUserHomeByUsername(row.uid, row.username)">
<span class="contest-username"
@ -137,17 +144,24 @@
:src="row.avatar"
:title="row[contest.rankShowName]"
></avatar>
<span
class="contest-rank-concerned"
@click="updateConcernedList(row.uid, !row.isConcerned)"
>
<i
class="fa fa-star"
v-if="row.isConcerned"
style="color: red;"
></i>
<i class="el-icon-star-off" v-else></i>
</span>
<el-tooltip placement="top">
<div slot="content">
{{
row.isConcerned ? $t('m.Unfollow') : $t('m.Top_And_Follow')
}}
</div>
<span
class="contest-rank-concerned"
@click="updateConcernedList(row.uid, !row.isConcerned)"
>
<i
class="fa fa-star"
v-if="row.isConcerned"
style="color: red;"
></i>
<i class="el-icon-star-off" v-else></i>
</span>
</el-tooltip>
<span style="float:right;text-align:right">
<a @click="getUserHomeByUsername(row.uid, row.username)">
<span class="contest-username"

View File

@ -121,17 +121,24 @@
:src="row.avatar"
:title="row[contest.rankShowName]"
></avatar>
<span
class="contest-rank-concerned"
@click="updateConcernedList(row.uid, !row.isConcerned)"
>
<i
class="fa fa-star"
v-if="row.isConcerned"
style="color: red;"
></i>
<i class="el-icon-star-off" v-else></i>
</span>
<el-tooltip placement="top">
<div slot="content">
{{
row.isConcerned ? $t('m.Unfollow') : $t('m.Top_And_Follow')
}}
</div>
<span
class="contest-rank-concerned"
@click="updateConcernedList(row.uid, !row.isConcerned)"
>
<i
class="fa fa-star"
v-if="row.isConcerned"
style="color: red;"
></i>
<i class="el-icon-star-off" v-else></i>
</span>
</el-tooltip>
<span style="float:right;text-align:right">
<a @click="getUserHomeByUsername(row.uid, row.username)">
<span class="contest-username"
@ -167,17 +174,24 @@
:src="row.avatar"
:title="row[contest.rankShowName]"
></avatar>
<span
class="contest-rank-concerned"
@click="updateConcernedList(row.uid, !row.isConcerned)"
>
<i
class="fa fa-star"
v-if="row.isConcerned"
style="color: red;"
></i>
<i class="el-icon-star-off" v-else></i>
</span>
<el-tooltip placement="top">
<div slot="content">
{{
row.isConcerned ? $t('m.Unfollow') : $t('m.Top_And_Follow')
}}
</div>
<span
class="contest-rank-concerned"
@click="updateConcernedList(row.uid, !row.isConcerned)"
>
<i
class="fa fa-star"
v-if="row.isConcerned"
style="color: red;"
></i>
<i class="el-icon-star-off" v-else></i>
</span>
</el-tooltip>
<span style="float:right;text-align:right">
<a @click="getUserHomeByUsername(row.uid, row.username)">
<span class="contest-username"

View File

@ -122,17 +122,24 @@
:src="row.avatar"
:title="row[contest.rankShowName]"
></avatar>
<span
class="contest-rank-concerned"
@click="updateConcernedList(row.uid, !row.isConcerned)"
>
<i
class="fa fa-star"
v-if="row.isConcerned"
style="color: red;"
></i>
<i class="el-icon-star-off" v-else></i>
</span>
<el-tooltip placement="top">
<div slot="content">
{{
row.isConcerned ? $t('m.Unfollow') : $t('m.Top_And_Follow')
}}
</div>
<span
class="contest-rank-concerned"
@click="updateConcernedList(row.uid, !row.isConcerned)"
>
<i
class="fa fa-star"
v-if="row.isConcerned"
style="color: red;"
></i>
<i class="el-icon-star-off" v-else></i>
</span>
</el-tooltip>
<span style="float:right;text-align:right">
<a @click="getUserHomeByUsername(row.uid, row.username)">
<span class="contest-username"
@ -168,17 +175,24 @@
:src="row.avatar"
:title="row[contest.rankShowName]"
></avatar>
<span
class="contest-rank-concerned"
@click="updateConcernedList(row.uid, !row.isConcerned)"
>
<i
class="fa fa-star"
v-if="row.isConcerned"
style="color: red;"
></i>
<i class="el-icon-star-off" v-else></i>
</span>
<el-tooltip placement="top">
<div slot="content">
{{
row.isConcerned ? $t('m.Unfollow') : $t('m.Top_And_Follow')
}}
</div>
<span
class="contest-rank-concerned"
@click="updateConcernedList(row.uid, !row.isConcerned)"
>
<i
class="fa fa-star"
v-if="row.isConcerned"
style="color: red;"
></i>
<i class="el-icon-star-off" v-else></i>
</span>
</el-tooltip>
<span style="float:right;text-align:right">
<a @click="getUserHomeByUsername(row.uid, row.username)">
<span class="contest-username"