because the view is rendered in a loop, it doesn"t get it right for a long time
use ternary operation to judge the id currently clicked, and then display:none
thought is completely wrong
circular rendering list, all are unified variables
there is no way to modify the attribute
according to id as js does. I really can"t figure it out!
<view class="weike-body-dian" id="{{item.id}}" style="display:{{ item.id== record[mesgid].id ? record[mesgid].display : "" }}"> <view></view></view>