From 6a6233f2de7bf7ccd26eb3c4142f95e705307101 Mon Sep 17 00:00:00 2001 From: zheng020 Date: Tue, 12 May 2026 22:32:24 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=B7=BB=E5=8A=A0=E6=98=9F=E5=8D=A1?= =?UTF-8?q?=E9=80=89=E4=B8=AD=E7=9A=84=E4=BA=8C=E7=BA=A7=E8=8F=9C=E5=8D=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/pages.json | 9 + frontend/pages/castlove/craft-select.vue | 320 ++++++++++++++++++ frontend/pages/components/CastloveContent.vue | 20 +- frontend/static/castlove/jiantou.png | Bin 0 -> 1331 bytes 4 files changed, 341 insertions(+), 8 deletions(-) create mode 100644 frontend/pages/castlove/craft-select.vue create mode 100644 frontend/static/castlove/jiantou.png diff --git a/frontend/pages.json b/frontend/pages.json index af54d8c..a41389f 100644 --- a/frontend/pages.json +++ b/frontend/pages.json @@ -134,6 +134,15 @@ } } }, + { + "path": "pages/castlove/craft-select", + "style": { + "navigationStyle": "custom", + "app-plus": { + "bounce": "none" + } + } + }, { "path": "pages/castlove/mall", "style": { diff --git a/frontend/pages/castlove/craft-select.vue b/frontend/pages/castlove/craft-select.vue new file mode 100644 index 0000000..d042ed9 --- /dev/null +++ b/frontend/pages/castlove/craft-select.vue @@ -0,0 +1,320 @@ + + + + + \ No newline at end of file diff --git a/frontend/pages/components/CastloveContent.vue b/frontend/pages/components/CastloveContent.vue index 31224be..7237269 100644 --- a/frontend/pages/components/CastloveContent.vue +++ b/frontend/pages/components/CastloveContent.vue @@ -30,7 +30,7 @@ - + {{ tab.name }} @@ -107,17 +107,23 @@ const mainTabs = ref([ { name: '星卡', type: 'star_card', - icon: '/static/sucai/image-03.png' + icon: '/static/square/xingka.png', + width: 120, + height: 120 }, { name: '吧唧', type: 'badge', - icon: '/static/sucai/image-05.png' + icon: '/static/square/baji.png', + width: 100, + height: 100 }, { name: '海报', type: 'poster', - icon: '/static/sucai/image-06.png' + icon: '/static/square/haibao.png', + width: 100, + height: 140 } ]); @@ -306,7 +312,7 @@ const handleMainTabClick = (tab) => { // 只有星卡类型才跳转到创建页面 if (tab.type === 'star_card') { uni.navigateTo({ - url: `/pages/castlove/create?type=${tab.type}&name=${encodeURIComponent(tab.name)}` + url: `/pages/castlove/craft-select` }); } else { // 其他类型暂时提示 @@ -513,11 +519,9 @@ const handleBack = () => { } .tab-icon { - width: 120rpx; - height: 120rpx; margin-bottom: 12rpx; - border-radius: 50%; object-fit: cover; + box-shadow: 16rpx 16rpx 16rpx rgba(229, 76, 93, 0.9); } .tab-name { diff --git a/frontend/static/castlove/jiantou.png b/frontend/static/castlove/jiantou.png new file mode 100644 index 0000000000000000000000000000000000000000..5cdc315d2a528079518f3e6b0d77d09eac5cca56 GIT binary patch literal 1331 zcmeAS@N?(olHy`uVBq!ia0vp^DImmk|@5=WFePHrn2l3=DD>cMw2(|TK>*h%a-UN z#Uk%Hp=w9NqyMV^5&?MGmDD@iAceiY4+J?pR)~&ir-h=*|~f7Z>bj_?k}Af zp?3L3-uC-W-Twam`zQ6r9u)Uq9^A3|+pllmzBy~l{Qmo|dadd22mk*4TR8Qgc7%*} zTd}V4O5NFyKUPGo4cj_@x1#Z$j>zY)pW8@p4o|*lbz~{;|4UB~-TxrT^{e!Zj8t!= z{dUt8Jq_8bKRA_5E!rl^y!-INu(&fBh80V@0*?h~dQ=9U$+l>j)EjBN+*I@AZ4rB4 zft;p)mA+FCi7igJu_WwN`t=~qT2;BNPB9K4r{>(ge)=@`+cO(j{=K+k@LkCx@rH}x z@&1Qt#XH<)N3Fj;B|uJI{{M`H&KYaoZ7Way{f|R@S={WoH*JxFub0s-H_7r z`R?`3#B2}gGqZ&^tXa*|zjC8fji9mfgDW9*zh8YS?%2%z{QHpuw=^6#On4)cCoR2N zxVq1BhG&OG(vbtZGBi$PrI=^x{I1%N^y9b)^O>Zh4eu|CK58_YYdZU8D3`Ha$Hi^7 z?%^H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