44 lines
1.0 KiB
Plaintext
44 lines
1.0 KiB
Plaintext
.add-to-miniprogram-tip {
|
|
position: fixed;
|
|
z-index: 9999;
|
|
pointer-events: none; // 让点击事件穿透到内容区域
|
|
|
|
.tip-content {
|
|
background: rgba(0, 0, 0, 0.8);
|
|
border-radius: 12rpx;
|
|
padding: 22rpx 30rpx;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 24rpx;
|
|
max-width: 600rpx;
|
|
pointer-events: auto; // 内容区域可以点击
|
|
box-shadow: 0 4rpx 20rpx rgba(0, 0, 0, 0.3);
|
|
position: relative;
|
|
}
|
|
|
|
.tip-text {
|
|
font-size: 26rpx;
|
|
color: #ffffff;
|
|
line-height: 1.5;
|
|
flex: 1;
|
|
}
|
|
|
|
.tip-close {
|
|
font-size: 26rpx;
|
|
color: #07c160;
|
|
font-weight: 500;
|
|
white-space: nowrap;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.tip-arrow {
|
|
position: absolute;
|
|
top: -16rpx;
|
|
width: 0;
|
|
height: 0;
|
|
border-left: 12rpx solid transparent;
|
|
border-right: 12rpx solid transparent;
|
|
border-bottom: 16rpx solid rgba(0, 0, 0, 0.8);
|
|
pointer-events: none;
|
|
}
|
|
} |