Merge pull request 'fixing bug' (#232) from zhy into master
Reviewed-on: http://git.luyuan.tk/luyuan/deming/pulls/232
This commit is contained in:
		
						commit
						ec8831152e
					
				@ -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>
 | 
			
		||||
 | 
			
		||||
@ -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;
 | 
			
		||||
 | 
			
		||||
@ -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
									
								
							
							
						
						
									
										
											BIN
										
									
								
								static/image/common/31.png
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| 
		 After Width: | Height: | Size: 31 KiB  | 
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user