master
yujialong 10 months ago
parent 627ee3045c
commit ce1dd4ba6f
  1. 8
      src/libs/resize/index.js
  2. 39
      src/pages/article/activity.vue
  3. 8
      src/pages/article/editor.css
  4. 3
      src/pages/article/index.vue
  5. 10
      src/pages/column/index.vue
  6. 17
      src/pages/column/result.vue
  7. 5
      src/pages/estate/orgSetup/index.vue
  8. 2
      src/pages/industrial/index.vue
  9. 991
      src/pages/news/index.vue
  10. 15
      src/pages/overview/index.vue
  11. 1
      src/pages/overviewLocation/index.vue

@ -12,8 +12,8 @@ function setRem() {
}
// 初始化
setRem();
// setRem();
// 改变窗口大小时重新设置 rem
window.onresize = function() {
setRem();
};
// window.onresize = function() {
// setRem();
// };

@ -175,6 +175,7 @@ export default {
/deep/.des {
a {
color: rgb(0, 0, 238);
word-wrap: break-word;
}
img {
max-width: 100%;
@ -211,4 +212,42 @@ export default {
font-size: 18px;
}
}
@media (max-width: 1420px) {
.content {
width: 98%;
}
}
@media (max-width: 1200px) {
.article {
/deep/.des {
img {
max-width: 100%;
height: 15rem;
}
}
}
.banner {
font-size: 1.5rem;
}
.article {
flex-direction: column;
.left {
width: 100%;
h2 {
font-size: 1.5rem;
}
}
}
.article {
.des {
img {
height: 15rem !important;
}
}
}
.right {
width: 100%;
}
}
</style>

@ -116,3 +116,11 @@
background: #1583ff;
border-radius: 4px;
}
@media (max-width: 640px) {
.tiny-wrap .people {
flex-direction: column;
}
.tiny-wrap .people .texts {
margin-left: 0;
}
}

@ -230,8 +230,11 @@ export default {
border-bottom: 1px solid #d8d8d8;
}
/deep/.des {
width: 100%;
overflow: auto;
a {
color: rgb(0, 0, 238);
word-wrap: break-word;
}
img {
max-width: 100%;

@ -673,6 +673,7 @@ export default {
},
//
getLeftColumn () {
this.getAllId = []
this.$post(`${this.api.oneLevelChecksThemAll}?id=${this.id}&isSort=1&siteId=${this.site}`)
.then(({ data }) => {
const fromColumn = this.$route.query.column; // column
@ -750,7 +751,7 @@ export default {
},
//
columnClick (to, left) {
console.log("🚀 ~ file: index.vue:749 ~ columnClick ~ to, left:", to, left)
this.page = 1
const { typeId } = to;
// /
if (left && to.level === 1 && (typeId === 2 || typeId === 3)) return false;
@ -869,7 +870,7 @@ export default {
if (this.isFilter) {
this.getIds(this.columns, id);
} else if (this.columns.length) {
id = [this.$refs.leftColumn.getCurrentKey()];
id = this.getAllId.length ? this.getAllId : [this.$refs.leftColumn.getCurrentKey()];
}
this.getArticle(id);
},
@ -1186,10 +1187,10 @@ export default {
margin-left: 10px;
li {
flex-direction: column;
width: calc(25% - 30px);
width: calc(33% - 30px);
margin-right: 30px;
background-color: transparent;
&:nth-child(4n) {
&:nth-child(3n) {
margin-right: 0;
}
}
@ -1364,6 +1365,7 @@ export default {
/deep/.des {
a {
color: rgb(0, 0, 238);
word-wrap: break-word;
}
img {
max-width: 100%;

@ -177,4 +177,21 @@ export default {
color: #333;
}
}
@media (max-width: 640px) {
.articles {
width: 90%;
}
.top {
flex-direction: column;
padding: 0 10px;
}
.search {
width: 100%;
margin-right: 0;
margin-bottom: 20px;
input {
width: 100%;
}
}
}
</style>

@ -94,7 +94,7 @@ export default {
}
}
.lg-bg {
max-width: 85%;
width: 1200px;
margin: 0 auto;
text-align: center;
img {
@ -116,5 +116,8 @@ export default {
}
}
}
.lg-bg {
width: 90%;
}
}
</style>

@ -222,7 +222,7 @@ export default {
width: 560px;
height: 500px;
margin: -122px -83px 0 0;
object-fit: cover;
// object-fit: cover;
}
}
.land {

File diff suppressed because it is too large Load Diff

@ -115,7 +115,7 @@
</div>
<div class="block scan gray">
<h2 class="b-title wow fadeInUp"
<h2 class="b-title wow fadeInUp hide-bd"
v-html="modules[8].form.title"></h2>
<p class="intro wow fadeInUp"
data-wow-delay="0.5s">{{ modules[8].form.des }}</p>
@ -454,6 +454,12 @@ export default {
}
}
@media (max-width: 750px) {
.hide-bd:after {
display: none;
}
.block {
padding: 50px 0;
}
.core {
.texts {
position: static;
@ -464,5 +470,12 @@ export default {
background: #333;
}
}
.fac {
.event {
.pic {
display: none;
}
}
}
}
</style>

@ -65,6 +65,7 @@ export default {
}
/deep/ img {
width: 100% !important;
object-fit: cover;
}
}
.video {

Loading…
Cancel
Save