style: asset 批量修改样式调整
This commit is contained in:
@@ -316,10 +316,12 @@
|
|||||||
margin-bottom: 0 !important;
|
margin-bottom: 0 !important;
|
||||||
}
|
}
|
||||||
.api-select.right-public-box-select-top.right-public-box-dropdown-top {
|
.api-select.right-public-box-select-top.right-public-box-dropdown-top {
|
||||||
width: 210px;
|
.el-scrollbar__view.el-select-dropdown__list {
|
||||||
text-overflow: ellipsis;
|
width: 210px;
|
||||||
overflow: hidden;
|
text-overflow: ellipsis;
|
||||||
white-space: nowrap;
|
overflow: hidden;
|
||||||
|
white-space: nowrap;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
.dc-dropdown.right-public-box-dropdown-top,.right-public-box-select-top.right-public-box-dropdown-top {
|
.dc-dropdown.right-public-box-dropdown-top,.right-public-box-select-top.right-public-box-dropdown-top {
|
||||||
margin: 5px 0 !important;
|
margin: 5px 0 !important;
|
||||||
|
|||||||
@@ -43,8 +43,8 @@
|
|||||||
<el-form-item :label="$t('asset.pin')" prop="authPin">
|
<el-form-item :label="$t('asset.pin')" prop="authPin">
|
||||||
<el-input v-model="editData.authPin" size="small" type="password" autocomplete="new-password"/>
|
<el-input v-model="editData.authPin" size="small" type="password" autocomplete="new-password"/>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item :label="$t('asset.port')" prop="authProtocolPort">
|
<el-form-item :label="$t('asset.port')" prop="port">
|
||||||
<el-input v-model="editData.authProtocolPort" size="small"/>
|
<el-input v-model="editData.port" size="small"/>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@@ -130,6 +130,7 @@
|
|||||||
v-model="label.value[0]"
|
v-model="label.value[0]"
|
||||||
:type="JSON.parse(label.param).subType === assetConstants.labelSubTypeData.date ? 'dateRange' : 'datetimerange'"
|
:type="JSON.parse(label.param).subType === assetConstants.labelSubTypeData.date ? 'dateRange' : 'datetimerange'"
|
||||||
placeholder=""
|
placeholder=""
|
||||||
|
popper-class="right-box-select-top right-public-box-dropdown-top"
|
||||||
size="small"
|
size="small"
|
||||||
style="width: 100%">
|
style="width: 100%">
|
||||||
</my-date-picker>
|
</my-date-picker>
|
||||||
@@ -140,6 +141,7 @@
|
|||||||
v-model="label.value[0]"
|
v-model="label.value[0]"
|
||||||
:type="JSON.parse(label.param).subType"
|
:type="JSON.parse(label.param).subType"
|
||||||
placeholder=""
|
placeholder=""
|
||||||
|
popper-class="right-box-select-top right-public-box-dropdown-top"
|
||||||
size="small"
|
size="small"
|
||||||
style="width: 100%"
|
style="width: 100%"
|
||||||
value-format="yyyy-MM-dd">
|
value-format="yyyy-MM-dd">
|
||||||
@@ -161,7 +163,7 @@
|
|||||||
:options="fieldGroupData"
|
:options="fieldGroupData"
|
||||||
:props="labelCascProp"
|
:props="labelCascProp"
|
||||||
class="hide-input"
|
class="hide-input"
|
||||||
popper-class="prevent-clickoutside right-public-box-dropdown-top limit-height"
|
popper-class="prevent-clickoutside right-public-box-select-top.right-public-box-dropdown-top limit-height"
|
||||||
size="small"
|
size="small"
|
||||||
@change="addLabel"
|
@change="addLabel"
|
||||||
></el-cascader>
|
></el-cascader>
|
||||||
|
|||||||
@@ -108,7 +108,7 @@
|
|||||||
</el-checkbox-group>
|
</el-checkbox-group>
|
||||||
</template>
|
</template>
|
||||||
<template v-else-if="label.type.toUpperCase() === assetConstants.labelTypeData.SELECT">
|
<template v-else-if="label.type.toUpperCase() === assetConstants.labelTypeData.SELECT">
|
||||||
<el-select v-model="label.value[0]" class="right-box__select" popper-class="right-box-select-format-dropdown prevent-clickoutside" size="small">
|
<el-select v-model="label.value[0]" class="right-box__select" popper-class="right-box-select-top right-public-box-dropdown-top prevent-clickoutside" size="small">
|
||||||
<el-option v-for="item in JSON.parse(label.param).items" :key="item.name" :label="item.name" :value="item.name"></el-option>
|
<el-option v-for="item in JSON.parse(label.param).items" :key="item.name" :label="item.name" :value="item.name"></el-option>
|
||||||
</el-select>
|
</el-select>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
Reference in New Issue
Block a user