fix: font
This commit is contained in:
@@ -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()); // 记录已加载的字体
|
||||
|
||||
Reference in New Issue
Block a user