fixing bug

This commit is contained in:
ghusermoon 2020-08-18 11:01:48 +08:00
parent 06ee3b9038
commit 6f5c2d1fc9
4 changed files with 14 additions and 3 deletions

View File

@ -11,7 +11,7 @@
<view class="user">
<view class="avatar">
<image :src="info.member_avatar[0]"></image>
<image :src="info.member_avatar[1]"></image>
<image src="/static/image/common/31.png"></image>
</view>
<view class="num">{{ info.pintuan_limit_number }}人团</view>
</view>

View File

@ -133,8 +133,10 @@ export default {
</script>
<style lang="scss" scoped>
.collection-item {
width: 100%;
background-color: #ffffff;
.item {
width: 750rpx;
padding: 30rpx;
display: flex;
> image {
@ -145,14 +147,17 @@ export default {
flex-shrink: 0;
}
.title-wrap {
overflow: hidden;
flex: 1;
.item-top {
width: 100%;
font-size: 30rpx;
color: rgba(51,51,51,1);
line-height: 44rpx;
margin-bottom: 54rpx;
}
.item-bottom {
width: 100%;
display: flex;
align-items: center;
justify-content: space-between;

View File

@ -5,7 +5,7 @@
<view class="suggestions">
<view class="text">{{ item.fb_content }}</view>
<view class="image">
<image v-for="(url, index) in item.fb_images" :key="index" :src="url"></image>
<image v-for="(url, index) in item.fb_images" :key="index" :src="url" mode="aspectFit" @click="previewImage(item.fb_images)"></image>
</view>
</view>
<view class="reply" v-if="item.is_reply">
@ -13,7 +13,7 @@
<view class="reply-content u-line-4">{{ item.reply_content }}</view>
</view>
<view class="date">
<image src="../static/mine/26.png"></image>
<image src="../static/mine/26.png" mode="aspectFit"></image>
<view>{{ item.fb_time }}</view>
</view>
</view>
@ -45,6 +45,12 @@ export default {
}
})
},
previewImage(urls) {
console.log(urls);
uni.previewImage({
urls: urls,
});
},
},
}
</script>

BIN
static/image/common/31.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB