feat: 更新 Capacitor 配置,修正 appId 和服务器 URL,添加市场视图的标签组件

This commit is contained in:
2025-12-24 03:27:17 +07:00
parent 57e346df3f
commit 648ca3edc9
3 changed files with 21 additions and 3 deletions

View File

@@ -1,11 +1,11 @@
import type { CapacitorConfig } from "@capacitor/cli"; import type { CapacitorConfig } from "@capacitor/cli";
const config: CapacitorConfig = { const config: CapacitorConfig = {
appId: "io.ionic.starter", appId: "riwa.ionic.app",
appName: "riwa-ionic", appName: "riwa-ionic",
webDir: "dist", webDir: "dist",
server: { server: {
url: "http://192.168.1.55:5173", // Vite默认端口 url: "http://192.168.1.37:5173", // Vite默认端口
cleartext: true, // 允许HTTP连接 cleartext: true, // 允许HTTP连接
}, },
plugins: { plugins: {

View File

@@ -68,11 +68,16 @@ onBeforeMount(() => {
<ion-searchbar :placeholder="t('market.search.placeholder')" /> <ion-searchbar :placeholder="t('market.search.placeholder')" />
</ion-toolbar> </ion-toolbar>
</IonHeader> </IonHeader>
<IonContent :fullscreen="true" class="ion-padding"> <IonContent :fullscreen="true" class="ion-padding-horizontal">
<ion-refresher slot="fixed" @ion-refresh="handleRefresh($event)"> <ion-refresher slot="fixed" @ion-refresh="handleRefresh($event)">
<ion-refresher-content /> <ion-refresher-content />
</ion-refresher> </ion-refresher>
<ui-tabs size="small" class="mb-3">
<ui-tab-pane name="all" title="数字化产品" />
<ui-tab-pane name="stocks" title="代币化产品" />
</ui-tabs>
<Category v-model="query!.categoryId" /> <Category v-model="query!.categoryId" />
<RwaList :data="rwaData" /> <RwaList :data="rwaData" />

13
vault.md Normal file
View File

@@ -0,0 +1,13 @@
open float Y 开盘价 每一个纬度(例如天纬度,就是一天的第一笔成交价格)的第一笔成交价格
high float Y 最高价
low float Y 最低价
close float Y 收盘价
settle float Y 结算价 每一个纬度(某一个时间段之内的金额总和 / 交易量)
接口
代币化分类接口
代币化列表接口
代币化详情接口
代币化数据接口
买卖接口