feat: 更新用户设置界面,添加头部和返回按钮
This commit is contained in:
@@ -12,7 +12,7 @@ const { data } = safeClient(client.api.rwa.subscription.available_editions({ edi
|
||||
<ion-page>
|
||||
<ion-header>
|
||||
<ion-toolbar class="ui-toolbar">
|
||||
<ion-back-button slot="start" text="" />
|
||||
<ion-back-button slot="start" />
|
||||
<ion-title>
|
||||
{{ data?.product.code }}
|
||||
</ion-title>
|
||||
|
||||
@@ -49,18 +49,6 @@ function handleCopyUid() {
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<ion-page>
|
||||
<ion-header>
|
||||
<ion-toolbar class="ui-toolbar">
|
||||
<ion-buttons slot="start">
|
||||
<ion-button @click="$router.back()">
|
||||
<ion-icon slot="icon-only" :icon="arrowBackOutline" />
|
||||
</ion-button>
|
||||
</ion-buttons>
|
||||
<ion-title>用户设置</ion-title>
|
||||
</ion-toolbar>
|
||||
</ion-header>
|
||||
|
||||
<ion-content :fullscreen="true" class="ion-padding">
|
||||
<div class="flex flex-col items-center justify-center py-5">
|
||||
<div class="relative">
|
||||
@@ -141,7 +129,6 @@ function handleCopyUid() {
|
||||
</ion-button>
|
||||
</div>
|
||||
</ion-content>
|
||||
</ion-page>
|
||||
</template>
|
||||
|
||||
<style lang='css' scoped>
|
||||
|
||||
@@ -2,7 +2,13 @@
|
||||
|
||||
<template>
|
||||
<ion-page>
|
||||
<ion-router-outlet />
|
||||
<ion-header>
|
||||
<ion-toolbar class="ui-toolbar">
|
||||
<ion-back-button slot="start" />
|
||||
<ion-title>用户设置</ion-title>
|
||||
</ion-toolbar>
|
||||
</ion-header>
|
||||
<router-view />
|
||||
</ion-page>
|
||||
</template>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user