From 7692df60c0746b9e23a228eb719349c697cfcb06 Mon Sep 17 00:00:00 2001
From: queenwuli <942534046@qq.com>
Date: Thu, 07 Jan 2021 11:26:06 +0800
Subject: [PATCH] gx

---
 hive-app/pages/workbench/followRecords.vue |   22 ++++++++++++++++++----
 1 files changed, 18 insertions(+), 4 deletions(-)

diff --git a/hive-app/pages/workbench/followRecords.vue b/hive-app/pages/workbench/followRecords.vue
index 45a3dda..b6bb629 100644
--- a/hive-app/pages/workbench/followRecords.vue
+++ b/hive-app/pages/workbench/followRecords.vue
@@ -18,7 +18,7 @@
 		</view>
 		<view class="content-row font-14" v-for="item in 2">
 			<view class="flex align-center">
-				<image class="header-img" src="../../static/images/head-img.png"></image>
+				<image class="header-img" src="../../static/images/default-avatar.png"></image>
 				<view class="flex flex-v ml-10">
 					<text>杨明</text>
 					<text>2020-12 12:34</text>
@@ -27,9 +27,8 @@
 			<view class="mt-10">
 				<text>截图服务了杨姐,她的面部比较干燥暗沉色斑较多,约下次来做一个面部护理</text>
 			</view>
-			<view class="mt-10">
-				<image class="content-img mr-10" src="../../static/images/banner.jpg"></image>
-				<image class="content-img" src="../../static/images/banner.jpg"></image>
+			<view class="mt-10 flex">
+				<image v-for="(item,index) in imgList" @click="previewImg(item.imgurl)" class="content-img mr-10" :src="item.imgurl"></image>
 			</view>
 			<view class="flex align-center justify-between mt-5">
 				<text>客户:杨依依</text>
@@ -77,8 +76,23 @@
 					state: 3,
 					name: '我的团队'
 				}
+			],
+			imgList:[
+				{'imgurl':'../../static/images/banner.jpg'},
+				{'imgurl':'../../static/images/product.jpg'}
 			]
 		  }  
+		},
+		methods:{
+			// 预览图片
+			previewImg(image) {
+				let imgArr=[]
+				imgArr[0]=image
+				//预览图片
+				uni.previewImage({
+					urls: imgArr
+				})
+			},
 		}
 	}
 </script>

--
Gitblit v1.9.1