fix: 更新开发环境配置,修正 API 地址和依赖版本

This commit is contained in:
2026-01-07 18:04:45 +07:00
parent 104f663439
commit 503ad3e8ad
5 changed files with 16 additions and 12 deletions

View File

@@ -1,3 +1,3 @@
VITE_API_URL=http://192.168.1.6:9528
VITE_API_URL=http://192.168.1.17:9528
VITE_TRADINGVIEW_LIBRARY_URL=https://dev.riwsan1.com
# VITE_TRADINGVIEW_DATA_API_URL=https://demo-feed-data.tradingview.com

4
components.d.ts vendored
View File

@@ -49,6 +49,8 @@ declare module 'vue' {
IonRouterOutlet: typeof import('@ionic/vue')['IonRouterOutlet']
IonRow: typeof import('@ionic/vue')['IonRow']
IonSearchbar: typeof import('@ionic/vue')['IonSearchbar']
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']
@@ -107,6 +109,8 @@ declare global {
const IonRouterOutlet: typeof import('@ionic/vue')['IonRouterOutlet']
const IonRow: typeof import('@ionic/vue')['IonRow']
const IonSearchbar: typeof import('@ionic/vue')['IonSearchbar']
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']

View File

@@ -34,7 +34,7 @@
"@elysiajs/eden": "^1.4.5",
"@ionic/vue": "^8.7.11",
"@ionic/vue-router": "^8.7.11",
"@riwa/api-types": "http://192.168.1.6:9527/api/riwa-eden-0.0.78.tgz",
"@riwa/api-types": "http://192.168.1.17:9527/api/riwa-eden-0.0.84.tgz",
"@tailwindcss/vite": "^4.1.18",
"@vee-validate/yup": "^4.15.1",
"@vueuse/core": "^14.1.0",

12
pnpm-lock.yaml generated
View File

@@ -57,8 +57,8 @@ importers:
specifier: ^8.7.11
version: 8.7.11(@stencil/core@4.39.0)(vue-router@4.6.3(vue@3.5.25(typescript@5.9.3)))(vue@3.5.25(typescript@5.9.3))
'@riwa/api-types':
specifier: http://192.168.1.6:9527/api/riwa-eden-0.0.78.tgz
version: '@riwa/eden@http://192.168.1.6:9527/api/riwa-eden-0.0.78.tgz(@elysiajs/eden@1.4.5(elysia@1.4.18(@sinclair/typebox@0.34.41)(exact-mirror@0.2.5(@sinclair/typebox@0.34.41))(file-type@21.1.1)(openapi-types@12.1.3)(typescript@5.9.3)))'
specifier: http://192.168.1.17:9527/api/riwa-eden-0.0.84.tgz
version: '@riwa/eden@http://192.168.1.17:9527/api/riwa-eden-0.0.84.tgz(@elysiajs/eden@1.4.5(elysia@1.4.18(@sinclair/typebox@0.34.41)(exact-mirror@0.2.5(@sinclair/typebox@0.34.41))(file-type@21.1.1)(openapi-types@12.1.3)(typescript@5.9.3)))'
'@tailwindcss/vite':
specifier: ^4.1.18
version: 4.1.18(vite@7.2.7(@types/node@24.10.2)(jiti@2.6.1)(lightningcss@1.30.2)(terser@5.44.1)(yaml@2.8.2))
@@ -2766,9 +2766,9 @@ packages:
'@remirror/core-constants@3.0.0':
resolution: {integrity: sha512-42aWfPrimMfDKDi4YegyS7x+/0tlzaqwPQCULLanv3DMIlu96KTJR0fM5isWX2UViOqlGnX6YFgqWepcX+XMNg==}
'@riwa/eden@http://192.168.1.6:9527/api/riwa-eden-0.0.78.tgz':
resolution: {tarball: http://192.168.1.6:9527/api/riwa-eden-0.0.78.tgz}
version: 0.0.78
'@riwa/eden@http://192.168.1.17:9527/api/riwa-eden-0.0.84.tgz':
resolution: {tarball: http://192.168.1.17:9527/api/riwa-eden-0.0.84.tgz}
version: 0.0.84
peerDependencies:
'@elysiajs/eden': ^1.4.5
@@ -12077,7 +12077,7 @@ snapshots:
'@remirror/core-constants@3.0.0': {}
'@riwa/eden@http://192.168.1.6:9527/api/riwa-eden-0.0.78.tgz(@elysiajs/eden@1.4.5(elysia@1.4.18(@sinclair/typebox@0.34.41)(exact-mirror@0.2.5(@sinclair/typebox@0.34.41))(file-type@21.1.1)(openapi-types@12.1.3)(typescript@5.9.3)))':
'@riwa/eden@http://192.168.1.17:9527/api/riwa-eden-0.0.84.tgz(@elysiajs/eden@1.4.5(elysia@1.4.18(@sinclair/typebox@0.34.41)(exact-mirror@0.2.5(@sinclair/typebox@0.34.41))(file-type@21.1.1)(openapi-types@12.1.3)(typescript@5.9.3)))':
dependencies:
'@elysiajs/eden': 1.4.5(elysia@1.4.18(@sinclair/typebox@0.34.41)(exact-mirror@0.2.5(@sinclair/typebox@0.34.41))(file-type@21.1.1)(openapi-types@12.1.3)(typescript@5.9.3))

View File

@@ -64,16 +64,16 @@ onBeforeMount(() => {
<ion-toolbar class="ion-toolbar">
<ion-title>{{ t('market.title') }}</ion-title>
</ion-toolbar>
<ion-toolbar class="ion-toolbar px-3">
<!-- <ion-toolbar class="ion-toolbar px-3">
<ion-searchbar :placeholder="t('market.search.placeholder')" />
</ion-toolbar>
</ion-toolbar> -->
</IonHeader>
<IonContent :fullscreen="true" class="ion-padding-horizontal">
<ion-refresher slot="fixed" @ion-refresh="handleRefresh($event)">
<ion-refresher-content />
</ion-refresher>
<ui-tabs type="segment" class="tabs">
<ui-tabs type="segment" class="tabs" size="small">
<ui-tab-pane name="all" title="数字化产品">
<Category v-model="query!.categoryId" />
<RwaList :data="rwaData" />
@@ -102,7 +102,7 @@ ion-searchbar {
}
:deep(.tabs) .ui-tab--segment {
font-size: 13px;
padding: 8px !important;
padding: 6px !important;
flex: 1;
text-align: center;
}