shish 10 месяцев назад
Родитель
Сommit
039b904d7f

+ 1 - 4
ghsApp/src/admin/book/lsDetail.vue

@@ -121,10 +121,7 @@ export default {
 			this.videoContext.play()
 		},
 		previewImage(url) {
-			uni.previewImage({
-				urls: [url],
-				current: url
-			});
+			uni.previewImage({ urls: [url], current: url })
 		}
 	},
 };

+ 6 - 22
ghsApp/src/admin/item/list2.vue

@@ -10,13 +10,13 @@
 				</view>
 				<view class="modern-tab" :class="{ 'active': globalLookStock === 1 }" @click="changeHasStock(1)">
 					<view class="tab-content">
-						<text class="tab-icon"></text>
+						<text class="tab-icon">💰</text>
 						<text class="tab-text">有库存</text>
 					</view>
 				</view>
 				<view class="modern-tab" :class="{ 'active': globalLookStock === 2 }" @click="changeHasStock(2)">
 					<view class="tab-content">
-						<text class="tab-icon"></text>
+						<text class="tab-icon">🏷️</text>
 						<text class="tab-text">没库存</text>
 					</view>
 				</view>
@@ -650,7 +650,7 @@ export default {
 	flex-direction: column;
 	.input-wrap {
 		display: flex;
-		padding: 5upx 20upx 22upx 13upx;
+		padding: 10upx 20upx 22upx 13upx;
 		.search-bar {
 			flex: 1;
 		}
@@ -781,34 +781,18 @@ export default {
   }
   
   .tab-text {
-    font-size: 26upx;
+    font-size: 29upx;
     color: #666;
     font-weight: 600;
   }
   
   &.active {
-    background: linear-gradient(135deg, #34d399 0%, #09C567 100%); /* 渐变背景 */
-    box-shadow: 0 4upx 12upx rgba(16, 185, 129, 0.25); /* 柔和外发光 */
-    transform: none;
-    border-color: rgba(16, 185, 129, 0.25);
+    background: #3385FF;
     
     .tab-text {
       color: #ffffff;
       font-weight: 700;
-      font-size: 28upx;
-    }
-    
-    /* 选中态白色半透明底部指示条 */
-    &::after {
-      content: "";
-      position: absolute;
-      left: 50%;
-      bottom: 6upx;
-      transform: translateX(-50%);
-      width: 40%;
-      height: 6upx;
-      border-radius: 6upx;
-      background: rgba(255, 255, 255, 0.9);
+      font-size: 29upx;
     }
   }
   

+ 1 - 14
hdApp/src/admin/goods/goodsSort.vue

@@ -522,7 +522,7 @@ export default {
 }
 /* 现代化标签样式 */
 .modern-tabs-container {
-  padding: 8upx 10upx 12upx;
+  padding: 0;
   background-color: #f8f9fa;
   width: 100%;
 }
@@ -530,7 +530,6 @@ export default {
 .modern-tabs {
   display: flex;
   background-color: #ffffff;
-  border-radius: 14upx;
   padding: 6upx;
   box-shadow: 0 2upx 12upx rgba(0, 0, 0, 0.06);
   border: 2upx solid #f0f2f5;
@@ -581,18 +580,6 @@ export default {
       font-weight: 700;
       font-size: 28upx;
     }
-    /* 底部圆角指示条 */
-    &::after {
-      content: "";
-      position: absolute;
-      left: 50%;
-      bottom: 6upx;
-      transform: translateX(-50%);
-      width: 40%;
-      height: 6upx;
-      border-radius: 6upx;
-      background: rgba(255, 255, 255, 0.9);
-    }
   }
   /* 未选中态悬停(H5 生效,其它端无影响) */
   &:not(.active):hover {

+ 2 - 16
hdApp/src/admin/goods/list.vue

@@ -394,7 +394,7 @@ export default {
 
 /* 现代化标签样式 */
 .modern-tabs-container {
-  padding: 8upx 10upx 12upx;
+  padding: 0;
   background-color: #f8f9fa;
   width: 100%;
 }
@@ -402,7 +402,6 @@ export default {
 .modern-tabs {
   display: flex;
   background-color: #ffffff;
-  border-radius: 14upx;
   padding: 6upx;
   box-shadow: 0 2upx 12upx rgba(0, 0, 0, 0.06);
   border: 2upx solid #f0f2f5;
@@ -459,19 +458,6 @@ export default {
       font-weight: 700;
       font-size: 28upx;
     }
-    
-    /* 选中态白色半透明底部指示条 */
-    &::after {
-      content: "";
-      position: absolute;
-      left: 50%;
-      bottom: 6upx;
-      transform: translateX(-50%);
-      width: 40%;
-      height: 6upx;
-      border-radius: 6upx;
-      background: rgba(255, 255, 255, 0.9);
-    }
   }
   
   /* H5 未选中态悬停效果(其它端不影响) */
@@ -651,7 +637,7 @@ page {
 }
 .input-wrap {
 		display: flex;
-		padding: 22upx 20upx 22upx 13upx;
+		padding: 10upx 20upx 22upx 13upx;
 		.search-bar {
 			flex: 1;
 		}