From a228bb80831eb15220c9096ed553a51649e0caa3 Mon Sep 17 00:00:00 2001 From: make Date: Thu, 8 May 2025 20:48:57 +0800 Subject: [PATCH] video-template-2 --- code/app/home/config/router.php | 9 + code/app/home/view/videoDadi/base.html | 19 +- code/app/home/view/videoDadi/index/index.html | 2 +- .../home/view/videoDadi/public/footer.html | 3 +- .../home/view/videoDadi/user/getHistory.html | 87 +- .../view/videoDadi/video/getCategory.html | 18 +- .../view/videoDadi/video/getCategoryType.html | 8 +- .../view/videoDadi/video/getRankIndex.html | 5 +- .../view/videoDadi/video/getRankList.html | 14 +- .../view/videoDadi/video/getSearchVideo.html | 4 +- .../view/videoDadi/video/getVideoInfo.html | 6 +- .../view/videoDadi/video/getVideoPlayUrl.html | 2 +- code/app/home/view/videoDingZhu/base.html | 211 ++ code/app/home/view/videoDingZhu/index.md | 58 + .../home/view/videoDingZhu/index/index.html | 226 ++ .../home/view/videoDingZhu/public/footer.html | 49 + .../videoDingZhu/public/video-list-phb.html | 21 + .../videoDingZhu/public/video-list-shu.html | 25 + .../videoDingZhu/public/video-list-text.html | 9 + .../view/videoDingZhu/public/video-panel.html | 48 + .../home/view/videoDingZhu/sitemap/index.md | 294 ++ .../home/view/videoDingZhu/sitemap/robots.txt | 3 + .../sitemap/sitemap-books-catalog.xml | 20 + .../videoDingZhu/sitemap/sitemap-books.xml | 20 + .../videoDingZhu/sitemap/sitemap-chapters.xml | 18 + .../videoDingZhu/sitemap/sitemap-main.xml | 35 + .../videoDingZhu/sitemap/sitemap_index.xml | 39 + .../view/videoDingZhu/user/getHistory.html | 109 + .../view/videoDingZhu/video/getCategory.html | 270 ++ .../videoDingZhu/video/getCategoryType.html | 194 ++ .../view/videoDingZhu/video/getRankIndex.html | 230 ++ .../view/videoDingZhu/video/getRankList.html | 200 ++ .../videoDingZhu/video/getSearchVideo.html | 199 ++ .../view/videoDingZhu/video/getVideoInfo.html | 384 +++ .../videoDingZhu/video/getVideoPlayUrl.html | 411 +++ .../推广优化记录/首页/上先前ai排查.md | 292 ++ code/app/model/VideoCategoryModel.php | 50 +- code/app/services/StaticConfig.php | 2 +- code/extend/template/taglib/Site.php | 2 +- code/public/initdata/video/siteData.php | 13 + code/public/public/video/common.js | 174 +- code/public/static/img/load.png | Bin 0 -> 1731 bytes .../template/videodadi/css/stui_block.css | 55 + .../template/videodingzhu/css/color.css | 161 ++ .../template/videodingzhu/css/global.css | 2415 +++++++++++++++++ .../template/videodingzhu/css/plugins.css | 384 +++ .../template/videodingzhu/css/style.css | 1712 ++++++++++++ .../fonts/fontawesome-webfont.ttf | Bin 0 -> 165548 bytes .../fonts/fontawesome-webfont.woff | Bin 0 -> 98024 bytes .../fonts/fontawesome-webfont.woff2 | Bin 0 -> 77160 bytes .../template/videodingzhu/images/favicon.ico | Bin 0 -> 477 bytes .../template/videodingzhu/images/icon/art.png | Bin 0 -> 1569 bytes .../template/videodingzhu/images/icon/bd.png | Bin 0 -> 1634 bytes .../template/videodingzhu/images/icon/dh.png | Bin 0 -> 978 bytes .../template/videodingzhu/images/icon/dm.png | Bin 0 -> 2337 bytes .../template/videodingzhu/images/icon/ds.png | Bin 0 -> 2136 bytes .../template/videodingzhu/images/icon/dy.png | Bin 0 -> 1282 bytes .../videodingzhu/images/icon/home.png | Bin 0 -> 917 bytes .../template/videodingzhu/images/icon/zy.png | Bin 0 -> 2762 bytes .../template/videodingzhu/images/load.png | Bin 0 -> 1731 bytes .../template/videodingzhu/images/play.png | Bin 0 -> 2457 bytes .../js/layer_theme/default/layer.css | 1 + .../videodingzhu/static/player/parse.js | 2 + 63 files changed, 8282 insertions(+), 231 deletions(-) create mode 100644 code/app/home/view/videoDingZhu/base.html create mode 100644 code/app/home/view/videoDingZhu/index.md create mode 100644 code/app/home/view/videoDingZhu/index/index.html create mode 100644 code/app/home/view/videoDingZhu/public/footer.html create mode 100644 code/app/home/view/videoDingZhu/public/video-list-phb.html create mode 100644 code/app/home/view/videoDingZhu/public/video-list-shu.html create mode 100644 code/app/home/view/videoDingZhu/public/video-list-text.html create mode 100644 code/app/home/view/videoDingZhu/public/video-panel.html create mode 100644 code/app/home/view/videoDingZhu/sitemap/index.md create mode 100644 code/app/home/view/videoDingZhu/sitemap/robots.txt create mode 100644 code/app/home/view/videoDingZhu/sitemap/sitemap-books-catalog.xml create mode 100644 code/app/home/view/videoDingZhu/sitemap/sitemap-books.xml create mode 100644 code/app/home/view/videoDingZhu/sitemap/sitemap-chapters.xml create mode 100644 code/app/home/view/videoDingZhu/sitemap/sitemap-main.xml create mode 100644 code/app/home/view/videoDingZhu/sitemap/sitemap_index.xml create mode 100644 code/app/home/view/videoDingZhu/user/getHistory.html create mode 100644 code/app/home/view/videoDingZhu/video/getCategory.html create mode 100644 code/app/home/view/videoDingZhu/video/getCategoryType.html create mode 100644 code/app/home/view/videoDingZhu/video/getRankIndex.html create mode 100644 code/app/home/view/videoDingZhu/video/getRankList.html create mode 100644 code/app/home/view/videoDingZhu/video/getSearchVideo.html create mode 100644 code/app/home/view/videoDingZhu/video/getVideoInfo.html create mode 100644 code/app/home/view/videoDingZhu/video/getVideoPlayUrl.html create mode 100644 code/app/home/view/videoDingZhu/推广优化记录/首页/上先前ai排查.md create mode 100644 code/public/static/img/load.png create mode 100644 code/public/template/videodingzhu/css/color.css create mode 100644 code/public/template/videodingzhu/css/global.css create mode 100644 code/public/template/videodingzhu/css/plugins.css create mode 100644 code/public/template/videodingzhu/css/style.css create mode 100644 code/public/template/videodingzhu/fonts/fontawesome-webfont.ttf create mode 100644 code/public/template/videodingzhu/fonts/fontawesome-webfont.woff create mode 100644 code/public/template/videodingzhu/fonts/fontawesome-webfont.woff2 create mode 100644 code/public/template/videodingzhu/images/favicon.ico create mode 100644 code/public/template/videodingzhu/images/icon/art.png create mode 100644 code/public/template/videodingzhu/images/icon/bd.png create mode 100644 code/public/template/videodingzhu/images/icon/dh.png create mode 100644 code/public/template/videodingzhu/images/icon/dm.png create mode 100644 code/public/template/videodingzhu/images/icon/ds.png create mode 100644 code/public/template/videodingzhu/images/icon/dy.png create mode 100644 code/public/template/videodingzhu/images/icon/home.png create mode 100644 code/public/template/videodingzhu/images/icon/zy.png create mode 100644 code/public/template/videodingzhu/images/load.png create mode 100644 code/public/template/videodingzhu/images/play.png create mode 100644 code/public/template/videodingzhu/js/layer_theme/default/layer.css create mode 100644 code/public/template/videodingzhu/static/player/parse.js diff --git a/code/app/home/config/router.php b/code/app/home/config/router.php index 17156e6..b51bd0d 100644 --- a/code/app/home/config/router.php +++ b/code/app/home/config/router.php @@ -76,6 +76,15 @@ Route::get('/searchhome/0', function (\think\Request $Request, SiteContext $Site })->ext('html'); + +/** + * 导航 + */ +Route::get('/map', function (\think\Request $Request, SiteContext $SiteContext) { + return view('video/getMap.html'); +})->ext('html'); + + /** * 路由配置文件 */ diff --git a/code/app/home/view/videoDadi/base.html b/code/app/home/view/videoDadi/base.html index 74813d3..ddd63a6 100644 --- a/code/app/home/view/videoDadi/base.html +++ b/code/app/home/view/videoDadi/base.html @@ -17,8 +17,6 @@ - - {block name="head"}{/block} @@ -78,7 +76,7 @@ {video:categorytype category_type="ONE" d_key="key" d_val="val"}
  • - + {$val.v_category}
  • @@ -133,7 +131,20 @@ - + diff --git a/code/app/home/view/videoDadi/index/index.html b/code/app/home/view/videoDadi/index/index.html index fc234b7..20e10ad 100644 --- a/code/app/home/view/videoDadi/index/index.html +++ b/code/app/home/view/videoDadi/index/index.html @@ -46,7 +46,7 @@ "thumbnailUrl": 'https://{$DomainModel->d_domain}{site:vurl v_id="$Video.v_id" v_py="$Video.v_name_en"/}', {/if} {/volist} - "uploadDate": "{:date('y-m-d')}", + "uploadDate": "{:date('Y-m-d')}", "publisher": { "@type": "Organization", "name": "{$DomainModel->d_name}" diff --git a/code/app/home/view/videoDadi/public/footer.html b/code/app/home/view/videoDadi/public/footer.html index be96ed1..fd00ad4 100644 --- a/code/app/home/view/videoDadi/public/footer.html +++ b/code/app/home/view/videoDadi/public/footer.html @@ -48,4 +48,5 @@ - \ No newline at end of file + + diff --git a/code/app/home/view/videoDadi/user/getHistory.html b/code/app/home/view/videoDadi/user/getHistory.html index 7f7ba39..7938fca 100644 --- a/code/app/home/view/videoDadi/user/getHistory.html +++ b/code/app/home/view/videoDadi/user/getHistory.html @@ -1,11 +1,7 @@ {extend name="base" /} {block name="get-data"} -{video:pagerexp page="$Request.get.page" limit="10" -key="$Request.get.keyword" -d_key="d_key" -d_val="Video" -p_val="page_data" button_num="10" cache_life="86400" func="generateSearchPager" export_name="resData" /} + {site:grm page_code="h5_video_search" diff="$Request.url" num="30" g_key="arrGrm" /} {/block} @@ -16,28 +12,7 @@ p_val="page_data" button_num="10" cache_life="86400" func="generateSearchPager" {block name="head"} - - - - - - - - - - - - - {/block} @@ -67,61 +42,13 @@ p_val="page_data" button_num="10" cache_life="86400" func="generateSearchPager"
    - +