Authored by 邱骏

修改资源位切图规则

... ... @@ -86,7 +86,7 @@ export default {
let resourceData = content.data[0].data[0];
if (resourceData) {
resourceData.src = resourceData.src.replace(/{mode}/, 1).replace(/{width}/, 690).replace(/h\/{height}/, '');
resourceData.src = resourceData.src.replace(/{mode}/, 2).replace(/{width}/, 690).replace(/h\/{height}/, '');
this.resourceData = resourceData;
// YAS
... ... @@ -196,12 +196,12 @@ export default {
}
.resource-content {
display: inline-block;
display: block;
padding: 0 20px;
overflow: hidden;
img {
width: 100%;
width: 100%;
}
}
... ...