15 Commits
Author SHA1 Message Date
zlong 8b3ee05f80 Merge branch 'main' into feature/6-petplan 2024-12-22 22:14:32 +08:00
ilhamtahir 9d2af04b4a feat: 取消跟踪自动生成的文件 2024-12-19 20:21:03 +08:00
ilhamtahir 7e5adcb3ec Merge branch 'feature/43-createNewPet' of 1-bright/frontend-uniapp into main 2024-12-19 20:19:13 +08:00
ilhamtahir 3a43391a46 feat: 取消跟踪自动生成的文件 2024-12-19 20:17:48 +08:00
ilhamtahir 47989f4515 fix: conflict 2024-12-19 20:16:40 +08:00
ilhamtahir 864e56d10c Merge branch 'main' into feature/43-createNewPet
# Conflicts:
#	src/uni-pages.d.ts
2024-12-19 20:16:20 +08:00
ilhamtahir 749a84084b Merge branch 'refs/heads/main' into feature/43-createNewPet
# Conflicts:
#	src/uni-pages.d.ts
2024-12-19 20:15:08 +08:00
ilhamtahir 3442953505 Merge branch 'feature/44-pet-parameters' of 1-bright/frontend-uniapp into main 2024-12-19 20:13:55 +08:00
ilhamtahir 279bb67f43 Merge branch 'refs/heads/main' into feature/44-pet-parameters
# Conflicts:
#	src/uni-pages.d.ts
2024-12-19 20:13:47 +08:00
ilhamtahir 8c05f01293 Merge branch 'feature/8-petsearch' of 1-bright/frontend-uniapp into main 2024-12-19 20:12:09 +08:00
ilhamtahir e892560803 Merge branch 'feature/10-userinfo' of 1-bright/frontend-uniapp into main 2024-12-19 20:11:29 +08:00
ilhamtahir 87728701e8 Merge branch 'main' into feature/10-userinfo
# Conflicts:
#	src/pages.json
#	src/uni-pages.d.ts
2024-12-19 20:11:20 +08:00
ilhamtahir 3e7559caba fix: conflict 2024-12-19 20:09:37 +08:00
zlong 087e44f1f8 Merge branch 'main' into feature/8-petsearch 2024-12-16 16:10:59 +08:00
maek_9090 e869d70217 feat:个人信息静态页面及设置页面 2024-11-27 21:40:12 +08:00
8 changed files with 114 additions and 2 deletions

No files matched your search

+3
View File
@@ -21,3 +21,6 @@ dist
*.sw?
.env
src/pages.json
src/components.d.ts
src/auto-imports.d.ts
+6 -1
View File
@@ -27,7 +27,11 @@
"type": "page"
},
{
"path": "pages/pet-manual/index",
"path": "pages/setting/index",
"type": "page"
},
{
"path": "pages/userInfo/index",
"type": "page"
},
{
@@ -69,5 +73,6 @@
"navigationBarTitleText": "Vitesse-Uni",
"navigationStyle": "custom"
},
"__esModule": true,
"subPackages": []
}
+28
View File
@@ -0,0 +1,28 @@
<script setup lang="ts">
import ToolFun from '@/utils'
const titleName = ref<string>('设置')
const safeHeight = ToolFun.getSafeHeight()
</script>
<template>
<TitleBar :title-name="titleName" />
<view class="flex flex-col bg-[#F5F6F7] overflow-y-auto" :style="`height:calc(100vh - ${safeHeight}px)`">
<uni-card>
<uni-list class="text-[16px] font-normal" :border="false">
<uni-list-item title="通用设置" />
<uni-list-item title="通知设置" />
</uni-list>
</uni-card>
<uni-card>
<uni-list class="mt-6 text-[16px] font-normal" :border="false">
<uni-list-item title="账号安全" />
<uni-list-item title="隐私" />
</uni-list>
</uni-card>
</view>
</template>
<style scoped>
</style>
+68
View File
@@ -0,0 +1,68 @@
<script setup lang="ts">
import avatar from '@/static/image/user-info/avatar.png'
import component from '@/static/image/user-info/Component.png'
import union from '@/static/image/user-info/union.png'
import ToolFun from '@/utils'
const titleName = ref<string>('个人信息')
const safeHeight = ToolFun.getSafeHeight()
</script>
<template>
<TitleBar :title-name="titleName" />
<view class="flex flex-col bg-[#F5F6F7] overflow-y-auto" :style="`height:calc(100vh - ${safeHeight}px)`">
<view class="flex justify-center items-center p-[61px] w-full pb-[30px] ">
<view class="relative h-[80px] w-[80px]">
<image
:src="avatar" class="h-[80px] w-[80px] "
/>
<view class="flex justify-center items-center absolute h-[18px] w-[18px] bg-[#0052D9] rounded-full right-0 bottom-0">
<image
:src="union" class="h-[10px] w-[10px] "
/>
</view>
</view>
</view>
<uni-card>
<uni-list class="text-[16px] font-normal relative felx items-center justify-center" :border="false">
<uni-list-item show-arrow title="姓名" right-text="齐治然" />
</uni-list>
</uni-card>
<uni-card class="mt-6">
<uni-list :border="false" />
<uni-list-item show-arrow title="年龄" right-text="50" class="text-[45px] font-normal" :border="false" />
<uni-list-item show-arrow title="性别" right-text="男孩" />
<uni-list-item show-arrow title="职业" right-text="太空人" />
<uni-list-item show-arrow title="地址" right-text="杭州" />
</uni-card>
<view class=" w-full flex justify-center items-center mt-[80px]">
<button class="w-[176px] h-[47px] font-normal bg-[#4545E5] text-[18px] rounded-[69px] text-[#fff] flex justify-center items-center">
确认
</button>
</view>
<view class="mt-[20px] flex justify-center items-center">
<image
:src="component" class="w-[138px] h-[38px]"
/>
</view>
</view>
</template>
<style lang="scss" scoped>
:deep .uni-list-item{
height: 56px !important;
}
:deep .uni-list-item__content-title {
color: var(--text-icon-font-gy-190, rgba(0, 0, 0, 0.90)) !important;
font-size: 16px !important;
font-family: "PingFang SC" !important;
font-style: normal !important;
font-weight: 400 !important;
}
:deep .uni-list-item__extra-text{
color: var(--text-icon-font-gy-190, rgba(0, 0, 0, 0.90)) !important;
font-size: 16px !important;
font-style: normal !important;
font-weight: 400 !important;
}
</style>
Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 349 B

+9 -1
View File
@@ -16,12 +16,20 @@ interface NavigateToOptions {
"/pages/feed-calculator/components/FeedStart" |
"/pages/feed-calculator/components/FeedStep" |
"/pages/feed-calculator/components/ProgressBar" |
"/pages/feed-calculator/components/FeedFlogan" |
"/pages/feed-calculator/components/FeedForm" |
"/pages/feed-calculator/components/FeedQuestionnaire" |
"/pages/feed-calculator/components/FeedStart" |
"/pages/feed-calculator/components/FeedStep" |
"/pages/feed-calculator/components/ProgressBar" |
"/pages/setting/index" |
"/pages/userInfo/index" |
"/pages/pet-manual/components/CardList";
}
interface RedirectToOptions extends NavigateToOptions {}
interface SwitchTabOptions {
}
type ReLaunchOptions = NavigateToOptions | SwitchTabOptions;