chilltvcms / theme-legend
chilltvcms 的图例主题
dev-main
2023-11-28 12:30 UTC
Requires
- chilltvpack/chilltv-core: ^1.1.0
- ckfinder/ckfinder-laravel-package: v3.5.2.1
- laravel/framework: ^6|^7|^8
This package is not auto-updated.
Last update: 2024-10-02 14:52:02 UTC
README
演示
主页
电影列表页
电影信息页
观看电影页
要求
https://github.com/chilltvpack/chilltv-core
安装
- 在项目目录下:
composer require chilltvcms/theme-legend
- 在管理员面板中激活界面
更新
- 在项目目录下:
composer update chilltvcms/theme-legend
- 在管理员面板中重新激活界面
注意
- 一些重要功能按钮的注意事项
激活
和重新激活
会将主题中的所有 js、css 文件发布到 laravel 的 public 目录。重置
将重置主题的所有配置
文档
列表
-
主页:
display_label|relation|find_by_field|value|limit|show_more_url
- 示例格式:
新电影系列||type|series|12|/danh-sach/phim-bo
- 示例格式:
新电影||type|single|12|/danh-sach/phim-bo
- 示例按类别:
动作电影|categories|slug|hanh-dong|12|/the-loai/hanh-dong
- 示例按国家:
韩国电影|regions|slug|han-quoc|12|/quoc-gia/han-quoc
- 示例使用其他字段:
上映电影||is_shown_in_theater|1|12|
- 示例格式:
-
热门列表:
Label|relation|find_by_field|value|sort_by_field|sort_algo|limit
即将上映电影||status|trailer|publish_year|desc|9
最受欢迎的电影系列||type|series|view_total|desc|9
最受欢迎的电影||type|single|view_total|desc|9
-
电影更新 - 左列:
Label|image_url|show_more_url
漫威电影集锦|https://1.bp.blogspot.com/-Me8nPHuQ1Ls/Xe2kMRMudZI/AAAAAAAAAtQ/yitov6AR38k4fk0oTxYxmxx8ukQ09mvKgCLcBGAsYHQ/s1600/Tuyen-Tap-Marvel.jpg|/tu-khoa/marvel
-
电影更新 - 右列:
Label|relation|find_by_field (field1,field2)|value (value1,value2)|sort_by_field|sort_algo|limit
新电影||type|single|created_at|desc|11
正在上映的电影系列||type,status|series,ongoing|updated_at|desc|11
完成的电影系列||type,status|series,completed|updated_at|desc|11
自定义视图 Blade
- 包中的原始 blade 文件:
/vendor/chilltvcms/theme-legend/resources/views/themelegend
- 将需要自定义的文件复制到:
/resources/views/vendor/themes/themelegend