feat:V2.5.4 增加添加到我的小程序Tip
This commit is contained in:
@@ -0,0 +1,44 @@
|
||||
.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: 24rpx 32rpx;
|
||||
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: -15rpx;
|
||||
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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user