style: 优化select公用样式,及类名

This commit is contained in:
@changcode
2021-10-29 12:02:34 +08:00
parent 863d88d7d3
commit 47d1863111
65 changed files with 134 additions and 131 deletions

View File

@@ -41,7 +41,7 @@
</template>
<template v-if="item.prop == 'role'">
<el-popover :content="rules.roleId.message" placement="top" trigger="manual" v-model="rules.roleId.switch" popper-class="small-pop warn-pop" @after-enter="popShow(rules.roleId)">
<el-select v-model="scope.row[item.prop]" size="small" :placeholder="$t('el.select.placeholder')" value-key="id" slot="reference" popper-class="api-select right-public-box-select-top right-public-box-dropdown-top role-system-table">
<el-select v-model="scope.row[item.prop]" size="small" :placeholder="$t('el.select.placeholder')" value-key="id" slot="reference" popper-class="api-select right-box-select-top role-system-table">
<template v-for="role in roles" >
<el-option :label="role.name" :value="role"></el-option>
</template>
@@ -58,7 +58,7 @@
format="yyyy-MM-dd HH:mm:ss"
value-format="yyyy-MM-dd HH:mm:ss"
type="datetime"
popper-class="item-system-table right-public-box-dropdown-top right-public-box-select-top"
popper-class="item-system-table right-public-box-dropdown-top right-box-select-top"
:picker-options="pickerOptions"
:placeholder="$t('el.datepicker.selectTime')">
</my-date-picker>