style: 修改重置2FA按钮

This commit is contained in:
zhangyu
2021-08-17 10:25:06 +08:00
parent ff057d6354
commit f9bc341c0a
6 changed files with 55 additions and 7 deletions

View File

@@ -1,8 +1,8 @@
@font-face {
font-family: "nz-icon"; /* Project id 2030432 */
src: url('iconfont.woff2?t=1628837277704') format('woff2'),
url('iconfont.woff?t=1628837277704') format('woff'),
url('iconfont.ttf?t=1628837277704') format('truetype');
src: url('iconfont.woff2?t=1629166963964') format('woff2'),
url('iconfont.woff?t=1629166963964') format('woff'),
url('iconfont.ttf?t=1629166963964') format('truetype');
}
.nz-icon {
@@ -13,6 +13,30 @@
-moz-osx-font-smoothing: grayscale;
}
.nz-icon-mobile:before {
content: "\e738";
}
.nz-icon-email:before {
content: "\e739";
}
.nz-icon-laiyuan:before {
content: "\e73a";
}
.nz-icon-zhongzhi2FA1:before {
content: "\e73b";
}
.nz-icon-role:before {
content: "\e73c";
}
.nz-icon-zhongzhi2FA:before {
content: "\e737";
}
.nz-icon-reset:before {
content: "\e618";
}

View File

@@ -1,8 +1,8 @@
@font-face {
font-family: "nz-icon"; /* Project id 2030432 */
src: url('./font/iconfont.woff2?t=1628837277704') format('woff2'),
url('./font/iconfont.woff?t=1628837277704') format('woff'),
url('./font/iconfont.ttf?t=1628837277704') format('truetype');
src: url('./font/iconfont.woff2?t=1629166963964') format('woff2'),
url('./font/iconfont.woff?t=1629166963964') format('woff'),
url('./font/iconfont.ttf?t=1629166963964') format('truetype');
}
.nz-icon {
@@ -13,6 +13,30 @@
-moz-osx-font-smoothing: grayscale;
}
.nz-icon-mobile:before {
content: "\e738";
}
.nz-icon-email:before {
content: "\e739";
}
.nz-icon-laiyuan:before {
content: "\e73a";
}
.nz-icon-zhongzhi2FA1:before {
content: "\e73b";
}
.nz-icon-role:before {
content: "\e73c";
}
.nz-icon-zhongzhi2FA:before {
content: "\e737";
}
.nz-icon-reset:before {
content: "\e618";
}

View File

@@ -83,7 +83,7 @@
<el-dropdown-menu slot="dropdown">
<el-dropdown-item v-has="'user_edit'" :command="['edit', scope.row]"><i class="nz-icon nz-icon-edit"></i><span class="operation-dropdown-text">{{$t('overall.edit')}}</span></el-dropdown-item>
<el-dropdown-item v-has="'user_delete'" :command="['delete', scope.row]" :disabled="scope.row.id === 1"><i class="nz-icon nz-icon-delete"></i><span class="operation-dropdown-text">{{$t('overall.delete')}}</span></el-dropdown-item>
<el-dropdown-item v-has="'user_edit'" :command="['reset_mfa', scope.row]"><i class="nz-icon nz-icon-reset"></i><span class="operation-dropdown-text">{{$t('config.user.resetMfa')}}</span></el-dropdown-item>
<el-dropdown-item v-has="'user_edit'" :command="['reset_mfa', scope.row]"><i class="nz-icon nz-icon-zhongzhi2FA"></i><span class="operation-dropdown-text">{{$t('config.user.resetMfa')}}</span></el-dropdown-item>
</el-dropdown-menu>
</el-dropdown>
</div>