From 04d89f4a9a21bd070d64d5fb28234abb1dbf0bf4 Mon Sep 17 00:00:00 2001 From: Linzm <1015157648@qq.com> Date: Mon, 19 Jan 2026 09:59:41 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=A3=E7=A0=81=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/config/cartoon.ts | 31 +---- src/views/cartoon/index.vue | 249 +----------------------------------- 2 files changed, 4 insertions(+), 276 deletions(-) diff --git a/src/config/cartoon.ts b/src/config/cartoon.ts index 43dd137..85b079c 100644 --- a/src/config/cartoon.ts +++ b/src/config/cartoon.ts @@ -15,7 +15,8 @@ export const cartoonConfig = { 2: { name: '浮雕相框', key: 'relief_frame' }, 3: { name: '3D冰箱贴', key: 'fridge_magnet' }, 4: { name: '3D卡通手办', key: 'cartoon_figure' }, - 6: { name: '浮雕挂饰', key: 'relief_pendant' } + 6: { name: '浮雕挂饰', key: 'relief_pendant' }, + 8: { name: '摇摇乐', key: 'shake_toy' } }, // 主体类型配置 @@ -58,8 +59,6 @@ export const cartoonConfig = { // 产品限制配置 productLimits: { - // 根据产品ID配置是否需要人脸检测 - faceCheckRequired: [7, 1, 25], // 根据产品ID配置是否支持多视角参考图 multiViewSupported: [19], // 根据产品ID配置是否支持风格类型 @@ -94,32 +93,6 @@ export const cartoonConfig = { order: '@/assets/badge/order.png' }, - // 提示信息配置 - messages: { - personPhotoTip: { - single: '1', - multiple: '1-3', - unit: '人' - }, - petPhotoTip: { - count: '1-3', - unit: '只' - } - }, - - // 业务规则配置 - businessRules: { - // 禁止的产品ID组合(typeId, subjectId) - disabled: [ - { typeId: 3, subjectId: 7, message: '人物3D冰箱贴暂未开放' } - ], - // 订单类型限制(typeId, currentProdId, targetSubjectId, message) - orderRestrictions: [ - { typeId: 4, prodId: 19, targetSubjectId: 8, message: '该订单属于宠物卡通手办' }, - { typeId: 4, prodId: 1, targetSubjectId: 7, message: '该订单属于人物卡通手办' } - ] - }, - // 样式配置 styles: { colors: { diff --git a/src/views/cartoon/index.vue b/src/views/cartoon/index.vue index 131a2f1..dace3ff 100644 --- a/src/views/cartoon/index.vue +++ b/src/views/cartoon/index.vue @@ -80,25 +80,6 @@ -