mpvue|mpvue更改小程序picker选中状态的颜色
{{array[index]}}
---------------------------------------------------------------
data () {
return {
index:0,
array:[
"请选择",
"民生微实事",
"志愿者服务活动",
"其他意见建议"
]
}
},
methods:{
bindPickerChange(e){
// console.log(e.target.value)
this.index=e.target.value;
} .picker{
color:#333;
}
.default{
color:#cccccc;
}
【mpvue|mpvue更改小程序picker选中状态的颜色】
文章图片
推荐阅读
- 《跨界歌手》:亲情永远比爱情更有泪点
- 【译】20个更有效地使用谷歌搜索的技巧
- 从蓦然回首到花开在眼前,都是为了更好的明天。
- 六月更新的......
- 研学让生活更美好
- 如何更好的去学习
- 姚老师互动问答会|姚老师互动问答会 # 问题001(如何更有智慧的和身边人分享金刚智慧())
- 杀死一只知更鸟
- 日更小小记
- 这座媲美重庆的绝色山城,深藏国宝级景点,更有绝美高山花海!