帮你贷的小程序

template.wxml 3.9KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. <template name="jiefItem1">
  2. <view class="weui-cells weui-cells_after-title template">
  3. <form bindsubmit="formSubmit" report-submit="{{true}}" style='width:100%;height:100%;display:block;' data-id="{{id}}">
  4. <!-- <navigator url="/pages/details/details?id={{id}}" id="{{id}}" hover-class="navigator-hover"> -->
  5. <button class='suspendImg' plain="ture" hover-class="none" data-name="help" formType="submit" style="border:none !important; width:100%;height:100%;" >
  6. <view class="weui-cell borrow-list-temp">
  7. <view class="weui-cell__hd">
  8. <image class="icon" src="{{icon}}"/>
  9. </view>
  10. <view class="weui-cell__bd">
  11. <view class="title">{{name}}<view class="weui-badge" wx-if="{{prod_title != null}}">{{prod_title}}</view></view>
  12. <view class="desc elli">{{description}}</view>
  13. <view class="desc elli" >申请人数<text class="emphasize">{{applicants}}</text> <text>{{show_day}}</text> <text class="emphasize" wx-if="{{show_day=='日利率'}}">{{day_rate}}%</text><text class="emphasize" wx:if="{{show_day!='日利率'}}">{{monthly_rate}}%</text></view>
  14. </view>
  15. </view>
  16. <view class="weui-cell__ft weui-cell__ft_in-access"></view>
  17. </button>
  18. <!-- </navigator> -->
  19. </form>
  20. </view>
  21. </template>
  22. <template name="jiefItem2">
  23. <block wx:for="{{cardList}}" wx:key="void">
  24. <view class="weui-cells weui-cells_after-title template" data-id="{{item.id}}" bindtap="initConcact">
  25. <view class="weui-cell card-list-temp">
  26. <view class="weui-cell__hd">
  27. <image class="icon" src="{{item.card_icon}}"/>
  28. </view>
  29. <view class="weui-cell__bd">
  30. <!--bindtap="initConcact" <button class="contact-btn" open-type="contact" session-from="id=X_{{item.id}}" wx-if="{{hasPhone}}"/> -->
  31. <view class="title">{{item.name}}<view wx:for="{{item.keywords}}" wx:for-item="word" wx:key="void" wx-if="{{word == '礼' && item.keywords.length > 0}}" class="weui-badge">{{word}}</view><view wx:for="{{item.keywords}}" wx:for-item="word" wx:key="void" wx-if="{{word !== '礼' && item.keywords.length > 0}}" class="weui-badge other">{{word}}</view></view>
  32. <view class="desc elli">{{item.desc}}</view>
  33. <view class="desc elli" >申请人数<text class="emphasize">{{item.apply_num}}</text></view>
  34. </view>
  35. </view>
  36. <view class="weui-cell__ft weui-cell__ft_in-access"></view>
  37. </view>
  38. </block>
  39. </template>
  40. <template name="jiefItem3">
  41. <block wx:for="{{dataList}}" wx:key="void">
  42. <view class="weui-cells weui-cells_after-title template" data-id="Y_{{item.product_id}}" bindtap="showPanel">
  43. <view class="weui-cell borrow-list-temp">
  44. <button class="notice-btn">我要还款</button>
  45. <view class="weui-cell__hd">
  46. <image class="icon" src="{{item.product_icon}}"/>
  47. </view>
  48. <view class="weui-cell__bd">
  49. <view class="title">{{item.product_name}}<view class="weui-badge" wx-if="{{item.prod_title != null}}">{{item.prod_title}}</view></view>
  50. <view class="desc elli">{{item.create_time}}</view>
  51. <view class="desc elli" >贷款金额<text class="emphasize">{{item.money}}</text>贷款期数<text class="emphasize">{{item.periods}}</text></view>
  52. </view>
  53. </view>
  54. </view>
  55. </block>
  56. </template>
  57. <template name="jiefItem4">
  58. <block wx:for="{{cardList}}" wx:key="void">
  59. <view class="weui-cells weui-cells_after-title template" data-id="X_{{item.product_id}}" bindtap="showPanel">
  60. <view class="weui-cell card-list-temp">
  61. <view class="weui-cell__hd">
  62. <image class="icon" src="{{item.icon}}"/>
  63. </view>
  64. <view class="weui-cell__bd">
  65. <view class="title">{{item.product_name}}</view>
  66. <view class="desc elli">{{item.desc}}</view>
  67. <view class="desc elli" >申请时间: {{item.create_time}}</view>
  68. </view>
  69. </view>
  70. <view class="weui-cell__ft weui-cell__ft_in-access"></view>
  71. </view>
  72. </block>
  73. </template>