奔三的日子里3

map的点气泡:

<template>
<div class="c-map-dot animate" :class="mapBubbleData.colorType>0 ? 'style-3' : []" :style="positionObject">
        <div class="c-map-dot-layer"></div>
        <span class="c-map-dot-text left">{{mapBubbleData.city}}</span>
        <!-- 气泡提示 start -->
        <div class="c-bubble c-bubble-bottom c-map-bubble">
            <div class="c-bubble-inner">
            <h3 class="title">{{mapBubbleData.title}}</h3>
            <p v-for="text in mapBubbleData.texts">{{text}}</p>
            </div>
        </div>
        <!-- 气泡提示 end -->
    </div>
</template>

<script>
export default {
props: {
mapBubbleData: Object
},
data() {
return {
positionObject: {
left: this.mapBubbleData.left,
top: this.mapBubbleData.top
}
};
}
};
</script>

<style lang="stylus" scoped>
body {
    color: #333;
    -webkit-tap-highlight-color: transparent;
}

.c-map-dot, .c-map-dot-explain-txt {
    display: inline-block;
    vertical-align: middle;
}

.c-map-dot {
    position: absolute;
    width: 20px;
    height: 20px;
    -webkit-box-shadow: inset #00a4ff 0 0 5px;
    box-shadow: inset #00a4ff 0 0 5px;
    border-radius: 50%;
    cursor: pointer;
    ">f7f8fa;
}

.c-map-dot.animate:hover:after {
    -webkit-animation: warn 2s ease-out 0.1s infinite;
    animation: warn 2s ease-out 0.1s infinite;
}

.c-map-dot:after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    -webkit-box-shadow: inset #00a4ff 0 0 5px;
    box-shadow: inset #00a4ff 0 0 5px;
    border-radius: 50%;
    top: 0;
    left: 0;
    opacity: 0;
}

.c-map-dot.style-3, .c-map-dot.style-3:after {
    -webkit-box-shadow: inset #28c0be 0 0 5px;
    box-shadow: inset #28c0be 0 0 5px;
}

.c-map-dot-layer {
    width: 8px;
    height: 8px;
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -4px 0 0 -4px;
    
    border-radius: 50%;
    cursor: pointer;
    opacity: 1;
}

.c-map-dot.style-3 .c-map-dot-layer {
    
}

.c-map-dot.animate:hover .c-map-dot-layer:after {
    -webkit-animation: warn-2 2s ease-out 1.1s infinite;
    animation: warn-2 2s ease-out 1.1s infinite;
}

.c-map-dot-layer:after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    -webkit-box-shadow: inset #00a4ff 0 0 5px;
    box-shadow: inset #00a4ff 0 0 5px;
    border-radius: 50%;
    top: 0;
    left: 0;
    opacity: 0;
}

.c-map-dot-text.left {
    left: auto;
    right: 100%;
    padding-left: 0;
    padding-right: 5px;
}

.c-map-dot-text {
    position: absolute;
    left: 100%;
    top: 0;
    padding-left: 5px;
    font-size: 14px;
    line-height: 20px;
    color: #111;
    white-space: nowrap;
}

.c-map-dot.hover .c-map-bubble, .c-map-dot:hover .c-map-bubble {
    opacity: 1;
    visibility: visible;
    -webkit-transform: translateY(0);
    -ms-transform: translateY(0);
    transform: translateY(0);
}

.c-map-bubble {
    left: 50%;
    bottom: 100%;
    margin-left: -100px;
    margin-bottom: 10px;
    width: 200px;
    text-align: center;
    -webkit-transition: 0.3s all ease-out;
    transition: 0.3s all ease-out;
    opacity: 0;
    visibility: hidden;
    -webkit-transform: translateY(5px);
    -ms-transform: translateY(5px);
    transform: translateY(5px);
    cursor: default;
    pointer-events: none;
}

.c-bubble {
    position: absolute;
    color: #404A58;
    z-index: 6;
}

.c-map-bubble .c-bubble-inner {
    display: inline-block;
    vertical-align: middle;
    padding: 10px;
    text-align: left;
    border-color: #00a4ff;
    font-size: 14px;
    line-height: 24px;
    color: #333;
}

.c-bubble-inner {
    font-size: 12px;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 8px 10px;
    border: 1px solid #b3b7bf;
    border-radius: 2px;
    ">fff;
    line-height: 18px;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.15);
    position: static !important;
    left: 50%;
    top: 50%;
}

.c-map-bubble .title {
    margin-bottom: 5px;
    color: rgba(51, 51, 51, 0.8);
    font-weight: 400;
}

.c-bubble .c-bubble-inner:after, .c-bubble .c-bubble-inner:before {
    font-size: 0;
    position: absolute;
    width: 0;
    height: 0;
    content: '';
    border: 8px dashed transparent;
}

.c-bubble-bottom .c-bubble-inner:before {
    margin-left: -8px;
    border-top-color: #b3b7bf;
}

.c-map-bubble .c-bubble-inner:before {
    border-top-color: #00a4ff;
}

.c-bubble .c-bubble-inner:after {
    border: 7px dashed transparent;
}

.c-bubble-bottom .c-bubble-inner:after, .c-bubble-bottom .c-bubble-inner:before {
    top: 100%;
    left: inherit;
    right: inherit;
    margin-top: -1px;
    border-top-style: solid;
}

.c-bubble-bottom .c-bubble-inner:after {
    margin-left: -7px;
    border-top-color: #fff;
}

@keyframes warn-2 {
    0% {
        opacity: 0;
        -webkit-transform: scale(0.1);
        transform: scale(0.1);
    }

    5% {
        opacity: 8;
    }

    to {
        opacity: 0;
        -webkit-transform: scale(10);
        transform: scale(10);
    }
}

@keyframes warn-2 {
    0% {
        opacity: 0;
        -webkit-transform: scale(0.1);
        transform: scale(0.1);
    }

    5% {
        opacity: 8;
    }

    to {
        opacity: 0;
        -webkit-transform: scale(10);
        transform: scale(10);
    }
}
</style>
 
 
效果图:

 

转载于:https://www.cnblogs.com/hsmWorld/p/9928152.html

dnSpy是目前业界广泛使用的一款.NET程序的反编译工具,支持32位和64位系统环境。它允许用户查看和编辑.NET汇编和反编译代码,以及调试.NET程序。该工具通常用于程序开发者在维护和调试过程中分析程序代码,尤其在源代码丢失或者无法获取的情况下,dnSpy能提供很大的帮助。 V6.1.8版本的dnSpy是在此系列软件更新迭代中的一个具体版本号,代表着该软件所具备的功能与性能已经达到了一个相对稳定的水平,对于处理.NET程序具有较高的可用性和稳定性。两个版本,即32位的dnSpy-net-win32和64位的dnSpy-net-win64,确保了不同操作系统架构的用户都能使用dnSpy进行软件分析。 32位的系统架构相较于64位,由于其地址空间的限制,只能支持最多4GB的内存空间使用,这在处理大型项目时可能会出现不足。而64位的系统能够支持更大的内存空间,使得在处理大型项目时更为方便。随着计算机硬件的发展,64位系统已经成为了主流,因此64位的dnSpy也更加受开发者欢迎。 压缩包文件名“dnSpy-net-win64.7z”和“dnSpy-net-win32.7z”中的“.7z”表示该压缩包采用了7-Zip压缩格式,它是一种开源的文件压缩软件,以其高压缩比著称。在实际使用dnSpy时,用户需要下载对应架构的压缩包进行解压安装,以确保软件能够正确运行在用户的操作系统上。 dnSpy工具V6.1.8版本的发布,对于.NET程序员而言,无论是32位系统还是64位系统用户,都是一个提升工作效率的好工具。用户可以根据自己计算机的操作系统架构,选择合适的版本进行下载使用。而对于希望进行深度分析.NET程序的开发者来说,这个工具更是不可或缺的利器。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值