帮你贷的小程序

template.wxml 4.1KB

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