h5_subjectContent.html 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=0">
  6. <meta name="apple-mobile-web-app-capable" content="yes" />
  7. <meta name="format-detection" content="telephone=no" />
  8. <title>详情</title>
  9. <meta name="description" content="">
  10. <meta name="keywords" content="">
  11. <link href="{$resourcePath}/css/reset.css" rel="stylesheet">
  12. <link href="{$resourcePath}/css/style.css" rel="stylesheet">
  13. <script type="text/javascript" src="{$resourcePath}/js/width-conversion.js"></script>
  14. <script type="text/javascript" src="{$resourcePath}/js/zepto.min.js"></script>
  15. <script type="text/javascript" src="{$resourcePath}/js/touch.js"></script>
  16. </head>
  17. <div id="container">
  18. <div class="tabs">
  19. <div class="tab active"><span>产品说明</span></div>
  20. <div class="tab"><span>项目详情</span></div>
  21. <div class="tab"><span>投标记录</span></div>
  22. </div>
  23. <div class="main">
  24. <div class="tab-item active">
  25. <div class="desc">
  26. <div class="box">
  27. <div class="title">产品说明</div>
  28. <div class="text">本项目为浙江博佳投资管理有限公司推出的一款短期投资理财产品,方便用户短期投资,已注册用户均可投资参与此产品,未满额度不限投资次数.</div>
  29. </div>
  30. </div>
  31. <!--<div class="part border-bottom">
  32. <div class="title">购买方式</div>
  33. <div class="text">产品投资期间,不可提前赎回</div>
  34. </div>-->
  35. <div class="part border-bottom">
  36. <div class="title">还款方式</div>
  37. <div class="text">一次性还付本息</div>
  38. </div>
  39. <div class="part border-bottom">
  40. <div class="title">转让条件</div>
  41. <div class="text">不可转让</div>
  42. </div>
  43. </div>
  44. <div class="tab-item">
  45. <!--<div class="desc">
  46. <div class="box">
  47. <div class="title">项目详情</div>
  48. <div class="text">产品投资期间,不可提前赎回</div>
  49. </div>
  50. </div>-->
  51. <!--<div class="part border-bottom">
  52. <div class="title">项目介绍</div>
  53. <div class="text">
  54. <p>产品投资期间,不可提前赎回</p>
  55. &lt;!&ndash; <img src="{$resourcePath}/img/card.png" alt="">&ndash;&gt;
  56. </div>
  57. </div>-->
  58. <div class="part border-bottom">
  59. <div class="title">项目详情</div>
  60. <div class="text">
  61. <p>{$loan['info']}</p>
  62. </div>
  63. </div>
  64. <div class="part border-bottom">
  65. <div class="title">资料</div>
  66. <div class="text">
  67. <p><img src="{$loan['imageUrl']}" style="width: 100%"></p>
  68. </div>
  69. </div>
  70. <div class="part border-bottom">
  71. <div class="title">合同</div>
  72. <div class="text">
  73. <p><img src="{$loan['contractImageUrl']}" style="width: 100%"></p>
  74. </div>
  75. </div>
  76. </div>
  77. <div class="tab-item">
  78. <div class="desc">
  79. <div class="box">
  80. <div class="title">投标记录</div>
  81. <div class="text">
  82. {empty name="cangList"}
  83. 暂无投资记录
  84. {else /}
  85. <table>
  86. <tr>
  87. <th>购买金额</th>
  88. <th>客户</th>
  89. <th>购买时间</th>
  90. </tr>
  91. {volist name="cangList" id="vo"}
  92. <tr>
  93. <td>{$vo['moneySubject']}</td>
  94. <td>{:mobileAsterisk($vo['user']['mobile'])}</td>
  95. <td>{$vo['addTime']}</td>
  96. </tr>
  97. {/volist}
  98. </table>
  99. {/empty}
  100. </div>
  101. </div>
  102. </div>
  103. <!--<table>
  104. <tr>
  105. <th>购买金额</th>
  106. <th>客户</th>
  107. <th>购买时间</th>
  108. </tr>
  109. <tr>
  110. <td>20,999.00</td>
  111. <td>159****2479</td>
  112. <td>2017-12-26 12:12:00</td>
  113. </tr>
  114. <tr>
  115. <td>20,999.00</td>
  116. <td>159****2479</td>
  117. <td>2017-12-26 12:12:00</td>
  118. </tr>
  119. <tr>
  120. <td>20,999.00</td>
  121. <td>159****2479</td>
  122. <td>2017-12-26 12:12:00</td>
  123. </tr>
  124. <tr>
  125. <td>20,999.00</td>
  126. <td>159****2479</td>
  127. <td>2017-12-26 12:12:00</td>
  128. </tr>
  129. <tr>
  130. <td>20,999.00</td>
  131. <td>159****2479</td>
  132. <td>2017-12-26 12:12:00</td>
  133. </tr>
  134. </table>-->
  135. </div>
  136. </div>
  137. </div>
  138. <script type="text/javascript">
  139. function GetParams(name){
  140. var reg = new RegExp("(^|&)"+ name +"=([^&]*)(&|$)");
  141. var r = window.location.search.substr(1).match(reg);
  142. if(r!=null) return unescape(r[2]);
  143. return "";
  144. }
  145. $(function(){
  146. var tabBtn=$("#container .tabs .tab");
  147. var tabItem=$(".main .tab-item");
  148. var index=0;
  149. function tabFun(index){
  150. tabBtn.eq(index).addClass("active").siblings().removeClass("active");
  151. tabItem.eq(index).addClass("active").siblings().removeClass("active");
  152. }
  153. if(GetParams("tab")){
  154. index=GetParams("tab")-1;
  155. tabFun(index);
  156. }
  157. tabBtn.on("tap",function(){
  158. index=$(this).index();
  159. tabFun(index);
  160. })
  161. })
  162. </script>
  163. </body>
  164. </html>