123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521 |
- <!DOCTYPE html>
- <html lang="zh-CN">
- <head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1">
- <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
- <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.5.0/dist/css/bootstrap.min.css" integrity="sha384-9aIt2nRpC12Uk9gS9baDl411NQApFmC26EwAOH8WgZl5MYYxFfc+NcPb1dKGj7Sk" crossorigin="anonymous">
- <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.3.0/font/bootstrap-icons.css">
- <link rel="stylesheet" type="text/css" href="/Public/Static/css/base2.css" />
- <link rel="stylesheet" type="text/css" href="/Public/Static/css/nologed.css" />
- <link rel="stylesheet" href="/Public/Static/Icoinfont/iconfont.css">
- <script src="/Public/Static/Icoinfont/iconfont.js"></script>
- <title>{$webname}</title>
- <style>
- ::-webkit-input-placeholder {color: #b5b5b5;font-size: 12px;}
- ::-moz-placeholder {color: #b5b5b5;font-size: 12px;}
- input:focus{background:#ebecf0;outline: 1px solid #ebecf0;}
- a:hover,a:link,a:visited,a:active{color:#707A8A;text-decoration:none;}
- .no_header{position: fixed;z-index: 9999;background:#fff;padding:0px 10px;top:0px;}
- .txtl{line-height:50px;width:10%;}
- .oreimgbox{width:100%;height:150px;margin-top:50px;}
- .oplist{width:100%;height:50px;background:rgb(0 55 114 / 25%);padding:0px 15px;}
- .listbox{height:50px;line-height:50px;float:left;}
- .emptybox{width:30px;height:50px;float:left;}
- .hsborder{border-bottom:3px solid #FCD535;}
- .btmbox{width:100%;height:60px;background:#f5f5f5;}
- .orebox{width:100%;margin:0px auto;background:#fff;margin-bottom:20px;box-shadow: 0 2px 10px 0 rgb(0 0 0 / 10%);padding: 10px;}
- .progress-bar{color: #000;background-color: #f3c420;}
- .progress{height:0.9rem;background-color: #f5f5f5;border-radius: .5rem;}
- .obbox{width:33.33%;height:80px;float:left;}
- .obbox_h{width:100%;height:40px;line-height:40px;}
- </style>
- </head>
- <body>
- <div class="container-fluid " style="padding:0px;width:100vw;">
- <div class="no_header">
- <div class="fl allhg txtl">
- <i class="bi bi-arrow-left fcc fw" onclick="goback()" style="font-size: 24px;"></i>
- </div>
- <div class="fl allhg" id="centerbox" style="width:80%;text-align:center;line-height:50px;">
- <span class="fcc fzmmm">{:L('质押挖矿')}</span>
- </div>
-
- <a href="{:U('Orepool/profitlist')}">
- <div class="fr allhg txtr" style="line-height:50px;width:10%;">
- <i class="bi bi-funnel fcy" style="font-size:20px;"></i>
- </div>
- </a>
- </div>
- <div class="oreimgbox" style="background-color: rgb(75 138 206 / 25%);">
- <!--<img src="/Upload/public/111.jpg" class="d-block w-100" style="height:150px;" />-->
- <div style="padding-top:20px; padding-left:20px;font-size:13px;color:#797d81;">{:L('正在托管的资金')}</div>
- <div style="padding-top:1px; padding-left:20px;font-size:30px;color:#797d81;"><b>{$num} USDT</b></div>
- </div>
- <div class="oplist">
- <div class="listbox hsborder" id="zlbtn">
- <span class="fzmm fcc" id="zlbtn_span" style="color:#fff;">{:L('总览')}</span>
- </div>
- <div class="emptybox"></div>
- <div class="listbox" id="dzbtn">
- <span class="fzmm fcc" id="dzbtn_span">{:L('优先质押')}</span>
- </div>
- <div class="emptybox"></div>
- <!--<div class="listbox" id="gxbtn">
- <span class="fzmm fcc" id="gxbtn_span">{:L('共享')}</span>
- </div>-->
- <div class="emptybox"></div>
- <div class="listbox" id="myorebtn">
- <span class="fzmm fcc" center="left" id="myorebtn_span">{:L('托管中订单')}</span>
- </div>
- </div>
- <!--全部矿机-->
- <div id="zlbox" style="width:100%;height:500px;background:#f5f5f5;padding:10px 0px;">
- <foreach name="alist" item="av">
- <div class="orebox">
- <div style="width:100%;height:120px;">
- <!--<div style="width:30%;height:120px;line-height: 120px;float:left;text-align: center;">
- <img src="/Upload/public/{$av.imgs}" style="width:100%;"/>
- </div>-->
- <div style="width:100%;height:120px;float:left;padding:5px;">
- <p class="fzmmm fcc fw" style="margin-bottom:2px;">{$av.title}</p>
- <p class="fzmm fcc" style="margin-bottom:2px;">{:L('上市时间')}:<?php echo date("Y-m-d",strtotime($av['addtime']));?></p>
- <p class="fzmm fcc" style="margin-bottom:2px;">{:L('产出币种')}:<?php echo strtoupper($av['outcoin']);?></p>
- <a href="{:U('Orepool/kjinfo')}?oid={$av.id}">
- <p class="fzmm fcc" style="margin-bottom:0px;text-align:right;">
- <span style="background: linear-gradient(to left,#eeb80d,#ffe35b);padding: 10px;border-radius: 5px;">{:L('立即购买')}</span>
- </p>
- </a>
- </div>
- </div>
- <div style="width:100%;">
- <div class="progress">
- <div class="progress-bar" role="progressbar" style="width:<?php echo ($av['ycnum'] + $av['sellnum']) / $av['allnum'] * 100;?>%;" aria-valuenow="<?php echo ($av['ycnum'] + $av['sellnum']) / $av['allnum'] * 100;?>" aria-valuemin="0" aria-valuemax="100"><?php echo ($av['ycnum'] + $av['sellnum']) / $av['allnum'] * 100;?>%</div>
- </div>
- </div>
- <div style="width:100%;height:80px;margin-top:15px;padding:0px 15px;">
- <div class="obbox" style="width:40%;">
- <div class="obbox_h">
- <span class="fzmm fcc">{:L('单笔限额')}</span>
- </div>
- <div class="obbox_h">
- <span class="fzmm fcc">{$av.di} ~ {$av.gao}</span>
- </div>
- </div>
-
- <div class="obbox" style="width:40%;">
- <div class="obbox_h" style="text-align:left;">
- <span class="fzmm fcc">{:L('日收益率')}</span>
- </div>
- <!-- <div class="obbox_h" style="text-align:right;">
- <if condition="$av.type eq 1">
- <span class="fzmmm fcy" style="font-weight:bold;">{:L('独资机型')}</span>
- <elseif condition="$av.type eq 2" />
- <span class="fzmmm fcy" style="font-weight:bold;">{:L('共享机型')}</span>
- </if>
- </div>-->
- <div class="obbox_h" style="text-align:left;">
- <span class="fzmm fcc"><!--<?php echo $av['dayoutnum'] / $av['pricenum'] * 100 ?> ~--> <?php echo $av['dayoutnum'] / $av['pricenum'] * 100 + 0.01 ?> %</span>
- </div>
- </div>
- <div class="obbox" style="width:20%;">
- <div class="obbox_h" style="text-align:right;">
- <span class="fzmm fcc">{:L('周期')}</span>
- </div>
- <div class="obbox_h" style="text-align:right;">
- <span class="fzmm fcc " style="font-weight:bold;">{$av.cycle} {:L('天')}</span>
-
- </div>
- </div>
- </div>
- </div>
- </foreach>
- <div class="btmbox"></div>
- </div>
-
- <!--独资矿机-->
- <div id="dzbox" style="width:100%;padding:10px 0px;display:none;">
-
- <foreach name="blist" item="bv">
- <div class="orebox">
- <div style="width:100%;height:120px;">
- <!-- <div style="width:30%;height:120px;line-height: 120px;float:left;text-align: center;">
- <img src="/Upload/public/{$bv.imgs}" style="width:100%;"/>
- </div>-->
- <div style="width:100%;height:120px;float:left;padding:5px;">
- <p class="fzmmm fcc fw" style="margin-bottom:2px;">{$bv.title}</p>
- <p class="fzmm fcc" style="margin-bottom:2px;">{:L('上市时间')}:<?php echo date("Y-m-d",strtotime($bv['addtime']));?></p>
- <p class="fzmm fcc" style="margin-bottom:2px;">{:L('产出币种')}:<?php echo strtoupper($bv['outcoin']);?></p>
- <a href="{:U('Orepool/kjinfo')}?oid={$bv.id}">
- <p class="fzmm fcc" style="margin-bottom:0px;text-align:right;" onclick="buykuangji({$bv.id})">
- <span style="background: linear-gradient(to left,#eeb80d,#ffe35b);padding: 10px;border-radius: 5px;">{:L('立即购买')}</span>
- </p>
- </a>
- </div>
- </div>
-
- <div style="width:100%;">
- <div class="progress">
- <div class="progress-bar" role="progressbar" style="width:<?php echo $bv['ycnum'] / $bv['allnum'] * 100;?>%;" aria-valuenow="<?php echo $bv['ycnum'] / $bv['allnum'] * 100;?>" aria-valuemin="0" aria-valuemax="100"><?php echo $bv['ycnum'] / $bv['allnum'] * 100;?>%</div>
- </div>
- </div>
- <div style="width:100%;height:80px;margin-top:15px;padding:0px 15px;">
- <div class="obbox" style="width:40%;">
- <div class="obbox_h">
- <span class="fzmm fcc">{:L('单笔限额')}</span>
- </div>
- <div class="obbox_h">
- <span class="fzmm fcc">{$bv.di} ~ {$bv.gao}</span>
- </div>
- </div>
- <div class="obbox" style="width:40%;">
- <div class="obbox_h" style="text-align:left;">
- <span class="fzmm fcc">{:L('日收益率')}</span>
-
- </div>
- <div class="obbox_h" style="text-align:left;">
- <span class="fzmm fcc"><!-- <?php echo round($bv['pricenum'] / $bv['cycle'],'2' ) ?> ~ --><?php echo round($bv['pricenum'] / $bv['cycle'],'2' ) + 0.01 ?> %</span>
- </div>
- </div>
- <div class="obbox" style="width:20%;">
- <div class="obbox_h" style="text-align:right;">
- <span class="fzmm fcc">{:L('周期')}</span>
- </div>
- <div class="obbox_h" style="text-align:right;">
- <span class="fzmm fcc" style="font-weight:bold;">{$bv.cycle} {:L('天')}</span>
- </div>
- </div>
- <!-- <div class="obbox" style="width:30%;">
- <div class="obbox_h" style="text-align:right;">
- <span class="fzmm fcc">{:L('矿机类型')}</span>
- </div>
- <div class="obbox_h" style="text-align:right;">
- <if condition="$bv.type eq 1">
- <span class="fzmmm fcy" style="font-weight:bold;">{:L('独资机型')}</span>
- <elseif condition="$bv.type eq 2" />
- <span class="fzmmm fcy" style="font-weight:bold;">{:L('共享机型')}</span>
- </if>
- </div>
- </div>-->
- </div>
- </div>
- </foreach>
-
- <div class="btmbox"></div>
- </div>
- <!--共享矿机-->
- <div id="gxbox" style="width:100%;height:500px;padding:10px 0px;display:none;">
-
- <foreach name="clist" item="cv">
- <div class="orebox">
- <div style="width:100%;height:120px;">
- <!--<div style="width:30%;height:120px;line-height: 120px;float:left;text-align: center;">
- <img src="/Upload/public/{$cv.imgs}" style="width:100%;"/>
- </div>-->
- <div style="width:100%;height:120px;float:left;padding:5px;">
- <p class="fzmmm fcc fw" style="margin-bottom:2px;">{$cv.title}</p>
- <!--<p class="fzmm fcc" style="margin-bottom:2px;">{:L('上市时间')}:<?php echo date("Y-m-d",strtotime($cv['addtime']));?></p>-->
- <p class="fzmm fcc" style="margin-bottom:2px;">{:L('产出币种')}:<?php echo strtoupper($cv['outcoin']);?></p>
- <a href="{:U('Orepool/kjinfo')}?oid={$cv.id}">
- <p class="fzmm fcc" style="margin-bottom:0px;text-align:right;" onclick="buykuangji({$cv.id})">
- <span style="background: linear-gradient(to left,#eeb80d,#ffe35b);padding: 10px;border-radius: 5px;">{:L('立即购买')}</span>
- </p>
- </a>
- </div>
- </div>
- <div style="width:100%;">
- <div class="progress">
- <div class="progress-bar" role="progressbar" style="width:<?php echo $cv['ycnum'] / $cv['allnum'] * 100;?>%;" aria-valuenow="<?php echo $cv['ycnum'] / $cv['allnum'] * 100;?>" aria-valuemin="0" aria-valuemax="100"><?php echo $cv['ycnum'] / $cv['allnum'] * 100;?>%</div>
- </div>
- </div>
- <div style="width:100%;height:80px;margin-top:15px;padding:0px 15px;">
- <div class="obbox" style="width:40%;">
- <div class="obbox_h">
- <span class="fzmm fcc">{:L('单笔限额')}</span>
- </div>
- <div class="obbox_h">
- <span class="fzmm fcc">{$cv.di} ~ {$cv.gao}</span>
- </div>
- </div>
- <div class="obbox" style="width:40%;">
- <div class="obbox_h" style="text-align:left;">
- <span class="fzmm fcc">{:L('日收益率')}</span>
-
- </div>
- <div class="obbox_h" style="text-align:left;">
- <span class="fzmm fcc"><!--<?php echo round($bv['pricenum'] / $bv['cycle'],'2' ) ?> ~--> <?php echo round($bv['pricenum'] / $bv['cycle'],'2' ) + 0.01 ?> %</span>
- </div>
- </div>
- <div class="obbox" style="width:20%;">
- <div class="obbox_h" style="text-align:right;">
- <span class="fzmm fcc">{:L('周期')}</span>
- </div>
- <div class="obbox_h" style="text-align:right;">
- <span class="fzmm fcc " style="font-weight:bold;">{$bv.cycle} {:L('天')}</span>
-
- </div>
- </div>
- <!--<div class="obbox" style="width:30%;">
- <div class="obbox_h" style="text-align:right;">
- <span class="fzmm fcc">{:L('矿机类型')}</span>
- </div>
- <div class="obbox_h" style="text-align:right;">
- <if condition="$cv.type eq 1">
- <span class="fzmmm fcy" style="font-weight:bold;">{:L('独资机型')}</span>
- <elseif condition="$cv.type eq 2" />
- <span class="fzmmm fcy" style="font-weight:bold;">{:L('共享机型')}</span>
- </if>
- </div>
- </div>-->
- </div>
- </div>
- </foreach>
-
- <div class="btmbox"></div>
- </div>
- <!--我的矿机-->
- <div id="myorebox" style="width:100%;height:500px;padding:10px 0px;display:none;">
- <empty name="mylist">
- <div class="orebox">
- <div style="width:100%;height:120px;line-height:120px;text-align:center;">
- <span class="fzmm fcc">{:L('暂时没有矿机')}</span>
- </div>
- </div>
- <else />
- <foreach name="mylist" item="myvo">
- <a href="{:U('Orepool/profitline')}?id={$myvo.id}">
- <div class="orebox">
- <div style="width:100%;height:120px;">
- <!--<div style="width:30%;height:120px;line-height: 120px;float:left;text-align: center;">
- <img src="/Upload/public/{$myvo.imgs}" style="width:100%;"/>
- </div>-->
- <div style="width:100%;height:120px;float:left;padding:5px;">
- <p class="fzmmm fcc fw" style="margin-bottom:2px;">{$myvo.kjtitle}</p>
- <p class="fzmm fcc" style="margin-bottom:2px;">{:L('购买时间')}:<?php echo date("Y-m-d",strtotime($myvo['addtime']));?></p>
- <p class="fzmm fcc" style="margin-bottom:2px;">{:L('到期时间')}:<?php echo date("Y-m-d",strtotime($myvo['endtime']));?></p>
- <p class="fzmm fcc" style="margin-bottom:2px;">{:L('金额')} : {$myvo.ordernum}usdt</p>
- <if condition="$myvo.status eq 1">
- <p class="fzmm fcc" style="margin-bottom:0px;text-align:right;margin-top: 5px;">
- <span style="background:#0ecb81;padding:5px 10px;border-radius: 5px;color:#fff;">{:L('正常')}</span>
- </p>
- <elseif condition="$myvo.status eq 2" />
- <p class="fzmm fcc" style="margin-bottom:0px;text-align:right;margin-top: 5px;">
- <span style="background:#f5465c;padding:5px 10px;border-radius: 5px;color:#fff;">{:L('停止')}</span>
- </p>
- <elseif condition="$myvo.status eq 3" />
- <p class="fzmm fcc" style="margin-bottom:0px;text-align:right;margin-top: 5px;">
- <span style="background:#f5465c;padding:5px 10px;border-radius: 5px;color:#fff;">{:L('过期')}</span>
- </p>
- </if>
- </div>
- </div>
- <div style="width:100%;height:80px;margin-top:15px;padding:0px 15px;">
- <div class="obbox" style="width:30%;">
- <div class="obbox_h">
- <span class="fzmm fcc">{:L('产出币种')}</span>
- </div>
- <div class="obbox_h">
- <span class="fzmm fcc"><?php echo strtoupper($myvo['outcoin']);?></span>
- </div>
- </div>
- <div class="obbox" style="width:30%;">
- <div class="obbox_h" style="text-align:center;">
- <span class="fzmm fcc">{:L('收益类型')}</span>
- </div>
- <div class="obbox_h" style="text-align:center;">
- <if condition="$myvo.outtype eq 1">
- <span class="fzmm fcc">{:L('按产值')}</span>
- <elseif condition="$myvo.outtype eq 2" />
- <span class="fzmm fcc">{:L('恒定币量')}</span>
- </if>
- </div>
- </div>
- <if condition="$myvo.outtype eq 1">
- <div class="obbox" style="width:40%;">
- <div class="obbox_h" style="text-align:right;">
- <span class="fzmm fcc">{:L('日产值')}</span>
- </div>
- <div class="obbox_h" style="text-align:right;">
- <span class="fzmm fcc">{$myvo.outusdt} USDT</span>
- </div>
- </div>
- <elseif condition="$myvo.outtype eq 2" />
- <div class="obbox" style="width:40%;">
- <div class="obbox_h" style="text-align:right;">
- <span class="fzmm fcc">{:L('日产币量')}</span>
- </div>
- <div class="obbox_h" style="text-align:right;">
- <span class="fzmm fcc">{$myvo.outnum} <?php echo strtoupper($myvo['outcoin']);?></span>
- </div>
- </div>
- </if>
- </div>
- </div>
- </a>
- </foreach>
- </empty>
-
- <div class="btmbox"></div>
- </div>
- </div>
-
- <!--底部-->
- <div class="footer">
- <a href="{:U('Index/index')}">
- <div class="footer_op">
- <div class="f_op_t">
-
- <span class="iconfont icon-shouye" style="font-size:22px;"></span>
- </div>
- <div class="f_op_b">
- <span class="fzm fcc">{:L('首页')}</span>
- </div>
- </div>
- </a>
- <a href="{:U('Trade/index')}">
- <div class="footer_op">
- <div class="f_op_t" style="line-height:35px;">
- <span class="iconfont icon-fukuan" style="font-size:22px;"></span>
- </div>
- <div class="f_op_b">
- <span class="fzm fcc">{:L('交易')}</span>
- </div>
- </div>
- </a>
- <a href="{:U('Orepool/index')}">
- <div class="footer_op">
- <div class="f_op_t" style="line-height:35px;">
- <svg class="icon fticon" aria-hidden="true"><use xlink:href="#icon-ziyuan14"></use></svg>
- </div>
- <div class="f_op_b">
- <span class="fzm fcy">{:L('矿机')}</span>
- </div>
- </div>
- </a>
- <a href="{:U('Levertade/index')}">
- <div class="footer_op">
- <div class="f_op_t" style="line-height:35px;">
- <span class="iconfont icon-xuanxiang" style="font-size:22px;"></span>
- </div>
- <div class="f_op_b">
- <span class="fzm fcc">{:L('合约')}</span>
- </div>
- </div>
- </a>
-
- <a href="{:U('User/index')}">
- <div class="footer_op">
- <div class="f_op_t" style="line-height:35px;">
- <span class="iconfont icon-ziyuan24" style="font-size:22px;"></span>
- </div>
- <div class="f_op_b">
- <span class="fzm fcc">{:L('资产')}</span>
- </div>
- </div>
- </a>
- </div>
- </body>
- <script src="https://cdn.staticfile.org/jquery/2.1.1/jquery.min.js"></script>
- <script type="text/javascript" src="/Public/Static/js/layer/layer.js" ></script>
- <script type="text/javascript">
- $("#zlbtn").click(function(){
- $("#zlbtn").addClass("hsborder");
- $("#zlbtn_span").css("color","#fff");
- $("#zlbox").show();
- $("#dzbtn").removeClass("hsborder");
- $("#dzbtn_span").css("color","#707A8A");
- $("#dzbox").hide();
- $("#gxbtn").removeClass("hsborder");
- $("#gxbtn_span").css("color","#707A8A");
- $("#gxbox").hide();
- $("#myorebtn").removeClass("hsborder");
- $("#myorebtn_span").css("color","#707A8A");
- $("#myorebox").hide();
- });
- $("#dzbtn").click(function(){
- $("#dzbtn").addClass("hsborder");
- $("#dzbtn_span").css("color","#fff");
- $("#zlbox").hide();
- $("#zlbtn").removeClass("hsborder");
- $("#zlbtn_span").css("color","#707A8A");
- $("#dzbox").show();
- $("#gxbtn").removeClass("hsborder");
- $("#gxbtn_span").css("color","#707A8A");
- $("#gxbox").hide();
- $("#myorebtn").removeClass("hsborder");
- $("#myorebtn_span").css("color","#707A8A");
- $("#myorebox").hide();
- });
- $("#gxbtn").click(function(){
- $("#dzbtn").removeClass("hsborder");
- $("#dzbtn_span").css("color","#707A8A");
- $("#zlbox").hide();
- $("#zlbtn").removeClass("hsborder");
- $("#zlbtn_span").css("color","#707A8A");
- $("#dzbox").hide();
- $("#gxbtn").addClass("hsborder");
- $("#gxbtn_span").css("color","#fff");
- $("#gxbox").show();
- $("#myorebtn").removeClass("hsborder");
- $("#myorebtn_span").css("color","#707A8A");
- $("#myorebox").hide();
- });
- $("#myorebtn").click(function(){
- $("#dzbtn").removeClass("hsborder");
- $("#dzbtn_span").css("color","#707A8A");
- $("#zlbox").hide();
- $("#zlbtn").removeClass("hsborder");
- $("#zlbtn_span").css("color","#707A8A");
- $("#dzbox").hide();
- $("#gxbtn").removeClass("hsborder");
- $("#gxbtn_span").css("color","#707A8A");
- $("#gxbox").hide();
- $("#myorebtn").addClass("hsborder");
- $("#myorebtn_span").css("color","#fff");
- $("#myorebox").show();
- });
- </script>
- <script type="text/javascript">
- function goback(){
- window.history.go(-1);
- }
- </script>
- </html>
|