From 42af89269d965340e8cc5fc0941620668854780d Mon Sep 17 00:00:00 2001
From: queenwuli <942534046@qq.com>
Date: Mon, 04 Jan 2021 17:08:55 +0800
Subject: [PATCH] gx
---
hive-app/components/popover/index.vue | 24 ++++++++++++++++++++++--
1 files changed, 22 insertions(+), 2 deletions(-)
diff --git a/hive-app/components/popover/index.vue b/hive-app/components/popover/index.vue
index 4c05734..07f2670 100644
--- a/hive-app/components/popover/index.vue
+++ b/hive-app/components/popover/index.vue
@@ -1,14 +1,34 @@
<template>
- <view v-show="isShow">
+ <view class="content">
+ <view class="triangle"></view>
<slot></slot>
</view>
</template>
<script>
export default{
-
+ data(){
+ return{
+ }
+ },
+ methods:{
+ }
}
</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: 4px;
+ }
</style>
--
Gitblit v1.9.1