index.swan 1.5 KB

123456789101112131415161718192021222324252627282930313233343536
  1. <!-- <view style="width:100%;height:100rpx;"></view> -->
  2. <!-- <scroll-view class="bg-scroll-view" style="height:{{adapter.bgHeight}}px;" scroll-y> -->
  3. <view style="width:100%;height:1200rpx;background-color:#F5F5F5;"></view>
  4. <image src="../../../icon/home/home_banner.png" class="banner" bindtap="gobannerH5"></image>
  5. <!-- <view animation="{{animationInfo}}" class="tips">
  6. <image src="../../icon/home/home_tips.png"></image>
  7. </view> -->
  8. <view class="purchase-bg">
  9. <view s-for="ui.purchase">
  10. <view>
  11. <view style="width: {{index == 0 ? 72 : 40}}rpx;"></view>
  12. <image src="../../../icon/home/home_t.png" />
  13. <text class="{{index == 0 ? 'first-title' : 'second-title'}}">{{item.title}}</text>
  14. <image src="../../../icon/home/home_t.png" />
  15. <view style="width: {{index == 0 ? 72 : 40}}rpx;"></view>
  16. </view>
  17. <view s-for="item.item" class="purchase-item" bindtap="strategyAction" id="{{item.id}}">
  18. <image src="../../../icon/home/{{item.i}}.png" />
  19. <view>
  20. <text>{{item.t}}</text>
  21. <text>{{item.c}}</text>
  22. </view>
  23. <image src="../../../icon/public/arrow_right.png" />
  24. </view>
  25. <!-- <view class="{{index == 0 ? 'first-button' : 'second-button'}}" onTap="purchaseAction" id="{{index}}">{{item.button}}</view> -->
  26. </view>
  27. </view>
  28. <image src="../../../icon/home/home_footer.png" mode="aspectFit"/>
  29. <view class="button-placeholder{{suffix}}"></view>
  30. <view class="purchase-button-bg{{suffix}}" bindtap="goToPurchase">
  31. <view class="purchase-button" >缴社保公积金</view>
  32. </view>