ophimcms/theme-xingkong

Ophim 的 xingkong 主题

1.0.0 2024-02-26 07:13 UTC

This package is auto-updated.

Last update: 2024-09-26 08:34:18 UTC


README

演示

https://forum.ophim.cc/d/30-theme-xingkong

需求

https://github.com/hacoidev/ophim-core

安装

  1. 在项目目录下: composer require ophimcms/theme-xingkong
  2. 在管理面板中激活界面

更新

  1. 在项目目录下: composer update ophimcms/theme-xingkong
  2. 重新激活管理面板中的界面

注意

  • 一些重要功能按钮的注意事项
    • 激活重新激活 将发布主题中的所有 js、css 文件到 laravel 的 public 目录。
    • 重置 将重置主题的全部配置

文档

列表

  • 主页: display_label|display_description|relation|find_by_field|value|sort_by_field|sort_algo|limit|show_more_url|section_template(default|with_top)

Phim chiếu rạp mới||is_shown_in_theater|1|created_at|desc|12|/danh-sach/phim-chieu-rap|default
Phim bộ mới||type|series|updated_at|desc|10|/danh-sach/phim-bo|with_top
Phim lẻ mới||type|single|updated_at|desc|10|/danh-sach/phim-le|with_top
Phim hoạt hình mới|categories|slug|hoat-hinh|updated_at|desc|10|/the-loai/hoat-hinh|with_top

  • 右侧列: Label|relation|find_by_field|value|sort_by_field|sort_algo|limit

Top phim lẻ||type|single|view_week|desc|8
Top phim bộ||type|series|view_week|desc|8
Phim sắp chiếu||status|trailer|publish_year|desc|8

自定义视图 Blade

  • 包中的原始 blade 文件: /vendor/ophimcms/theme-xingkong/resources/views/themexingkong
  • 复制需要自定义的文件到: /resources/views/vendor/themes/xingkong