From 2869ee5c9e284791e91800534dccfd5442f4387b Mon Sep 17 00:00:00 2001
From: queenwuli <942534046@qq.com>
Date: Wed, 16 Dec 2020 14:59:01 +0800
Subject: [PATCH] gx

---
 hive-app/pages/workbench/index.vue |   48 ++++++++++++++++++++++++++++--------------------
 1 files changed, 28 insertions(+), 20 deletions(-)

diff --git a/hive-app/pages/workbench/index.vue b/hive-app/pages/workbench/index.vue
index 963776b..ba2331f 100644
--- a/hive-app/pages/workbench/index.vue
+++ b/hive-app/pages/workbench/index.vue
@@ -10,17 +10,17 @@
 				<text class="icon gray iconfont iconsousuo mr-15"></text>
 				<text class="icon gray iconfont iconjiahao" @click.stop="isShow=!isShow"></text>
 			</view>
-			<view class="popup-content" v-show="isShow">
-				<view>
-					<text class="icon iconfont iconjiahao mr-5"></text>
-					<text>新增会员</text>
-				</view>
-				<view class="mt-10">
-					<text class="icon iconfont iconsaomiao mr-5"></text>
-					<text>扫一扫</text>
-				</view>
-			</view>
 		</view>
+		<popover class="popup-content" v-show="isShow">
+			<view class="popup-item flex align-center">
+				<text class="icon white iconfont iconjiahao mr-5"></text>
+				<text class="white font-14 popup-content-text">新增会员</text>
+			</view>
+			<view class="popup-item flex align-center">
+				<text class="icon white iconfont iconsaomiao mr-5"></text>
+				<text class="white font-14 popup-content-text">扫一扫</text>
+			</view>
+		</popover>
 		<view class="condition flex justify-between">
 			<view class="flex flex-v align-center">
 				<text class="font-17 white">0</text>
@@ -146,7 +146,11 @@
 </template>
 
 <script>
+	import popover from "../../components/popover/index.vue"
 	export default{
+		components:{
+			popover
+		},
 		data(){
 			return{
 				isShow:false
@@ -171,9 +175,6 @@
 		text-align: center;
 		font-family: texticons;
 	}
-	page{
-		background: #F8F8F8;
-	}
 	.container{
 		padding: 0 10px;
 	}
@@ -181,7 +182,7 @@
 		padding: 12px 5px;
 	}
 	.condition{
-		background-color: #518EFF;
+		background: #518EFF;
 		padding: 15px 30px;
 		border-radius: 4px;
 	}
@@ -190,6 +191,7 @@
 		padding: 15px 0;
 		border-radius: 4px;
 		margin: 10px 0;
+		box-shadow:0 6px 6px rgba(237,234,244,0.5);
 	}
 	.title{
 		font-size: 14px;
@@ -205,12 +207,18 @@
 		width: 25%;
 	}
 	.popup-content{
-		background: #FFFFFF;
-		border: 1px solid #ABB1CC;
-		padding: 10px;
-		border-radius: 4px;
 		position: absolute;
-		right: 10px;
-		top: 35px;
+		right: 9px;
+		top: 48px;
+		padding-left: 10px;
+	}
+	
+	.popup-content-text{
+		width: 100%;
+		border-bottom: 1px solid gray;
+		padding: 10px 10px 10px 0;
+	}
+	.popup-content .popup-item:nth-last-of-type(1) .popup-content-text{
+		border-bottom: 0;
 	}
 </style>

--
Gitblit v1.9.1