Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
022cc7c0c4
72
.github/workflows/readme.yml
vendored
72
.github/workflows/readme.yml
vendored
@ -1,36 +1,36 @@
|
||||
name: Translate README
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Setup Node.js
|
||||
uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: 12.x
|
||||
# ISO Langusge Codes: https://cloud.google.com/translate/docs/languages
|
||||
- name: Adding README - English
|
||||
uses: dephraiim/translate-readme@main
|
||||
with:
|
||||
LANG: en
|
||||
- name: Adding README - Japanese
|
||||
uses: dephraiim/translate-readme@main
|
||||
with:
|
||||
LANG: ja
|
||||
- name: Adding README - German
|
||||
uses: dephraiim/translate-readme@main
|
||||
with:
|
||||
LANG: de
|
||||
- name: Adding README - French
|
||||
uses: dephraiim/translate-readme@main
|
||||
with:
|
||||
LANG: fr
|
||||
- name: Adding README - Spanish
|
||||
uses: dephraiim/translate-readme@main
|
||||
with:
|
||||
LANG: es
|
||||
#name: Translate README
|
||||
#
|
||||
#on:
|
||||
# push:
|
||||
# branches:
|
||||
# - master
|
||||
#jobs:
|
||||
# build:
|
||||
# runs-on: ubuntu-latest
|
||||
# steps:
|
||||
# - uses: actions/checkout@v2
|
||||
# - name: Setup Node.js
|
||||
# uses: actions/setup-node@v1
|
||||
# with:
|
||||
# node-version: 12.x
|
||||
# # ISO Langusge Codes: https://cloud.google.com/translate/docs/languages
|
||||
# - name: Adding README - English
|
||||
# uses: dephraiim/translate-readme@main
|
||||
# with:
|
||||
# LANG: en
|
||||
# - name: Adding README - Japanese
|
||||
# uses: dephraiim/translate-readme@main
|
||||
# with:
|
||||
# LANG: ja
|
||||
# - name: Adding README - German
|
||||
# uses: dephraiim/translate-readme@main
|
||||
# with:
|
||||
# LANG: de
|
||||
# - name: Adding README - French
|
||||
# uses: dephraiim/translate-readme@main
|
||||
# with:
|
||||
# LANG: fr
|
||||
# - name: Adding README - Spanish
|
||||
# uses: dephraiim/translate-readme@main
|
||||
# with:
|
||||
# LANG: es
|
||||
12
README.de.md
12
README.de.md
@ -30,19 +30,19 @@
|
||||
|
||||
## Online-Zugang
|
||||
|
||||
Vercel:<http://dy.ttentau.top/>(China empfiehlt den Besuch hier)
|
||||
Vercel: <http://dy.ttentau.top/>(China empfiehlt den Besuch hier)
|
||||
|
||||
Netlify:<https://douyins.netlify.app/>(Für Gebiete außerhalb Chinas empfehlen wir den Besuch hier)
|
||||
Netlify:<https://douyins.netlify.app/>(Empfehlenswert für Gebiete außerhalb Chinas, dies zu besuchen)
|
||||
|
||||
Android-Apk:<https://github.com/zyronon/douyin/releases>
|
||||
|
||||
**Beachten**:`PC`Sie müssen den Browser in den mobilen Modus schalten, zuerst drücken`F12`Um die Konsole aufzurufen, drücken Sie`Ctrl+Shift+M`um eine normale Vorschau anzuzeigen
|
||||
|
||||
**注意**: Bitte benutzen Sie Ihr Mobiltelefon[über Browser](https://viayoo.com/zh-cn/)oder Chrome-Browservorschau. Andere Browser erzwingen möglicherweise, dass das Video im Vollbildmodus angezeigt wird, was dazu führt, dass es nicht richtig angezeigt wird.
|
||||
**Beachten**: Bitte benutzen Sie Ihr Mobiltelefon[über Browser](https://viayoo.com/zh-cn/)oder Chrome-Browservorschau. Andere Browser erzwingen möglicherweise, dass das Video im Vollbildmodus angezeigt wird, was dazu führt, dass es nicht richtig angezeigt wird.
|
||||
|
||||
## Haftungsausschluss
|
||||
|
||||
Dieses Projekt dient ausschließlich Studien- und Forschungszwecken, nicht der kommerziellen Nutzung
|
||||
本项目仅适用于学习和研究,不得用于商业使用
|
||||
|
||||
## laufen
|
||||
|
||||
@ -61,7 +61,7 @@ npm run dev
|
||||
|
||||
Öffnen Sie Ihren Browser und besuchen Sie:<http://127.0.0.1:3000>
|
||||
|
||||
**Hinweis: Der PC muss den Browser in den Mobilmodus schalten, zuerst drücken`F12`Um die Konsole aufzurufen, drücken Sie`Ctrl+Shift+M`um eine normale Vorschau anzuzeigen**
|
||||
**Hinweis: Der PC-Browser muss zuerst in den Mobilmodus geschaltet werden`F12`Um die Konsole aufzurufen, drücken Sie`Ctrl+Shift+M`um eine normale Vorschau anzuzeigen**
|
||||
|
||||
## Verknüpfung
|
||||
|
||||
@ -103,7 +103,7 @@ Sie können meine E-Mail kontaktieren<a href="mailto:zyronon@163.com">zyronon@16
|
||||
> Teilen Sie meine anderen Open-Source-Projekte:
|
||||
>
|
||||
> _[**Wort eingeben**- Software zum Auswendiglernen von Vokabeln, die im Internet verwendet werden kann](https://github.com/zyronon/typing-word)<img src="https://img.shields.io/github/stars/zyronon/typing-word.svg?style=flat-square&label=Star&color=4285dd&logo=github" height="16px" />_
|
||||
> _[**Webskripte**- Einige nützliche Grease Monkey-Skripte ~](https://github.com/zyronon/web-scripts)<img src="https://img.shields.io/github/stars/zyronon/web-scripts.svg?style=flat-square&label=Star&color=4285dd&logo=github" height="16px" />_
|
||||
> _[**Webskripte** - 一些好用的油猴脚本~](https://github.com/zyronon/web-scripts)<img src="https://img.shields.io/github/stars/zyronon/web-scripts.svg?style=flat-square&label=Star&color=4285dd&logo=github" height="16px" />_
|
||||
|
||||
## Vereinbarung
|
||||
|
||||
|
||||
@ -32,7 +32,7 @@
|
||||
|
||||
Vercel:<http://dy.ttentau.top/>(China recommends visiting this)
|
||||
|
||||
Netlify:<https://douyins.netlify.app/>(Recommend visiting this for areas outside China)
|
||||
Netlify:<https://douyins.netlify.app/>(Recommended to visit this for areas outside China)
|
||||
|
||||
Android Apk:<https://github.com/zyronon/douyin/releases>
|
||||
|
||||
@ -61,7 +61,7 @@ npm run dev
|
||||
|
||||
Open your browser and visit:<http://127.0.0.1:3000>
|
||||
|
||||
**Note: PC must switch the browser to mobile mode, first press`F12`To bring up the console, press`Ctrl+Shift+M`to preview normally**
|
||||
**Note: PC browser must be switched to mobile mode, first press`F12`To bring up the console, press`Ctrl+Shift+M`to preview normally**
|
||||
|
||||
## Link
|
||||
|
||||
|
||||
12
README.es.md
12
README.es.md
@ -13,7 +13,7 @@
|
||||
<a><img src="https://img.shields.io/badge/Powered%20by-Vue-blue"/></a>
|
||||
</p>
|
||||
|
||||
`douyin-vue`es una parodia`抖音|TikTok`proyecto de vídeo corto móvil, que se basa en[`Vue`](https://cn.vuejs.org/)、[`Vite`](https://cn.vitejs.dev/)lograr. Usado lo último`Vue`Pila de tecnología FamilyMart. Los datos de API se guardan localmente en el proyecto y el video se recopila de`抖音|TikTok`, el atlas se recoge de`小红书|Xiaohongshu`,aprobar[`axios-mock-adapter`](https://github.com/ctimmerm/axios-mock-adapter)La biblioteca intercepta la API y devuelve datos json locales para simular solicitudes de back-end reales.
|
||||
`douyin-vue`es una parodia`抖音|TikTok`proyecto de vídeo corto móvil, que se basa en[`Vue`](https://cn.vuejs.org/)、[`Vite`](https://cn.vitejs.dev/)lograr. Usado lo último`Vue`Pila de tecnología FamilyMart. Los datos de API se guardan localmente en el proyecto y el video se recopila de`抖音|TikTok`,图集采集自`小红书|Xiaohongshu`,aprobar[`axios-mock-adapter`](https://github.com/ctimmerm/axios-mock-adapter)La biblioteca intercepta la API y devuelve datos json locales para simular solicitudes de back-end reales.
|
||||
|
||||
<div>
|
||||
<img width="150px" src='docs/imgs/1.gif' />
|
||||
@ -28,11 +28,11 @@
|
||||
<img width="150px" src='docs/imgs/img-5.jpg' />
|
||||
</div>
|
||||
|
||||
## Acceso en linea
|
||||
## 在线访问
|
||||
|
||||
Vercel:<http://dy.ttentau.top/>(China recomienda visitar esto)
|
||||
|
||||
Netlificar:<https://douyins.netlify.app/>(Recomiende visitar esto para áreas fuera de China)
|
||||
Netlificar:<https://douyins.netlify.app/>(Se recomienda visitar esto para áreas fuera de China)
|
||||
|
||||
Android Apk:<https://github.com/zyronon/douyin/releases>
|
||||
|
||||
@ -44,7 +44,7 @@ Android Apk:<https://github.com/zyronon/douyin/releases>
|
||||
|
||||
Este proyecto es sólo para estudio e investigación, no para uso comercial.
|
||||
|
||||
## correr
|
||||
## 运行
|
||||
|
||||
### Implemente rápidamente en Vercel
|
||||
|
||||
@ -61,7 +61,7 @@ npm run dev
|
||||
|
||||
Abra su navegador y visite:<http://127.0.0.1:3000>
|
||||
|
||||
**Nota: La PC debe cambiar el navegador al modo móvil, primero presione`F12`Para abrir la consola, presione`Ctrl+Shift+M`para obtener una vista previa normalmente**
|
||||
**Nota: el navegador de la PC debe cambiarse al modo móvil, primero presione`F12`Para abrir la consola, presione`Ctrl+Shift+M`para obtener una vista previa normalmente**
|
||||
|
||||
## Enlace
|
||||
|
||||
@ -98,7 +98,7 @@ Si también le gustan las ideas de diseño de este software, envíelas.`PR`, ¡M
|
||||
|
||||
## contáctame
|
||||
|
||||
您可以联系我的邮箱 <a href="mailto:zyronon@163.com">zyronon@163.com</a>
|
||||
Puedes contactar a mi correo<a href="mailto:zyronon@163.com">zyronon@163.com</a>
|
||||
|
||||
> Comparta mis otros proyectos de código abierto:
|
||||
>
|
||||
|
||||
@ -32,7 +32,7 @@
|
||||
|
||||
Vercel :<http://dy.ttentau.top/>(La Chine recommande de visiter ceci)
|
||||
|
||||
Netlifier :<https://douyins.netlify.app/>(Je recommande de visiter ceci pour les régions en dehors de la Chine)
|
||||
Netlifier :<https://douyins.netlify.app/>(Recommandé de visiter ceci pour les zones en dehors de la Chine)
|
||||
|
||||
Android Apk :<https://github.com/zyronon/douyin/releases>
|
||||
|
||||
@ -61,7 +61,7 @@ npm run dev
|
||||
|
||||
Ouvrez votre navigateur et visitez :<http://127.0.0.1:3000>
|
||||
|
||||
**Remarque : le PC doit passer le navigateur en mode mobile, appuyez d'abord sur`F12`Pour afficher la console, appuyez sur`Ctrl+Shift+M`pour prévisualiser normalement**
|
||||
**Remarque : le navigateur du PC doit être basculé en mode mobile, appuyez d'abord sur`F12`Pour afficher la console, appuyez sur`Ctrl+Shift+M`pour prévisualiser normalement**
|
||||
|
||||
## Lien
|
||||
|
||||
|
||||
@ -32,7 +32,7 @@
|
||||
|
||||
ヴェルセル:[hっtp://dy。ってんたう。とp/](http://dy.ttentau.top/)(中国はここを訪れることを推奨しています)
|
||||
|
||||
ネットリファイ:[hっtps://どうyいんs。ねtぃfy。あっp/](https://douyins.netlify.app/)(中国以外の地域の場合は、こちらを参照することをお勧めします)
|
||||
ネットリファイ:[hっtps://どうyいんs。ねtぃfy。あっp/](https://douyins.netlify.app/)(中国以外の地域については、こちらを参照することをお勧めします)
|
||||
|
||||
アンドロイドAPK:[hっtps://ぎてゅb。こm/zyろのん/どうyいん/れぇあせs](https://github.com/zyronon/douyin/releases)
|
||||
|
||||
@ -61,7 +61,7 @@ npm run dev
|
||||
|
||||
ブラウザを開いて、以下にアクセスしてください。[hっtp://127。0。0。1:3000](http://127.0.0.1:3000)
|
||||
|
||||
**注: PC はブラウザをモバイル モードに切り替える必要があり、最初に押します。`F12`コンソールを表示するには、 を押します。`Ctrl+Shift+M`通常にプレビューする**
|
||||
**注: 最初に押すと、PC ブラウザをモバイル モードに切り替える必要があります。`F12`コンソールを表示するには、 を押します。`Ctrl+Shift+M`通常にプレビューする**
|
||||
|
||||
## リンク
|
||||
|
||||
@ -93,7 +93,7 @@ npm run dev
|
||||
|
||||
## 特徴と提案
|
||||
|
||||
現在、プロジェクトは開発の初期段階にあり、新しい機能が継続的に追加されていますが、ソフトウェアの機能や提案がありましたら、お気軽にお問い合わせください。`Issues`で育ちました
|
||||
目前项目处于开发初期,新功能正在持续添加中,如果你对软件有任何功能与建议,欢迎在 `Issues`で育ちました
|
||||
このソフトウェアのデザインアイデアも気に入っていただけましたら、ぜひ送信してください`PR`、 ご支援ありがとうございました!
|
||||
|
||||
## 私に連絡して
|
||||
|
||||
@ -31,9 +31,13 @@
|
||||
|
||||
## 在线访问
|
||||
|
||||
Vercel: [http://dy.ttentau.top/](http://dy.ttentau.top/) (中国推荐访问这个)
|
||||
Github pages: [https://zyronon.github.io/douyin/](https://zyronon.github.io/douyin/)
|
||||
|
||||
Netlify: [https://douyins.netlify.app/](https://douyins.netlify.app/) (中国以外地区推荐访问这个)
|
||||
~~Vercel: [http://dy.ttentau.top/](http://dy.ttentau.top/) (中国推荐访问这个)~~
|
||||
|
||||
~~Netlify: [https://douyins.netlify.app/](https://douyins.netlify.app/) (中国以外地区推荐访问这个)~~
|
||||
|
||||
Vercel和Netlify分别送的100G免费流量已经用完了...
|
||||
|
||||
Android Apk: https://github.com/zyronon/douyin/releases
|
||||
|
||||
|
||||
@ -6,10 +6,12 @@ export default {
|
||||
const BASE_URL_MAP = {
|
||||
DEV: '',
|
||||
PROD: '',
|
||||
GP_PAGES: '/dist',
|
||||
// GP_PAGES: '/dist',
|
||||
GP_PAGES: '/douyin',
|
||||
UNI: 'https://dy.ttentau.top'
|
||||
}
|
||||
|
||||
export const IS_GP_PAGES = import.meta.env.VITE_ENV === 'GP_PAGES'
|
||||
export const BASE_URL = BASE_URL_MAP[import.meta.env.VITE_ENV]
|
||||
export const IMG_URL = BASE_URL + '/images/'
|
||||
export const FILE_URL = BASE_URL + '/data/'
|
||||
|
||||
@ -1,9 +1,10 @@
|
||||
import { createRouter, createWebHistory } from 'vue-router'
|
||||
import { createRouter, createWebHashHistory, createWebHistory } from 'vue-router'
|
||||
import routes from './routes'
|
||||
import { useBaseStore } from '@/store/pinia'
|
||||
import { IS_GP_PAGES } from '@/config'
|
||||
|
||||
const router = createRouter({
|
||||
history: createWebHistory(),
|
||||
history: IS_GP_PAGES ? createWebHashHistory() : createWebHistory(),
|
||||
routes,
|
||||
scrollBehavior(to, from, savedPosition) {
|
||||
// console.log('savedPosition', savedPosition)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user