index.wxml 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155
  1. <wxs module="banner" src="../home/banner.wxs"></wxs>
  2. <nav-bar navbar-data='{{nvabarData}}' id="navbar"></nav-bar>
  3. <view class="home">
  4. <view class="top">
  5. <swiper indicator-dots="{{indicatorDots}}" autoplay="{{autoplay}}" interval="{{interval}}" duration="{{duration}}">
  6. <block wx:key="unique" wx:for="{{backgrounds}}" wx:for-item="item">
  7. <swiper-item>
  8. <navigator url='{{item.link}}'>
  9. <image src="{{item.pic}}"></image>
  10. </navigator>
  11. <!-- <image src="{{banner.bannerimg(item.url)}}"></image> -->
  12. </swiper-item>
  13. </block>
  14. </swiper>
  15. </view>
  16. <view class="top1">
  17. <navigator url='../onedai/index'>
  18. <image src="../images/shoudai.jpg"></image>
  19. </navigator>
  20. </view>
  21. <view class="main">
  22. <view class="mainOne">
  23. <image src="/pages/images/tongji.png" bindtap="tongjiBtn"></image>
  24. <view class="mainOneInfo">
  25. <!-- <view class="mainOneInfos">
  26. <view>{{mainOneInfo.zcqynum}}<sub>家</sub></view>
  27. <view>注册企业</view>
  28. </view> -->
  29. <view class="mainOneInfos">
  30. <view>{{mainOneInfo.registerCompany}}<sub>家</sub></view>
  31. <view>认证企业</view>
  32. </view>
  33. <view class="mainOneInfos">
  34. <view>{{mainOneInfo.financialInstitution}}<sub>家</sub></view>
  35. <view>入驻银行</view>
  36. </view>
  37. <view class="mainOneInfos">
  38. <view>{{mainOneInfo.demandCount}}<sub>项</sub></view>
  39. <view>融资需求</view>
  40. </view>
  41. <view class="mainOneInfos">
  42. <view>{{mainOneInfo.finalsummoney}}<sub>万元</sub></view>
  43. <view>需求总额</view>
  44. </view>
  45. <!-- <view class="mainOneInfos">
  46. <view>{{mainOneInfo.fkfinalsummoney}}<sub>万元</sub></view>
  47. <view>放款总额</view>
  48. </view> -->
  49. </view>
  50. </view>
  51. <view class="mainTwo">
  52. <span class="red"></span>
  53. <span class="title">热门产品</span>
  54. <!-- <span class="more" catchtap="clickMore">更多></span> -->
  55. <scroll-view class="container-zhaozhi" scroll-x="true">
  56. <view class="chaozhi">
  57. <block wx:for="{{productList}}" wx:key="item">
  58. <view class="chaozhilist">
  59. <view class="one">
  60. <image style="width:100rpx;height:100rpx" src="{{item.pic}}"></image>
  61. <view>{{item.title}}</view>
  62. <!-- <view>{{item.title}}</view>
  63. <image style="width:32rpx;height:32rpx" src="/pages/images/rightHe.png"></image> -->
  64. </view>
  65. <view class="two">
  66. <view>贷款额度:{{item.claims_max_money}}<sub>万元及以下</sub></view>
  67. <!-- <view>{{item.mongey_min_rate}}<sub>%</sub>~{{item.mongey_max_rate}}<sub>%</sub></view>
  68. <view>参考利率范围</view> -->
  69. </view>
  70. <view class="three">
  71. <!-- <image style="width:290rpx;height:100rpx" src="{{item.pic}}"></image> -->
  72. <view>贷款期限:{{item.claims_min_term}}<sub>月</sub>~{{item.claims_max_term}}<sub>月</sub></view>
  73. </view>
  74. <view class="four">
  75. {{item.mongey_min_rate}}%~{{item.mongey_max_rate}}%
  76. </view>
  77. <!-- <view class="five">
  78. {{item.introduction}}
  79. </view> -->
  80. <view class="six">
  81. <button type="primary" size="mini" bindtap="toshow" data-claimid="{{item._id}}" data-img="{{item.pic}}">查看详情</button>
  82. <!-- <van-button bind:click="toshow" type="danger" size="small" data-claimid="{{item._id}}" data-img="{{item.pic}}" >查看详情</van-button> -->
  83. </view>
  84. </view>
  85. </block>
  86. </view>
  87. </scroll-view>
  88. </view>
  89. <view class="mainThree">
  90. <view class="mainThreeTop">
  91. <span>政策解读</span>
  92. <a bindtap="policyListTap">更多></a>
  93. </view>
  94. <view class="mainThreeList">
  95. <view class="list" wx:key="unique" wx:for="{{policyList}}" wx:for-item="item">
  96. <view bindtap="policyListDetailTap" id="{{list._id}}" data-pid="{{item.id}}">
  97. <!-- <image src="{{item.image}}"></image> -->
  98. <view class="info">
  99. <p>{{item.title}}</p>
  100. <view class="infos">
  101. <!-- {{item.brief_introduction}} -->
  102. <text>{{item.brief_introduction}}</text>
  103. <text>{{item.create_time}}</text>
  104. </view>
  105. </view>
  106. </view>
  107. </view>
  108. </view>
  109. </view>
  110. <view class="mainFour">
  111. <view class="unit-text-last">
  112. <text >指导支持单位</text>
  113. </view>
  114. <view>
  115. <scroll-view class="scroll-unit" scroll-x="true">
  116. <block wx:for="{{guidanceUnitList}}" wx:key="item">
  117. <view class="scroll-unit-item-father">
  118. <view class="scroll-unit-item">
  119. <image class="scroll-unit-item-image" src="{{item.image}}"></image>
  120. <text class="scroll-unit-text">{{item.name}}</text>
  121. </view>
  122. </view>
  123. </block>
  124. </scroll-view>
  125. </view>
  126. </view>
  127. </view>
  128. <view class="down">
  129. <van-tabbar active="{{ active }}" bind:change="onChange" class="tabber">
  130. <van-tabbar-item>
  131. <image slot="icon" src="{{ icon.normal }}" mode="aspectFit" style="width: 30px; height: 18px;" />
  132. <image slot="icon-active" src="{{ icon.active }}" mode="aspectFit" style="width: 30px; height: 18px;" />
  133. 首页
  134. </van-tabbar-item>
  135. <van-tabbar-item>
  136. <image slot="icon" src="{{ icon.bankNormal }}" mode="aspectFit" style="width: 30px; height: 18px;" />
  137. <image slot="icon-active" src="{{ icon.bankActive }}" mode="aspectFit" style="width: 30px; height: 18px;" />
  138. 我要融资
  139. </van-tabbar-item>
  140. <van-tabbar-item>
  141. <image slot="icon" src="{{ icon.marketNormal }}" mode="aspectFit" style="width: 30px; height: 18px;" />
  142. <image slot="icon-active" src="{{ icon.marketActive }}" mode="aspectFit" style="width: 30px; height: 18px;" />
  143. 金融超市
  144. </van-tabbar-item>
  145. <van-tabbar-item>
  146. <image slot="icon" src="{{ icon.policyNormal }}" mode="aspectFit" style="width: 30px; height: 18px;" />
  147. <image slot="icon-active" src="{{ icon.policyActive }}" mode="aspectFit" style="width: 30px; height: 18px;" />
  148. 政策解读</van-tabbar-item>
  149. <van-tabbar-item>
  150. <image slot="icon" src="{{ icon.myNormal }}" mode="aspectFit" style="width: 30px; height: 18px;" />
  151. <image slot="icon-active" src="{{ icon.myActive }}" mode="aspectFit" style="width: 30px; height: 18px;" />
  152. 我的</van-tabbar-item>
  153. </van-tabbar>
  154. </view>
  155. </view>