#2973 zouap_dev

Merged
zouap merged 3 commits from zouap_dev into V20220926 1 year ago
  1. +1
    -1
      options/locale/locale_zh-CN.ini
  2. +2
    -2
      web_src/vuepages/langs/config/zh-CN.js
  3. +13
    -5
      web_src/vuepages/pages/user/invite/index.vue

+ 1
- 1
options/locale/locale_zh-CN.ini View File

@@ -72,7 +72,7 @@ your_starred=已点赞
your_settings=设置
invite_friends=邀请好友
your_friend=您的好友
invite_you_to_join_the_OpenI_AI_Collaboration_Platform_and_enjoy_abundant_free_computing_resources=邀请加入启智社区AI协作平台,畅享充沛的免费算力资源!
invite_you_to_join_the_OpenI_AI_Collaboration_Platform_and_enjoy_abundant_free_computing_resources=邀请加入启智社区AI协作平台,畅享充沛的免费算力资源!
recommender=推荐人

all=所有


+ 2
- 2
web_src/vuepages/langs/config/zh-CN.js View File

@@ -164,9 +164,9 @@ const zh = {
},
user: {
inviteFriends: '邀请好友',
inviteFriendsTips: '复制二维码或者邀请注册链接分享给好友',
inviteFriendsTips: '复制二维码或者注册邀请链接分享给好友',
clickToViewTheEventDetails: '点击查看活动详情',
copyRegistrationInvitationLink: '复制邀请注册链接',
copyRegistrationInvitationLink: '复制注册邀请链接',
registrationAdress: '注册地址:',
recommender: '推荐人:',
invitedFriends: '已邀请好友',


+ 13
- 5
web_src/vuepages/pages/user/invite/index.vue View File

@@ -22,7 +22,7 @@
<div class="txt-2"><span>{{ $t('user.registrationAdress') }}</span><span>{{ invitationLink + invitationCode
}}</span></div>
<div class="txt-3"><span>{{ $t('user.recommender') }}</span><span>{{ invitationCode }}</span></div>
<el-button class="__copy_link_btn__" type="primary" style="background:rgb(21, 114, 255);">{{ $t('user.copyRegistrationInvitationLink') }}</el-button>
<el-button class="__copy_link_btn__" type="primary">{{ $t('user.copyRegistrationInvitationLink') }}</el-button>
</div>
<div class="qr-code">
<div id="__qr-code__" style="width:120px;height:120px;"></div>
@@ -31,7 +31,7 @@
<div class="table-container">
<div>
<el-table border :data="tableData" style="width:100%" v-loading="loading" stripe>
<el-table-column prop="ID" :label="$t('user.invitedFriends')" align="left" header-align="left">
<el-table-column prop="ID" :label="$t('user.invitedFriends')" align="left" header-align="center">
<template slot-scope="scope">
<div style="display:flex;align-items:center;padding-left:20px;">
<img :src="scope.row.avatarSrc" alt="" style="height:45px;width:45px;margin-right:10px;" />
@@ -47,7 +47,7 @@
<el-table-column prop="regTime" :label="$t('user.registrationTime')" align="center" header-align="center">
</el-table-column>
<template slot="empty">
<span style="font-size: 12px">{{
<span>{{
loading ? $t('loading') : $t('noData')
}}</span>
</template>
@@ -271,6 +271,13 @@ export default {
}
}

.__copy_link_btn__ {
font-size: 14px;
padding: 11px 15px;
background: rgb(21, 114, 255);
border-radius: 0;
}

.qr-code {
width: 150px;
display: flex;
@@ -285,14 +292,15 @@ export default {
/deep/ .el-table__header {
th {
background: rgb(245, 245, 246);
font-size: 12px;
font-size: 14px;
color: rgb(36, 36, 36);
font-weight: 400;
}
}

/deep/ .el-table__body {
td {
font-size: 12px;
font-size: 14px;
}
}



Loading…
Cancel
Save