字体替换

This commit is contained in:
Linzm committed 2025-10-08 09:51:25 +08:00
1 parent e750dce2ae
commit 90b34b6dad
4 files changed
+9 -7

No files matched your search

+1 -1
View File
@@ -1,4 +1,4 @@
@font-face { @font-face {
font-family: "chinese"; font-family: "chinese";
src: url('jingnan-Nunito.ttf'); src: url('jingnan-Bold.ttf');
} }
Binary file not shown.
+4 -2
View File
@@ -176,8 +176,10 @@
<h5-cropper :option="option" @getbase64Data="getbase64Data" @imgorigoinf="imgorigoinf"></h5-cropper> <h5-cropper :option="option" @getbase64Data="getbase64Data" @imgorigoinf="imgorigoinf"></h5-cropper>
</div> </div>
</div> </div>
<div style="font-size: 12px; color: red; margin-top: 16px; text-align: center;" v-if="prodId == 7 || prodId == 1">温馨提示:请上传只有{{ prop == '3D真人肖像' ? '1' : '1-3' }}人的照片</div> <div v-if="typeId != 4">
<div style="font-size: 12px; color: red; margin-top: 16px; text-align: center;" v-if="prodId == 8 || prodId == 2">温馨提示:请上传只有1-3只宠物的照片</div> <div style="font-size: 12px; color: red; margin-top: 16px; text-align: center;" v-if="prodId == 7 || prodId == 1">温馨提示:请上传只有{{ prop == '3D真人肖像' ? '1' : '1-3' }}人的照片</div>
<div style="font-size: 12px; color: red; margin-top: 16px; text-align: center;" v-if="prodId == 8 || prodId == 2">温馨提示:请上传只有1-3只宠物的照片</div>
</div>
<div style="height: 120px;"></div> <div style="height: 120px;"></div>
<div class="design-action-bar"> <div class="design-action-bar">
<div class="design-left"> <div class="design-left">
+4 -4
View File
@@ -232,7 +232,7 @@ function sureReload() {
group.value = newGroup.value group.value = newGroup.value
const params = { const params = {
pid: pid.value, pid: pid.value,
group: group.value, group: 1,
prod_id: prodId.value, prod_id: prodId.value,
type_id: typeId.value type_id: typeId.value
} }
@@ -272,7 +272,7 @@ const changeImage = (item: any) => {
const createLog = () => { const createLog = () => {
badgeApi.createLog({ badgeApi.createLog({
pid: pid.value, pid: pid.value,
group: group.value, group: 1,
prod_id: prodId.value, prod_id: prodId.value,
type_id: typeId.value type_id: typeId.value
}).then((res: any) => { }).then((res: any) => {
@@ -305,7 +305,7 @@ const style_name = ref('')
function getCompareImage() { function getCompareImage() {
badgeApi.getCompareImage({ badgeApi.getCompareImage({
pid: pid.value, pid: pid.value,
group: group.value, group: 1,
prod_id: prodId.value, prod_id: prodId.value,
type_id: typeId.value type_id: typeId.value
}).then((res: any) => { }).then((res: any) => {
@@ -590,7 +590,7 @@ const isPreview = ref(false)
const getImageList = () => { const getImageList = () => {
badgeApi.getImageList({ badgeApi.getImageList({
pid: pid.value, pid: pid.value,
group: group.value, group: 1,
prod_id: prodId.value prod_id: prodId.value
}).then((res: any) => { }).then((res: any) => {
console.log('getImageList', res) console.log('getImageList', res)