radio设置禁用disabled,设置color无效,什么原因?
发布于 4 年前 作者 leifu 2784 次浏览 来自 官方Issues

基础库 2.3.1

<view class="page-section">

<radio-group bindchange="radioMealChange">

<label class="item_label" wx:for="{{attendanceItems}}" wx:key="value" >

<view class="item_select_view">

<view class="item_hd">

<radio disabled class="item_radio" color="#7BB8FF" value="{{item.id}}" checked="{{mealId == item.id}}" />

</view>

<view class="item_bd">{{item.name}}</view>

</view>

</label>

</radio-group>

</view>

2 回复

你好,麻烦提供能复现问题的简单代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html)。

回到顶部