帮你贷的小程序

card.wxml 1.8KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. <import src="../template/template.wxml" />
  2. <view class="card">
  3. <view class="card-swiper-container">
  4. <view class="swiper-title">达人优选</view>
  5. <swiper class='swiper' indicator-dots="{{indicatorDots}}" autoplay="{{autoplay}}" circular="true"
  6. interval="{{interval}}" duration="{{duration}}"indicator-color="#E4E4E4" indicator-active-color="#8FA5FF">
  7. <block wx:for="{{bannerList}}" wx:key="id">
  8. <swiper-item class="item">
  9. <view class="item-imglist" wx:for="{{item}}" wx:key="void" wx:for-item="imglist" data-id="{{item.id}}" bindtap="initConcact" data-id="{{imglist.id}}" hover-class="navigator-hover">
  10. <image src="{{imglist.card_icon}}" class="slide-image"/>
  11. <view class="elli title">{{imglist.name}}</view>
  12. <view class="elli desc">{{imglist.desc}}</view>
  13. <button class="contact-btn" open-type="contact" session-from="id=X_{{imglist.id}}" wx-if="{{hasPhone}}"/>
  14. </view>
  15. </swiper-item>
  16. </block>
  17. </swiper>
  18. </view>
  19. <view class="split"></view>
  20. <view class="card-list">
  21. <view class="card-list-title">热门信用卡</view>
  22. <!-- 使用热门推荐模板,传入当前循环对象item -->
  23. <template is="jiefItem2" data="{{cardList, hasPhone}}"/>
  24. </view>
  25. <view class="body-view">
  26. <loading hidden="{{hidden}}">
  27. 加载中...
  28. </loading>
  29. </view>
  30. <view class="mask" hidden="{{hiddenThis}}">
  31. <view class="content">
  32. <view class="title">小提示</view>
  33. <view class="text">回复"<text>1</text>",获取贷款资格</view>
  34. <button class="contact-btn" open-type="contact" session-from="id=X_{{appid}}">我知道了</button>
  35. </view>
  36. </view>
  37. </view>