官网新增模拟器下载

This commit is contained in:
dragon
2024-04-16 18:54:34 +08:00
parent 1d4c97fc9a
commit f8d4aaa1cc
5 changed files with 478 additions and 356 deletions

View File

@@ -3,142 +3,202 @@ body,
html { html {
width: 100%; width: 100%;
height: 100%; height: 100%;
font-family: "Heiti SC", "Microsoft Sans Serif"; } font-family: "Heiti SC", "Microsoft Sans Serif";
}
.container { .container {
position: relative; } position: relative;
}
@media screen and (min-width: 769px) { @media screen and (min-width: 769px) {
.m-bg { .m-bg {
display: none; } display: none;
.m-bg img { }
display: block; } } .m-bg img {
display: block;
}
}
.homePc { .homePc {
width: 100%; width: 100%;
height: 10rem; height: 10rem;
background: url(../images/homePc.png) no-repeat; background: url(../images/homePc.png) no-repeat;
background-size: 100% 100%; background-size: 100% 100%;
position: relative; position: relative;
overflow: hidden; } overflow: hidden;
.homePc .logo { }
width: 0.64rem;
height: 0.64rem; .homePc .logo {
position: absolute; width: 0.64rem;
top: 0.36rem; height: 0.64rem;
left: 2.4rem; } position: absolute;
.homePc .name { top: 0.36rem;
font-size: 0.3rem; left: 2.4rem;
color: #282828; }
font-weight: 600;
position: absolute; .homePc .name {
top: 0.55rem; font-size: 0.3rem;
left: 3.22rem; } color: #282828;
.homePc .charge { font-weight: 600;
font-size: 0.32rem; position: absolute;
color: #282828; top: 0.55rem;
font-weight: 600; left: 3.22rem;
position: absolute; }
right: 4.24rem;
top: 0.5rem; } .homePc .charge {
.homePc p { font-size: 0.32rem;
font-size: 0.32rem; color: #282828;
color: #282828; font-weight: 600;
font-weight: 600; position: absolute;
position: absolute; right: 4.24rem;
right: 3.95rem; top: 0.5rem;
top: 0.5rem; } }
.homePc .kefu {
font-size: 0.32rem; .homePc p {
color: #282828; font-size: 0.32rem;
font-weight: 600; color: #282828;
position: absolute; font-weight: 600;
right: 2.4rem; position: absolute;
top: 0.5rem; } right: 3.95rem;
.homePc .swiper { top: 0.5rem;
width: 12rem; }
height: 9rem;
margin: 0.85rem 0 0 5rem; .homePc .kefu {
position: relative; font-size: 0.32rem;
overflow-y: hidden; } color: #282828;
.homePc .swiper .swiper-wrapper { font-weight: 600;
width: 9rem; position: absolute;
height: 100%; right: 2.4rem;
/*先去掉前进后退按钮默认样式*/ top: 0.5rem;
--swiper-navigation-size:0; }
/*再自定义样式*/ }
.homePc .swiper .swiper-wrapper .swiper-slide img { .homePc .swiper {
position: absolute; width: 12rem;
top: 0; height: 9rem;
left: 50%; margin: 0.85rem 0 0 5rem;
transform: translateX(-50%); } position: relative;
.homePc .swiper .swiper-wrapper .slide1 { overflow-y: hidden;
position: relative; } }
.homePc .swiper .swiper-wrapper .slide1 .iphone {
width: 2.78rem; .homePc .swiper .swiper-wrapper {
height: 0.84rem; width: 9rem;
position: absolute; height: 100%;
left: 1.3rem; /*先去掉前进后退按钮默认样式*/
bottom: 2.1rem; } --swiper-navigation-size: 0;
.homePc .swiper .swiper-wrapper .slide1 .android { /*再自定义样式*/
width: 2.78rem; }
height: 0.84rem;
position: absolute; .homePc .swiper .swiper-wrapper .swiper-slide img {
right: 1.3rem; position: absolute;
bottom: 2.1rem; } top: 0;
.homePc .swiper .swiper-wrapper .swiper-button-prev img { left: 50%;
width: 0.54rem; transform: translateX(-50%);
height: 0.84rem; } }
.homePc .swiper .swiper-wrapper .swiper-button-next img {
width: 0.54rem; .homePc .swiper .swiper-wrapper .slide1 {
height: 0.84rem; } position: relative;
.homePc .swiper .swiper-pagination { }
width: 20%;
height: 50%; .homePc .swiper .swiper-wrapper .slide1 .iphone {
position: absolute; width: 2.78rem;
top: 5rem; height: 0.84rem;
right: -1rem; } position: absolute;
.homePc .swiper .swiper-pagination .swiper-pagination-bullet { left: 0.3rem;
width: 0.25rem !important; bottom: 2.1rem;
height: 0.25rem !important; }
background: none !important;
background-image: url(../images/li.png) !important; .homePc .swiper .swiper-wrapper .slide1 .android {
background-size: 100% 100% !important; width: 2.78rem;
opacity: 1 !important; height: 0.84rem;
margin: 0.5rem 0; } position: absolute;
.homePc .swiper .swiper-pagination .swiper-pagination-bullet-active { right: 2.6rem;
background: none !important; bottom: 2.1rem;
background-image: url(../images/li_active.png) !important; }
background-size: 100% 100% !important;
opacity: 1 !important; } .homePc .swiper .swiper-wrapper .slide1 .simulator {
width: 2.78rem;
height: 0.84rem;
position: absolute;
right: -0.8rem;
bottom: 2.1rem;
}
.homePc .swiper .swiper-wrapper .swiper-button-prev img {
width: 0.54rem;
height: 0.84rem;
}
.homePc .swiper .swiper-wrapper .swiper-button-next img {
width: 0.54rem;
height: 0.84rem;
}
.homePc .swiper .swiper-pagination {
width: 20%;
height: 50%;
position: absolute;
top: 5rem;
right: -1rem;
}
.homePc .swiper .swiper-pagination .swiper-pagination-bullet {
width: 0.25rem !important;
height: 0.25rem !important;
background: none !important;
background-image: url(../images/li.png) !important;
background-size: 100% 100% !important;
opacity: 1 !important;
margin: 0.5rem 0;
}
.homePc .swiper .swiper-pagination .swiper-pagination-bullet-active {
background: none !important;
background-image: url(../images/li_active.png) !important;
background-size: 100% 100% !important;
opacity: 1 !important;
}
.eori { .eori {
width: 100%; width: 100%;
background: #30312C; background: #30312C;
color: white; color: white;
padding: 0.2rem 0; padding: 0.2rem 0;
vertical-align: top; } vertical-align: top;
.eori .recordfoot { }
color: #fff;
display: flex; .eori .recordfoot {
justify-content: center; color: #fff;
align-items: center; display: flex;
margin-bottom: 0.1rem; } justify-content: center;
.eori .recordfoot .record { align-items: center;
display: inline-block; margin-bottom: 0.1rem;
padding-right: 0.0533333333rem; }
height: 0.16rem;
width: 0.15rem; } .eori .recordfoot .record {
.eori .recordfoot a { display: inline-block;
font-size: 0.2rem; padding-right: 0.05333rem;
color: #fff; } height: 0.16rem;
.eori .gongsi { width: 0.15rem;
display: flex; }
justify-content: center;
text-align: center; } .eori .recordfoot a {
.eori .gongsi p { font-size: 0.2rem;
font-size: 0.2rem; } color: #fff;
.eori .gongsi p:nth-child(2) { }
margin: 0 0.2rem; }
.eori .gongsi {
display: flex;
justify-content: center;
text-align: center;
}
.eori .gongsi p {
font-size: 0.2rem;
}
.eori .gongsi p:nth-child(2) {
margin: 0 0.2rem;
}
.service { .service {
position: fixed; position: fixed;
@@ -148,182 +208,227 @@ html {
right: 0; right: 0;
background: rgba(0, 0, 0, 0.8); background: rgba(0, 0, 0, 0.8);
z-index: 9999; z-index: 9999;
display: none; } display: none;
.service .service_in { }
width: 8.23rem;
height: 4.9rem; .service .service_in {
background: #FFFFFF; width: 8.23rem;
border-radius: 0.5rem; height: 4.9rem;
position: relative; background: #FFFFFF;
left: 50%; border-radius: 0.5rem;
top: 50%; position: relative;
transform: translate(-50%, -50%); left: 50%;
overflow: hidden; } top: 50%;
.service .service_in .close { transform: translate(-50%, -50%);
width: 0.5rem; overflow: hidden;
height: 0.5rem; }
position: absolute;
top: 0.35rem; .service .service_in .close {
right: 0.4rem; } width: 0.5rem;
.service .service_in .title { height: 0.5rem;
width: 100%; position: absolute;
font-size: 0.48rem; top: 0.35rem;
color: #2D2727; right: 0.4rem;
font-weight: 600; }
text-align: center;
margin: 0.35rem 0; } .service .service_in .title {
.service .service_in .subhead { width: 100%;
width: 100%; font-size: 0.48rem;
font-size: 0.24rem; color: #2D2727;
color: #2D2727; font-weight: 600;
font-weight: 600; text-align: center;
text-align: center; margin: 0.35rem 0;
margin-bottom: 0.5rem; } }
.service .service_in .con {
width: 100%; .service .service_in .subhead {
height: 2.6rem; width: 100%;
display: flex; font-size: 0.24rem;
justify-content: space-evenly; color: #2D2727;
align-items: center; } font-weight: 600;
.service .service_in .con div { text-align: center;
flex: 1; margin-bottom: 0.5rem;
font-size: 0.2rem; }
text-align: center; }
.service .service_in .con .left { .service .service_in .con {
border-right: 1px solid #F0F0F0; } width: 100%;
.service .service_in .con .left p e { height: 2.6rem;
display: inline-block; display: flex;
width: 0.25rem; justify-content: space-evenly;
height: 0.25rem; align-items: center;
line-height: 0.25rem; }
text-align: center;
border-radius: 50%; .service .service_in .con div {
background-color: #ffe710; } flex: 1;
.service .service_in .con .left img { font-size: 0.2rem;
width: 3rem; text-align: center;
height: 1.7rem; }
margin-top: 0.38rem; }
.service .service_in .con .right p e { .service .service_in .con .left {
display: inline-block; border-right: 1px solid #F0F0F0;
width: 0.25rem; }
height: 0.25rem;
line-height: 0.25rem; .service .service_in .con .left p e {
text-align: center; display: inline-block;
border-radius: 50%; width: 0.25rem;
background-color: #ffe710; } height: 0.25rem;
.service .service_in .con .right img { line-height: 0.25rem;
width: 1.68rem; text-align: center;
height: 1.68rem; border-radius: 50%;
margin-top: 0.38rem; } background-color: #ffe710;
}
.service .service_in .con .left img {
width: 3rem;
height: 1.7rem;
margin-top: 0.38rem;
}
.service .service_in .con .right p e {
display: inline-block;
width: 0.25rem;
height: 0.25rem;
line-height: 0.25rem;
text-align: center;
border-radius: 50%;
background-color: #ffe710;
}
.service .service_in .con .right img {
width: 1.68rem;
height: 1.68rem;
margin-top: 0.38rem;
}
@media screen and (max-width: 768px) { @media screen and (max-width: 768px) {
.pc-bg { .pc-bg {
display: none; } display: none;
}
.m-bg { .m-bg {
display: block; } display: block;
}
.homeM { .homeM {
width: 100%; width: 100%;
height: 14.3rem; height: 14.3rem;
background: url(../images/homeM.png) no-repeat; background: url(../images/homeM.png) no-repeat;
background-size: 100% 100%; background-size: 100% 100%;
position: relative; } position: relative;
.homeM .logo { }
height: 0.5rem; .homeM .logo {
padding: 0.1rem 0 0 0.34rem; height: 0.5rem;
display: flex; padding: 0.1rem 0 0 0.34rem;
align-items: center; } display: flex;
.homeM .logo img { align-items: center;
width: 0.5rem; }
height: 0.5rem; .homeM .logo img {
margin-right: 0.08rem; } width: 0.5rem;
.homeM .logo p { height: 0.5rem;
font-size: 0.26rem; margin-right: 0.08rem;
font-weight: 600; } }
.homeM .charge { .homeM .logo p {
width: 0.6rem; font-size: 0.26rem;
height: 0.4rem; font-weight: 600;
line-height: 0.4rem; }
text-align: center; .homeM .charge {
border-radius: 0.1rem; width: 0.6rem;
font-size: 0.26rem; height: 0.4rem;
font-weight: 600; line-height: 0.4rem;
position: absolute; text-align: center;
right: 0.34rem; border-radius: 0.1rem;
top: 0.2rem; font-size: 0.26rem;
background-color: rgba(0, 0, 0, 0.2); } font-weight: 600;
.homeM .download { position: absolute;
width: 100%; right: 0.34rem;
height: 0.84rem; top: 0.2rem;
display: flex; background-color: rgba(0, 0, 0, 0.2);
justify-content: space-evenly; }
position: absolute; .homeM .download {
left: 0; width: 100%;
bottom: 0.8rem; } height: 0.84rem;
.homeM .download .iphone, display: flex;
.homeM .download .android { justify-content: space-evenly;
width: 2.78rem; position: absolute;
height: 0.84rem; } left: 0;
.homeM .swiper2 { bottom: 0.8rem;
width: 100%; }
height: 7.76rem; .homeM .download .iphone,
position: absolute; .homeM .download .android,
top: 4.5rem; .homeM .download .simulator {
overflow-x: hidden; } width: 2rem;
.homeM .swiper2 .swiper-wrapper { height: 0.6rem;
width: 100%; }
height: 8rem; } .homeM .swiper2 {
.homeM .swiper2 .swiper-wrapper .swiper-slide img { width: 100%;
width: 100%; height: 7.76rem;
height: 100%; } position: absolute;
.homeM .swiper2 .swiper-pagination { top: 4.5rem;
position: absolute; overflow-x: hidden;
top: 6.8rem; }
left: 0; } .homeM .swiper2 .swiper-wrapper {
.homeM .swiper2 .swiper-pagination .swiper-pagination-bullet { width: 100%;
width: 0.25rem !important; height: 8rem;
height: 0.25rem !important; }
background: none !important; .homeM .swiper2 .swiper-wrapper .swiper-slide img {
background-image: url(../images/li.png) !important; width: 100%;
background-size: 100% 100% !important; height: 100%;
opacity: 1 !important; }
margin-right: 0.3rem; } .homeM .swiper2 .swiper-pagination {
.homeM .swiper2 .swiper-pagination .swiper-pagination-bullet-active { position: absolute;
background: none !important; top: 6.8rem;
background-image: url(../images/li_active.png) !important; left: 0;
background-size: 100% 100% !important; }
opacity: 1 !important; } .homeM .swiper2 .swiper-pagination .swiper-pagination-bullet {
width: 0.25rem !important;
height: 0.25rem !important;
background: none !important;
background-image: url(../images/li.png) !important;
background-size: 100% 100% !important;
opacity: 1 !important;
margin-right: 0.3rem;
}
.homeM .swiper2 .swiper-pagination .swiper-pagination-bullet-active {
background: none !important;
background-image: url(../images/li_active.png) !important;
background-size: 100% 100% !important;
opacity: 1 !important;
}
.eori { .eori {
width: 100%; width: 100%;
background: #30312C; background: #30312C;
color: white; color: white;
padding: 0.2rem 0; } padding: 0.2rem 0;
.eori .recordfoot { }
color: #fff; .eori .recordfoot {
display: flex; color: #fff;
justify-content: center; display: flex;
align-items: center; } justify-content: center;
.eori .recordfoot .record { align-items: center;
display: inline-block; }
padding-right: 0.0533333333rem; .eori .recordfoot .record {
height: 0.3rem; display: inline-block;
width: 0.3rem; padding-right: 0.05333rem;
background: url(../images/icon_police.png) no-repeat; } height: 0.3rem;
.eori .gongsi { width: 0.3rem;
display: block; background: url(../images/icon_police.png) no-repeat;
text-align: center; } }
.eori .gongsi p { .eori .gongsi {
line-height: 1.3; display: block;
font-size: 0.2rem; } text-align: center;
.eori .gongsi p:nth-child(2) { }
margin: 0; } .eori .gongsi p {
.eori .tit { line-height: 1.3;
height: 1.6rem; font-size: 0.2rem;
line-height: 1.6rem; }
text-align: center; .eori .gongsi p:nth-child(2) {
font-size: 20px; } } margin: 0;
}
.eori .tit {
height: 1.6rem;
line-height: 1.6rem;
text-align: center;
font-size: 20px;
}
}
.toast { .toast {
background: rgba(0, 0, 0, 0.9); background: rgba(0, 0, 0, 0.9);
border-radius: 10px; border-radius: 10px;
@@ -338,14 +443,14 @@ html {
line-height: 40px; line-height: 40px;
text-align: center; text-align: center;
display: none; display: none;
z-index: 9; } z-index: 9;
}
.tips { .tips {
display: none; display: none;
position: fixed; position: fixed;
top: 0; top: 0;
right: 0.2666666667rem; right: 0.26667rem;
width: 6.1333333333rem; width: 6.13333rem;
z-index: 9; } z-index: 9;
}
/*# sourceMappingURL=index.css.map */

View File

@@ -114,7 +114,7 @@ html {
width: 2.78rem; width: 2.78rem;
height: 0.84rem; height: 0.84rem;
position: absolute; position: absolute;
left: 1.3rem; left: 0.3rem;
bottom: 2.1rem; bottom: 2.1rem;
} }
@@ -122,7 +122,15 @@ html {
width: 2.78rem; width: 2.78rem;
height: 0.84rem; height: 0.84rem;
position: absolute; position: absolute;
right: 1.3rem; right: 2.6rem;
bottom: 2.1rem;
}
.simulator {
width: 2.78rem;
height: 0.84rem;
position: absolute;
right: -0.8rem;
bottom: 2.1rem; bottom: 2.1rem;
} }
} }
@@ -389,9 +397,10 @@ html {
bottom: 0.8rem; bottom: 0.8rem;
.iphone, .iphone,
.android { .android,
width: 2.78rem; .simulator {
height: 0.84rem; width: 2rem;
height: 0.6rem;
} }
} }

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

View File

@@ -61,6 +61,9 @@
<div class="android"> <div class="android">
<img src="./images/android.png" alt=""> <img src="./images/android.png" alt="">
</div> </div>
<div class="simulator">
<img src="./images/simulator.png" alt="">
</div>
</div> </div>
<div class="swiper-slide"> <div class="swiper-slide">
<img src="./images/pic2.png" alt=""> <img src="./images/pic2.png" alt="">
@@ -106,6 +109,7 @@
<div class="download"> <div class="download">
<img src="./images/ios.png" class="iphone" alt=""> <img src="./images/ios.png" class="iphone" alt="">
<img src="./images/android.png" class="android" alt=""> <img src="./images/android.png" class="android" alt="">
<img src="./images/simulator.png" class="simulator" alt="">
</div> </div>
</div> </div>

View File

@@ -4,6 +4,7 @@ let urlData = getQueryString()
let urlPrefix = getUrlPrefix() let urlPrefix = getUrlPrefix()
//获取url参数 //获取url参数
let channelData = urlData.channel let channelData = urlData.channel
var simulator = 'https://image.nnbc123.cn/yinmeng_mlq.apk';
//定义官方渠道包 //定义官方渠道包
const channelDict = { const channelDict = {
'yinmeng0': 'https://image.lecheng163.com/yinmeng_yinmeng0.apk', 'yinmeng0': 'https://image.lecheng163.com/yinmeng_yinmeng0.apk',
@@ -85,6 +86,9 @@ $(function () {
$('.iphone').on('click', function () { $('.iphone').on('click', function () {
window.location.href = iosUrl; window.location.href = iosUrl;
}) })
$('.simulator').on('click', function () {
window.location.href = simulator;
})
//联系客服按钮 //联系客服按钮
$('.homePc .kefu').click(function () { $('.homePc .kefu').click(function () {
$('.service').fadeIn() $('.service').fadeIn()