Commit db81e704 authored by 朱国瑞's avatar 朱国瑞

样式优化

parent ecf86825
......@@ -91,7 +91,7 @@ export default {
.pc {
.main_content {
width: 750px;
height: 1334px;
min-height: 1334px;
background: #ffffff;
position: relative;
display: flex;
......
<template>
<div class="page" :class="{'mobile':_isMobile,'pc':!_isMobile}" :style="{'height':pageHeight}">
<div class="page" :class="{'mobile':_isMobile,'pc':!_isMobile}">
<div class="main_content">
<div class="top" :class="{'small':_isMobile && !isBig}" :style="{'height':topHeiht}">
<div class="page_title">{{$t('strings.homeTitle')}}</div>
......@@ -631,7 +631,6 @@ export default {
if (!isMobile()) {
document.getElementsByTagName("body")[0].style.minWidth = "750px";
this.topHeiht = calcCoord({ minTop: 918, maxTop: 1142.6 }).top;
this.pageHeight = 1334 + "px";
this.topHeiht = 1042.6;
} else {
this.topHeiht = calcCoord({ minTop: 918, maxTop: 1142.6 }).top;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment