|
|
@@ -175,6 +175,22 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
+
|
|
|
+ <div class="process-section">
|
|
|
+ <div class="section-header">
|
|
|
+ <div class="section-number">5</div>
|
|
|
+ <h2>农业投入品输入过程视频演示</h2>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <div class="video-section">
|
|
|
+ <div class="video-container">
|
|
|
+ <video controls class="sampling-video">
|
|
|
+ <source src='@/assets/videos/农业投入品.mp4' type="video/mp4">
|
|
|
+ 您的浏览器不支持HTML5视频播放。
|
|
|
+ </video>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
</template>
|
|
|
|
|
|
@@ -596,4 +612,88 @@ h2 {
|
|
|
max-height: 250px;
|
|
|
}
|
|
|
}
|
|
|
+/* 新增视频模块样式 */
|
|
|
+.video-section {
|
|
|
+ display: flex;
|
|
|
+ flex-direction: column;
|
|
|
+ gap: 30px;
|
|
|
+ margin-top: 20px;
|
|
|
+}
|
|
|
+
|
|
|
+.video-container {
|
|
|
+ border-radius: 12px;
|
|
|
+ overflow: hidden;
|
|
|
+ position: relative;
|
|
|
+ box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
|
|
|
+ max-width: 800px;
|
|
|
+ margin: 0 auto;
|
|
|
+ transition: all 0.4s ease;
|
|
|
+}
|
|
|
+
|
|
|
+.video-container:hover {
|
|
|
+ transform: translateY(-5px);
|
|
|
+ box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
|
|
|
+}
|
|
|
+
|
|
|
+.sampling-video {
|
|
|
+ width: 100%;
|
|
|
+ height: auto;
|
|
|
+ display: block;
|
|
|
+ background: #f8fafc;
|
|
|
+ min-height: 400px;
|
|
|
+}
|
|
|
+
|
|
|
+.video-caption {
|
|
|
+ text-align: center;
|
|
|
+ font-size: 1.1rem;
|
|
|
+ color: #1a365d;
|
|
|
+ padding: 15px;
|
|
|
+ font-weight: 600;
|
|
|
+ background: linear-gradient(to right, rgba(248, 250, 252, 0.9), rgba(240, 248, 255, 0.9));
|
|
|
+ margin: 0;
|
|
|
+ border-top: 1px dashed #cbd5e0;
|
|
|
+ position: relative;
|
|
|
+}
|
|
|
+
|
|
|
+.video-caption::before {
|
|
|
+ content: "📹";
|
|
|
+ position: absolute;
|
|
|
+ left: 20px;
|
|
|
+ top: 50%;
|
|
|
+ transform: translateY(-50%);
|
|
|
+}
|
|
|
+
|
|
|
+.video-description {
|
|
|
+ background: rgba(245, 249, 255, 0.6);
|
|
|
+ border-radius: 12px;
|
|
|
+ padding: 20px;
|
|
|
+ border-left: 4px solid #3acfd5;
|
|
|
+}
|
|
|
+
|
|
|
+.video-description h3 {
|
|
|
+ color: #1a365d;
|
|
|
+ margin-top: 0;
|
|
|
+ margin-bottom: 15px;
|
|
|
+ font-size: 1.4rem;
|
|
|
+}
|
|
|
+
|
|
|
+.video-description ul {
|
|
|
+ padding-left: 25px;
|
|
|
+ margin: 15px 0;
|
|
|
+}
|
|
|
+
|
|
|
+.video-description li {
|
|
|
+ margin-bottom: 10px;
|
|
|
+ line-height: 1.7;
|
|
|
+ position: relative;
|
|
|
+}
|
|
|
+
|
|
|
+.video-description li::before {
|
|
|
+ content: "•";
|
|
|
+ color: #3acfd5;
|
|
|
+ font-size: 1.2rem;
|
|
|
+ position: absolute;
|
|
|
+ left: -20px;
|
|
|
+ top: 0;
|
|
|
+}
|
|
|
</style>
|