123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854 |
- <!DOCTYPE html>
- <html lang="zh-CN">
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <meta name="viewport" content="width=device-width,minimum-scale=1,maximum-scale=1.0,initial-scale=1,user-scalable=no,viewport-fit=true" data-shuvi-head="true">
- <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/Home/static/css/base.css" />
- <title>{$webname}</title>
- <style>
- .css-1wr4jig {
- box-sizing: border-box;
- margin: 0;
- min-width: 0;
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-flex-direction: column;
- -ms-flex-direction: column;
- flex-direction: column;
- -webkit-flex: 1;
- -ms-flex: 1;
- flex: 1;
- }
- .css-wp2li4 {
- box-sizing: border-box;
- margin: 0;
- min-width: 0;
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- overflow-x: hidden;
- -webkit-flex-direction: column;
- -ms-flex-direction: column;
- flex-direction: column;
- }
- .css-19zx9ks {
- box-sizing: border-box;
- margin: 0;
- min-width: 0;
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-align-items: center;
- -webkit-box-align: center;
- -ms-flex-align: center;
- align-items: center;
- height: 48px;
- font-size: 12px;
- color: #474D57;
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- min-height: 48px;
- height: -webkit-fit-content;
- height: -moz-fit-content;
- height: fit-content;
- -webkit-flex-wrap: wrap;
- -ms-flex-wrap: wrap;
- flex-wrap: wrap;
- z-index: 99;
- padding-top: 16px;
- padding-bottom: 10px;
- padding-left: 17%;
- padding-right: 17%;
- line-height: 1.25;
- box-shadow: 0px 2px 4px rgb(0 0 0 / 4%);
- }
- .css-o4bcl2 {
- box-sizing: border-box;
- margin: 0;
- min-width: 0;
- color: #F0B90B;
- -webkit-text-decoration: none;
- text-decoration: none;
- color: #707A8A;
- }
- .css-19zx9ks a {
- -webkit-flex-wrap: nowrap;
- -ms-flex-wrap: nowrap;
- flex-wrap: nowrap;
- -webkit-flex-shrink: 0;
- -ms-flex-negative: 0;
- flex-shrink: 0;
- margin-bottom: 6px;
- }
- .css-19zx9ks a:hover {
- color: #C99400;
- -webkit-text-decoration: underline;
- text-decoration: underline;
- }
- .css-wl17qh {
- box-sizing: border-box;
- margin: 100%px;
- min-width: 0px;
- display: flex;
- height: fit-content;
- min-height: 349px;
- }
- .css-1s5qj1n {
- box-sizing: border-box;
- margin: 0;
- min-width: 0;
- position: relative;
- margin-bottom: 32px;
- padding-top: 40px;
- padding-right: 24px;
- padding-left: 17%;
- width: 69%;
- }
- .css-101kg5g {
- box-sizing: border-box;
- margin: 0;
- min-width: 0;
- font-size: 40px;
- color: #1E2329;
- font-weight: 700;
- }
- .css-vurnku {
- box-sizing: border-box;
- margin: 0;
- min-width: 0;
- }
- .css-wmvdm0 {
- box-sizing: border-box;
- margin: 0;
- min-width: 0;
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-align-items: center;
- -webkit-box-align: center;
- -ms-flex-align: center;
- align-items: center;
- margin-top: 44px;
- margin-bottom: 11px;
- }
- .css-ktxhrn {
- box-sizing: border-box;
- margin: 0;
- min-width: 0;
- margin-bottom: 32px;
- }
- .css-qinc3w {
- box-sizing: border-box;
- margin: 0;
- min-width: 0;
- color: #F0B90B;
- display: block;
- margin-bottom: 16px;
- width: -webkit-fit-content;
- width: -moz-fit-content;
- width: fit-content;
- max-width: 100%;
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
- color: #474D57;
- font-size: 14px;
- -webkit-text-decoration: none;
- text-decoration: none;
- }
- .css-6f91y1 {
- box-sizing: border-box;
- margin: 0;
- min-width: 0;
- margin-left: 48px;
- }
- .css-qinc3w:hover {
- color: #C99400;
- -webkit-text-decoration: underline;
- text-decoration: underline;
- }
- .css-ogtd7z {
- box-sizing: border-box;
- margin: 0;
- min-width: 0;
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-transition: all 1s;
- transition: all 1s;
- -webkit-box-pack: center;
- -webkit-justify-content: center;
- -ms-flex-pack: center;
- justify-content: center;
- background-color: #FEF1F2;
- }
- .css-jrzkh7 {
- box-sizing: border-box;
- margin: 0;
- min-width: 0;
- background-color: #181A20;
- }
- .css-1aac2e {
- box-sizing: border-box;
- margin: 0;
- min-width: 0;
- margin-left: auto;
- margin-right: auto;
- padding-left: 24px;
- padding-right: 24px;
- max-width: 1248px;
- background-color: #FEF1F2;
- }
- .css-pnjgxq {
- box-sizing: border-box;
- margin: 0;
- min-width: 0;
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-flex-direction: column;
- -ms-flex-direction: column;
- flex-direction: column;
- -webkit-align-items: center;
- -webkit-box-align: center;
- -ms-flex-align: center;
- align-items: center;
- height: 219px;
- background-color: #181A20;
- }
- .css-163lzuo {
- box-sizing: border-box;
- margin: 0;
- min-width: 0;
- margin-top: 24px;
- margin-bottom: 24px;
- font-weight: 700;
- font-size: 36px;
- color: #EAECEF;
- }
- .css-8pdsjp {
- box-sizing: border-box;
- margin: 0;
- min-width: 0;
- display: -webkit-inline-box;
- display: -webkit-inline-flex;
- display: -ms-inline-flexbox;
- display: inline-flex;
- position: relative;
- height: 32px;
- margin-top: 4px;
- margin-bottom: 0px;
- -webkit-align-items: center;
- -webkit-box-align: center;
- -ms-flex-align: center;
- align-items: center;
- line-height: 1.6;
- border: 1px solid transparent;
- border-color: #EAECEF;
- border-radius: 4px;
- margin-top: 0;
- margin-bottom: 0;
- width: 327px;
- height: 32px;
- padding-left: 11px;
- padding-right: 6px;
- border-radius: 4px;
- background-color: #2B3139;
- border: none;
- }
- .css-8pdsjp {
- width: 610px;
- height: 48px;
- padding-left: 16px;
- padding-right: 12.5px;
- }
- .css-16fg16t {
- box-sizing: border-box;
- margin: 0;
- min-width: 0;
- width: 100%;
- height: 100%;
- padding: 0;
- outline: none;
- border: none;
- background-color: inherit;
- opacity: 1;
- }
- .css-8pdsjp input {
- color: #1E2329;
- font-size: 14px;
- padding-left: 8px;
- padding-right: 8px;
- }
- .css-8pdsjp input {
- padding-left: 0;
- font-size: 12px;
- color: #EAECEF;
- border-radius: 10px;
- }
- .css-8pdsjp .bn-input-suffix {
- -webkit-flex-shrink: 0;
- -ms-flex-negative: 0;
- flex-shrink: 0;
- margin-left: 4px;
- margin-right: 4px;
- font-size: 14px;
- }
- .css-1qppfsi {
- box-sizing: border-box;
- margin: 0;
- min-width: 0;
- color: #EAECEF;
- width: 24px;
- height: 24px;
- font-size: 24px;
- fill: #1E2329;
- fill: #EAECEF;
- width: 1em;
- height: 1em;
- vertical-align: bottom;
- }
- ::-webkit-input-placeholder { /* WebKit browsers */
- color: #474d57;
- font-size: 14px;
- }
-
- ::-moz-placeholder { /* Mozilla Firefox 19+ */
- color: #474d57;
- font-size: 14px;
- }
- input:focus{background:#2B3139;outline: 1px solid #2B3139;}
- .klinebox{width:100%;height:550px;margin-top:55px;}
- .klinetitle{width:100%;height:80px;background:#fff;padding:0px 20px;}
- .klinetitle_l{width:45%;height:80px;float:left;}
- .klinetitle_r{width:55%;height:80px;float:left;}
- .newpricebox{height:40px;line-height:60px;margin-bottom:0px;color:#2ebd85;font-size:22px;font-weight:bold;}
- .changebox{height:40px;line-height:40px;margin-bottom:0px;color:#2ebd85;font-weight:bold;}
- .klr3_box{width:100%;height:30px;}
- .klr2_box{width:100%;height:25px;}
- .klr3_box_dl{width:45%;height:30px;line-height:40px;float:left;text-align:left;}
- .klr3_box_dr{width:55%;height:30px;line-height:40px;float:right;text-align:right;}
- .klr2_box_dl{width:45%;height:25px;line-height:25px;float:left;text-align:left;}
- .klr2_box_dr{width:55%;height:25px;line-height:25px;float:right;text-align:right;}
- .dongbox{position:fixed;z-index:9999;display:none;top:0px;width:100%;height:100vh;background:rgba(0,0,0,0.2);}
- .dong_con{width:30%;height:86vh;background:#fff;margin-top:80px;border-top-right-radius:20px;border-bottom-right-radius:20px;padding:20px 15px 10px 20px;float:left;}
- .dong_title{width:100%;height:40px;line-height:40px;}
- .dong_title_span{font-size:18px;font-weight:500;}
- .dong_find_box{width:100%;height:30px;background:#f5f5f5;border-radius:10px;}
- .dong_find_box_img{width:20%;height:30px;line-height:30px;float:left;text-align:center;}
- .dong_input_box{width:80%;height:30px;float:left;}
- .dong_symbox{width:90%;height:20px;border:none;background:#f5f5f5;margin-top:5px;}
- .dong_sel_box{width:100%;height:30px;border-bottom:1px solid #f5f5f5;}
- .dong_sel_span{display:block;width:35px;height:30px;line-height:30px;border-bottom:2px solid #FCD535;font-size:14px;text-align:center;font-size:14px;}
- .symbol_list{width:100%;height:450px;overflow-y: scroll;margin-top:10px;}
- .sy_list_box{width:100%;height:30px;}
- .sy_list_boxl{width:35%;height:30px;line-height:30px;float:left;text-align:left;}
- .sy_list_boxr{width:30%;height:30px;line-height:30px;float:right;text-align:right;}
- .btnbox{width:100%;height:60px;padding:10px 20px;}
- .btnbox_l{width:45%;height:40px;line-height:40px;float:left;text-align:center;border-radius:10px;background:#0ecb81;}
- .btnbox_r{width:45%;height:40px;line-height:40px;float:right;text-align:center;border-radius:10px;background:#f5465c;}
- .dong_order_c{width:100%;height:550px;background:#fff;margin:0;padding:0px 10px;}
- .dong_order_x{width:100%;height:20px;line-height:20px;text-align:right;}
- .dong_order_title{width:100%;height:30px;line-height:20px;text-align:center;border-bottom: 1px solid #f5f5f5;}
- .dong_order_option{width:100%;height:110px;;overflow: hidden;overflow-x: scroll;margin-top:5px;}
- .dong_order_option_list{width:100px;height:80px;background:#f5f5f5;float:left;margin-right:10px;border-radius:10px;padding:5px;cursor: pointer;}
- .option_list_active{border:1px solid #FCD535;}
- .dong_order_p{width:100%;margin-bottom: 5px;margin-top:5px;padding-left:5px;}
- .dong_money_list{width:100%;height:60px;}
- .dong_money_list_box{width:70%;height:60px;float:left;overflow: hidden;cursor: pointer;}
- .dong_money_list_box_l{width:1000px;height:40px;}
- .dong_money_list_box_option{width:70px;height:40px;line-height:40px;background:#f5f5f5;float:left;margin-right:5px;border-radius:5px;text-align:center;}
- .green{color:#0ecb81;}
- .red{color:#f5465c;}
- input:focus{background:#f5f5f5;outline: 1px solid #f5f5f5;}
- </style>
- </head>
- <body>
- <div class="App">
- <div class="css-tq0shg">
- <include file="Public:header"/>
- <div class="css-ogtd7z">
- <div class="css-jrzkh7">
- <div id="header_global_js_wxgy34nj" class="css-1aac2e"></div>
- </div>
- </div>
- <main class="css-1wr4jig" style="background: #fff;">
- <div style="width:100%;height:80px;box-shadow: 0 2px 10px 0 rgb(0 0 0 / 5%);">
- <div style="width:2%;height:80px;background:#fff;float:left;"></div>
- <div style="width:63%;height:80px;float:left;">
- <div class="klinetitle">
- <div class="klinetitle_l">
- <p class="newpricebox" id="newpricebox" style="font-size:24px;">--</p>
- <p class="changebox" id="changebox">--</p>
- </div>
- <div class="klinetitle_r">
- <div class="klr3_box">
- <div class="klr3_box_dl">
- <span class="f14 fcc">{:L('最低')}</span>
- </div>
- <div class="klr3_box_dr">
- <span class="f14 fch" id="minmoney">--</span>
- </div>
- </div>
- <div class="klr2_box">
- <div class="klr2_box_dl">
- <span class="f14 fcc">{:L('最高')}</span>
- </div>
- <div class="klr2_box_dr">
- <span class="f14 fch" id="maxmoney">--</span>
- </div>
- </div>
- <div class="klr2_box">
- <div class="klr2_box_dl">
- <span class="f14 fcc">24h{:L('量')}</span>
- </div>
- <div class="klr2_box_dr">
- <span class="f14 fch" id="allvol">--</span>
- </div>
- </div>
-
- </div>
- </div>
- </div>
- <div style="width:35%;height:80px;line-height:100px;float:left;padding-left:15px;">
- <div style="width:100%;height:40px;line-height:50px;">
- <span class="f16 fw" style="color:#000;" id="symbolbox">{$upmarket}</span>
- <span class="fch fw" style="font-size:20px;">{:L('合约建仓')}</span>
- </div>
- <div style="width:100%;height:40px;line-height:30px;">
- <span class="f12" style="background:#0ecb81;padding:5px 15px;border-radius: 5px;color:#fff;margin:0px 20px;cursor:pointer;" onclick="show_dongbox(1)">{:L('买涨')}</span>
- <span class="f12" style="background:#f5465c;padding:5px 15px;border-radius: 5px;color:#fff;cursor:pointer;" onclick="show_dongbox(2)">{:L('买跌')}</span>
- <a href="{:U('Contract/contractjc')}" class="f12 fcy" style="margin-left:30px;text-decoration:none;">{:L('我的订单')}</a>
- </div>
-
-
- </div>
- </div>
- <div style="width:100%;min-height:500px;">
- <div style="width:100%;min-height:550px;">
- <div id="centerbox" style="width:2%;height:550px;line-height:550px;background:#fff;text-align:center;float:left;cursor:pointer;">
- <i class="bi bi-chevron-compact-right fch fw" style="font-size:24px;"></i>
- </div>
- <div style="width:63%;height:600px;float:left;">
- <input type="hidden" id="coinname" value="{$smybol}" />
- <div style="width:100%;height:600px;">
- <iframe id="iframeid" width="100%" scrolling="no" height="600" src="/Trade/ordinary?market={$market}" noresize="noresize" frameborder="0" >{:L('不支持IFRAME,请升级')}</iframe>
- </div>
- </div>
- <div style="width:35%;height:550px;background:#fff;float:left;">
- <div style="width:100%;height:550px;padding:0px 10px;">
-
- <div class="dong_order_c">
- <p class="dong_order_p fch f14">{:L('订单类型')}</p>
- <div class="dong_order_option">
-
- <div style="min-width:800px;height:110px;">
- <foreach name="cd" item="vo">
- <div class="dong_order_option_list" id="time_{$vo.sort}" onclick="xztime({$vo.sort},{$vo.time},{$vo.ykbl});">
- <div style="width:100%;height:20px;line-height:20px;text-align:center;">
- <span class="fcc f12">{:L('到期时间')}</span>
- </div>
- <div style="width:100%;height:20px;line-height:20px;text-align:center;margin-top:5px;">
- <span class="fcy f12">{$vo.time}{:L('分钟')}</span>
- </div>
- <div style="width:100%;height:20px;line-height:20px;text-align:center;margin-top:5px;">
- <span class="fcc f12" style="color:#f5465c;">{:L('收益率')}{$vo.ykbl}%</span>
- </div>
- </div>
- </foreach>
- </div>
-
-
- </div>
-
- <p class="dong_order_p f14">{:L('投资金额')}</p>
- <div class="dong_money_list">
- <div class="dong_money_list_box" style="width:100%;">
- <div class="dong_money_list_box_l" style="height:60px;">
- <foreach name="ed" item="v">
- <div class="dong_money_list_box_option moveclass" id="tzed_{$v.sort}" onclick="xztzed({$v.sort},{$v.tzed});">
- <span class="fzm f12">{$v.tzed} USDT</span>
- </div>
- </foreach>
- </div>
- </div>
- </div>
-
- <p class="dong_order_p fcc fch f14">{:L('自定义金额')}</p>
- <div class="dong_money_list">
- <div style="width:100%;height:40px;text-align:center;" id="custommoney">
- <input type="text" id="tzmoney" onblur="settzmoney();" value="" placeholder="{:L('请输入金额')}" style="width:98%;margin:auto;height:35px;line-height:35px;background:#f5f5f5;padding-left:15px;border:none;margin-top:2px;" />
- </div>
- </div>
-
- <p class="dong_order_p fch" style="margin-bottom:5px;">{:L('账户余额')}:{$eusdt_blan} USDT</p>
- <p class="dong_order_p fch" style="margin-bottom:5px;">{:L('体验金')}:{$tj_money} USDT</p>
- <div style="width:100%;height:70px;margin-top:10px;border-top:1px solid #f5f5f5;padding-top:10px;">
- <div style="width:25%;height:50px;float:left;">
- <div style="width:100%;height:30px;line-height:30px;text-align:center;">
- <span class="fch f14">{:L('交易对')}</span>
- </div>
- <div style="width:100%;height:20px;line-height:20px;text-align:center;">
- <span class="fch f14">{$upmarket}</span>
- </div>
- </div>
- <div style="width:20%;height:50px;float:left;">
- <div style="width:100%;height:30px;line-height:30px;text-align:center;">
- <span class="fch f14">{:L('方向')}</span>
- </div>
- <div style="width:100%;height:20px;line-height:20px;text-align:center;">
- <span class="fgreen f14" id="fxtext">{:L('买涨')}</span>
- </div>
- </div>
- <div style="width:30%;height:50px;float:left;">
- <div style="width:100%;height:30px;line-height:30px;text-align:center;">
- <span class="fch f14">{:L('现价')}</span>
- </div>
- <div style="width:100%;height:20px;line-height:20px;text-align:center;">
- <span class="fch f14" style="color:#f5465c;" id="ordernewprice">--</span>
- </div>
- </div>
- <div style="width:25%;height:50px;float:left;">
- <div style="width:100%;height:30px;line-height:30px;text-align:center;">
- <span class="fch f14">{:L('金额')}</span>
- </div>
- <div style="width:100%;height:20px;line-height:20px;text-align:center;">
- <span class="fch f14"><span id="ttzed">10</span> USDT</span>
- </div>
- </div>
- </div>
- <input type="hidden" id="ctime" value="" />
- <input type="hidden" id="ctzed" value="" />
- <input type="hidden" id="ccoinname" value="{$upmarket}" />
- <input type="hidden" id="ctzfx" value="1" />
- <input type="hidden" id="cykbl" value="" />
- <input type="hidden" id="hymin" value="{$hymin}" />
-
- <input type="hidden" id="flag" value="1" />
-
- <if condition="$uid elt 0">
- <div style="width:100%;height:40px;line-height:40px;text-align:center;margin-top:15px;background: linear-gradient(to left,#eeb80d,#ffe35b);border-radius:10px;cursor:pointer;">
- <span class="fch f12">{:L('请先登陆')}</span>
- </div>
- <else />
- <div id="subbtn" style="width:45%;height:40px;line-height:40px;text-align:center;background: linear-gradient(to left,#eeb80d,#ffe35b);border-radius:10px;margin-top:15px;cursor:pointer;float:left;">
- <span class="fch f12">{:L('确认下单')}</span>
- </div>
- <div id="tyj_subbtn" style="width:45%;height:40px;line-height:40px;text-align:center;background: linear-gradient(to left,#eeb80d,#ffe35b);border-radius:10px;margin-top:15px;cursor:pointer;float:right;">
- <span class="fch f12">{:L('体验金下单')}</span>
- </div>
- </if>
-
- </div>
-
-
- </div>
- </div>
- </div>
- </div>
-
- </main>
- <include file="Public:footer"/>
- </div>
- </div>
- <!---------交易选择弹窗---------->
- <div class="dongbox" id="showdong">
- <div class="dong_con">
- <div style="width:100%;position:relative;z-index:9999999;top:0px;">
- <div class="dong_title">
- <span class="dong_title_span">{:L('快速合约')}</span>
- </div>
- <div class="dong_sel_box">
- <span class="fcc dong_sel_span">{:L('全部')}</span>
- </div>
- </div>
-
-
- <div class="symbol_list" id="smybolbox">
- <div style="width:100%;height:100px;line-height:100px;text-align:center;">
- <span class="fzmm fcc">{:L('没有获取数据')}</span>
- </div>
- </div>
- </div>
-
- <div style="width:70%;height:100vh;float:left;" id="hidedong"></div>
- </div>
-
-
- <div class="dongbox" id="gotaxbox" style="display:none;">
- <div style="width:300px;height:260px;background:#fff;margin:18% auto;border-radius:10px;padding:15px;">
- <div style="width:100%;height:100px;line-height:100px;text-align:center;">
- <i class="bi bi-exclamation-circle" style="font-size:56px;font-weight:bold;color:#f5465c;"></i>
- </div>
- <div style="width:100%;height:60px;text-align:center;color:#000;font-size:14px;">
- {:L('请先缴纳税金')}
- </div>
- <div style="width:100%;height:60px;">
- <a href="{:U('Finance/cztax')}" target="__blank">
- <div style="width:45%;height:36px;line-height:36px;text-align:center;float:left;font-size:14px;color:#fff;background:#0ecb81;border-radius:10px;cursor:pointer;">{:L('缴税')}</div></a>
- <div onclick="hidetaxbox()" style="width:45%;height:36px;line-height:36px;text-align:center;float:right;font-size:14px;color:#fff;background:#f5465c;border-radius:10px;cursor:pointer;">{:L('取消')}</div>
- </div>
- </div>
- </div>
-
-
-
- </body>
- <script src="https://cdn.staticfile.org/jquery/2.1.1/jquery.min.js"></script>
- <script type="text/javascript" src="/Public/Home/static/js/layer/layer.js" ></script>
- <script type="text/javascript" src="/Public/Home/static/js/jquery.SuperSlide.2.1.1.js" ></script>
- <script type="text/javascript">
- function hidetaxbox(){
- $("#gotaxbox").hide();
- }
-
- function settzmoney(){
- var hymin = parseFloat($("#hymin").val());
- var tzmoney = parseFloat($("#tzmoney").val());
- if(tzmoney < hymin){
- layer.msg("{:L('不能小于最低投资额度')}");return false;
- }
-
- $("#ctzed").val(tzmoney);
- $("#ttzed").html(tzmoney);
-
- }
- </script>
- <script type="text/javascript">
- $("#custommoney").click(function(){
- $(".moveclass").removeClass("option_list_active");
- $("#custommoney").addClass("option_list_active");
- });
- </script>
- <script type="text/javascript">
- $("#tyj_subbtn").click(function(){
-
- // var flag = $("#flag").val();
- // if(flag == 2){
- // return false;
- // }
-
- var ctime = $("#ctime").val();
- var ctzed = $("#ctzed").val();
- var ccoinname = $("#ccoinname").val();
- var ctzfx = $("#ctzfx").val();
- var cykbl = $("#cykbl").val();
- if(ctime <= 0 || ctime ==''){
- layer.msg("{:L('请选择结算时间')}");return false;
- }
- if(ctzed <= 0 || ctzed==''){
- layer.msg("{:L('请选择投入金额')}");return false;
- }
- if(ccoinname == '' || ccoinname == null){
- layer.msg("{:L('缺少重要参数')}");return false;
- }
- if(ctzfx <= 0 || ctzfx ==''){
- layer.msg("{:L('缺少重要参数')}");return false;
- }
- if(cykbl <= 0 || cykbl ==''){
- layer.msg("{:L('缺少重要参数')}");return false;
- }
-
- // $("#flag").val(2);
-
- $.post("{:U('Contract/ty_creatorder')}",
- {'ctime':ctime,'ctzed':ctzed,'ccoinname':ccoinname,'ctzfx':ctzfx,'cykbl':cykbl},
- function(data){
- if(data.code == 1){
- layer.msg(data.msg);
- setTimeout(function(){
- window.location.reload();
- },2000);
- }else if(data.code == 3){
- $("#gotaxbox").show();
- }else{
- layer.msg(data.msg);return false;
- }
- });
- });
-
- $("#subbtn").click(function(){
-
- // var flag = $("#flag").val();
- // if(flag == 2){
- // return false;
- // }
-
- var ctime = $("#ctime").val();
- var ctzed = $("#ctzed").val();
- var ccoinname = $("#ccoinname").val();
- var ctzfx = $("#ctzfx").val();
- var cykbl = $("#cykbl").val();
- if(ctime <= 0 || ctime ==''){
- layer.msg("{:L('请选择结算时间')}");return false;
- }
- if(ctzed <= 0 || ctzed==''){
- layer.msg("{:L('请选择投入金额')}");return false;
- }
- if(ccoinname == '' || ccoinname == null){
- layer.msg("{:L('缺少重要参数')}");return false;
- }
- if(ctzfx <= 0 || ctzfx ==''){
- layer.msg("{:L('缺少重要参数')}");return false;
- }
- if(cykbl <= 0 || cykbl ==''){
- layer.msg("{:L('缺少重要参数')}");return false;
- }
-
- // $("#flag").val(2);
-
- $.post("{:U('Contract/creatorder')}",
- {'ctime':ctime,'ctzed':ctzed,'ccoinname':ccoinname,'ctzfx':ctzfx,'cykbl':cykbl},
- function(data){
- if(data.code == 1){
- layer.msg(data.msg);
- setTimeout(function(){
- window.location.reload();
- },2000);
- }else if(data.code == 3){
- $("#gotaxbox").show();
- }else{
- layer.msg(data.msg);return false;
- }
- });
- });
- </script>
- <script type="text/javascript">
- function xztime(sort,time,ykbl){
- var sort = sort;
- var time = time;
- var ykbl = ykbl;
- var idtxt = "#time_"+sort;
- $("#ctime").val(time);
- $("#cykbl").val(ykbl);
- $(idtxt).addClass("option_list_active");
- $(idtxt).siblings().removeClass("option_list_active");
- }
- function xztzed(sort,tzed){
- var sort = sort;
- var tzed = tzed;
- var idtxt = "#tzed_"+sort;
- $("#ctzed").val(tzed);
- $("#ttzed").html(tzed);
- $("#tzmoney").val(tzed);
- $(idtxt).addClass("option_list_active");
- $(idtxt).siblings().removeClass("option_list_active");
- $("#custommoney").removeClass("option_list_active");
- }
- </script>
- <script type="text/javascript">
- function getcoin_data(){
- var coinname = $("#coinname").val();
- $.post("{:U('Ajaxtrade/getcoin_data')}",
- {'coinname':coinname},
- function(data){
- if(data.code == 1){
- $("#newpricebox").html(data.close);
- $("#ordernewprice").html(data.close);
- $("#changebox").html(data.change);
- $("#minmoney").html(data.low);
- $("#maxmoney").html(data.high);
- $("#allvol").html(data.amount);
- }
- });
- }
- </script>
-
-
- <script type="text/javascript">
- $(function(){
- getcoin_data();
- setInterval("getcoin_data()",2000);
- });
- </script>
- <script type="text/javascript">
- function getallsmybol(){
- $.post("{:U('Ajaxtrade/getallcoin')}",
- function(data){
- if(data.code == 1){
- $("#smybolbox").empty();
- var html = '';
- if(data.data == '' || data.data == null){
- html = '<div style="width:100%;height:100px;line-height:100px;text-align:center;">'+
- '<span class="fzmm fcc">' + "{:L('没有获取数据')}" + '</span>'+
- '</div>';
- $("#smybolbox").append(html);
-
- }else{
- $.each(data.data,function(key,val){
- html += '<a href="/Contract/index.html?coin='+ val.symbol +'">'+
- '<div class="sy_list_box">'+
- '<div class="sy_list_boxl">'+
- '<span class="f12 fch">'+ val.cname +'</span>'+
- '</div>'+
- '<div class="sy_list_boxl" style="text-align:center;">' + val.open + '</div>'+
- '<div class="sy_list_boxr">' + val.change +'</div>'+
- '</div>'+
- '</a>';
- });
- $("#smybolbox").append(html);
- }
- }else{
- html = '<div style="width:100%;height:100px;line-height:100px;text-align:center;">'+
- '<span class="fzmm fcc">' + "{:L('没有获取数据')}" + '</span>'+
- '</div>';
- $("#smybolbox").append(html);
- }
- });
- }
- </script>
- <script type="text/javascript">
- function show_dongbox(num){
- var n = num;
- if(n == 1){
- $("#ctzfx").val(n);
- $("#fxtext").text("{:L('买涨')}");
- $("#fxtext").css('color','#0ecb81');
- }else if(n == 2){
- $("#ctzfx").val(n);
- $("#fxtext").text("{:L('买跌')}");
- $("#fxtext").css('color','#f5465c');
- }
- }
- $("#x_dongbox").click(function(){
- $("#dongbox").hide();
- });
- </script>
- <script type="text/javascript">
- $("#hidedong").click(function(){
- $("#showdong").fadeOut("slow");
- });
- $("#centerbox").click(function(){
- getallsmybol();
- $("#showdong").fadeIn("slow");
- });
- </script>
- <script type="text/javascript">
- $("#nav").slide({
- type:"menu",// 效果类型,针对菜单/导航而引入的参数(默认slide)
- titCell:".nLi", //鼠标触发对象
- targetCell:".sub", //titCell里面包含的要显示/消失的对象
- effect:"slideDown", //targetCell下拉效果
- delayTime:300 , //效果时间
- triggerTime:0, //鼠标延迟触发时间(默认150)
- returnDefault:true //鼠标移走后返回默认状态,例如默认频道是“预告片”,鼠标移走后会返回“预告片”(默认false)
- });
- </script>
-
- </html>
|