fix: userInfo position
This commit is contained in:
@@ -24,6 +24,10 @@
|
|||||||
|
|
||||||
<!-- 预览卡片 -->
|
<!-- 预览卡片 -->
|
||||||
<view class="card-preview">
|
<view class="card-preview">
|
||||||
|
<view class="premium-tag">
|
||||||
|
<uni-icons type="info" size="12" color="#fff"></uni-icons>
|
||||||
|
<text>分享或保存即可去除水印</text>
|
||||||
|
</view>
|
||||||
<image
|
<image
|
||||||
class="card-bg"
|
class="card-bg"
|
||||||
:src="currentTemplate?.imageUrl"
|
:src="currentTemplate?.imageUrl"
|
||||||
@@ -86,7 +90,6 @@
|
|||||||
<uni-icons type="hand-up" size="14" color="#ff3b30"></uni-icons>
|
<uni-icons type="hand-up" size="14" color="#ff3b30"></uni-icons>
|
||||||
<text>点击标题或个人信息可拖动,双指可缩放标题</text>
|
<text>点击标题或个人信息可拖动,双指可缩放标题</text>
|
||||||
</view>
|
</view>
|
||||||
<text>分享或保存即可去除水印</text>
|
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
<!-- 底部固定按钮 -->
|
<!-- 底部固定按钮 -->
|
||||||
@@ -1273,6 +1276,24 @@ function drawRoundRect(ctx, x, y, w, h, r, color) {
|
|||||||
position: relative;
|
position: relative;
|
||||||
box-shadow: 0 16rpx 40rpx rgba(0, 0, 0, 0.12);
|
box-shadow: 0 16rpx 40rpx rgba(0, 0, 0, 0.12);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.premium-tag {
|
||||||
|
position: absolute;
|
||||||
|
top: 20rpx;
|
||||||
|
right: -20rpx;
|
||||||
|
background: linear-gradient(90deg, #ff8d42, #ff3b30);
|
||||||
|
color: #fff;
|
||||||
|
font-size: 20rpx;
|
||||||
|
padding: 8rpx 30rpx 8rpx 20rpx;
|
||||||
|
border-radius: 20rpx 0 0 20rpx;
|
||||||
|
z-index: 10;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
gap: 6rpx;
|
||||||
|
box-shadow: 0 4rpx 12rpx rgba(255, 59, 48, 0.3);
|
||||||
|
transform: translateX(10rpx);
|
||||||
|
}
|
||||||
|
|
||||||
.card-bg {
|
.card-bg {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
|||||||
Reference in New Issue
Block a user