attention.wxml 1.1 KB

1234567891011121314151617181920212223
  1. <view>
  2. <swiper current="{{currentTab}}" class="swiper-box" duration="300" style="height:{{winHeight - 48}}px" bindchange="bindChange">
  3. <swiper-item>
  4. <scroll-view scroll-y style="height: 100%;">
  5. <view wx:for="{{array}}"class="swiper-box-view" wx:key="index" bindtap="open" data-row="{{item}}">
  6. <view class="swiper-box-left">
  7. <view>{{item.industryName}}</view>
  8. <!-- <view class="swiper-box-subtitle">{{item.subtitle}}</view> -->
  9. </view>
  10. <view class="swiper-box-right">
  11. <view class="swiper-box-button">
  12. <button class="mini-btn" type="warn" size="mini" wx:if="{{item.industryTag===true}}" style="width:180rpx;text-align:center;">+{{item.industryValue}}%</button>
  13. <button wx:else class="mini-btn" type="warn" style="background:#07c160;width:180rpx;text-align:center;" size="mini">{{item.industryValue}}%</button>
  14. </view>
  15. </view>
  16. </view>
  17. </scroll-view>
  18. </swiper-item>
  19. </swiper>
  20. </view>