|
@@ -1,5 +1,5 @@
|
|
|
<template>
|
|
|
- <div>
|
|
|
+ <div class="list">
|
|
|
<breadcrumb ref="breadcrumb"></breadcrumb>
|
|
|
<div class="listHome">
|
|
|
<div class="listBoxLeft">
|
|
@@ -76,59 +76,62 @@ export default {
|
|
|
}
|
|
|
};
|
|
|
</script>
|
|
|
-<style lang="scss">
|
|
|
+<style lang="scss" scoped>
|
|
|
.divider {
|
|
|
width: 70%;
|
|
|
margin: 5% auto;
|
|
|
}
|
|
|
-.listHome {
|
|
|
+.list {
|
|
|
width: 70%;
|
|
|
margin: 0 auto;
|
|
|
- display: flex;
|
|
|
- .listBoxLeft {
|
|
|
- width: 25%;
|
|
|
- margin-top: 5%;
|
|
|
- margin-right: 5%;
|
|
|
- }
|
|
|
- .listBoxRight {
|
|
|
- width: 70%;
|
|
|
- margin-top: 5%;
|
|
|
- .listBox {
|
|
|
- width: 100%;
|
|
|
- margin: 0 auto;
|
|
|
- margin-bottom: 5%;
|
|
|
- .el-card__body {
|
|
|
- display: flex;
|
|
|
- }
|
|
|
- .listimg {
|
|
|
- display: block;
|
|
|
- width: 15%;
|
|
|
- height: 150px;
|
|
|
- cursor: pointer;
|
|
|
- }
|
|
|
- .text {
|
|
|
- width: 70%;
|
|
|
- margin-left: 5%;
|
|
|
- .title {
|
|
|
- cursor: pointer;
|
|
|
- width: 100%;
|
|
|
- overflow: hidden;
|
|
|
- text-overflow: ellipsis;
|
|
|
- white-space: nowrap;
|
|
|
+ .listHome {
|
|
|
+ width: 100%;
|
|
|
+ display: flex;
|
|
|
+ .listBoxLeft {
|
|
|
+ width: 25%;
|
|
|
+ margin-top: 5%;
|
|
|
+ margin-right: 5%;
|
|
|
+ }
|
|
|
+ .listBoxRight {
|
|
|
+ width: 70%;
|
|
|
+ margin-top: 5%;
|
|
|
+ .listBox {
|
|
|
+ width: 100%;
|
|
|
+ margin: 0 auto;
|
|
|
+ margin-bottom: 5%;
|
|
|
+ .el-card__body {
|
|
|
+ display: flex;
|
|
|
}
|
|
|
- .describe {
|
|
|
- width: 100%;
|
|
|
- overflow: hidden;
|
|
|
- text-overflow: ellipsis;
|
|
|
- display: -webkit-box;
|
|
|
- -webkit-line-clamp: 2;
|
|
|
- -webkit-box-orient: vertical;
|
|
|
- color: #999;
|
|
|
+ .listimg {
|
|
|
+ display: block;
|
|
|
+ width: 15%;
|
|
|
+ height: 150px;
|
|
|
+ cursor: pointer;
|
|
|
}
|
|
|
- .date {
|
|
|
- width: 100%;
|
|
|
- color: #999;
|
|
|
- line-height: 3em;
|
|
|
+ .text {
|
|
|
+ width: 70%;
|
|
|
+ margin-left: 5%;
|
|
|
+ .title {
|
|
|
+ cursor: pointer;
|
|
|
+ width: 100%;
|
|
|
+ overflow: hidden;
|
|
|
+ text-overflow: ellipsis;
|
|
|
+ white-space: nowrap;
|
|
|
+ }
|
|
|
+ .describe {
|
|
|
+ width: 100%;
|
|
|
+ overflow: hidden;
|
|
|
+ text-overflow: ellipsis;
|
|
|
+ display: -webkit-box;
|
|
|
+ -webkit-line-clamp: 2;
|
|
|
+ -webkit-box-orient: vertical;
|
|
|
+ color: #999;
|
|
|
+ }
|
|
|
+ .date {
|
|
|
+ width: 100%;
|
|
|
+ color: #999;
|
|
|
+ line-height: 3em;
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
}
|