fix: font
This commit is contained in:
@@ -69,10 +69,9 @@
|
||||
|
||||
<!-- 底部信息 -->
|
||||
<view class="footer-info">
|
||||
<view class="qr-box">
|
||||
<!-- 这里放二维码图片,实际项目中可以用 canvas 生成或后端返回 -->
|
||||
<!-- <view class="qr-box">
|
||||
<view class="qr-placeholder"></view>
|
||||
</view>
|
||||
</view> -->
|
||||
<view class="footer-text">2026 灵马贺岁 · 测出你的新年锦鲤关键词</view>
|
||||
<view class="footer-sub"
|
||||
>LONG-PRESS TO SAVE OR SCAN TO JOIN THE RITUAL</view
|
||||
|
||||
@@ -50,9 +50,9 @@
|
||||
<text class="quote-mark right">”</text>
|
||||
</view>
|
||||
<view class="daily-actions">
|
||||
<view class="action-btn copy" @tap="copyGreeting">
|
||||
<!-- <view class="action-btn copy" @tap="copyGreeting">
|
||||
<text class="icon">❐</text> 复制
|
||||
</view>
|
||||
</view> -->
|
||||
<view class="action-btn use" @tap="useGreeting">
|
||||
<text class="icon">✎</text> 去制作
|
||||
</view>
|
||||
@@ -65,7 +65,7 @@
|
||||
<view class="section-header">
|
||||
<view class="section-bar"></view>
|
||||
<text class="section-title">大家都在用</text>
|
||||
<text class="section-more" @tap="onMore('use')">查看更多 ></text>
|
||||
<!-- <text class="section-more" @tap="onMore('use')">查看更多 ></text> -->
|
||||
</view>
|
||||
<view class="use-grid">
|
||||
<view
|
||||
|
||||
@@ -197,13 +197,13 @@
|
||||
<view v-if="activeTool === 'text'" class="section text-edit-section">
|
||||
<!-- 祝贺对象 -->
|
||||
<view class="form-item">
|
||||
<text class="label">祝贺对象</text>
|
||||
<text class="label">祝福对象</text>
|
||||
<input
|
||||
class="input-box"
|
||||
v-model="targetName"
|
||||
placeholder="请输入称呼"
|
||||
placeholder-style="color:#ccc"
|
||||
maxlength="5"
|
||||
maxlength="10"
|
||||
/>
|
||||
</view>
|
||||
|
||||
@@ -454,25 +454,25 @@ const signatureColor = ref("#000000");
|
||||
const fontList = [
|
||||
{ name: "默认", family: "PingFang SC", url: "" },
|
||||
{
|
||||
name: "毛笔",
|
||||
family: "MaoBi",
|
||||
url: "https://file.lihailezzc.com/MaShanZheng-Regular.ttf", // 示例地址
|
||||
name: "思源宋体",
|
||||
family: "SontTi SC",
|
||||
url: "https://file.lihailezzc.com/font/ddcd9621740449a29c329f573bc1d0c6.woff2", // 示例地址
|
||||
},
|
||||
{
|
||||
name: "手写",
|
||||
family: "ShouXie",
|
||||
url: "https://file.lihailezzc.com/ZhiMangXing-Regular.ttf", // 示例地址
|
||||
name: "思源黑体",
|
||||
family: "HeiTi SC",
|
||||
url: "https://file.lihailezzc.com/font/ddcd9621740449a29c329f573bc1d0c3.woff2", // 示例地址
|
||||
},
|
||||
{
|
||||
name: "可爱",
|
||||
family: "KeAi",
|
||||
url: "https://file.lihailezzc.com/ZCOOLKuaiLe-Regular.ttf", // 示例地址
|
||||
name: "仿宋",
|
||||
family: "FangSong",
|
||||
url: "https://file.lihailezzc.com/ddcd9621740449a29c329f573bc1d0c4.woff2", // 示例地址
|
||||
},
|
||||
{
|
||||
name: "草书",
|
||||
family: "LiuJianMaoCao",
|
||||
url: "https://file.lihailezzc.com/LiuJianMaoCao-Regular.ttf", // 示例地址
|
||||
},
|
||||
name: "中圆",
|
||||
family: "ZhongYuan",
|
||||
url: "https://file.lihailezzc.com/ddcd9621740449a29c329f573bc1d0c5.woff2", // 示例地址
|
||||
}
|
||||
];
|
||||
const selectedFont = ref(fontList[0]);
|
||||
const loadedFonts = ref(new Set()); // 记录已加载的字体
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
<view class="user-info">
|
||||
<view class="row-1">
|
||||
<text class="nickname">{{ userInfo.nickName }}</text>
|
||||
<view class="vip-tag" v-if="isLoggedIn">
|
||||
<view class="vip-tag" v-if="isLoggedIn && userInfo.isVip">
|
||||
<text class="vip-text">VIP 祥瑞会员</text>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
@@ -52,7 +52,7 @@
|
||||
<!-- More Wallpapers -->
|
||||
<view class="more-section">
|
||||
<view class="section-header">
|
||||
<text class="section-title">更多精美新春壁纸</text>
|
||||
<text class="section-title">我也要领新春壁纸</text>
|
||||
<view class="more-link" @tap="goToIndex">
|
||||
<text>查看更多</text>
|
||||
<text class="arrow">›</text>
|
||||
|
||||
@@ -119,7 +119,7 @@ onShareAppMessage(async (options) => {
|
||||
options?.target?.dataset?.item?.id,
|
||||
);
|
||||
return {
|
||||
title: "分享精美壁纸",
|
||||
title: "快来挑选喜欢的新春壁纸吧",
|
||||
path: `/pages/wallpaper/detail?shareToken=${shareTokenRes.shareToken}`,
|
||||
};
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user