|
@@ -14,14 +14,14 @@
|
14
|
14
|
</div>
|
15
|
15
|
|
16
|
16
|
<div class="row mobtype border-bottom">
|
17
|
|
-
|
18
|
|
- <div class="col-xs-6">
|
19
|
|
- <div> <p style="line-height:40px">选择想看的动态类型:</p></div>
|
|
17
|
+ <div class="col-xs-6">
|
|
18
|
+ <div>
|
|
19
|
+ <p style="line-height:40px">选择想看的动态类型:</p>
|
20
|
20
|
</div>
|
21
|
|
- <div class="col-xs-6">
|
22
|
|
- <el-button class="btn-link mobbtn" @click="drawer = true" type="button" style="margin-left: 16px;">全部动态</el-button>
|
23
|
|
- </div>
|
24
|
|
-
|
|
21
|
+ </div>
|
|
22
|
+ <div class="col-xs-6">
|
|
23
|
+ <el-button class="btn-link mobbtn" @click="drawer = true" type="button" style="margin-left: 16px;">全部动态</el-button>
|
|
24
|
+ </div>
|
25
|
25
|
</div>
|
26
|
26
|
<el-drawer :visible.sync="drawer" :direction="direction" :before-close="handleClose" :show-close="true" size="80%">
|
27
|
27
|
<div>
|
|
@@ -42,12 +42,14 @@
|
42
|
42
|
<div class="contanier center-block dyn-main">
|
43
|
43
|
<div class="row">
|
44
|
44
|
<div class="col-md-6 col-xs-6" v-for="(item,index) in caselist" :key="index" :class="{ marginTP: index > 1 }">
|
45
|
|
- <case-card :thumb="item.caseCoverImg" :title="item.caseTitle" :caption="item.caseSummary"></case-card>
|
|
45
|
+ <router-link :to="{ name: 'details', query: { id: item.id }}">
|
|
46
|
+ <case-card :thumb="item.caseCoverImg" :title="item.caseTitle" :caption="item.caseSummary"></case-card>
|
|
47
|
+ </router-link>
|
46
|
48
|
</div>
|
47
|
49
|
</div>
|
48
|
50
|
</div>
|
49
|
51
|
|
50
|
|
- <div style="margin-top:40px" >
|
|
52
|
+ <div style="margin-top:40px">
|
51
|
53
|
<button type="button" class="btn btn-default" @click="more" v-if="!allLoaded">加载更多</button>
|
52
|
54
|
<p v-else>已经到底了~更多案例尽请期待~</p>
|
53
|
55
|
</div>
|
|
@@ -158,21 +160,20 @@ export default {
|
158
|
160
|
</script>
|
159
|
161
|
|
160
|
162
|
<style scoped>
|
161
|
|
-
|
162
|
163
|
.border-bottom {
|
163
|
164
|
/* display: none; */
|
164
|
165
|
border-bottom: 1px solid #bfbfbf;
|
165
|
|
- margin-top: 10px !important;
|
|
166
|
+ margin-top: 10px !important;
|
|
167
|
+}
|
|
168
|
+.btn1 {
|
|
169
|
+ font-size: 24px !important;
|
|
170
|
+ color: black !important;
|
|
171
|
+ border: none !important;
|
|
172
|
+}
|
|
173
|
+.btn1:hover {
|
|
174
|
+ color: red !important;
|
|
175
|
+ text-decoration: none;
|
166
|
176
|
}
|
167
|
|
- .btn1 {
|
168
|
|
- font-size: 24px !important;
|
169
|
|
- color: black !important;
|
170
|
|
- border: none !important;
|
171
|
|
- }
|
172
|
|
- .btn1:hover {
|
173
|
|
- color: red !important;
|
174
|
|
- text-decoration: none;
|
175
|
|
- }
|
176
|
177
|
.text-left {
|
177
|
178
|
color: #000;
|
178
|
179
|
}
|
|
@@ -187,7 +188,7 @@ export default {
|
187
|
188
|
}
|
188
|
189
|
|
189
|
190
|
@media (max-width: 992px) {
|
190
|
|
- .dynamic{
|
|
191
|
+ .dynamic {
|
191
|
192
|
margin-top: 58px;
|
192
|
193
|
}
|
193
|
194
|
.comtype {
|
|
@@ -199,8 +200,8 @@ export default {
|
199
|
200
|
}
|
200
|
201
|
}
|
201
|
202
|
.row {
|
202
|
|
- margin: 0;
|
203
|
|
- }
|
|
203
|
+ margin: 0;
|
|
204
|
+}
|
204
|
205
|
.marginTP {
|
205
|
206
|
margin-top: 3rem;
|
206
|
207
|
}
|
|
@@ -215,17 +216,16 @@ export default {
|
215
|
216
|
justify-content: center;
|
216
|
217
|
}
|
217
|
218
|
.dynamic {
|
218
|
|
- margin-top: 116px;
|
219
|
|
- margin-bottom: -116px;
|
220
|
|
- padding-bottom: 116px;
|
221
|
|
- background-color: #fafafa;
|
222
|
|
-}
|
223
|
|
-
|
|
219
|
+ margin-top: 116px;
|
|
220
|
+ margin-bottom: -116px;
|
|
221
|
+ padding-bottom: 116px;
|
|
222
|
+ background-color: #fafafa;
|
|
223
|
+ }
|
|
224
|
+
|
224
|
225
|
.mobtype {
|
225
|
226
|
display: none;
|
226
|
227
|
}
|
227
|
228
|
|
228
|
|
-
|
229
|
229
|
.btn {
|
230
|
230
|
font-size: 24px;
|
231
|
231
|
margin-top: 88px;
|
|
@@ -253,16 +253,14 @@ export default {
|
253
|
253
|
}
|
254
|
254
|
}
|
255
|
255
|
|
|
256
|
+.mobbtn {
|
|
257
|
+ color: #e03723;
|
256
|
258
|
|
257
|
|
-.mobbtn{
|
258
|
|
-color: #e03723;
|
259
|
|
-
|
260
|
|
- padding:12px 40px;
|
|
259
|
+ padding: 12px 40px;
|
261
|
260
|
|
262
|
|
- border-radius: 0px;
|
|
261
|
+ border-radius: 0px;
|
263
|
262
|
|
264
|
|
- background-color: rgb(252, 151, 252);
|
265
|
|
- border: 2px solid #bfbfbf;
|
266
|
|
-
|
|
263
|
+ background-color: rgb(252, 151, 252);
|
|
264
|
+ border: 2px solid #bfbfbf;
|
267
|
265
|
}
|
268
|
266
|
</style>
|