From b6b1a34a610795ed5ea8dd8658955ea4c9a0d401 Mon Sep 17 00:00:00 2001
From: peng <peng.com>
Date: 星期五, 27 六月 2025 15:54:04 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/dev' into dev

---
 pages/kitchen/KitchenVideo.vue |   36 +++++++++++++++++++-----------------
 1 files changed, 19 insertions(+), 17 deletions(-)

diff --git a/pages/kitchen/KitchenVideo.vue b/pages/kitchen/KitchenVideo.vue
index fe07b72..0223187 100644
--- a/pages/kitchen/KitchenVideo.vue
+++ b/pages/kitchen/KitchenVideo.vue
@@ -56,6 +56,7 @@
               @touchstart.stop="handleTouchStart"
               @touchmove.stop="handleTouchMove"
               @touchend.stop="handleTouchEnd"
+			  :style="{bottom: marginBottom + 'px'}"
               class="container">
             <!-- 杩涘害鏉� - 鏁翠釜鍖哄煙鍙嫋鍔� -->
             <view class="process-warp" :style="{ opacity: showProcess ? 1 : 0 }">
@@ -121,7 +122,7 @@
 
 
         <!-- 瑙嗛淇℃伅灞� -->
-        <view class="video-info">
+        <view class="video-info" :style="{bottom: marginBottom + 20 + 'px'}">
           <view>
             <text class="video-author">@{{item.authorName}}</text>
           </view>
@@ -349,7 +350,8 @@
         pageSize: 6,
         videoFrom: 'recommend',
         videoType: 'cook'
-      }
+      },
+	  marginBottom: 0 // 搴曢儴瀹夊叏鍖哄煙
     }
   },
   onShow() {
@@ -365,11 +367,12 @@
     this.startHidenTime = Date.now()
   },
   onLoad() {
-	  // 鑾峰彇鐘舵�佹爮楂樺害
-	  const systemInfo = uni.getSystemInfoSync();
-	  this.buttonHeight = systemInfo.statusBarHeight;
-    this.getKitchenTypeList();
-    this.loadVideos();
+	this.marginBottom = uni.getSystemInfoSync().safeAreaInsets.bottom
+	// 鑾峰彇鐘舵�佹爮楂樺害
+	const systemInfo = uni.getSystemInfoSync();
+	this.buttonHeight = systemInfo.statusBarHeight;
+	this.getKitchenTypeList();
+	this.loadVideos();
   },
   onReady() {
     // 鍒濆鍖栬棰戜笂涓嬫枃
@@ -963,7 +966,6 @@
 .video-item {
   width: 100%;
   height: 100%;
-  object-fit: cover;
 }
 
 .play-icon {
@@ -1410,18 +1412,18 @@
 }
 
 .typeNavigationItem {
-  padding: 24rpx;
-  font-size: 28rpx;
-  color: black;
-  margin-top: 10rpx;
-  border-radius: 12rpx;
-  border: 1rpx solid gray;
+	padding: 24rpx;
+	font-size: 28rpx;
+	color: black;
+	margin-top: 10rpx;
 }
 
+
 .typeNavigationItemCheck {
-  background-color: #42b993;
-  color: #fff;
-  border: 0;
+	color: #ef321e;
+	font-size: 32rpx;
+	font-weight: bold;
+	border: 0;
 }
 
 .container ::v-deep .navigationLeft .uni-drawer__content {

--
Gitblit v1.8.0