Commit 0e2ed548 by chenwq

style(ruleConfig): 优化开关组件布局并移除冗余文本

refactor(storeCredit): 调整表单字段格式并添加间距
1 parent b858f247
......@@ -7,7 +7,9 @@
<div class="table-container">
<GLTable :tableData="tableData" :tableParams="tableParams" :hasPage="false" :hasNum="false">
<template slot="switchSlot" slot-scope="scope">
<el-switch v-model="scope.scope.enabled" active-text="启用" inactive-text="停用"></el-switch>
<!-- <el-switch v-model="scope.scope.enabled" active-text="启用" inactive-text="停用"></el-switch> -->
<el-switch v-model="scope.scope.enabled"></el-switch>
<div class="switch-txt">{{ scope.scope.enabled ? '启用' : '停用' }}</div>
</template>
</GLTable>
</div>
......@@ -86,6 +88,10 @@ export default {
.container {
padding: 20px;
.switch-txt {
display: inline-block;
margin-left: 8px;
}
.config-card {
background: #fff;
border-radius: 4px;
......
......@@ -36,6 +36,7 @@
<el-radio-group :disabled="pageObject.id" v-model="configForm.personType">
<el-radio v-for="(item, idx) in baseData.personTypeList" :key="idx" :label="item.confId">{{ item.confLabel }}</el-radio>
</el-radio-group>
<div style="margin-bottom: 8px;"></div>
<div class="upload">
<div class="upload-btn">
<el-button size="small" :disabled="pageObject.disabled">
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!