From 04d87216bffd4c7d64359dfc2e4a1fab3311e798 Mon Sep 17 00:00:00 2001
From: queenwuli <942534046@qq.com>
Date: Thu, 17 Dec 2020 15:28:04 +0800
Subject: [PATCH] gx
---
hive-app/components/popover/index.vue | 17 ++++++++++++++++-
1 files changed, 16 insertions(+), 1 deletions(-)
diff --git a/hive-app/components/popover/index.vue b/hive-app/components/popover/index.vue
index d5641af..3b0a3c3 100644
--- a/hive-app/components/popover/index.vue
+++ b/hive-app/components/popover/index.vue
@@ -1,5 +1,6 @@
<template>
- <view>
+ <view class="content">
+ <view class="triangle"></view>
<slot></slot>
</view>
</template>
@@ -16,4 +17,18 @@
</script>
<style>
+ .content{
+ background: #4c4c4c;
+ border-radius: 4px;
+ }
+ .triangle{
+ width: 0;
+ height: 0;
+ border-width: 0 10px 10px;
+ border-style: solid;
+ border-color: transparent transparent #4c4c4c;
+ position: absolute;
+ top:-8px;
+ right: 5px;
+ }
</style>
--
Gitblit v1.9.1