优化BD中心样式

This commit is contained in:
chenruiye
2025-04-25 14:27:45 +08:00
parent 2a1242387c
commit 1219b7d7a1
5 changed files with 43 additions and 15 deletions

View File

@@ -5,7 +5,7 @@
position: fixed;
left: 0;
top: 0;
padding-top: 0.8666666667rem;
padding-top: 1.4666666667rem;
text-align: center;
color: #FFFFFF;
font-size: 0.5066666667rem;
@@ -35,7 +35,7 @@
padding-top: 0.4rem;
padding-bottom: 0.4rem;
position: fixed;
top: 1.3333333333rem;
top: 2rem;
left: 0;
right: 0;
background: #FFFFFF;
@@ -91,7 +91,7 @@
}
.content_list {
margin: 3.2rem 0.4266666667rem 0;
margin: 3.7333333333rem 0.4266666667rem 0;
padding-bottom: 1.0666666667rem;
}
.content_list .content_box {
@@ -130,6 +130,11 @@
margin-top: 0.0266666667rem;
}
.arabic .back img {
left: auto;
right: 0.24rem;
transform: rotate(180deg);
}
.arabic .content_list .content_box .info {
text-align: right !important;
}

View File

@@ -11,7 +11,8 @@
position: fixed;
left: 0;
top: 0;
padding-top: px2rem(65);
padding-top: px2rem(110);
// padding-bottom: px2rem(22);
text-align: center;
color: #FFFFFF;
font-size: px2rem(38);
@@ -45,7 +46,7 @@
padding-top: px2rem(30);
padding-bottom: px2rem(30);
position: fixed;
top: px2rem(100);
top: px2rem(150);
left: 0;
right: 0;
background: #FFFFFF;
@@ -104,7 +105,7 @@
}
.content_list {
margin: px2rem(240) px2rem(32) 0;
margin: px2rem(280) px2rem(32) 0;
padding-bottom: px2rem(80);
.content_box {
background: #F2F3F7;
@@ -147,6 +148,11 @@
}
}
.arabic{
.back img {
left: auto;
right: 0.24rem;
transform: rotate(180deg);
}
.content_list{
.content_box{
.info{

View File

@@ -10,7 +10,8 @@ body {
position: fixed;
left: 0;
top: 0;
padding-top: 0.8666666667rem;
padding-top: 1.4666666667rem;
padding-bottom: 0.2933333333rem;
text-align: center;
color: #FFFFFF;
font-size: 0.5066666667rem;
@@ -37,7 +38,7 @@ body {
.number_guilds {
background: #F2F3F7;
border-radius: 0.32rem 0.32rem 0 0;
margin: 1.92rem 0.4266666667rem 0;
margin: 2.4rem 0.4266666667rem 0;
display: flex;
padding: 0.24rem;
gap: 0.24rem;
@@ -270,6 +271,14 @@ body {
color: #313131;
}
.arabic .back img {
left: auto;
right: 0.24rem;
transform: rotate(180deg);
}
.arabic .Agency_List .content_list .content_box .info {
text-align: right !important;
}
.arabic .detail img {
transform: rotate(180deg);
}

View File

@@ -17,7 +17,8 @@ body {
position: fixed;
left: 0;
top: 0;
padding-top: px2rem(65);
padding-top: px2rem(110);
padding-bottom: px2rem(22);
text-align: center;
color: #FFFFFF;
font-size: px2rem(38);
@@ -48,7 +49,7 @@ body {
// height: px2rem(268);
background: #F2F3F7;
border-radius: px2rem(24) px2rem(24) 0 0;
margin: px2rem(144) px2rem(32) 0;
margin: px2rem(180) px2rem(32) 0;
display: flex;
padding: px2rem(18);
gap: px2rem(18);
@@ -305,6 +306,11 @@ body {
}
}
.arabic{
.back img {
left: auto;
right: 0.24rem;
transform: rotate(180deg);
}
.Agency_List{
.content_list{
.content_box{
@@ -314,4 +320,10 @@ body {
}
}
}
.detail{
img{
transform: rotate(180deg);
}
}
}

View File

@@ -43,11 +43,7 @@ $(function () {
};
// 頂部返回事件
$('.back img').click(() => {
if (browser.android) {
window.androidJsObj.closeWebView()
} else {
window.webkit.messageHandlers.closeWebView.postMessage(null)
}
window.history.back();
})
fuzzyMatchUpdateQueryStringParameterFun(); // 判断语言
langReplace = window.lang.replace;