el-input输入框,el-input 搜索框 描述框 文本框 常用样式总结

一级标题

*#append #prepend 的使用
#suffix

常见 el-input文本框 样式*

在这里插入图片描述
在这里插入图片描述
#suffix (后) prefix(前)使用

<el-input ref="inputRef" v-model="value" @click="onFocusHandle" class="tableInput" placeholder="请选择门店">
                        <template #suffix>
                            <i class="el-input__icon el-icon-search"></i>
                        </template>
                    </el-input>

代码如下:在这里插入图片描述


                    <el-input placeholder="用户名" v-model="row" style="width:300px;margin-left:20px;">
                        <template #prepend>
                            资产编号
                        </template>
                    </el-input>
                    <el-input placeholder="用户名" style="width:300px;margin-left:20px;">
                        <template #append>
                            <el-button icon="el-icon-search"></el-button>
                        </template>
                    </el-input>
                    <el-input placeholder="用户名" style="width:300px;margin-left:20px;">
                        <template #append>搜索</template>
                    </el-input>
                    <el-input placeholder="用户名" v-model="row" readonly style="width:300px;margin-left:20px;">
                        <template #prepend>
                            只读
                        </template>
                    </el-input>

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值