feat: 更新 Capacitor 配置,修正 appId 和服务器 URL,添加市场视图的标签组件
This commit is contained in:
@@ -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: {
|
||||||
|
|||||||
@@ -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" />
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user