feat: 更新capp-eden依赖至0.0.23,添加IonDatetime、IonList、IonSelect及IonSelectOption组件支持,优化团队成员信息展示

This commit is contained in:
2026-01-19 16:40:32 +07:00
parent 9c83df9d4f
commit 684ed3fb3a
5 changed files with 22 additions and 17 deletions

8
components.d.ts vendored
View File

@@ -21,6 +21,7 @@ declare module 'vue' {
IonButtons: typeof import('@ionic/vue')['IonButtons']
IonCheckbox: typeof import('@ionic/vue')['IonCheckbox']
IonContent: typeof import('@ionic/vue')['IonContent']
IonDatetime: typeof import('@ionic/vue')['IonDatetime']
IonHeader: typeof import('@ionic/vue')['IonHeader']
IonIcon: typeof import('@ionic/vue')['IonIcon']
IonInfiniteScroll: typeof import('@ionic/vue')['IonInfiniteScroll']
@@ -28,12 +29,15 @@ declare module 'vue' {
IonInput: typeof import('@ionic/vue')['IonInput']
IonItem: typeof import('@ionic/vue')['IonItem']
IonLabel: typeof import('@ionic/vue')['IonLabel']
IonList: typeof import('@ionic/vue')['IonList']
IonPage: typeof import('@ionic/vue')['IonPage']
IonRefresher: typeof import('@ionic/vue')['IonRefresher']
IonRefresherContent: typeof import('@ionic/vue')['IonRefresherContent']
IonRouterOutlet: typeof import('@ionic/vue')['IonRouterOutlet']
IonSegment: typeof import('@ionic/vue')['IonSegment']
IonSegmentButton: typeof import('@ionic/vue')['IonSegmentButton']
IonSelect: typeof import('@ionic/vue')['IonSelect']
IonSelectOption: typeof import('@ionic/vue')['IonSelectOption']
IonSpinner: typeof import('@ionic/vue')['IonSpinner']
IonTabBar: typeof import('@ionic/vue')['IonTabBar']
IonTabButton: typeof import('@ionic/vue')['IonTabButton']
@@ -59,6 +63,7 @@ declare global {
const IonButtons: typeof import('@ionic/vue')['IonButtons']
const IonCheckbox: typeof import('@ionic/vue')['IonCheckbox']
const IonContent: typeof import('@ionic/vue')['IonContent']
const IonDatetime: typeof import('@ionic/vue')['IonDatetime']
const IonHeader: typeof import('@ionic/vue')['IonHeader']
const IonIcon: typeof import('@ionic/vue')['IonIcon']
const IonInfiniteScroll: typeof import('@ionic/vue')['IonInfiniteScroll']
@@ -66,12 +71,15 @@ declare global {
const IonInput: typeof import('@ionic/vue')['IonInput']
const IonItem: typeof import('@ionic/vue')['IonItem']
const IonLabel: typeof import('@ionic/vue')['IonLabel']
const IonList: typeof import('@ionic/vue')['IonList']
const IonPage: typeof import('@ionic/vue')['IonPage']
const IonRefresher: typeof import('@ionic/vue')['IonRefresher']
const IonRefresherContent: typeof import('@ionic/vue')['IonRefresherContent']
const IonRouterOutlet: typeof import('@ionic/vue')['IonRouterOutlet']
const IonSegment: typeof import('@ionic/vue')['IonSegment']
const IonSegmentButton: typeof import('@ionic/vue')['IonSegmentButton']
const IonSelect: typeof import('@ionic/vue')['IonSelect']
const IonSelectOption: typeof import('@ionic/vue')['IonSelectOption']
const IonSpinner: typeof import('@ionic/vue')['IonSpinner']
const IonTabBar: typeof import('@ionic/vue')['IonTabBar']
const IonTabButton: typeof import('@ionic/vue')['IonTabButton']

14
pnpm-lock.yaml generated
View File

@@ -52,8 +52,8 @@ catalogs:
specifier: 8.0.0
version: 8.0.0
'@capp/eden':
specifier: http://192.168.1.2:9538/api/capp-eden-0.0.21.tgz
version: 0.0.21
specifier: http://192.168.1.2:9538/api/capp-eden-0.0.23.tgz
version: 0.0.23
'@cloudflare/workers-types':
specifier: ^4.20260113.0
version: 4.20260116.0
@@ -298,7 +298,7 @@ importers:
version: 8.0.0(@capacitor/core@8.0.0)
'@capp/eden':
specifier: 'catalog:'
version: http://192.168.1.2:9538/api/capp-eden-0.0.21.tgz(@elysiajs/eden@1.4.6(elysia@1.4.22(@sinclair/typebox@0.34.47)(exact-mirror@0.2.6(@sinclair/typebox@0.34.47))(file-type@21.3.0)(openapi-types@12.1.3)(typescript@5.9.3)))
version: http://192.168.1.2:9538/api/capp-eden-0.0.23.tgz(@elysiajs/eden@1.4.6(elysia@1.4.22(@sinclair/typebox@0.34.47)(exact-mirror@0.2.6(@sinclair/typebox@0.34.47))(file-type@21.3.0)(openapi-types@12.1.3)(typescript@5.9.3)))
'@elysiajs/eden':
specifier: 'catalog:'
version: 1.4.6(elysia@1.4.22(@sinclair/typebox@0.34.47)(exact-mirror@0.2.6(@sinclair/typebox@0.34.47))(file-type@21.3.0)(openapi-types@12.1.3)(typescript@5.9.3))
@@ -1182,9 +1182,9 @@ packages:
'@capacitor/synapse@1.0.4':
resolution: {integrity: sha512-/C1FUo8/OkKuAT4nCIu/34ny9siNHr9qtFezu4kxm6GY1wNFxrCFWjfYx5C1tUhVGz3fxBABegupkpjXvjCHrw==}
'@capp/eden@http://192.168.1.2:9538/api/capp-eden-0.0.21.tgz':
resolution: {tarball: http://192.168.1.2:9538/api/capp-eden-0.0.21.tgz}
version: 0.0.21
'@capp/eden@http://192.168.1.2:9538/api/capp-eden-0.0.23.tgz':
resolution: {tarball: http://192.168.1.2:9538/api/capp-eden-0.0.23.tgz}
version: 0.0.23
peerDependencies:
'@elysiajs/eden': ^1.4.6
@@ -6903,7 +6903,7 @@ snapshots:
'@capacitor/synapse@1.0.4': {}
'@capp/eden@http://192.168.1.2:9538/api/capp-eden-0.0.21.tgz(@elysiajs/eden@1.4.6(elysia@1.4.22(@sinclair/typebox@0.34.47)(exact-mirror@0.2.6(@sinclair/typebox@0.34.47))(file-type@21.3.0)(openapi-types@12.1.3)(typescript@5.9.3)))':
'@capp/eden@http://192.168.1.2:9538/api/capp-eden-0.0.23.tgz(@elysiajs/eden@1.4.6(elysia@1.4.22(@sinclair/typebox@0.34.47)(exact-mirror@0.2.6(@sinclair/typebox@0.34.47))(file-type@21.3.0)(openapi-types@12.1.3)(typescript@5.9.3)))':
dependencies:
'@elysiajs/eden': 1.4.6(elysia@1.4.22(@sinclair/typebox@0.34.47)(exact-mirror@0.2.6(@sinclair/typebox@0.34.47))(file-type@21.3.0)(openapi-types@12.1.3)(typescript@5.9.3))

View File

@@ -18,7 +18,7 @@ catalog:
'@capacitor/keyboard': 8.0.0
'@capacitor/share': ^8.0.0
'@capacitor/status-bar': 8.0.0
'@capp/eden': http://192.168.1.2:9538/api/capp-eden-0.0.21.tgz
'@capp/eden': http://192.168.1.2:9538/api/capp-eden-0.0.23.tgz
'@cloudflare/workers-types': ^4.20260113.0
'@elysiajs/eden': ^1.4.6
'@faker-js/faker': ^10.2.0

View File

@@ -236,8 +236,8 @@ function nextPage() {
<!-- 成员列表 -->
<div class="member-list">
<div
v-for="member in filteredMembers"
:key="member.profile.userId"
v-for="member, index in filteredMembers"
:key="index"
class="member-card"
>
<div class="member-header">
@@ -247,10 +247,10 @@ function nextPage() {
</div>
<div>
<div class="member-name">
{{ member.profile.nickname }}
{{ member.descendant.name }}
</div>
<div class="info-row-item">
<span class="value">178888888</span>
<span class="value">{{ member.descendant.phoneNumber }}</span>
</div>
</div>
</div>
@@ -261,7 +261,7 @@ function nextPage() {
<div class="member-info">
<div class="info-row-item">
<span class="label">加入时间</span>
<span class="value">{{ dayjs(member.profile.createdAt).format('YYYY-MM-DD HH:mm') }}</span>
<span class="value">{{ dayjs(member.descendant.createdAt).format('YYYY-MM-DD HH:mm') }}</span>
</div>
<div class="info-row-item">
<span class="label">邀请人数</span>

View File

@@ -141,7 +141,7 @@ function viewDetail(record: TransferRecord) {
>
<div class="record-info">
<div class="record-desc">
<span>{{ record.sourceWalletTypeId }}</span>
<span class="text-base font-semibold text-black">{{ record.targetWalletType.name }}</span>
<span class="time">{{ formatTime(record.createdAt) }}</span>
</div>
<div v-if="record.orderNo" class="record-remark">
@@ -294,7 +294,6 @@ function viewDetail(record: TransferRecord) {
.record-desc {
display: flex;
align-items: center;
justify-content: space-between;
gap: 8px;
font-size: 13px;
color: #999;
@@ -307,8 +306,6 @@ function viewDetail(record: TransferRecord) {
.record-remark {
margin-top: 6px;
padding: 6px 10px;
background: #f9f9f9;
border-radius: 6px;
font-size: 12px;
color: #666;