From fd580b1f77eba368cf6d5bfc8e831dc3eeea448e Mon Sep 17 00:00:00 2001 From: zerosaturation Date: Sat, 16 May 2026 02:03:28 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BB=A3=E7=A0=81=E5=90=88=E5=B9=B6?= =?UTF-8?q?=E6=81=A2=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/pages/asset-detail/asset-detail.vue | 17 ----------------- frontend/pages/castlove/create.vue | 12 +----------- 2 files changed, 1 insertion(+), 28 deletions(-) diff --git a/frontend/pages/asset-detail/asset-detail.vue b/frontend/pages/asset-detail/asset-detail.vue index f21655f..321e12f 100644 --- a/frontend/pages/asset-detail/asset-detail.vue +++ b/frontend/pages/asset-detail/asset-detail.vue @@ -571,23 +571,6 @@ const hiddenBlockNumber = computed(() => { return `${str.substring(0, 6)}******`; }); -// 隐藏交易哈希(保留前6位 + 6个*) -const hiddenTxHash = computed(() => { - const hash = assetData.value.tx_hash; - if (!hash) return '******'; - if (hash.length <= 6) return hash + '******'; - return `${hash.substring(0, 6)}******`; -}); - -// 隐藏区块链编号(保留前6位 + 6个*) -const hiddenBlockNumber = computed(() => { - const num = assetData.value.block_number; - if (!num) return '******'; - const str = String(num); - if (str.length <= 6) return str + '******'; - return `${str.substring(0, 6)}******`; -}); - // 复制完整哈希 const copyHash = () => { const hash = assetData.value.tx_hash; diff --git a/frontend/pages/castlove/create.vue b/frontend/pages/castlove/create.vue index e04918d..dea44d5 100644 --- a/frontend/pages/castlove/create.vue +++ b/frontend/pages/castlove/create.vue @@ -196,6 +196,7 @@ import { buildCastloveFormSnapshot, CRAFT_LENTICULAR_CN, CRAFT_LASER_CARD_CN, + CASTLOVE_LASER_ENTRY_KEY, } from '@/utils/castloveMintForm.js'; import { startAiImageGenerationFlow, @@ -762,9 +763,6 @@ const startCraftStudioPipeline = (studioKind) => { console.error('[CreatePage] craft studio pipeline', e); uni.showToast({ title: '启动失败,请重试', icon: 'none' }); } - uni.navigateTo({ - url: '/pages/castlove/lenticular-studio', - }); }; /** 单图工艺:进入镭射工坊(Laser-Card 配置页),保存后再上传并创建订单 */ @@ -811,14 +809,6 @@ const handleLenticularGenerate = () => { startCraftStudioPipeline(STUDIO_LENTICULAR); }; -const handleSingleCraftLaserEntry = () => { - if (isLenticularCraft.value) { - uni.showToast({ title: '光栅卡请使用「生成」', icon: 'none' }); - return; - } - startCraftStudioPipeline(STUDIO_LASER); -}; - // 底部导航切换 const handleTabChange = (newTab) => { const routes = [