实现方法:给当前元素添加class属性:
.notChange{pointer-events: none;}
wxml:
<view class="weuicell_access {{inspectionPointBean.state=='1'?'notChange':''}}"catchtap="openDialog">
<view>{{item.bean.score==''?'请选择':item.bean.score}}</view>
</view>
判断 inspectionPointBean.state 如果等于 1 的话,那就给当前元素添加class 为“notChange”,否则不添加