- <view wx:if="{{datalist.length!=0}}" class="noticebar">
- <van-notice-bar scrollable="true" left-icon="volume-o">
- <view class="flex">
- <view wx:for="{{datalist}}" wx:key="index" bindtap="success" data-index="{{index}}" class="item">
- {{index+1}}、{{item.name}}
- </view>
- </view>
- </van-notice-bar>
- </view>
|