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

@@ -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>