Commit 772ad369 authored by 罗林杰's avatar 罗林杰

修改我的动态图片

parent e640e509
...@@ -127,7 +127,7 @@ ...@@ -127,7 +127,7 @@
<view class="my-article-content" v-if="articleInfo.content !== null"> <view class="my-article-content" v-if="articleInfo.content !== null">
{{articleInfo.content}} {{articleInfo.content}}
</view> </view>
<view :class="['my-article-image-1',articleImg.length == 2 ? 'my-article-image-2':'']" v-if="articleImg.length"> <view class="my-article-image-1" v-if="articleImg.length">
<image v-for="item in articleImg" :src="item" mode="aspectFill"></image> <image v-for="item in articleImg" :src="item" mode="aspectFill"></image>
</view> </view>
</view> </view>
...@@ -1019,8 +1019,8 @@ import {articleList, getOssUrl, userArticleList} from "../../api/article"; ...@@ -1019,8 +1019,8 @@ import {articleList, getOssUrl, userArticleList} from "../../api/article";
justify-content: space-between; justify-content: space-between;
padding: 30rpx 42rpx; padding: 30rpx 42rpx;
image{ image{
width: calc(33% - 10rpx); width: calc(26% - 10rpx);
height: 198rpx; height: 168rpx;
border-radius: 12rpx; border-radius: 12rpx;
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment