style: 样式修改

develop
时启龙 2024-08-28 10:50:30 +08:00
parent 36fb3c8627
commit 8efeef0677
1 changed files with 12 additions and 5 deletions

View File

@ -1,8 +1,12 @@
<template>
<el-card v-if="isLeaderPosition" body-class="custom-body">
<el-radio-group v-model="selectPostion" @change="SET_SELECTED_POSITION">
<el-radio v-for="item in positionList" :key="item.value" :label="item.value">{{ item.name }}</el-radio>
</el-radio-group>
<el-card v-if="isLeaderPosition">
<el-form>
<el-form-item label="所属阵地:">
<el-radio-group v-model="selectPostion" @change="SET_SELECTED_POSITION">
<el-radio v-for="item in positionList" :key="item.value" :label="item.value">{{ item.name }}</el-radio>
</el-radio-group>
</el-form-item>
</el-form>
</el-card>
</template>
@ -71,7 +75,10 @@ export default {
<style scoped lang="scss">
::v-deep {
.czhj-card__body {
padding: 10px;
padding: 5px 10px;
}
.czhj-form-item {
margin-bottom: 0;
}
}
</style>