- 效果
wxml
<view>
<block wx:for="{
{dataList}}" wx:key="LMF_ID" wx:for-item="dataInfo" wx:for-index="dataIndex">
<view class="fold_fome">
<view class="fold_name box" data-index="{
{dataIndex}}" catchtap="listDataClick">
<view class="fold_name_let">横排智能马桶2功能</view>
<view class="fold_name_ret"><image class="{
{showIndex==dataIndex?'deg90':'deg270'}}" src="../../static/lit_img.png"></image></view>
</view>