From b16d36e2a314efc42f99d484e5291a78a95fcd8e Mon Sep 17 00:00:00 2001 From: li-guang <153605324@qq.com> Date: Thu, 17 Dec 2020 15:32:12 +0800 Subject: [PATCH] Merge branch 'master' of https://gitee.com/jyyforjava/hive-app --- hive-app/components/popover/index.vue | 11 +++++++++++ 1 files changed, 11 insertions(+), 0 deletions(-) diff --git a/hive-app/components/popover/index.vue b/hive-app/components/popover/index.vue index 674401e..3b0a3c3 100644 --- a/hive-app/components/popover/index.vue +++ b/hive-app/components/popover/index.vue @@ -1,5 +1,6 @@ <template> <view class="content"> + <view class="triangle"></view> <slot></slot> </view> </template> @@ -20,4 +21,14 @@ 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