Authored by 邱骏

修改资源位切图规则

@@ -86,7 +86,7 @@ export default { @@ -86,7 +86,7 @@ export default {
86 let resourceData = content.data[0].data[0]; 86 let resourceData = content.data[0].data[0];
87 87
88 if (resourceData) { 88 if (resourceData) {
89 - resourceData.src = resourceData.src.replace(/{mode}/, 1).replace(/{width}/, 690).replace(/h\/{height}/, ''); 89 + resourceData.src = resourceData.src.replace(/{mode}/, 2).replace(/{width}/, 690).replace(/h\/{height}/, '');
90 this.resourceData = resourceData; 90 this.resourceData = resourceData;
91 91
92 // YAS 92 // YAS
@@ -196,12 +196,12 @@ export default { @@ -196,12 +196,12 @@ export default {
196 } 196 }
197 197
198 .resource-content { 198 .resource-content {
199 - display: inline-block; 199 + display: block;
200 padding: 0 20px; 200 padding: 0 20px;
201 overflow: hidden; 201 overflow: hidden;
202 202
203 img { 203 img {
204 - width: 100%; 204 + width: 100%;
205 } 205 }
206 } 206 }
207 207