fix: make page
This commit is contained in:
@@ -8,6 +8,7 @@
|
||||
mode="aspectFill"
|
||||
/>
|
||||
<view class="card-overlay">
|
||||
<view class="watermark">年禧集.马年春节祝福</view>
|
||||
<view class="title">
|
||||
<text class="main">新春快乐</text>
|
||||
<text class="sub">2026 YEAR OF THE HORSE</text>
|
||||
@@ -985,6 +986,18 @@ function drawRoundRect(ctx, x, y, w, h, r, color) {
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
}
|
||||
.watermark {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
transform: translate(-50%, -50%) rotate(-45deg);
|
||||
font-size: 36rpx;
|
||||
color: rgba(255, 255, 255, 0.2);
|
||||
font-weight: bold;
|
||||
pointer-events: none;
|
||||
white-space: nowrap;
|
||||
z-index: 1;
|
||||
}
|
||||
.card-overlay .title {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
||||
Reference in New Issue
Block a user