├── demo
├── info.txt
├── dynamic_image_admin.png
└── dynamic_image_home.png
├── src
├── index.css
├── main.js
├── App.vue
├── router.js
├── stores
│ └── linkStore.js
├── views
│ ├── Home.vue
│ └── Admin.vue
└── components
│ └── DateRangePicker.vue
├── postcss.config.js
├── jsconfig.json
├── tailwind.config.js
├── index.html
├── vite.config.js
├── README.md
├── package.json
├── LICENSE
└── functions
└── api
└── [[route]].js
/demo/info.txt:
--------------------------------------------------------------------------------
1 | 项目的图片示例
2 |
--------------------------------------------------------------------------------
/src/index.css:
--------------------------------------------------------------------------------
1 | @tailwind base;
2 | @tailwind components;
3 | @tailwind utilities;
--------------------------------------------------------------------------------
/demo/dynamic_image_admin.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ltxlong/dynamic-image/HEAD/demo/dynamic_image_admin.png
--------------------------------------------------------------------------------
/demo/dynamic_image_home.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ltxlong/dynamic-image/HEAD/demo/dynamic_image_home.png
--------------------------------------------------------------------------------
/postcss.config.js:
--------------------------------------------------------------------------------
1 | export default {
2 | plugins: {
3 | tailwindcss: {},
4 | autoprefixer: {},
5 | },
6 | }
--------------------------------------------------------------------------------
/jsconfig.json:
--------------------------------------------------------------------------------
1 | {
2 | "compilerOptions": {
3 | "baseUrl": ".",
4 | "paths": {
5 | "@/*": ["./src/*"]
6 | }
7 | },
8 | "exclude": ["node_modules", "dist"]
9 | }
--------------------------------------------------------------------------------
/tailwind.config.js:
--------------------------------------------------------------------------------
1 | /** @type {import('tailwindcss').Config} */
2 | export default {
3 | content: [
4 | "./index.html",
5 | "./src/**/*.{vue,js,ts,jsx,tsx}",
6 | ],
7 | darkMode: 'class',
8 | theme: {
9 | extend: {},
10 | },
11 | plugins: [],
12 | }
13 |
--------------------------------------------------------------------------------
/src/main.js:
--------------------------------------------------------------------------------
1 | import { createApp } from 'vue'
2 | import { createPinia } from 'pinia'
3 | import App from './App.vue'
4 | import VueDatePicker from '@vuepic/vue-datepicker'
5 | import '@vuepic/vue-datepicker/dist/main.css'
6 |
7 | const app = createApp(App)
8 | app.use(createPinia())
9 | app.component('VueDatePicker', VueDatePicker)
10 | app.mount('#app')
11 |
--------------------------------------------------------------------------------
/src/App.vue:
--------------------------------------------------------------------------------
1 |
2 |
19 | 这是一个基于 20 | Cloudflare Pages 21 | 的智能图片链接管理系统 22 | 28 | 31 | 32 |
33 | 34 | 35 || 347 | 状态 348 | | 349 |352 | 预览 353 | | 354 |357 | 链接 358 | | 359 |362 | 说明 363 | | 364 |367 | 月标签 368 | | 369 |372 | 周标签 373 | | 374 |377 | 日标签 378 | | 379 |382 | 操作 383 | | 384 |
|---|---|---|---|---|---|---|---|
|
404 |
405 |
416 |
420 | {{ link.active ? '已激活' : '已停用' }}
421 |
422 |
423 | |
424 |
425 |
426 |
427 |
428 |
463 |
429 |
462 |
441 |
454 |
455 |
459 | 加载失败
460 |
461 | |
464 |
465 |
466 |
467 |
468 |
470 | {{ link.url }}
469 | |
471 |
472 |
473 |
474 |
475 |
506 |
476 | {{ link.description }}
477 |
478 |
479 |
488 |
489 |
497 |
498 |
505 |
499 |
500 |
504 |
501 | {{ link.description }}
502 |
503 | |
507 |
508 |
509 |
510 |
511 |
516 | {{ month }}月
517 |
518 | 无
519 |
520 | |
521 |
522 |
523 |
524 |
525 |
530 | 星期{{ ['日', '一', '二', '三', '四', '五', '六'][day % 7] }}
531 |
532 | 无
533 |
534 | |
535 |
536 |
537 |
538 |
539 |
540 |
543 | {{ link.holidayTag[0] === link.holidayTag[1]
544 | ? link.holidayTag[0]
545 | : `${link.holidayTag[0]}\n至\n${link.holidayTag[1]}`
546 | }}
547 |
548 |
549 | 无
550 |
551 | |
552 |
553 |
554 |
555 |
556 |
571 |
572 |
586 |
587 |
601 |
602 | |
603 |
确定要删除以下链接吗?此操作不可恢复。
1188 |{{ deletingLink?.url }}
1199 |1203 | 说明: 1204 | {{ deletingLink.description }} 1205 |
1206 |1264 | 如果设置url,那么只有这些url才可以成功访问 /api 1265 |
1266 | 1267 | 1268 |