0
点赞
收藏
分享

微信扫一扫

OpenHarmony安全控件类型的UI控件(仅对系统应用开放)

element-ui form表单自定义label的样式、内容

效果截图

在这里插入图片描述

代码

<el-form size="small" :inline="true" label-width="120px">
  <el-form-item prop="name">
    <div slot="label">
      <i style="color: red;">*</i>
      名称
      <span style="font-size: 12px;color: #ccc;">默认全部</span>
    </div>
    <el-input v-model="form.name"></el-input>
  </el-form-item>
</el-form>
举报

相关推荐

面试题 -- UI控件

0 条评论