更新资源展示,前后端

This commit is contained in:
2025-07-04 11:56:25 +08:00
parent 7aa55a7c1c
commit 3a20b76d4a
7 changed files with 210 additions and 56 deletions
@@ -1,4 +1,4 @@
<?php /*a:4:{s:59:"E:\Demos\DemoOwns\PHP\yunzer\app\index\view\index\index.php";i:1746865108;s:64:"E:\Demos\DemoOwns\PHP\yunzer\app\index\view\component\header.php";i:1749258723;s:62:"E:\Demos\DemoOwns\PHP\yunzer\app\index\view\component\main.php";i:1749541813;s:64:"E:\Demos\DemoOwns\PHP\yunzer\app\index\view\component\footer.php";i:1749170849;}*/ ?>
<?php /*a:4:{s:59:"E:\Demos\DemoOwns\PHP\yunzer\app\index\view\index\index.php";i:1746865108;s:64:"E:\Demos\DemoOwns\PHP\yunzer\app\index\view\component\header.php";i:1749258723;s:62:"E:\Demos\DemoOwns\PHP\yunzer\app\index\view\component\main.php";i:1751594350;s:64:"E:\Demos\DemoOwns\PHP\yunzer\app\index\view\component\footer.php";i:1749170849;}*/ ?>
<!DOCTYPE html>
<html>
@@ -1422,7 +1422,7 @@ $loginStatus = [
});
return `
<div class="opencourse product-item" onclick="window.open('/index/program/detail?id=${program.id || ''}', '_blank')">
<div class="opencourse product-item" onclick="window.open('/index/resources/detail?id=${program.id || ''}', '_blank')">
<div class="video">
<img src="${program.icon || ''}" alt="" class="cover">
</div>
@@ -1502,7 +1502,7 @@ $loginStatus = [
if (!game) return '';
return `
<div class="opencourse product-item" onclick="window.open('/index/game/detail?id=${game.id || ''}', '_blank')">
<div class="opencourse product-item" onclick="window.open('/index/resources/detail?id=${game.id || ''}', '_blank')">
<div class="video">
<img src="${game.icon || '/static/images/default-game.png'}" alt="" class="cover">
</div>
@@ -1,4 +1,4 @@
<?php /*a:5:{s:62:"E:\Demos\DemoOwns\PHP\yunzer\app\index\view\program\detail.php";i:1749460944;s:62:"E:\Demos\DemoOwns\PHP\yunzer\app\index\view\component\head.php";i:1747617129;s:71:"E:\Demos\DemoOwns\PHP\yunzer\app\index\view\component\header-simple.php";i:1749258723;s:64:"E:\Demos\DemoOwns\PHP\yunzer\app\index\view\component\footer.php";i:1749170849;s:62:"E:\Demos\DemoOwns\PHP\yunzer\app\index\view\component\foot.php";i:1747616844;}*/ ?>
<?php /*a:5:{s:62:"E:\Demos\DemoOwns\PHP\yunzer\app\index\view\program\detail.php";i:1749891766;s:62:"E:\Demos\DemoOwns\PHP\yunzer\app\index\view\component\head.php";i:1747617129;s:71:"E:\Demos\DemoOwns\PHP\yunzer\app\index\view\component\header-simple.php";i:1749258723;s:64:"E:\Demos\DemoOwns\PHP\yunzer\app\index\view\component\footer.php";i:1749170849;s:62:"E:\Demos\DemoOwns\PHP\yunzer\app\index\view\component\foot.php";i:1747616844;}*/ ?>
<!DOCTYPE html>
<html>
@@ -955,6 +955,8 @@ $loginStatus = [
</div>
</div>
<!-- <div style="font-size:24px;font-weight:bolder;margin-bottom:30px;">资源展示</div> -->
<div class="program-show">
<div class="swiper program-swiper">
<div class="swiper-wrapper">
@@ -979,6 +981,8 @@ $loginStatus = [
</div>
</div>
<div style="font-size:24px;font-weight:bolder;margin-bottom:30px;">资源简介</div>
<div class="program-content">
<?php echo $program['content']; ?>
</div>
@@ -1496,7 +1500,9 @@ $loginStatus = [
line-height: 1.8;
color: #333;
font-size: 16px;
margin-bottom: 30px;
margin: 30px 0;
padding-top: 30px;
border-top: 1px solid #eee;
border-bottom: 1px solid #eee;
}
@@ -1914,6 +1920,7 @@ $loginStatus = [
.program-show {
margin: 20px 0;
margin-bottom: 60px;
background: #fff;
border-radius: 8px;
padding: 20px;
@@ -2021,7 +2028,7 @@ $loginStatus = [
}
.lb-data .lb-caption {
font-size: 14px;
font-size: 1.3rem;
font-weight: normal;
}