feat: add contribute form link

This commit is contained in:
YunYouJun
2022-11-06 02:25:25 +08:00
parent 83229f7282
commit 5b60db8224
9 changed files with 718 additions and 895 deletions

View File

@@ -19,10 +19,6 @@
<!-- ![微信小程序版本](./public/search-cook.png) -->
## 参考
- [隔离食用手册大全](https://docs.qq.com/sheet/DZUpJS0tQZm1YYWlt)
## 说明
本项目初衷是方便特殊时期隔离在家而材料有限的小伙伴,因此菜谱材料会尽量限制在特定范围内。
@@ -31,8 +27,8 @@
欢迎反馈更多菜谱数据:
- [菜谱数据](https://docs.qq.com/sheet/DQk1vdkhFV0twQVNS)
- [新菜谱反馈](https://docs.qq.com/sheet/DQk1vdkhFV0twQVNS?tab=uykkic)
- 相关链接
- [居家菜谱投稿](https://docs.qq.com/form/page/DWk9GWW9oTmlXZU9V)
- [晒晒你的菜](https://docs.qq.com/sheet/DQk1vdkhFV0twQVNS?tab=dmeahc)
- [反馈建议](https://docs.qq.com/sheet/DQk1vdkhFV0twQVNS?tab=snaau2)

View File

@@ -18,46 +18,46 @@
},
"dependencies": {
"@gtm-support/vue-gtm": "^1.6.0",
"@vueuse/core": "^9.1.1",
"@vueuse/head": "^0.7.9",
"@vueuse/core": "^9.4.0",
"@vueuse/head": "^0.9.8",
"nprogress": "^0.2.0",
"pinia": "^2.0.21",
"pinia": "^2.0.23",
"prism-theme-vars": "^0.2.4",
"vue": "^3.2.38",
"vue": "^3.2.41",
"vue-about-me": "^1.2.7",
"vue-demi": "^0.13.11",
"vue-router": "^4.1.5"
"vue-router": "^4.1.6"
},
"devDependencies": {
"@antfu/eslint-config": "^0.26.3",
"@antfu/eslint-config": "^0.29.3",
"@iconify-json/fe": "^1.1.2",
"@iconify-json/gg": "^1.1.2",
"@iconify-json/ic": "^1.1.9",
"@iconify-json/mdi": "^1.1.31",
"@iconify-json/mdi": "^1.1.34",
"@iconify-json/ri": "^1.1.3",
"@pinia/testing": "^0.0.14",
"@types/markdown-it-link-attributes": "^3.0.1",
"@types/nprogress": "^0.2.0",
"@vitejs/plugin-legacy": "^2.0.1",
"@vitejs/plugin-vue": "^3.0.3",
"@vue/test-utils": "^2.0.2",
"@vitejs/plugin-legacy": "^2.3.0",
"@vitejs/plugin-vue": "^3.2.0",
"@vue/test-utils": "^2.2.1",
"consola": "^2.15.3",
"critters": "^0.0.16",
"cross-env": "^7.0.3",
"eslint": "^8.23.0",
"eslint": "^8.26.0",
"https-localhost": "^4.7.1",
"markdown-it-link-attributes": "^4.0.1",
"markdown-it-prism": "^2.3.0",
"pnpm": "^7.10.0",
"sass": "^1.54.8",
"pnpm": "^7.14.2",
"sass": "^1.56.0",
"star-markdown-css": "^0.4.0",
"terser": "^5.15.0",
"tsx": "^3.9.0",
"tsx": "^3.11.0",
"typescript": "^4.8.2",
"unocss": "^0.45.15",
"unplugin-auto-import": "^0.11.2",
"unplugin-vue-components": "^0.22.4",
"vite": "^3.0.9",
"vite": "^3.2.2",
"vite-plugin-inspect": "^0.6.1",
"vite-plugin-pages": "^0.26.0",
"vite-plugin-vue-layouts": "^0.7.0",
@@ -66,6 +66,6 @@
"vite-ssg-sitemap": "^0.4.1",
"vitest": "^0.23.0",
"vue-toastification": "^2.0.0-rc.5",
"vue-tsc": "^0.40.6"
"vue-tsc": "^1.0.9"
}
}

1545
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff

View File

@@ -122,6 +122,7 @@ declare global {
const useBrowserLocation: typeof import('@vueuse/core')['useBrowserLocation']
const useCached: typeof import('@vueuse/core')['useCached']
const useClipboard: typeof import('@vueuse/core')['useClipboard']
const useCloned: typeof import('@vueuse/core')['useCloned']
const useColorMode: typeof import('@vueuse/core')['useColorMode']
const useConfirmDialog: typeof import('@vueuse/core')['useConfirmDialog']
const useCounter: typeof import('@vueuse/core')['useCounter']
@@ -212,6 +213,7 @@ declare global {
const useSessionStorage: typeof import('@vueuse/core')['useSessionStorage']
const useShare: typeof import('@vueuse/core')['useShare']
const useSlots: typeof import('vue')['useSlots']
const useSorted: typeof import('@vueuse/core')['useSorted']
const useSpeechRecognition: typeof import('@vueuse/core')['useSpeechRecognition']
const useSpeechSynthesis: typeof import('@vueuse/core')['useSpeechSynthesis']
const useStepper: typeof import('@vueuse/core')['useStepper']

1
src/constants/index.ts Normal file
View File

@@ -0,0 +1 @@
export * from './links'

6
src/constants/links.ts Normal file
View File

@@ -0,0 +1,6 @@
export const links = {
/**
* 菜谱投稿链接
*/
contribute: 'https://docs.qq.com/form/page/DWk9GWW9oTmlXZU9V'
}

View File

@@ -14,8 +14,8 @@ title: 关于
<br />
<div class="inline-flex justify-center items-center">
菜谱视频来源:
<a class="inline-flex items-center text-sm text-blue-600 dark:text-blue-400" href="https://docs.qq.com/sheet/DZUpJS0tQZm1YYWlt" target="_blank">
菜谱主要视频来源:
<a class="inline-flex items-center text-sm text-blue-600 dark:text-blue-400" href="https://docs.qq.com/sheet/DQk1vdkhFV0twQVNS" target="_blank">
<div m="r-1" inline-flex i-ri-bilibili-line></div>
<span class="inline-flex">隔离食用手册大全</span>
</a>

View File

@@ -2,8 +2,8 @@
title: 帮助
---
- [菜谱数据](https://docs.qq.com/sheet/DQk1vdkhFV0twQVNS)
- [新菜谱反馈](https://docs.qq.com/sheet/DQk1vdkhFV0twQVNS?tab=uykkic)
- 相关链接
- [居家菜谱投稿](https://docs.qq.com/form/page/DWk9GWW9oTmlXZU9V)
- [晒晒你的菜](https://docs.qq.com/sheet/DQk1vdkhFV0twQVNS?tab=dmeahc)
- [反馈建议](https://docs.qq.com/sheet/DQk1vdkhFV0twQVNS?tab=snaau2)
- 网站相关

View File

@@ -1,6 +1,8 @@
<script lang="ts" setup>
import { links } from '~/constants';
import { useRecipeStore } from '~/stores/recipe'
const rStore = useRecipeStore()
</script>
<template>
@@ -20,8 +22,13 @@ const rStore = useRecipeStore()
</p>
<p>
<ChooseFood />
<a m="t-2" border="b-1 dashed" class="inline-flex text-sm text-blue-600 dark:text-blue-400" href="https://docs.qq.com/sheet/DZUpJS0tQZm1YYWlt?referrer=1&tab=mwn1v5" target="_blank">
更多囤货水培攻略隔离食用手册大全
<a
m="t-2"
border="b-1 dashed"
class="inline-flex text-sm text-blue-600 dark:text-blue-400"
:href="links.contribute" target="_blank"
title="居家菜谱投稿">
立即投稿
</a>
</p>
</div>