Commit 377a11f6 authored by feiwenli's avatar feiwenli

修改适配

parent 7f16a6ca
...@@ -156,12 +156,12 @@ const formatMobile = (mobile) => { ...@@ -156,12 +156,12 @@ const formatMobile = (mobile) => {
// background-size: 100% 100%; // background-size: 100% 100%;
background: rgba(26, 92, 175, 0.25); background: rgba(26, 92, 175, 0.25);
.num { .num {
width: 60px; width: 13%;
margin-left: 16px; // margin-left: 16px;
text-align: center; text-align: center;
} }
.title { .title {
width: 260px; width: 55%;
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
white-space: nowrap; white-space: nowrap;
...@@ -173,17 +173,17 @@ const formatMobile = (mobile) => { ...@@ -173,17 +173,17 @@ const formatMobile = (mobile) => {
} }
.item { .item {
width: 98%; width: 100%;
display: flex; display: flex;
margin: 0 auto; margin: 0 auto;
background: url("@/assets/homeImgs/blue_titlebg.png") no-repeat; background: url("@/assets/homeImgs/blue_titlebg.png") no-repeat;
background-size: 100% 100%; background-size: contain;
.num { .num {
width: 60px; width: 13%;
text-align: center; text-align: center;
} }
.title { .title {
width: 260px; width: 55%;
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
white-space: nowrap; white-space: nowrap;
......
...@@ -90,9 +90,9 @@ onMounted(() => {}); ...@@ -90,9 +90,9 @@ onMounted(() => {});
.content { .content {
background-size: 100% 100%; background-size: 100% 100%;
width: 833px; width: 100%;
height: 326px; height: 326px;
margin: 0 0 10px 20px; margin: 0 0 10px 0.5%;
display: flex; display: flex;
flex-wrap: wrap; flex-wrap: wrap;
.box { .box {
...@@ -105,7 +105,7 @@ onMounted(() => {}); ...@@ -105,7 +105,7 @@ onMounted(() => {});
line-height: 40px; line-height: 40px;
} }
.toptitle { .toptitle {
width: 98%; width: 95%;
display: flex; display: flex;
margin: 0 auto; margin: 0 auto;
background: rgba(26, 92, 175, 0.25); background: rgba(26, 92, 175, 0.25);
...@@ -116,7 +116,7 @@ onMounted(() => {}); ...@@ -116,7 +116,7 @@ onMounted(() => {});
text-align: center; text-align: center;
} }
.house { .house {
width: 240px; width: 25%;
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
white-space: nowrap; white-space: nowrap;
...@@ -124,7 +124,7 @@ onMounted(() => {}); ...@@ -124,7 +124,7 @@ onMounted(() => {});
.num { .num {
width: 80px; width: 80px;
text-align: center; text-align: center;
margin-right: 60px; margin-right: 5%;
} }
.dot_box { .dot_box {
width: 80px; width: 80px;
...@@ -144,7 +144,7 @@ onMounted(() => {}); ...@@ -144,7 +144,7 @@ onMounted(() => {});
} }
.item { .item {
width: 98%; width: 95%;
display: flex; display: flex;
margin: 0 auto; margin: 0 auto;
align-items: center; align-items: center;
...@@ -155,7 +155,7 @@ onMounted(() => {}); ...@@ -155,7 +155,7 @@ onMounted(() => {});
font-style: normal; font-style: normal;
} }
.house { .house {
width: 240px; width: 25%;
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
white-space: nowrap; white-space: nowrap;
...@@ -167,7 +167,7 @@ onMounted(() => {}); ...@@ -167,7 +167,7 @@ onMounted(() => {});
.num { .num {
width: 80px; width: 80px;
text-align: center; text-align: center;
margin-right: 60px; margin-right: 5%;
} }
.dot_box { .dot_box {
width: 80px; width: 80px;
......
...@@ -45,7 +45,7 @@ ...@@ -45,7 +45,7 @@
<echart-moudle :options="optionsEducational" :id="'educational-pie'" :width="207" :height="130"></echart-moudle> <echart-moudle :options="optionsEducational" :id="'educational-pie'" :width="207" :height="130"></echart-moudle>
</div> </div>
</div> </div>
<echart-moudle :options="optionsTongji" :id="'tongji-bar'" :width="430" :height="230"></echart-moudle> <echart-moudle :options="optionsTongji" :id="'tongji-bar'" :width="'100%'" :height="230"></echart-moudle>
</div> </div>
</div> </div>
...@@ -527,7 +527,7 @@ onMounted(() => {}); ...@@ -527,7 +527,7 @@ onMounted(() => {});
font-size: 18px; font-size: 18px;
color: #ffffff; color: #ffffff;
line-height: 32px; line-height: 32px;
width: 470px; width: 100%;
padding: 5px 21px 0px 10px; padding: 5px 21px 0px 10px;
background: url("@/assets/homeImgs/djtl_boxbg.png") no-repeat; background: url("@/assets/homeImgs/djtl_boxbg.png") no-repeat;
background-size: 100% 100%; background-size: 100% 100%;
......
...@@ -155,11 +155,11 @@ const formatMobile = (mobile) => { ...@@ -155,11 +155,11 @@ const formatMobile = (mobile) => {
// background-size: 100% 100%; // background-size: 100% 100%;
background: rgba(26, 92, 175, 0.25); background: rgba(26, 92, 175, 0.25);
.num { .num {
width: 60px; width: 13%;
margin-left: 22px; margin-left: 22px;
} }
.title { .title {
width: 250px; width: 53%;
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
white-space: nowrap; white-space: nowrap;
...@@ -171,10 +171,13 @@ const formatMobile = (mobile) => { ...@@ -171,10 +171,13 @@ const formatMobile = (mobile) => {
} }
.item { .item {
.num { .num {
margin-left: 10px; width: 13%;
margin-left: 22px;
text-align: left;
} }
.title { .title {
width: 250px; width: 53%;
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
white-space: nowrap; white-space: nowrap;
...@@ -182,13 +185,13 @@ const formatMobile = (mobile) => { ...@@ -182,13 +185,13 @@ const formatMobile = (mobile) => {
} }
.status { .status {
width: 80px; width: 80px;
text-align: center; text-align: right;
margin-left: 20px; margin-left: 20px;
} }
} }
} }
.scroll { .scroll {
width: 450px; width: 95%;
height: 140px; height: 140px;
margin: 0 auto; margin: 0 auto;
overflow: hidden; overflow: hidden;
......
...@@ -54,7 +54,7 @@ onMounted(() => {}); ...@@ -54,7 +54,7 @@ onMounted(() => {});
<style lang="scss" scoped> <style lang="scss" scoped>
.scroll { .scroll {
width: 450px; width: 95%;
height: 150px; height: 150px;
margin: 0 auto; margin: 0 auto;
overflow: hidden; overflow: hidden;
...@@ -63,7 +63,7 @@ onMounted(() => {}); ...@@ -63,7 +63,7 @@ onMounted(() => {});
font-size: 18px; font-size: 18px;
color: #ffffff; color: #ffffff;
line-height: 32px; line-height: 32px;
width: 470px; width: 100%;
padding: 5px 0 26px 0; padding: 5px 0 26px 0;
background: url("@/assets/homeImgs/sqjj_boxbg.png") no-repeat; background: url("@/assets/homeImgs/sqjj_boxbg.png") no-repeat;
background-size: 100% 100%; background-size: 100% 100%;
......
...@@ -207,12 +207,12 @@ const formatMobile = (mobile) => { ...@@ -207,12 +207,12 @@ const formatMobile = (mobile) => {
// background-size: 100% 100%; // background-size: 100% 100%;
background: rgba(26, 92, 175, 0.25); background: rgba(26, 92, 175, 0.25);
.num { .num {
width: 60px; width: 11%;
margin-left: 16px; margin-left: 16px;
text-align: center; text-align: center;
} }
.title { .title {
width: 260px; width: 55%;
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
white-space: nowrap; white-space: nowrap;
...@@ -225,11 +225,11 @@ const formatMobile = (mobile) => { ...@@ -225,11 +225,11 @@ const formatMobile = (mobile) => {
.item { .item {
.num { .num {
// margin-left: 10px; // margin-left: 10px;
width: 50px; width: 10%;
text-align: left; text-align: left;
} }
.title { .title {
width: 250px; width: 53%;
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
white-space: nowrap; white-space: nowrap;
...@@ -239,7 +239,7 @@ const formatMobile = (mobile) => { ...@@ -239,7 +239,7 @@ const formatMobile = (mobile) => {
height: 14px; height: 14px;
background: #f2b739; background: #f2b739;
border-radius: 50%; border-radius: 50%;
margin-left: 30px; margin-left: 12%;
} }
} }
} }
......
...@@ -6,7 +6,8 @@ ...@@ -6,7 +6,8 @@
width: 100%; width: 100%;
height: 44px; height: 44px;
line-height: 30px; line-height: 30px;
background: url("../assets/homeImgs/title.png") 100% 100% no-repeat; background: url("../assets/homeImgs/title.png") no-repeat;
background-size: contain;
text-indent: 40px; text-indent: 40px;
span { span {
......
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