Merge branch 'codeCheck' of https://git.mesalab.cn/nezha/nezha-fronted into codeCheck

This commit is contained in:
zhangyu
2020-12-16 18:00:07 +08:00
6 changed files with 27 additions and 13 deletions

View File

@@ -230,11 +230,13 @@ export default {
}
.login-foot-buildOn{
position: absolute;
bottom: 30px;
bottom: 20px;
z-index: 100;
left: calc(50% - 90px);
a{
color: white;
font-size: 14px;
color: #eee;
text-shadow: 1px 1px 3px #333;
text-decoration: none;
}
}

View File

@@ -157,4 +157,7 @@
.interval-refresh-popover{
min-width: unset !important;
}
.sub-top-tools .interval-refresh {
margin-top: -1px;
}
</style>

View File

@@ -16,8 +16,8 @@
:highlight-first-item="true"
@input="hostInputChange"
@blur="validateHostEmpty"
></el-autocomplete>
<el-popover trigger="click" placement="bottom" @show="popShow" @hide="popHide" popper-class="no-style-class">
></el-autocomplete><el-popover
@hide="popHide" @show="popShow" placement="bottom" popper-class="no-style-class" trigger="click">
<div class="mib-browser-ad-search">
<el-row class="mib-browser-ad-search-item" style="font-weight: bold">{{$t('config.dc.traffic.snmpSetting')}}</el-row>
<el-row class="mib-browser-ad-search-item">
@@ -112,7 +112,14 @@
<i class="el-icon-more"></i>
</button>
</el-popover>
<span class="right-box-form-minus-box" @click="delSelf" style="vertical-align: middle"><i class="nz-icon nz-icon-minus"></i></span>
<span @click="delSelf" class="right-box-form-minus-box"
style="vertical-align: middle;right: 0;
position: absolute;
line-height: 21px;
height: 21px;
top: 50%;
transform: translateY(-50%);"
><i class="nz-icon nz-icon-minus"></i></span>
<div>
<span style="color:#F56C6C;font-size: 12px;" v-if="hostRepeat">{{$t('validate.repeat')}}</span>
<span style="color:#F56C6C;font-size: 12px;" v-if="hostInvalid">{{$t('validate.host')}}</span>
@@ -623,8 +630,8 @@
border-top-left-radius: 0px;
border-bottom-left-radius: 0px;
height: 30px;
position: relative;
left: -3px;
top: 1px;
left: -1px;
}
.asset-config-tab .right-box-row-with-btn{
width: calc(100% - 69px);
@@ -650,14 +657,15 @@
margin-bottom: 5px;
height: 20px;
line-height: 18px;
justify-content: flex-end;
justify-content: center;
}
.tab-tags-item .tag-item-key{
border:1px solid #409eff;;
border-top-left-radius: 3px;
border-bottom-left-radius: 3px;
background-color: #409eff;
width: 52px;
min-width: 40px;
padding: 0 8px;
color: white;
}
.tab-tags-item .tag-item-value{
@@ -665,7 +673,8 @@
border-top-right-radius: 3px;
border-bottom-right-radius: 3px;
background-color: #FFF;
width: 52px;
min-width: 40px;
padding: 0 8px;
}
.tab-tags-item .tag-item-text{
background-color: #FFF;

View File

@@ -48,7 +48,7 @@
</button>
</template>
</export-excel>
<delete-button :delete-objs="batchDeleteObjs" api="alert/rule" @after="getTableData"></delete-button>
<delete-button :delete-objs="batchDeleteObjs" @after="getTableData" api="alert/rule" v-has="'rule_delete'"></delete-button>
</div>
<div class="pagination-top pagination-top-hide display-none"></div>
</div>

View File

@@ -15,7 +15,7 @@
<button :title="$t('overall.createModel')" @click="add" class="nz-btn nz-btn-size-normal nz-btn-style-light margin-l-20" id="model-add" v-has="'model_toAdd'">
<i class="nz-icon-create-square nz-icon"></i>
</button>
<delete-button :delete-objs="batchDeleteObjs" api="model" @after="getTableData"></delete-button>
<delete-button :delete-objs="batchDeleteObjs" @after="getTableData" api="model" v-has="'model_delete'"></delete-button>
</div>
<div class="pagination-top pagination-top-hide display-none"></div>
</div>

View File

@@ -64,7 +64,7 @@
height: 100vh;
top: 0;
left: 0;
z-index: 410;
z-index: 2100;
}
/deep/ .el-color-picker{
position: absolute;