ophimcms / theme-xiao
Ophim的xiao主题
1.2.2
2024-04-04 14:17 UTC
Requires
- ckfinder/ckfinder-laravel-package: v3.5.2.1
- hacoidev/ophim-core: ^1.1.0
- laravel/framework: ^6|^7|^8
README
演示
主页
电影列表页
电影信息页
观看电影页
要求
https://github.com/hacoidev/ophim-core
安装
- 在项目目录中:
composer require ophimcms/theme-xiao
- 在管理面板中激活界面
更新
- 在项目目录中:
composer update ophimcms/theme-xiao
- 在管理面板中重新激活界面
注意
- 一些重要功能按钮的注意事项
激活
和重新激活
会将主题中的js和css文件全部发布到laravel的public目录。重置
将重置主题的所有配置
文档
列表
-
主页:
display_label|relation|find_by_field|value|limit|show_more_url|show_template (section_thumb_1_col|section_thumb_2_col)
- 格式示例:
新电视剧集||type|series|6|/danh-sach/phim-bo|section_thumb_2_col
- 格式示例:
新电影||type|single|6|/danh-sach/phim-bo|section_thumb_2_col
- 类别示例:
新动画片|categories|slug|hoat-hinh|6|/the-loai/phim-hoat-hinh|section_thumb_2_col
- 国家示例:
韩国电影|regions|slug|han-quoc|16|/quoc-gia/han-quoc|section_thumb_1_col
- 其他字段示例:
新上映电影||is_shown_in_theater|1|8|/danh-sach/phim-chieu-rap|section_thumb_1_col
- 格式示例:
-
热门列表:
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
自定义视图Blade
- 包中的原始blade文件:
/vendor/ophimcms/theme-xiao/resources/views/themexiao
- 复制需要自定义的文件到:
/resources/views/vendor/themes/themexiao