需要安装 vant-weapp<view> <view class="inp-box"> <van-search value="{{ inpVal }}" placeholder="请输入名称" use-action-slot bind:change="searchInp"> <view style ...
分类:
微信 时间:
2020-08-26 18:49:15
阅读次数:
88
啥也不说,直接上代码 <el-date-picker v-model="query.strYear" type="year" format="yyyy" value-format="yyyy" placeholder="请选择"> </el-date-picker> <el-date-picker ...
分类:
其他好文 时间:
2020-08-06 16:59:01
阅读次数:
169
让这两个select相互绑定,让roleOptions选取值后,worklist弹出得是roleOptions值 <el-select v-model="postForm.projectName" placeholder="请选择" @change="getList(postForm)"> <el- ...
分类:
其他好文 时间:
2020-07-21 21:30:41
阅读次数:
68
html <label class="border-bottom "> <span>金额(一次性)</span> <input type="text" placeholder="请输入金额" id="money" onchange="changeipt()"/> </label> <div clas ...
分类:
其他好文 时间:
2020-07-19 16:15:08
阅读次数:
125
img: code: <template> <view> <view> <input class="uni-input" auto-focus placeholder="输入框" placeholder-style="color:red" /> <input class="uni-input" co ...
分类:
其他好文 时间:
2020-07-14 18:35:56
阅读次数:
57
子组件: <template> <div> <div class="group"> <label>{{title}}</label> <input type="text" placeholder="请输入" @input="changeData()" v-model="val"> </div> </ ...
分类:
其他好文 时间:
2020-07-14 16:27:04
阅读次数:
82
问题描述- 表单通过离焦事件触发校验,校验完成后改变input框中的placeholder显示校验结果。 问题解决- 抱歉,问题并没有完全解决。目前只能改变placeholder的文字,但是文字颜色不可控制。 input框 <input type="text" id="username" name= ...
分类:
Web程序 时间:
2020-07-12 22:35:28
阅读次数:
130
<el-date-picker v-model="value1" type="daterange" size="small" range-separator="to" @change="getSTime" format="yyyy-MM-dd" start-placeholder="Start da ...
分类:
其他好文 时间:
2020-07-08 19:40:39
阅读次数:
129
<el-form-item label="经销商"> <el-input v-model="search.ClientName" placeholder="点击搜索图标选择" :disabled="true"><i slot="suffix" class="el-input__icon el-ico ...
分类:
其他好文 时间:
2020-07-08 13:44:57
阅读次数:
132