NEZ-3223 fix:页面样式调整
This commit is contained in:
@@ -260,6 +260,18 @@
|
|||||||
width: 348px;
|
width: 348px;
|
||||||
margin-top: 8px;
|
margin-top: 8px;
|
||||||
margin-bottom: 20px;
|
margin-bottom: 20px;
|
||||||
|
.el-input__suffix{
|
||||||
|
right: 8px;
|
||||||
|
.el-input__icon{
|
||||||
|
transition: none;
|
||||||
|
cursor: pointer;
|
||||||
|
font-size: 12px;
|
||||||
|
}
|
||||||
|
.nz-icon-mimabukejian{
|
||||||
|
font-size: 13px;
|
||||||
|
margin-right: 1px;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
.backup-tip{
|
.backup-tip{
|
||||||
font-family: PingFangSC-Regular;
|
font-family: PingFangSC-Regular;
|
||||||
@@ -268,6 +280,7 @@
|
|||||||
line-height: 20px;
|
line-height: 20px;
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
display: flex;
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
word-break: break-word;
|
word-break: break-word;
|
||||||
.nz-icon{
|
.nz-icon{
|
||||||
margin-right: 6px;
|
margin-right: 6px;
|
||||||
|
|||||||
@@ -101,7 +101,7 @@
|
|||||||
</el-input>
|
</el-input>
|
||||||
<div slot="footer">
|
<div slot="footer">
|
||||||
<button class="nz-btn nz-btn-size-normal nz-btn-style-light margin-r-10" @click="closeBackup">{{$t("overall.cancel")}}</button>
|
<button class="nz-btn nz-btn-size-normal nz-btn-style-light margin-r-10" @click="closeBackup">{{$t("overall.cancel")}}</button>
|
||||||
<button class="nz-btn nz-btn-size-normal nz-btn-style-normal" @click="backupConfirm">{{$t('backup.backup')}}</button>
|
<button class="nz-btn nz-btn-size-normal nz-btn-style-normal" :class="{'nz-btn-disabled':!backupForm.remark}" :disabled="!backupForm.remark" @click="backupConfirm">{{$t('backup.backup')}}</button>
|
||||||
</div>
|
</div>
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
<!-- restore -->
|
<!-- restore -->
|
||||||
@@ -130,7 +130,9 @@
|
|||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
<p class="backup-text">{{$t('backup.enterPassword')}}</p>
|
<p class="backup-text">{{$t('backup.enterPassword')}}</p>
|
||||||
<el-input :placeholder="$t('login.pin')" v-model="restoreForm.pin" show-password size="small"></el-input>
|
<el-input ref="myInput" :placeholder="$t('login.pin')" v-model="restoreForm.pin" size="small" :type="showPassword?'text':'password'">
|
||||||
|
<i slot="suffix" class="el-input__icon nz-icon" :class="showPassword?'nz-icon-mimakejian':'nz-icon-mimabukejian'" @click="changePassType"></i>
|
||||||
|
</el-input>
|
||||||
<div class="backup-tip">
|
<div class="backup-tip">
|
||||||
<i class="nz-icon nz-icon-jinggao1"></i>
|
<i class="nz-icon nz-icon-jinggao1"></i>
|
||||||
<div>
|
<div>
|
||||||
@@ -172,7 +174,8 @@ export default {
|
|||||||
backupDialog: false,
|
backupDialog: false,
|
||||||
backupForm: {
|
backupForm: {
|
||||||
remark: ''
|
remark: ''
|
||||||
}
|
},
|
||||||
|
showPassword: false
|
||||||
// tableData: [
|
// tableData: [
|
||||||
// {
|
// {
|
||||||
// retention: '',
|
// retention: '',
|
||||||
@@ -197,6 +200,14 @@ export default {
|
|||||||
computed: {},
|
computed: {},
|
||||||
|
|
||||||
methods: {
|
methods: {
|
||||||
|
changePassType () {
|
||||||
|
this.showPassword = !this.showPassword
|
||||||
|
if (this.restoreForm.pin) {
|
||||||
|
this.$nextTick(() => {
|
||||||
|
this.$refs.myInput.focus()
|
||||||
|
})
|
||||||
|
}
|
||||||
|
},
|
||||||
changeType (item) {
|
changeType (item) {
|
||||||
if (item == 1) {
|
if (item == 1) {
|
||||||
return this.$t('backup.only')
|
return this.$t('backup.only')
|
||||||
@@ -253,6 +264,7 @@ export default {
|
|||||||
pin: '',
|
pin: '',
|
||||||
file: {}
|
file: {}
|
||||||
}
|
}
|
||||||
|
this.showPassword = false
|
||||||
},
|
},
|
||||||
restore (row) {
|
restore (row) {
|
||||||
this.restoreDialog = true
|
this.restoreDialog = true
|
||||||
|
|||||||
Reference in New Issue
Block a user