* {
margin: 0;
padding: 0;
}
a {
text-decoration: none;
}
ul,
li {
list-style: none;
}
div {
box-sizing: border-box;
}
img {
display: block;
}
.header-two {
width: 100%;
background-color: #A73327;
height: 50px;
font-size: 15px;
color: #ffffff;
line-height: 50px;
}
.header-two a {
padding: 0 40px;
font-weight: 300;
cursor: pointer;
color: #ffffff;
}
.index-cont {
padding: 20px;
}
.index-cont-flex {
width: 100%;
display: flex;
}
.index-cont-flex-left {
width: 80%;
}
.index-cont-flex-right {
width: 20%;
text-align: center;
}
.header-two a.weight {
font-weight: 600;
}
.pages {
display: flex;
align-items: center;
justify-content: center;
margin-top: 70px;
}
.pages .el-pagination.is-background .el-pager li:not(.disabled).active {
background-color: #A73327;
}
.pages .el-pagination.is-background .el-pager li:not(.disabled):hover {
color: #A73327;
}
.pages .el-pagination.is-background .el-pager li:not(.disabled).active:hover {
color: #ffffff;
}
.index-cont-flex-right img {
width: 234px;
height: 736px;
display: inline-block;
}
.down-left {
background-color: rgba(241, 243, 247, .8);
width: 600px;
height: 500px;
margin: auto;
padding-top: 30px;
}
.down-main {
background-color: #ffffff;
border-radius: 10px;
width: 540px;
height: 440px;
margin: auto;
}
.down-img {
text-align: center;
display: block;
}
.down-img img {
margin: auto;
padding-top: 10px;
height: 300px;
}
.down-text {
color: #000000;
font-size: 24px;
text-align: center;
margin-top: 10px;
}
console.log(‘res’)
// 初始化内容
console.log(‘res’)
var sUserAgent = navigator.userAgent.toLowerCase();
console.log(‘是否手机’+sUserAgent)
if (/ipad|iphone|midp|rv:1.2.3.4|ucweb|android|windows ce|windows mobile/.test(sUserAgent)) {
window.location.href = ‘https://mbd.baidu.com/ma/s/bhBPlclI’
} else {
//pc端
}