Compare commits
3 Commits
6136342c45
...
8e6b8da067
| Author | SHA1 | Date | |
|---|---|---|---|
| 8e6b8da067 | |||
| 0032698b7f | |||
| 07e88367ec |
@@ -461,30 +461,13 @@
|
||||
<div class="mask-scroll-content"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
{/block}
|
||||
{block name="script"}
|
||||
<script type="text/javascript">
|
||||
// (function (doc, win) {
|
||||
// var docEl = doc.documentElement,
|
||||
// resizeEvt = 'orientationchange' in window ? 'orientationchange' : 'resize',
|
||||
// recalc = function () {
|
||||
// var clientWidth = docEl.clientWidth;
|
||||
// if (!clientWidth) return;
|
||||
|
||||
// // 设计稿750px → 基准font-size=100px,375px设备自动变为50px
|
||||
// clientWidth = Math.min(clientWidth, 750); // 大屏不超过设计稿宽度
|
||||
// clientWidth = Math.max(clientWidth, 320); // 小屏保底
|
||||
// docEl.style.fontSize = 100 * (clientWidth / 750) + 'px';
|
||||
|
||||
// // 将console.log放在recalc内部,每次计算后打印
|
||||
// console.log(docEl.style.fontSize, '=docEl.style.fontSize=');
|
||||
// };
|
||||
|
||||
// if (!doc.addEventListener) return;
|
||||
// win.addEventListener(resizeEvt, recalc, false);
|
||||
// doc.addEventListener('DOMContentLoaded', recalc, false);
|
||||
// })(document, window);
|
||||
|
||||
let swiper=null;
|
||||
const advantageItems = document.querySelectorAll('.advantage-card');
|
||||
let scrollTop = 0; // 保存页面滚动位置
|
||||
|
||||
@@ -77,4 +77,89 @@ a {
|
||||
html {
|
||||
font-size: inherit !important; /* 继承内联样式的50px,而非浏览器默认值 */
|
||||
-webkit-text-size-adjust: none !important; /* 禁止iOS自动调整字体大小 */
|
||||
}
|
||||
}
|
||||
.oircoEgapp-foot .logo-white img {
|
||||
margin: 0 auto;
|
||||
}
|
||||
.oircoEgapp-foot .m_footer {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
.oircoEgapp-foot .m_footer .left,
|
||||
.oircoEgapp-foot .foot-con {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
}
|
||||
.oircoEgapp-foot .m_footer .right {
|
||||
max-width: 55%;
|
||||
}
|
||||
.oircoEgapp-foot .m_footer .left {
|
||||
max-width: 40%;
|
||||
justify-content: end;
|
||||
margin-right: 4%;
|
||||
}
|
||||
.oircoEgapp-foot .foot-con span {
|
||||
width: auto;
|
||||
padding: 0 0.625rem;
|
||||
}
|
||||
.oircoEgapp-foot .foot-cate .clearfix li h3 {
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
.oircoEgapp-foot .foot-cate .clearfix li p,
|
||||
.oircoEgapp-foot .foot-cate .clearfix li p a {
|
||||
font-size: 12px;
|
||||
}
|
||||
.logo-white {
|
||||
text-align: center;
|
||||
padding: 1rem 0 0;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
.foot-cate {
|
||||
padding: 0 0.16rem;
|
||||
}
|
||||
.foot-cate h3 {
|
||||
font-size: 0.28rem;
|
||||
}
|
||||
.foot-cate li {
|
||||
padding: 0.7rem 0;
|
||||
min-height: 1.8rem;
|
||||
}
|
||||
.foot-cate li p {
|
||||
line-height: 0.8rem;
|
||||
}
|
||||
.m_footer .right {
|
||||
float: right;
|
||||
width: 57%;
|
||||
text-align: left;
|
||||
}
|
||||
.foot-con span {
|
||||
font-size:0.28rem;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
-webkit-line-clamp: 1;
|
||||
width: 100%;
|
||||
height: auto;
|
||||
cursor: pointer;
|
||||
font-family: 'HarmonyOS-Medium';
|
||||
}
|
||||
.oircoEgapp-foot .foot-con span {
|
||||
width: auto;
|
||||
padding: 0 0.125rem;
|
||||
}
|
||||
.m_footer .left a{
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
.m_footer .left img {
|
||||
width: 0.7rem;
|
||||
padding-right: 0.2rem;
|
||||
padding-top: 0;
|
||||
}
|
||||
.oircoEgapp-foot .m_footer .right {
|
||||
max-width: 50%;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user