fix
Helius
2021-02-20 45fb4b11ad51bb38306765b11a6747402e382cee
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<template>
    <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>