From 4065ddbe4082ecdbb70167e8ff4d843ce3195f02 Mon Sep 17 00:00:00 2001
From: liuleilei <234@qq.com>
Date: 星期一, 28 十月 2024 15:15:04 +0800
Subject: [PATCH] 跟新

---
 h5/pages/index_2/index.vue |   22 +++++++++++++++-------
 1 files changed, 15 insertions(+), 7 deletions(-)

diff --git a/h5/pages/index_2/index.vue b/h5/pages/index_2/index.vue
index cdcd8ca..cd71b0b 100644
--- a/h5/pages/index_2/index.vue
+++ b/h5/pages/index_2/index.vue
@@ -225,7 +225,7 @@
 					<view class="productPage_parameter" v-if="isPK && pkcontent">
 						<view class="productPage_parameter_item" v-for="(item, index) in [leftShop, rightShop]" :key="index">
 							<view class="productPage_parameter_item_head" :style="{background: !configuration ? 'rgba(13, 30, 65, 1)' : configuration.header.backgroundType === 2 ? `linear-gradient(180deg, ${percentage(configuration.header.bgColor, configuration.header.bgAlpha)} 0%, ${percentage(configuration.header.bgColor2, configuration.header.bgAlpha2)} 100%)` : percentage(configuration.header.bgColor, configuration.header.bgAlpha), color: !configuration ? 'rgba(255, 255, 255, 1)' : configuration.header.type === 1 ? percentage(configuration.header.color, configuration.header.alpha) : 'rgba(255, 255, 255, 1)'}">
-								{{item.name}}
+								<text>{{item.name}}</text>
 							</view>
 							<view class="productPage_parameter_item_content" :style="{background: !configuration ? 'rgba(137, 159, 197, 1)' : configuration.list.bgType === 1 ? percentage(configuration.list.bgColor, configuration.list.bgAlpha) : 'rgba(137, 159, 197, 1)'}">
 								<view class="productPage_parameter_item_content_price">
@@ -1767,16 +1767,17 @@
 					width: 100%;
 					display: flex;
 					align-items: flex-start;
+					justify-content: space-between;
 					margin-bottom: 30px;
 					.productPage_parameter_item {
-						flex: 1;
+						width: 49%;
 						&:first-child {
 							margin-right: 18px;
 						}
 						.productPage_parameter_item_head {
 							width: 100%;
 							height: 40px;
-							background: rgba(0,224,255,0.34) linear-gradient(180deg, rgba(255,255,255,0.35) 0%, rgba(0,0,0,0.21) 100%);
+							// background: rgba(0,224,255,0.34) linear-gradient(180deg, rgba(255,255,255,0.35) 0%, rgba(0,0,0,0.21) 100%);
 							border-radius: 8px 8px 0px 0px;
 							display: flex;
 							align-items: center;
@@ -1784,10 +1785,17 @@
 							overflow: hidden;
 							white-space: nowrap;
 							text-overflow: ellipsis;
-							text-align: center;
-							font-size: 16px;
-							font-weight: 500;
-							color: #FFFFFF;
+							text {
+								width: 100%;
+								text-align: center;
+								font-size: 16px;
+								font-family: SourceHanSansSC-Medium, SourceHanSansSC;
+								font-weight: 500;
+								color: #FFFFFF;
+								overflow: hidden;
+								white-space: nowrap;
+								text-overflow: ellipsis;
+							}
 						}
 						.productPage_parameter_item_content {
 							width: 100%;

--
Gitblit v1.9.3