Skip to content
  • P
    Projects
  • G
    Groups
  • S
    Snippets
  • Help

libai / footsen

  • This project
    • Loading...
  • Sign in
Go to a project
  • Project
  • Repository
  • Issues 0
  • Merge Requests 0
  • Pipelines
  • Wiki
  • Snippets
  • Members
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Branches
  • Tags
  • Contributors
  • Graph
  • Compare
  • Charts
Switch branch/tag
  • footsen
  • footseen
  • Nesting
  • fireflyRmb
  • wxCash.html
Find file
BlameHistoryPermalink
  • dabai's avatar
    footseen h5 移植 · 6161a8cd
    dabai committed 4 years ago
    6161a8cd
wxCash.html 8.34 KB
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta charset="utf-8" />
  <meta name="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no"/>
  <meta name="apple-mobile-web-app-capable" content="yes">
  <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
  <meta content="telephone=no" name="format-detection">
  <meta name="wap-font-scale" content="no">
  <title>可提现萤火</title>
  <link rel="stylesheet" href="css/reset.css">
  <link rel="stylesheet" href="layer-v3.1.0/layer.css">
  <link rel="stylesheet" href="css/index.css?v=932587">
  <link rel="stylesheet" href="css/indexLi.css?v='2312312412323'">
  <script type="text/javascript" src="js/fsize.js"></script>
  <style>
    .layui-layer-setwin .layui-layer-close2 {
      display: none !important;
    }

    .layui-layer-page .layui-layer-content {
      border-radius: 0.4rem !important;
    }

    .yourclass2 {
      border-radius: 0.4rem !important;
    }
  </style>
</head>
<body style="background: #171717">
<div class="wxCash">
  <img class="w-icon" src="img/w-icon.png?v='20181123'" alt="">
  <div class="welcome">
    hi,<strong class="name">--</strong>(<span class="uid">--</span>)
  </div>
  <div class="banner">
    <div class="left">
      <img class="icon" src="img/filefly.png" alt="">
      <div class="fire-num num">0</div>
      <div class="txt">可提現螢火(稅後)</div>
    </div>
    <div class="right">
      <img class="icon" src="img/wx-icon1.png" alt="">
      <div class="sy-num num">0</div>
      <div class="txt">可提现收益</div>
    </div>
    <p class="note">可提現螢火詳情請前往APP-我的-螢火提現中查詢</p>
    <!-- <div class="right">
      <img class="icon" src="img/wx-icon1.png" alt="">
      <div class="sy-num num">0</div>
      <div class="txt">可提现收益</div>
    </div>
    <div class="line"></div> -->
  </div>
  <!-- <ul class="list">
    <li class="item">
      <div class="left">
        <img class="icon" src="img/can-icon1.png" alt="">
        <span class="txt">未提現禮物分成</span>
      </div>
      <div class="right">
        <img class="filefly" src="img/filefly.png" alt="">
        <span class="num"><span class="score normal">0</span>/<span class="normal-r">0</span></span>
        <span class="rmb bicon">¥</span>
      </div>
      <div class="clearfix"></div>
    </li>
    <li class="item">
      <div class="left">
        <img class="icon" src="img/can-icon2.png" alt="">
        <span class="txt">家族獎勵</span>
      </div>
      <div class="right">
        <img class="filefly" src="img/filefly.png" alt="">
        <span class="num"><span class="score elite">0</span>/<span class="elite-r">0</span></span>
        <span class="rmb bicon">¥</span>
        <img class="can-jt" src="img/can-jt.png" alt="">
      </div>
      <div class="clearfix"></div>
    </li>
    <li class="item">
      <div class="left">
        <img class="icon" src="img/can-icon3.png" alt="">
        <span class="txt">平台補助</span>
      </div>
      <div class="right">
        <img class="filefly" src="img/filefly.png" alt="">
        <span class="num"><span class="score subsidy">0</span>/<span class="subsidy-r">0</span></span>
        <span class="rmb bicon">¥</span>
        <img class="can-jt" src="img/can-jt.png" alt="">
      </div>
      <div class="clearfix"></div>
    </li>
    <li class="item">
      <div class="left">
        <img class="icon" src="img/can-icon4.png" alt="">
        <span class="txt">活動獎勵</span>
      </div>
      <div class="right">
        <img class="filefly" src="img/filefly.png" alt="">
        <span class="num"><span class="score activity">0</span>/<span class="activity-r">0</span></span>
        <span class="rmb bicon">¥</span>
        <img class="can-jt" src="img/can-jt.png" alt="">
      </div>
      <div class="clearfix"></div>
    </li>
    <li class="item family-li">
      <div class="left">
        <img class="icon" src="img/can-icon5.png" alt="">
        <span class="txt">家族長收益</span>
      </div>
      <div class="right">
        <img class="filefly" src="img/filefly.png" alt="">
        <span class="num"><span class="score family">0</span>/<span class="family-r">0</span></span>
        <span class="rmb bicon">¥</span>
        <img class="can-jt" src="img/can-jt.png" alt="">
      </div>
      <div class="clearfix"></div>
    </li>
  </ul> -->
  <div class="get-btn">全部提現</div>
  <div class="no-info"></div>
</div>
<div class="takeOut-layer">
  <h2>微信提現說明</h2>
  <p><span class="color-ysh">一,</span>10000螢火=100人民幣。</p>
  <p><span class="color-ysh">二,</span>可提現金額最低為¥100,且必須為100的整數,單日單筆提現金額最高20000元人民幣。選擇全部提現后,會自動算出可提現的最大值。</p>
  <p><span class="color-ysh">三,</span>提現后,一般3-7個工作日內以紅包形式發放。</p>
  <p><span class="color-ysh">四,</span>稅後可提現螢火=稅前可提現螢火*97%。</p>
  <p><span class="color-ysh">五,</span>可提現螢火詳情請前往APP-我的-螢火體現中查詢。</p>
  <div class="takeOut-layer-btn">知道了</div>
</div>
</body>
<script type="text/javascript" src="js/jquery-3.2.1.min.js"></script>
<script type="text/javascript" src="layer-v3.1.0/layer/layer.js"></script>
<script type="text/javascript">
  var bbb = location.href;
  var data = url_get_params(bbb)
  var openId = data.openId;
//  $ip = "http://ceshi.yabolive.tv/web";
  $ip = "https://webserver.yabolive.net";
  function url_get_params(url_path) {
    var url = url_path;
    var theRequest = new Object();
    if (url.indexOf("?") != -1) {
      var str = url.substr(url.indexOf("?") + 1);
      strs = str.split("&");
      for (var i = 0; i < strs.length; i++) {
        theRequest[strs[i].split("=")[0]] = unescape(strs[i].split("=")[1]);
      }
    }
    return theRequest;
  }
  $(".w-icon").on("click", function () {
    layer.open({
      type: 1,
      title: false,
      shadeClose: false,
      skin: 'yourclass2',
      area: ['7.2rem', '10rem'],
      content: $(".takeOut-layer"),
    });
  })
  $(".takeOut-layer-btn").on("click", function () {
    layer.closeAll()
  })
  var uid = '';
  $.ajax({
    url: $ip + '/wechat/fireFlyShow.html',
    type: 'POST',
    dataType: 'json',
    data: {
      openId: openId,
      os: 'WEB',
      lang: '2',
      cid: 'web_gw'
    },
    success: function (res) {
      uid = res.uid;
      if(res.isfamliy != 1) {
        $(".family-li").hide();
      }else {
        $(".family-li").show();
      }
      if (res.code < 0){
        $(".no-info").html(res.msg);
        $(".welcome").html(res.msg);
        $(".no-info").show();
      }
      $(".name").text(res.name);
      $(".uid").text(res.uid);
      $(".fire-num").text((res.amount).toFixed(2));
      $(".sy-num").text((Math.floor(res.amount/10000) * 100).toFixed(2));
      // $(".normal").text(res.normal);       //未提现礼物分成
      // $(".normal-r").text((res.normal/100).toFixed(2));
      // $(".elite").text(res.elite);        //家族奖励
      // $(".elite-r").text((res.elite/100).toFixed(2)); 
      // $(".subsidy").text(res.subsidy);        //平台补助
      // $(".subsidy-r").text((res.subsidy/100).toFixed(2)); 
      // $(".activity").text(res.activity);        //活动奖励
      // $(".activity-r").text((res.activity/100).toFixed(2)); 
      // $(".family").text(res.family);        //家族长收益
      // $(".family-r").text((res.family/100).toFixed(2)); 
    },
    error: function () {

    }
  });
  var times;
  $(".get-btn").click(function () {
    clearTimeout(times);
    layer.confirm('您确定全部提现吗?', {
      btn: ['确定','取消'] //按钮
    }, function(){
      $.ajax({
        url: $ip + '/wechat/fireFlyTx.html',
        type: 'POST',
        dataType: 'json',
        data: {
          uid: uid,
          os: 'WEB',
          lang: '2',
          cid: 'web_gw'
        },
        success: function (res) {
          if (res.code == 1) {
            if(res.successMsg!=undefined) layer.msg(res.successMsg);
            else layer.msg("提现成功!");
          }else {
            layer.msg(res.msg);
          }
          times = setTimeout(function () {
            window.location.reload();
          },2000);
        },
        error: function () {

        }
      });
    });
  });
</script>
</html>