From da4a095618f4988708339239d267745c4859f493 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=9B=AE=E6=A3=83?= Date: Mon, 11 Nov 2024 15:09:21 +0800 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20=E7=9C=9F=E5=A2=83=E5=89=A7?= =?UTF-8?q?=E8=AF=97=E9=80=82=E9=85=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit close #113 --- public/icon/star/combat0.webp | Bin 0 -> 1040 bytes public/icon/star/combat1.webp | Bin 0 -> 2286 bytes public/source/UI/combatCrown.webp | Bin 0 -> 1572 bytes public/source/UI/userCombat.webp | Bin 0 -> 2502 bytes src/components/userCombat/tuc-avatars.vue | 47 +++ src/components/userCombat/tuc-buffs.vue | 68 ++++ src/components/userCombat/tuc-cards.vue | 50 +++ src/components/userCombat/tuc-fight.vue | 88 ++++ src/components/userCombat/tuc-overview.vue | 55 +++ src/components/userCombat/tuc-round.vue | 86 ++++ src/components/userCombat/tuc-sub.vue | 32 ++ src/components/userCombat/tuc-tile.vue | 62 +++ src/pages/User/Abyss.vue | 29 +- src/pages/User/Combat.vue | 424 ++++++++++++++++++++ src/plugins/Hutao/utils/combatUtil.ts | 14 +- src/plugins/Sqlite/modules/userCombat.ts | 159 ++++++++ src/plugins/Sqlite/sql/createTable.sql | 17 +- src/plugins/Sqlite/utils/transUserCombat.ts | 27 ++ src/router/modules/user.ts | 7 +- src/types/Game/Combat.d.ts | 2 +- src/types/Sqlite/Combat.d.ts | 61 +++ src/utils/dataBS.ts | 13 +- src/web/request/TGRequest.ts | 4 +- 23 files changed, 1227 insertions(+), 18 deletions(-) create mode 100644 public/icon/star/combat0.webp create mode 100644 public/icon/star/combat1.webp create mode 100644 public/source/UI/combatCrown.webp create mode 100644 public/source/UI/userCombat.webp create mode 100644 src/components/userCombat/tuc-avatars.vue create mode 100644 src/components/userCombat/tuc-buffs.vue create mode 100644 src/components/userCombat/tuc-cards.vue create mode 100644 src/components/userCombat/tuc-fight.vue create mode 100644 src/components/userCombat/tuc-overview.vue create mode 100644 src/components/userCombat/tuc-round.vue create mode 100644 src/components/userCombat/tuc-sub.vue create mode 100644 src/components/userCombat/tuc-tile.vue create mode 100644 src/pages/User/Combat.vue create mode 100644 src/plugins/Sqlite/modules/userCombat.ts create mode 100644 src/plugins/Sqlite/utils/transUserCombat.ts create mode 100644 src/types/Sqlite/Combat.d.ts diff --git a/public/icon/star/combat0.webp b/public/icon/star/combat0.webp new file mode 100644 index 0000000000000000000000000000000000000000..2f52fc46556db874a8c6088412456a11cc033400 GIT binary patch literal 1040 zcmV+r1n>J&Nk&Ep1ONb6MM6+kP&il$0000G0000#002J#06|PpNV5X~00E!`ZT}L< z;VT$+BP0K~j8FHh`?B$jF_T*F>OcRu+r-`Nm~e^I8;F8x$-p+ABqI8JI@l%H`GC0{W{P-;Qa_)c(%e3GxVa2_ zN~vlCeE?pi%&#jDbC*de<%|-TQc9)NUcjSKR8Y7eYi2<-3BlGGv_OaKeq8v-8<3S2$06pVrnEriGr37dd<7+x9n30AQ;{w|`Ic zxTZZ$M4wzY1VH@B_}s_`pA*kV@+Kl1u!!g+O#?7aOb-Q|#JVNrZCVKcD~WDNd6nZ7 zAz0rgDiJvehbU~*01+`l6oDr=u?>h z2GQ#$i9F&YpR(5iiQ0Bqn5k5KD(b`zy(*{jSWN6Xrq)$$XD~3J>MdBo30D%4n{{Cv z$FwqJtUya$b%510V!@*9IKB|V4e27JUO*IHB;YZ~g4M2Z0W=ACECIkFswOHCkp;lw zcz~7%5FzI^Bm;UP@n}Rok^v(ugO+ z-8#7mfW>*p$R~*V1YqC%IT29+<8w-GaV=my+9S%oFzO{i8Ld`WmJUODP?vf*C*Z z{v6e}SIOqaO;$=txqL^AL=opCG%u7=sfAkOn^WW>ff3F{z^F{jDFFsj}HFnF7G9k5WzqM0GH+P%Gv1{+%XhsSrL0Oad3cu0>qBR-WwPg<^p6PmnJlAj}60wxyi%j+eos20EG6;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HRd&FZz`80x?IK0FOrz1Ca)$HB8>!@>4ISOh^C z7!IfeQ2#M^Uj*tXhA}}PzCwzpM6R<;Y&LbAI;GFf)@VU6Xxwg2LHrxey6LT zj(_i=MimS=z{hFsO&o-Bpj3gx za~h6?^C3O&J%Ixy=|MgWvGw+Hvlw&ou)US%S(qr%S)SAK_aWqQ{_%PE{)kQ_zs}qp z=n|YBHPkD>&Mkr*qLfu%fAj~qo$&QuY0ps$*$=}$`6CM^!aFvT4N6n1pqH2YQvbm+ zC`u?rkqsyM>9aN1=ZsAO$xCHUpAYdf9*Ostg{6L{g^i=IXWg%J<&(tes;7P+{o1#N z>@GE0^>3@&)lax(CV4~EytD1m10*gt=7im=@zRXupWLX~8Zdf9r7x2#@+S4@k-9&0 z<>fYd06*&G8<{9u%i{_Ew3=h(;{y}8 zFNno1FqluZvoO{a${dEDX?GpaOwYE8jLUUyN%4OdDE>ow1J+q=D16(dFV8YT95Lp| z`bEkFe^CXwr&V~u+s_zY61B#2rjdD&lPmLlPZQ*;75X^gur6S_2k#2t0G>%hv*!Se zqQ4|=-BLmrAl`Y&q>hhfS;GcLUVa0fsHkVBdo+F{ai7kLLBEa^ybO5uSui##V}GW+ zHVw1u$&58cp4JN0>$tn~=KP>H_Yn^$gqyvjkVkjrh58aHq)$ literal 0 HcmV?d00001 diff --git a/public/source/UI/combatCrown.webp b/public/source/UI/combatCrown.webp new file mode 100644 index 0000000000000000000000000000000000000000..a17b990944e60d6b5f08ede5e71d350b85e3ec30 GIT binary patch literal 1572 zcmV+<2HW{kNk&E-1^@t8MM6+kP&il$0000G0000x0027x06|PpNH_!l009PS*#4hy ztKa`0C$)8LwPxG4%__-k+r@0#wvO%Dw!L;~Pn&!X^8Y7kU+vxJ7ZDSH&x3}bqSSG! zZ_z1t;mKHaQSo1A&A(K)hN3fi#RwSb4JSPCzr`xCsop+BPUXxwhgUmRwkoEe@ zVzURl%?c_cL5;hn)%Rft81alGE&D5|m{6u?QoAxPQAMRcCctvm6slr14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OLX-6E5GU*URrt`cW0wfs^&%sh^1jBpaFHL@>oAOfBRy;Z95S zuhzY+A^-Dbp;36!%D;XvIt^dOab8(6Q@RaLG>Koi8}W~>Vq7&gl%W2n z(D`<*G=?df74jj2C_`LcasEXhs|!4S6Q84iSgY2B_l9ryFbP=kvx!06y4OhqKXaN` z&KOa&!UzI}=)d(3a!%!HgeQ$(KE_<9GN3-g+8lO%gga$!V$YO=K&=o3Y5`VL<_JV(^{QlRo-lMC_;C-zn z$1e%@ytV%NS$`S#Umdc9V1L3_QD%TT$yTb#({4eReQGzy;P{5=?bulgX180NcIW(1>sJGynG6|B7$xuaZP< Q$T^S4w19rbGX=GP0KL2WQUCw| literal 0 HcmV?d00001 diff --git a/src/components/userCombat/tuc-avatars.vue b/src/components/userCombat/tuc-avatars.vue new file mode 100644 index 00000000..66d7e248 --- /dev/null +++ b/src/components/userCombat/tuc-avatars.vue @@ -0,0 +1,47 @@ + + + diff --git a/src/components/userCombat/tuc-buffs.vue b/src/components/userCombat/tuc-buffs.vue new file mode 100644 index 00000000..146f02e2 --- /dev/null +++ b/src/components/userCombat/tuc-buffs.vue @@ -0,0 +1,68 @@ + + + diff --git a/src/components/userCombat/tuc-cards.vue b/src/components/userCombat/tuc-cards.vue new file mode 100644 index 00000000..facf971d --- /dev/null +++ b/src/components/userCombat/tuc-cards.vue @@ -0,0 +1,50 @@ + + + diff --git a/src/components/userCombat/tuc-fight.vue b/src/components/userCombat/tuc-fight.vue new file mode 100644 index 00000000..216046bd --- /dev/null +++ b/src/components/userCombat/tuc-fight.vue @@ -0,0 +1,88 @@ + + + diff --git a/src/components/userCombat/tuc-overview.vue b/src/components/userCombat/tuc-overview.vue new file mode 100644 index 00000000..7a06afdf --- /dev/null +++ b/src/components/userCombat/tuc-overview.vue @@ -0,0 +1,55 @@ + + + diff --git a/src/components/userCombat/tuc-round.vue b/src/components/userCombat/tuc-round.vue new file mode 100644 index 00000000..77aa6124 --- /dev/null +++ b/src/components/userCombat/tuc-round.vue @@ -0,0 +1,86 @@ + + + diff --git a/src/components/userCombat/tuc-sub.vue b/src/components/userCombat/tuc-sub.vue new file mode 100644 index 00000000..d28a8cad --- /dev/null +++ b/src/components/userCombat/tuc-sub.vue @@ -0,0 +1,32 @@ + + + diff --git a/src/components/userCombat/tuc-tile.vue b/src/components/userCombat/tuc-tile.vue new file mode 100644 index 00000000..0f24a651 --- /dev/null +++ b/src/components/userCombat/tuc-tile.vue @@ -0,0 +1,62 @@ + + + diff --git a/src/pages/User/Abyss.vue b/src/pages/User/Abyss.vue index e12731c3..0fb35110 100644 --- a/src/pages/User/Abyss.vue +++ b/src/pages/User/Abyss.vue @@ -12,6 +12,18 @@ :hide-details="true" title="游戏UID" /> + + + 幻想真境剧诗 + + + + 深渊数据库 +