| | |
| | | <el-form-item label="标题位置" prop="textAlign"> |
| | | <el-radio-group v-model="formData!.textAlign"> |
| | | <el-tooltip content="居左" placement="top"> |
| | | <el-radio-button label="left"> |
| | | <el-radio-button value="left"> |
| | | <Icon icon="ant-design:align-left-outlined" /> |
| | | </el-radio-button> |
| | | </el-tooltip> |
| | | <el-tooltip content="居中" placement="top"> |
| | | <el-radio-button label="center"> |
| | | <el-radio-button value="center"> |
| | | <Icon icon="ant-design:align-center-outlined" /> |
| | | </el-radio-button> |
| | | </el-tooltip> |
| | |
| | | <template v-if="formData.more.show"> |
| | | <el-form-item label="样式" prop="more.type"> |
| | | <el-radio-group v-model="formData.more.type"> |
| | | <el-radio label="text">文字</el-radio> |
| | | <el-radio label="icon">图标</el-radio> |
| | | <el-radio label="all">文字+图标</el-radio> |
| | | <el-radio value="text">文字</el-radio> |
| | | <el-radio value="icon">图标</el-radio> |
| | | <el-radio value="all">文字+图标</el-radio> |
| | | </el-radio-group> |
| | | </el-form-item> |
| | | <el-form-item label="更多文字" prop="more.text" v-show="formData.more.type !== 'icon'"> |