commit
ac47d24325
5 changed files with 380 additions and 0 deletions
-
380bogu.html
-
BINimages/1.png
-
BINimages/2.png
-
BINimages/link.png
-
BINimages/logo.png
@ -0,0 +1,380 @@ |
|||
<!DOCTYPE html> |
|||
<html lang="zh-CN"> |
|||
|
|||
<head> |
|||
<meta charset="UTF-8"> |
|||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> |
|||
<title>博股国际投资论坛</title> |
|||
<style> |
|||
* { |
|||
margin: 0; |
|||
padding: 0; |
|||
box-sizing: border-box; |
|||
font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif; |
|||
} |
|||
|
|||
body { |
|||
background-color: #f5f5f5; |
|||
color: #333; |
|||
line-height: 1.6; |
|||
} |
|||
|
|||
.container { |
|||
max-width: 1200px; |
|||
margin: 0 auto; |
|||
padding: 20px; |
|||
} |
|||
|
|||
/* 顶部俱乐部简介部分 */ |
|||
.club-intro { |
|||
background: linear-gradient(to right, #ffcc99, #ff9966); |
|||
border-radius: 10px; |
|||
padding: 20px; |
|||
position: relative; |
|||
margin-bottom: 20px; |
|||
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); |
|||
} |
|||
|
|||
.club-header { |
|||
display: flex; |
|||
justify-content: space-between; |
|||
align-items: center; |
|||
margin-bottom: 15px; |
|||
} |
|||
|
|||
.club-logo { |
|||
width: 60px; |
|||
height: 60px; |
|||
border-radius: 50%; |
|||
background-color: #fff; |
|||
display: flex; |
|||
align-items: center; |
|||
justify-content: center; |
|||
} |
|||
|
|||
.view-more { |
|||
background-color: rgba(255, 255, 255, 0.3); |
|||
border: none; |
|||
padding: 5px 15px; |
|||
border-radius: 15px; |
|||
color: white; |
|||
cursor: pointer; |
|||
transition: background-color 0.3s; |
|||
opacity: 0.7; |
|||
/* 降低透明度 */ |
|||
} |
|||
|
|||
.view-more:hover { |
|||
background-color: rgba(255, 255, 255, 0.5); |
|||
} |
|||
|
|||
.club-content { |
|||
display: flex; |
|||
flex-direction: column; |
|||
} |
|||
|
|||
/* 专题部分 */ |
|||
.special-topic { |
|||
margin-top: 30px; |
|||
} |
|||
|
|||
.topic-title { |
|||
font-size: 24px; |
|||
margin-bottom: 15px; |
|||
color: #333; |
|||
border-bottom: 1px solid #eee; |
|||
padding-bottom: 10px; |
|||
} |
|||
|
|||
.topic-container { |
|||
background: linear-gradient(to right, #fff9e6, #fff); |
|||
border-radius: 8px; |
|||
padding: 20px; |
|||
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); |
|||
margin-bottom: 20px; |
|||
} |
|||
|
|||
.topic-header { |
|||
display: flex; |
|||
justify-content: space-between; |
|||
align-items: center; |
|||
margin-bottom: 20px; |
|||
} |
|||
|
|||
.topic-more { |
|||
color: #999; |
|||
text-decoration: none; |
|||
} |
|||
|
|||
.video-list { |
|||
display: flex; |
|||
flex-direction: column; |
|||
gap: 15px; |
|||
} |
|||
|
|||
.video-item { |
|||
display: flex; |
|||
align-items: center; |
|||
background-color: transparent; |
|||
border-radius: 8px; |
|||
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05); |
|||
transition: transform 0.3s; |
|||
padding: 10px; |
|||
} |
|||
|
|||
.video-item:hover { |
|||
transform: translateY(-3px); |
|||
} |
|||
|
|||
.video-thumbnail { |
|||
position: relative; |
|||
width: 120px; |
|||
height: 80px; |
|||
background-color: #f0f0f0; |
|||
display: flex; |
|||
align-items: center; |
|||
justify-content: center; |
|||
margin-right: 15px; |
|||
border-radius: 5px; |
|||
overflow: hidden; |
|||
} |
|||
|
|||
.video-thumbnail img { |
|||
width: 100%; |
|||
height: 100%; |
|||
object-fit: cover; |
|||
} |
|||
|
|||
.video-play-btn { |
|||
position: absolute; |
|||
width: 30px; |
|||
height: 30px; |
|||
background-color: rgba(0, 0, 0, 0.5); |
|||
border-radius: 50%; |
|||
display: flex; |
|||
align-items: center; |
|||
justify-content: center; |
|||
cursor: pointer; |
|||
} |
|||
|
|||
.video-play-btn::after { |
|||
content: ''; |
|||
border-left: 10px solid white; |
|||
border-top: 7px solid transparent; |
|||
border-bottom: 7px solid transparent; |
|||
margin-left: 3px; |
|||
} |
|||
|
|||
.video-info { |
|||
flex: 1; |
|||
} |
|||
|
|||
.video-title { |
|||
font-size: 16px; |
|||
font-weight: bold; |
|||
margin-bottom: 8px; |
|||
color: #333; |
|||
} |
|||
|
|||
.video-meta { |
|||
display: flex; |
|||
align-items: center; |
|||
color: #999; |
|||
font-size: 14px; |
|||
} |
|||
|
|||
.video-meta .author { |
|||
display: flex; |
|||
align-items: center; |
|||
margin-right: 15px; |
|||
} |
|||
|
|||
.video-meta .author img { |
|||
width: 20px; |
|||
height: 20px; |
|||
border-radius: 50%; |
|||
margin-right: 5px; |
|||
} |
|||
|
|||
.video-stats { |
|||
display: flex; |
|||
align-items: center; |
|||
color: #999; |
|||
font-size: 14px; |
|||
} |
|||
|
|||
.video-stats .stat { |
|||
display: flex; |
|||
align-items: center; |
|||
margin-right: 15px; |
|||
} |
|||
|
|||
.video-stats .stat i { |
|||
margin-right: 5px; |
|||
} |
|||
|
|||
/* 响应式设计 */ |
|||
@media (max-width: 768px) { |
|||
.club-header { |
|||
flex-direction: column; |
|||
align-items: flex-start; |
|||
} |
|||
|
|||
.view-more { |
|||
margin-top: 10px; |
|||
} |
|||
|
|||
.video-thumbnail { |
|||
width: 100px; |
|||
height: 70px; |
|||
} |
|||
} |
|||
</style> |
|||
</head> |
|||
|
|||
<body> |
|||
<div class="container"> |
|||
<!-- 俱乐部简介部分 --> |
|||
<div class="club-intro"> |
|||
<div class="club-header"> |
|||
<div class="club-logo"> |
|||
<!-- 俱乐部标志 --> |
|||
<img src="images/logo.png" alt="博股国际投资论坛"> |
|||
</div> |
|||
<button class="view-more">查看更多</button> |
|||
</div> |
|||
<div class="club-content"> |
|||
<p>博股国际投资论坛(Bogul International Investment Forum)立足中国,面向全球。聚集了国际政要、投资大师、经济学家和高端投资人士。</p> |
|||
<p>论坛旨在为一小部分高端投资人士提供深度学习,解读国际经济形势,并研判经济发展机遇。博股会员是博股国际投资论坛的终身会员,我们注重知识体系的深度,与大师为伍,强调价值投资,并利用大波段进行盈利。</p> |
|||
</div> |
|||
</div> |
|||
|
|||
<!-- 专题部分 --> |
|||
<div class="special-topic"> |
|||
<h2 class="topic-title">专题</h2> |
|||
|
|||
<div class="topic-container"> |
|||
<div class="topic-header"> |
|||
<h3>前言股市投资分享之左侧交易</h3> |
|||
<a href="#" class="topic-more">查看更多</a> |
|||
</div> |
|||
|
|||
<div class="video-list"> |
|||
<!-- 视频条目1 --> |
|||
<div class="video-item"> |
|||
<div class="video-thumbnail"> |
|||
<img src="images/1.png" alt="影形结构同现"> |
|||
<div class="video-play-btn"></div> |
|||
</div> |
|||
<div class="video-info"> |
|||
<h4 class="video-title">第一节《影形结构同现》</h4> |
|||
<div class="video-meta"> |
|||
<div class="author"> |
|||
<img src="images/link.png" alt="博股俱乐部"> |
|||
<span>博股俱乐部</span> |
|||
</div> |
|||
</div> |
|||
<div class="video-stats"> |
|||
<div class="stat"> |
|||
<i>👤</i> |
|||
<span>HomilyLink</span> |
|||
</div> |
|||
<div class="stat"> |
|||
<i>📅</i> |
|||
<span>05-26 11:42</span> |
|||
</div> |
|||
<div class="stat"> |
|||
<i>👁️</i> |
|||
<span>643</span> |
|||
</div> |
|||
<div class="stat"> |
|||
<i>💬</i> |
|||
<span>0</span> |
|||
</div> |
|||
<div class="stat"> |
|||
<i>👍</i> |
|||
<span>3</span> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
|
|||
<!-- 视频条目2 --> |
|||
<div class="video-item"> |
|||
<div class="video-thumbnail"> |
|||
<img src="images/2.png" alt="强势结构形态"> |
|||
<div class="video-play-btn"></div> |
|||
</div> |
|||
<div class="video-info"> |
|||
<h4 class="video-title">第二节《强势结构形态》</h4> |
|||
<div class="video-meta"> |
|||
<div class="author"> |
|||
<img src="images/link.png" alt="博股俱乐部"> |
|||
<span>博股俱乐部</span> |
|||
</div> |
|||
</div> |
|||
<div class="video-stats"> |
|||
<div class="stat"> |
|||
<i>👤</i> |
|||
<span>HomilyLink</span> |
|||
</div> |
|||
<div class="stat"> |
|||
<i>📅</i> |
|||
<span>01-24 09:55</span> |
|||
</div> |
|||
<div class="stat"> |
|||
<i>👁️</i> |
|||
<span>498</span> |
|||
</div> |
|||
<div class="stat"> |
|||
<i>💬</i> |
|||
<span>0</span> |
|||
</div> |
|||
<div class="stat"> |
|||
<i>👍</i> |
|||
<span>12</span> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
|
|||
<script> |
|||
// 简单的交互功能 |
|||
document.addEventListener('DOMContentLoaded', function () { |
|||
// 查看更多按钮点击事件 |
|||
const viewMoreButtons = document.querySelectorAll('.view-more'); |
|||
viewMoreButtons.forEach(button => { |
|||
button.addEventListener('click', function () { |
|||
alert('功能即将上线,敬请期待!'); |
|||
}); |
|||
}); |
|||
|
|||
// 视频播放按钮点击事件 |
|||
const playButtons = document.querySelectorAll('.video-play-btn'); |
|||
playButtons.forEach(button => { |
|||
button.addEventListener('click', function (e) { |
|||
e.stopPropagation(); // 阻止事件冒泡 |
|||
alert('视频播放功能即将上线'); |
|||
}); |
|||
}); |
|||
|
|||
// 视频项点击事件 |
|||
const videoItems = document.querySelectorAll('.video-item'); |
|||
videoItems.forEach(item => { |
|||
item.addEventListener('click', function (e) { |
|||
// 如果点击的是播放按钮,则不触发视频项的点击事件 |
|||
if (!e.target.classList.contains('video-play-btn')) { |
|||
const videoTitle = this.querySelector('.video-title').textContent; |
|||
alert(`您点击了视频: ${videoTitle}`); |
|||
} |
|||
}); |
|||
}); |
|||
}); |
|||
</script> |
|||
</body> |
|||
|
|||
</html> |
After Width: 626 | Height: 307 | Size: 253 KiB |
After Width: 538 | Height: 257 | Size: 357 KiB |
After Width: 97 | Height: 92 | Size: 35 KiB |
After Width: 67 | Height: 65 | Size: 17 KiB |
Write
Preview
Loading…
Cancel
Save
Reference in new issue