
@@ -186,7 +183,9 @@ export default {
color: #262626;
margin: 1rem auto;
width: 80%;
- height: 4rem;
+ //height: 4rem;
+ overflow:hidden; //超出的文本隐藏
+ text-overflow:ellipsis; //溢出用省略号显示
display:-webkit-box; //作为弹性伸缩盒子模型显示。
-webkit-box-orient:vertical; //设置伸缩盒子的子元素排列方式--从上到下垂直排列
-webkit-line-clamp:3; //显示的行
@@ -194,4 +193,15 @@ export default {
}
}
+@media screen and (min-width: 1100px) and (max-width: 1400px) {
+ .news_context {
+ width: 20rem !important;
+ height: 20rem !important;
+
+ .news_context_img {
+ height: 12.5rem !important;
+ }
+ }
+}
+
diff --git a/src/views/index/components/party_building_activities.vue b/src/views/index/components/party_building_activities.vue
index 5a13029..0daaa94 100644
--- a/src/views/index/components/party_building_activities.vue
+++ b/src/views/index/components/party_building_activities.vue
@@ -60,10 +60,10 @@
-
+
-
+
@@ -159,7 +159,7 @@ export default {
name: "party_building_activities",
components: {
SlideshowCard
- }
+ },
}
diff --git a/src/views/index/components/scientific_research_trends.vue b/src/views/index/components/scientific_research_trends.vue
index 620bf96..62a150b 100644
--- a/src/views/index/components/scientific_research_trends.vue
+++ b/src/views/index/components/scientific_research_trends.vue
@@ -25,10 +25,10 @@
-
+
-
+
@@ -193,10 +193,10 @@
-
+
-
+
@@ -419,7 +419,7 @@ export default {
}
}
-@media screen and (min-width: 1100px) and (max-width: 1400px) {
+@media screen and (min-width: 1100px) and (max-width: 1400px) {
.scientific_context_text {
padding-left: 2rem !important;
diff --git a/src/views/index/components/teaching_student.vue b/src/views/index/components/teaching_student.vue
index 008dd7e..4fcbcf6 100644
--- a/src/views/index/components/teaching_student.vue
+++ b/src/views/index/components/teaching_student.vue
@@ -27,13 +27,13 @@
-
+
-
+
-
+
-
+
不忘初心,展望未来——信息科学与技术学院开展转专业同学交流会
@@ -53,7 +53,7 @@
-
+
@@ -63,7 +63,7 @@
-
+
-
+
信息科学与技术学院开展英语四级备考指导会
@@ -83,7 +83,7 @@
-
+
@@ -93,7 +93,7 @@
-
+
-
+
信息科学与技术学院新生入学教育—国际化讲座
@@ -113,7 +113,7 @@
-
+
@@ -123,7 +123,7 @@
-
+
-
+
信息科学与技术学院2021级研究生职业生涯规划入学专题教育顺利开展
@@ -143,7 +143,7 @@
-
+
@@ -153,7 +153,7 @@
-
+
-
+
秋风瑟瑟,信息送暖 ——信息学院家庭经济困难学生资助政策座谈会
@@ -173,7 +173,7 @@
-
+
@@ -204,7 +204,7 @@ export default {
name: "teaching_student",
data(){
return{
- width:document.documentElement.clientWidth
+ width:document.documentElement.clientWidth>=992
}
},
}
@@ -240,6 +240,7 @@ export default {
}
.tw_context {
+ width: 95%;
font-family: PingFangSC-Medium, PingFang SC;
color: #161616;
diff --git a/src/views/school_profile/index.vue b/src/views/school_profile/index.vue
index e35ae5b..722a9f7 100644
--- a/src/views/school_profile/index.vue
+++ b/src/views/school_profile/index.vue
@@ -10,10 +10,10 @@
-
+
-
+
-
+
@@ -114,7 +114,7 @@
-
+
@@ -130,6 +130,9 @@ export default {
width: document.documentElement.clientWidth
}
},
+ // created() {
+ // alert(this.width>=992)
+ // }
}
diff --git a/src/views/teaching_staff/index.vue b/src/views/teaching_staff/index.vue
index 8fbcd3d..f42a775 100644
--- a/src/views/teaching_staff/index.vue
+++ b/src/views/teaching_staff/index.vue
@@ -10,10 +10,10 @@
-
+
-
+