You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
297 lines
7.8 KiB
297 lines
7.8 KiB
5 years ago
|
<!DOCTYPE html>
|
||
|
<html>
|
||
|
|
||
|
<head>
|
||
|
<meta charset="utf-8">
|
||
|
<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
|
||
|
<title>资费说明</title>
|
||
|
<!--REM自适应布局JS-->
|
||
|
<link rel="stylesheet" type="text/css" href="../../../lib/css/mui.min.css">
|
||
|
<link rel="stylesheet" type="text/css" href="../../../lib/css/basic.css" />
|
||
|
<link rel="stylesheet" type="text/css" href="../../css/base.css" />
|
||
|
<script src="../../../lib/js/mui.min.js"></script>
|
||
|
<script src="../../../lib/js/vue.js"></script>
|
||
|
<script src="../../../lib/js/app.js"></script>
|
||
|
<script src="../../js/base/rem-layout.js"></script>
|
||
|
<script type="text/javascript" src="../../js/my/my_ajax.js"></script>
|
||
|
<script src="../../../lib/js/require2.1.11.js"></script>
|
||
|
<script src="../../../html/cct/js/ajax/config_ajax.js"></script>
|
||
|
<script src="../../../html/OTC/js/ajax/coin_ajax.js"></script>
|
||
|
<script src="../../../html/OTC/js/ajax/config_ajax.js"></script>
|
||
|
</head>
|
||
|
<style>
|
||
|
.mui-content {
|
||
|
height: 100%;
|
||
|
}
|
||
|
|
||
|
.mui-control-item {
|
||
|
font-size: 0.27rem;
|
||
|
color: #999999 !important;
|
||
|
}
|
||
|
|
||
|
.mui-active {
|
||
|
color: #C7282C !important;
|
||
|
}
|
||
|
|
||
|
.mui-segmented-control.mui-segmented-control-inverted~.mui-slider-progress-bar {
|
||
|
background-color: #C7282C;
|
||
|
}
|
||
|
|
||
|
.mui-slider .mui-segmented-control.mui-segmented-control-inverted~.mui-slider-group .mui-slider-item {
|
||
|
border-top: none;
|
||
|
border-bottom: none;
|
||
|
}
|
||
|
|
||
|
.mui-scroll-wrapper {
|
||
|
overflow: initial;
|
||
|
}
|
||
|
|
||
|
.mui-slider-indicator.mui-segmented-control {
|
||
|
background-color: #fff;
|
||
|
z-index: 1;
|
||
|
}
|
||
|
|
||
|
.mui-bar-nav~.mui-content .mui-slider.mui-fullscreen {
|
||
|
top: 64px;
|
||
|
}
|
||
|
|
||
|
.mui-table-view {
|
||
|
background-color: #fff;
|
||
|
margin: 0 0.25rem;
|
||
|
margin-top: 0.36rem;
|
||
|
margin-bottom: 1.07rem;
|
||
|
border-radius: 5px;
|
||
|
padding: 0.26rem 0;
|
||
|
}
|
||
|
|
||
|
.charges-title {
|
||
|
color: #999999;
|
||
|
font-size: 0.24rem;
|
||
|
line-height: 0.38rem;
|
||
|
padding: 0 0.34rem;
|
||
|
}
|
||
|
|
||
|
.charges-title-two {
|
||
|
color: #C7282C;
|
||
|
font-size: 0.24rem;
|
||
|
margin-top: 0.19rem;
|
||
|
margin-bottom: 0.26rem;
|
||
|
padding: 0 0.34rem;
|
||
|
}
|
||
|
|
||
|
.charges-contant-ul {
|
||
|
color: #333;
|
||
|
margin-bottom: 2.62rem;
|
||
|
}
|
||
|
|
||
|
.charges-contant {
|
||
|
display: flex;
|
||
|
font-size: 0.21rem;
|
||
|
padding: 0.24rem 0.17rem;
|
||
|
border-bottom: 0.017rem solid #EEEEEE;
|
||
|
}
|
||
|
|
||
|
.charges-contant span {
|
||
|
/*display: flex;*/
|
||
|
flex-direction: row-reverse;
|
||
|
align-items: center;
|
||
|
}
|
||
|
|
||
|
.charges-contant span:nth-of-type(1) {
|
||
|
flex: 1;
|
||
|
}
|
||
|
|
||
|
.charges-contant span:nth-of-type(2) {
|
||
|
/*flex: 0.5;*/
|
||
|
}
|
||
|
|
||
|
.hui {
|
||
|
color: #999999;
|
||
|
}
|
||
|
</style>
|
||
|
|
||
|
<body>
|
||
|
<div id="charges-that">
|
||
|
<header class="mui-bar mui-bar-nav app-header app-header-darkly">
|
||
|
<a class="mui-action-back mui-icon mui-icon-left-nav mui-pull-left"></a>
|
||
|
<h1 class="mui-title">{{langue.title}}</h1>
|
||
|
</header>
|
||
|
<div class="mui-content">
|
||
|
<div id="slider" class="mui-slider mui-fullscreen">
|
||
|
<div id="sliderSegmentedControl" class="mui-slider-indicator mui-segmented-control mui-segmented-control-inverted">
|
||
|
<a class="mui-control-item mui-active" href="#item1mobile">
|
||
|
{{langue.coin}}
|
||
|
</a>
|
||
|
<a class="mui-control-item" href="#item2mobile">
|
||
|
{{langue.currency}}
|
||
|
</a>
|
||
|
</div>
|
||
|
<div id="sliderProgressBar" class="mui-slider-progress-bar mui-col-xs-6"></div>
|
||
|
<div class="mui-slider-group">
|
||
|
<div id="item1mobile" class="mui-slider-item mui-control-content mui-active">
|
||
|
<div id="scroll1" class="mui-scroll-wrapper">
|
||
|
<div class="mui-scroll">
|
||
|
<div class="mui-table-view">
|
||
|
<div class="charges-title">
|
||
|
{{langue.note}}
|
||
|
</div>
|
||
|
<div class="charges-title-two">
|
||
|
{{langue.coinfee}}
|
||
|
|
||
|
</div>
|
||
|
<ul class="charges-contant-ul">
|
||
|
<li class="charges-contant">
|
||
|
<span>{{langue.Description}}</span>
|
||
|
<span>{{langue.fee}}</span>
|
||
|
</li>
|
||
|
<li class="charges-contant hui" v-for='item in cct_charges'>
|
||
|
<span>{{item.dataTag}}</span>
|
||
|
<span>{{item.dataValue}}</span>
|
||
|
</li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div id="item2mobile" class="mui-slider-item mui-control-content">
|
||
|
<div id="scroll1" class="mui-scroll-wrapper">
|
||
|
<div class="mui-scroll">
|
||
|
<div class="mui-table-view">
|
||
|
<div class="charges-title">
|
||
|
{{langue.note}}
|
||
|
|
||
|
</div>
|
||
|
<div class="charges-title-two">
|
||
|
{{langue.currencyfee}}
|
||
|
</div>
|
||
|
<ul class="charges-contant-ul">
|
||
|
<li class="charges-contant">
|
||
|
<span>{{langue.kind}}</span>
|
||
|
<span>{{langue.fee}}</span>
|
||
|
</li>
|
||
|
<li class="charges-contant hui" v-for='item in otc_charges'>
|
||
|
<span>{{item.coinName}}/{{item.unitName}}</span>
|
||
|
<span>{{item.coinServiceCharge}}</span>
|
||
|
</li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
</div>
|
||
|
</body>
|
||
|
|
||
|
</html>
|
||
|
|
||
|
<script>
|
||
|
// 国际化
|
||
|
var langues = {
|
||
|
zh_CN: {
|
||
|
title: "费率说明",
|
||
|
coin: "币币交易",
|
||
|
currency: "法币交易",
|
||
|
note: "焰火网对用户只收取交易和提币手续费,其他服务(如注册账户、充值等)均免收手续费。",
|
||
|
coinfee: "币币手续费",
|
||
|
currencyfee: "法币手续费",
|
||
|
Description: "说明",
|
||
|
kind: "币种",
|
||
|
fee: "手续费"
|
||
|
},
|
||
|
zh_HK: {
|
||
|
title: "費率説明",
|
||
|
coin: "幣幣交易",
|
||
|
currency: "法幣交易",
|
||
|
note: "焰火網對用戶只收取交易和提幣手續費,其他服務(如注冊賬戶、充值等)均免收手續費",
|
||
|
coinfee: "幣幣手續費",
|
||
|
currencyfee: "法幣手續費",
|
||
|
Description: "説明",
|
||
|
kind: "幣種",
|
||
|
fee: "手續費"
|
||
|
},
|
||
|
en_US: {
|
||
|
title: "Rate description",
|
||
|
coin: "Coin transaction",
|
||
|
currency: "Legal currency transaction",
|
||
|
note: "FLAME only charges users for transaction and coin withdrawal fees, and other services (such as registration account, recharge, etc.) are exempt from handling fees.。",
|
||
|
coinfee: "Coin handling fee",
|
||
|
currencyfee: "Legal currency fee",
|
||
|
Description: "description",
|
||
|
kind: "Currency kind",
|
||
|
fee: "Fee"
|
||
|
}
|
||
|
};
|
||
|
//2、页面上所有需要国际化的文字,包括提示,都通过Vue去引用,例子:
|
||
|
var langueKey = app.getLanguageLocalStorage(); //获取国际化语种
|
||
|
var langue = langues[langueKey]; // 获取国际化语种数据
|
||
|
//3、每个页面都需要加上以下的方法:
|
||
|
window.addEventListener('switchLangueData', function(e) {
|
||
|
//dataInfo为Vue对象的名称
|
||
|
dataInfo.langue = langues[e.detail];
|
||
|
});
|
||
|
var dataInfo = new Vue({
|
||
|
el: "#charges-that",
|
||
|
data: {
|
||
|
langue: langue,
|
||
|
cct_charges: [],
|
||
|
otc_charges: [],
|
||
|
otc_charges_status: [],
|
||
|
}
|
||
|
})
|
||
|
</script>
|
||
|
<script type="text/javascript">
|
||
|
(function($) {
|
||
|
$(".mui-scroll-wrapper").scroll({});
|
||
|
})(mui);
|
||
|
|
||
|
mui.plusReady(function() {
|
||
|
listCCTCharge();
|
||
|
listOTCCharge();
|
||
|
});
|
||
|
</script>
|
||
|
<script>
|
||
|
/***
|
||
|
* 查询币币手续费列表
|
||
|
*/
|
||
|
function listCCTCharge() {
|
||
|
mui.ajax(configAjax.LIST_COIN_SERVICE_CHARGE.getUrl, {
|
||
|
headers: {
|
||
|
"locale": app.getLanguageLocalStorage() // 语种头部
|
||
|
|
||
|
},
|
||
|
dataType: 'json',
|
||
|
type: configAjax.LIST_COIN_SERVICE_CHARGE.getType,
|
||
|
timeout: 10000, //超时时间设置为10秒
|
||
|
success: function(data) {
|
||
|
if(data.code == 200) {
|
||
|
dataInfo.cct_charges = data.data;
|
||
|
}
|
||
|
}
|
||
|
});
|
||
|
}
|
||
|
|
||
|
/***
|
||
|
* 查询法币手续费列表
|
||
|
*/
|
||
|
function listOTCCharge() {
|
||
|
mui.ajax(coinAjax.LIST_COIN_SERVICE_CHARGE.getUrl, {
|
||
|
headers: {
|
||
|
"locale": app.getLanguageLocalStorage() // 语种头部
|
||
|
|
||
|
},
|
||
|
dataType: 'json',
|
||
|
type: coinAjax.LIST_COIN_SERVICE_CHARGE.getType,
|
||
|
timeout: 10000, //超时时间设置为10秒
|
||
|
success: function(data) {
|
||
|
if(data.code == 200) {
|
||
|
dataInfo.otc_charges = data.data;
|
||
|
}
|
||
|
}
|
||
|
});
|
||
|
}
|
||
|
</script>
|