index.html 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127
  1. <extend name="Public:pinduoduobase" />
  2. <block name="content">
  3. <link rel="stylesheet" href="__PUBLIC__/pinduoduo/assets/css/bonus_bonusIndex-9810a4839d.css">
  4. <link rel="stylesheet" href="https://res.wx.qq.com/open/libs/weui/0.4.2/weui.min.css"/>
  5. <div class="text">
  6. <div class="arrow_mask"></div>
  7. <div class="pending_confirmation">
  8. <ul>
  9. <li>
  10. <div class="header">
  11. <div>今日收入(元)</div>
  12. <div class="bill"><a href="{:U('Sharebonus/listorder')}"><span class="bill_text">账单</span>
  13. <img class="arrow_img" src="__PUBLIC__/image/arrow-aa73bc1779.png" alt=""></a></div>
  14. </div>
  15. </li>
  16. <li class="mengtuan_earn">
  17. <div>{$today_commiss}</div>
  18. </li>
  19. <li>
  20. <div class="header_bottom">
  21. <div class="header_month_income">
  22. <div class="month_income">本月收入(元)</div>
  23. <div class="income_data_mes">{$month_commiss}</div>
  24. </div>
  25. <div></div>
  26. <div class="header_total_revenue">
  27. <div class="total_revenue">累计收入(元)</div>
  28. <div class="income_data_mes">{$total_commiss}</div>
  29. </div>
  30. </div>
  31. </li>
  32. <li>
  33. <div class="body_top">
  34. <div>
  35. <div class="money_text">待确认收入(元)
  36. &nbsp;<a href="{:U('Sharebonus/listorder', array('state' => 0))}" style="color:#000;">订单明细</a>
  37. </div>
  38. <div class="data">{$total_wait_commiss}</div>
  39. </div>
  40. <div class="shou_dialog">
  41. <img src="__PUBLIC__/image/btn_question-869f7b1576.png" class="question1" alt="">
  42. <div class="arrow">此金额在购买团员收到货并超过7天维权期后,即可成为可提现金额</div>
  43. </div>
  44. </div>
  45. </li>
  46. <div class="blank_line1"></div>
  47. <li>
  48. <div class="body_bottom" >
  49. <div>
  50. <div class="money_text">可提现金额(元)
  51. &nbsp;<a href="{:U('Sharebonus/listorder', array('state' => 1))}" style="color:#000;">订单明细</a>
  52. &nbsp;|&nbsp;<a href="{:U('Sharebonus/tixian')}" style="color:#000;">提现记录</a>
  53. </div>
  54. <div class="data">{$can_tixian_money}</div>
  55. </div>
  56. <div class="shou_dialog1">
  57. <img src="__PUBLIC__/image/btn_question-869f7b1576.png" class="question2" alt="">
  58. <div class="arrow2">收入已进账,正式团长能够直接提现哦!</div>
  59. </div>
  60. <div></div>
  61. </div>
  62. </li>
  63. <div class="blank_line2"></div>
  64. </ul>
  65. </div>
  66. <div id="toast" style="display: none;">
  67. <div class="weui_mask_transparent"></div>
  68. <div class="weui_toast">
  69. <i class="weui_icon_toast"></i>
  70. <p class="weui_toast_content">申请成功</p>
  71. </div>
  72. </form>
  73. </div>
  74. <?php if($comsiss_flag == 1){ ?>
  75. <footer>
  76. <div class="footer_bonus">
  77. <div class="btn_mes">
  78. <a href="{:U('Sharebonus/tixian')}">
  79. <input type="button" class="withdrawals" value="佣金提现">
  80. </a>
  81. </div>
  82. <div class="money_record"></div>
  83. </div>
  84. </footer>
  85. <?php }?>
  86. <footer>
  87. <div class="footer_bonus">
  88. <div class="money_record"></div>
  89. </div>
  90. </footer>
  91. </div>
  92. <script>
  93. var can_sub = true;
  94. $(function(){
  95. $('#btn2').click(function(){
  96. if(!can_sub)
  97. {
  98. return false;
  99. }
  100. can_sub = false;
  101. $('#btn2').val('申请中....');
  102. $.ajax({
  103. url:"{:U('Sharebonus/apply')}",
  104. type:'get',
  105. dataType:'json',
  106. success:function(ret){
  107. if(ret.code == 1)
  108. {
  109. $('#toast').show();
  110. setTimeout(function () {
  111. $('#toast').hide();
  112. }, 2500);
  113. } else {
  114. alert(ret.msg);
  115. }
  116. }
  117. });
  118. });
  119. })
  120. </script>
  121. </block>