修复样式异常

This commit is contained in:
dragon
2024-08-26 16:12:24 +08:00
parent 07f7f634a7
commit 797f724485
6 changed files with 24 additions and 11 deletions

View File

@@ -600,3 +600,10 @@ html {
padding-right: 1.4666666667rem;
padding-left: unset;
}
.arabic .transfer_method .official_withdraw .pop, .arabic .transfer_method .agent_settlement .pop, .arabic .transfer_dollars .official_withdraw .pop, .arabic .transfer_dollars .agent_settlement .pop {
background: url(../images/pop-ar.png) no-repeat;
background-size: 100% 100%;
left: auto;
right: 3.52rem;
}

View File

@@ -555,4 +555,10 @@ html {
padding-left: unset;
}
}
.transfer_method .official_withdraw .pop, .transfer_method .agent_settlement .pop, .transfer_dollars .official_withdraw .pop, .transfer_dollars .agent_settlement .pop{
background: url(../images/pop-ar.png) no-repeat;
background-size: 100% 100%;
left: auto;
right: 3.52rem;
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

View File

@@ -184,7 +184,7 @@ function typeTabFun(type) {
str += `
<li class="exchange_coins ${i == 0 ? 'li_act' : ''}" type="${res.type}" ratio="${res.ratio}">
<p>${langReplace(localLang.salary.text19)}</p>
<span>( 1 ÜS = <e>${res.ratio}</e> <img src="./images/coin.png" class="coin" />)</span>
<span>( 1ÜS = <e>${res.ratio}</e> <img src="./images/coin.png" class="coin" />)</span>
</li>
`
} else if (res.type == 2) {
@@ -197,7 +197,7 @@ function typeTabFun(type) {
str += `
<li class="exchange_coins ${i == 0 ? 'li_act' : ''}" type="${res.type}" ratio="${res.ratio}">
<p>${langReplace(localLang.salary.text19)}</p>
<span>( 1 ÜS = <e>${res.ratio}</e> <img src="./images/coin.png" class="coin" />)</span>
<span>( 1ÜS = <e>${res.ratio}</e> <img src="./images/coin.png" class="coin" />)</span>
</li>
`
} else if (res.type == 5) {
@@ -411,18 +411,18 @@ $(".custom_pop .ipt input").on("input", function () {
$(".custom_pop h2 b").html(gold);
tradeUsb = value
}
$('.custom_pop .sure').attr('guildUsdNum',value);
$('.agent_pop .sure').attr('guildUsdNum',value);
$('.president_pop .sure').attr('guildUsdNum',value);
$('.custom_pop .sure').attr('guildUsdNum', value);
$('.agent_pop .sure').attr('guildUsdNum', value);
$('.president_pop .sure').attr('guildUsdNum', value);
});
// 自定义金额全部按钮
$('.custom_pop .custom_pop_in .ipt e').click(function () {
$('.custom_pop .custom_pop_in .ipt input').val(usGold);
$(".custom_pop h2 b").html(usGold * ratio);
$('.custom_pop .sure').attr('guildUsdNum',usGold);
$('.agent_pop .sure').attr('guildUsdNum',usGold);
$('.president_pop .sure').attr('guildUsdNum',usGold);
$('.custom_pop .sure').attr('guildUsdNum', usGold);
$('.agent_pop .sure').attr('guildUsdNum', usGold);
$('.president_pop .sure').attr('guildUsdNum', usGold);
})
// 跳转记录页面
$('.my_salary p').click(function () {

View File

@@ -59,7 +59,7 @@ $(function () {
});
console.log(type, res);
$('h1 strong').html(res.me.nick)
$('.dollar').html(res.guildUsdNum + ' ÜS')
$('.dollar').html(`${res.guildUsdNum} ÜS`)
if (type == 2) {
$('.exchange_wrap .exchange_account b').html(`${res.me.nick.length >= 6 ? res.me.nick.slice(0, 6) + '... ' : res.me.nick}(ID:${res.me.erbanNo})`);
$('.exchange_wrap .exchange_coins b').html(res.currencyNum);

View File

@@ -28,7 +28,7 @@
<h1>
<e class="text3"></e>-<strong></strong>
</h1>
<div class="dollar"></div>
<div class="dollar" dir="ltr"></div>
<!-- 兑换成功 -->
<ul class="exchange_wrap" style="display: none;">