chore: optimize ui & link
This commit is contained in:
@@ -55,7 +55,7 @@ onBeforeMount(() => {
|
||||
</ion-text>
|
||||
</ion-item>
|
||||
|
||||
<ion-item href="https://www.yunyoujun.cn" target="_blank">
|
||||
<ion-item router-link="/about/me">
|
||||
<ion-label>项目作者</ion-label>
|
||||
<ion-text class="inline-flex items-center justify-center">
|
||||
云游君
|
||||
|
||||
@@ -14,4 +14,20 @@ export const links = {
|
||||
* changelog
|
||||
*/
|
||||
changelog: 'https://docs.yunyoujun.cn/projects/cook/changelog',
|
||||
|
||||
/**
|
||||
* author
|
||||
*/
|
||||
yyj: {
|
||||
bilibili: 'https://space.bilibili.com/1579790',
|
||||
bilibiliOpus: 'https://www.bilibili.com/opus/649847454294868008',
|
||||
github: 'https://github.com/YunYouJun',
|
||||
blog: 'https://www.yunyoujun.cn',
|
||||
|
||||
mp: 'https://mp.weixin.qq.com/s/Qdx76v1d0EwRLuX_rYtHFw',
|
||||
/**
|
||||
* 关于食用手册的前世今生与未来
|
||||
*/
|
||||
mpArticle: 'https://mp.weixin.qq.com/s/Qdx76v1d0EwRLuX_rYtHFw',
|
||||
},
|
||||
}
|
||||
|
||||
@@ -1,16 +0,0 @@
|
||||
<template>
|
||||
<ion-page>
|
||||
<ion-header>
|
||||
<ion-toolbar>
|
||||
<ion-buttons slot="start">
|
||||
<ion-back-button default-href="/my" />
|
||||
</ion-buttons>
|
||||
<ion-title>关于</ion-title>
|
||||
</ion-toolbar>
|
||||
</ion-header>
|
||||
|
||||
<ion-content>
|
||||
<TheAboutList />
|
||||
</ion-content>
|
||||
</ion-page>
|
||||
</template>
|
||||
38
app/pages/about/index.vue
Normal file
38
app/pages/about/index.vue
Normal file
@@ -0,0 +1,38 @@
|
||||
<script setup lang="ts">
|
||||
import { links } from '~/constants'
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<ion-page>
|
||||
<ion-header>
|
||||
<ion-toolbar>
|
||||
<ion-buttons slot="start">
|
||||
<ion-back-button default-href="/my" />
|
||||
</ion-buttons>
|
||||
<ion-title>关于</ion-title>
|
||||
</ion-toolbar>
|
||||
</ion-header>
|
||||
|
||||
<ion-content>
|
||||
<TheAboutList />
|
||||
|
||||
<ion-list :inset="true">
|
||||
<ion-item :href="links.yyj.bilibiliOpus" target="_blank">
|
||||
<ion-label>旅程的起点</ion-label>
|
||||
<ion-text class="inline-flex items-center justify-center">
|
||||
<div class="inline-flex" i-ri-bilibili-line />
|
||||
<span m="l-1" class="inline-flex">动态</span>
|
||||
</ion-text>
|
||||
</ion-item>
|
||||
|
||||
<ion-item :href="links.yyj.mpArticle" target="_blank">
|
||||
<ion-label>关于食用手册的前世今生</ion-label>
|
||||
<ion-text class="inline-flex items-center justify-center">
|
||||
<div class="inline-flex" i-ri-wechat-2-line />
|
||||
<span m="l-1" class="inline-flex">文章</span>
|
||||
</ion-text>
|
||||
</ion-item>
|
||||
</ion-list>
|
||||
</ion-content>
|
||||
</ion-page>
|
||||
</template>
|
||||
52
app/pages/about/me.vue
Normal file
52
app/pages/about/me.vue
Normal file
@@ -0,0 +1,52 @@
|
||||
<script setup lang="ts">
|
||||
import { links } from '~/constants'
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<ion-page>
|
||||
<ion-header>
|
||||
<ion-toolbar>
|
||||
<ion-buttons slot="start">
|
||||
<ion-back-button default-href="/my" />
|
||||
</ion-buttons>
|
||||
<ion-title>关于作者</ion-title>
|
||||
</ion-toolbar>
|
||||
</ion-header>
|
||||
|
||||
<ion-content>
|
||||
<ion-list :inset="true">
|
||||
<ion-item :href="links.yyj.bilibili" target="_blank">
|
||||
<div slot="start" class="inline-flex" i-ri-bilibili-line />
|
||||
<ion-label>哔哩哔哩</ion-label>
|
||||
<ion-text class="inline-flex items-center justify-center">
|
||||
<span m="l-1" class="inline-flex">云游君</span>
|
||||
</ion-text>
|
||||
</ion-item>
|
||||
|
||||
<ion-item :href="links.yyj.github" target="_blank">
|
||||
<div slot="start" class="inline-flex" i-ri-github-line />
|
||||
<ion-label>GitHub</ion-label>
|
||||
<ion-text class="inline-flex items-center justify-center">
|
||||
<span m="l-1" class="inline-flex">YunYouJun</span>
|
||||
</ion-text>
|
||||
</ion-item>
|
||||
|
||||
<ion-item :href="links.yyj.blog" target="_blank">
|
||||
<div slot="start" class="inline-flex" i-ri-article-line />
|
||||
<ion-label>博客</ion-label>
|
||||
<ion-text class="inline-flex items-center justify-center">
|
||||
云游君的小站
|
||||
</ion-text>
|
||||
</ion-item>
|
||||
|
||||
<ion-item :href="links.yyj.mp" target="_blank">
|
||||
<div slot="start" class="inline-flex" i-ri-wechat-2-line />
|
||||
<ion-label>公众号</ion-label>
|
||||
<ion-text class="inline-flex items-center justify-center">
|
||||
云游君
|
||||
</ion-text>
|
||||
</ion-item>
|
||||
</ion-list>
|
||||
</ion-content>
|
||||
</ion-page>
|
||||
</template>
|
||||
@@ -34,7 +34,6 @@ const rStore = useRecipeStore()
|
||||
</ion-header>
|
||||
<ion-content ref="ionContentRef" class="text-center">
|
||||
<ChooseFood />
|
||||
<SimpleCopyright />
|
||||
</ion-content>
|
||||
</ion-page>
|
||||
</template>
|
||||
|
||||
@@ -10,10 +10,11 @@
|
||||
"scripts": {
|
||||
"build": "npm run convert && npm run generate",
|
||||
"build:nuxt": "nuxt build",
|
||||
"build:android": "bash ./scripts/android/build.sh",
|
||||
"convert": "pnpm -C scripts run convert",
|
||||
"dev": "nuxt dev --host",
|
||||
"dev:pwa": "VITE_PLUGIN_PWA=true nuxi dev",
|
||||
"dev:android": "bash ./scripts/android.sh",
|
||||
"dev:android": "bash ./scripts/android/dev.sh",
|
||||
"bash:ios": "bash ./scripts/ios.sh",
|
||||
"dev:ios": "cap run ios -l",
|
||||
"ios": "cap run ios",
|
||||
@@ -79,7 +80,7 @@
|
||||
"fake-indexeddb": "^6.2.2",
|
||||
"jsdom": "^27.0.0",
|
||||
"lint-staged": "^16.2.3",
|
||||
"nuxt": "^4.1.2",
|
||||
"nuxt": "^4.1.3",
|
||||
"pinia": "^3.0.3",
|
||||
"sass": "^1.93.2",
|
||||
"serve": "^14.2.5",
|
||||
|
||||
752
pnpm-lock.yaml
generated
752
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
1
scripts/android/build.sh
Normal file
1
scripts/android/build.sh
Normal file
@@ -0,0 +1 @@
|
||||
npx cap build android
|
||||
Reference in New Issue
Block a user