zhengjinyi 4 anni fa
parent
commit
c0c08f2d55
1 ha cambiato i file con 46 aggiunte e 22 eliminazioni
  1. 46 22
      pages/goods/product.vue

+ 46 - 22
pages/goods/product.vue

@@ -19,7 +19,7 @@
 							</swiper-item>
 						</swiper>
 						<view class="swiper__dots-box">
-							<tui-tag padding="12rpx 24rpx" type="translucent" shape="square" size="32rpx" :scaleMultiple="0.82" originRight>{{ current + 1 }}/{{ productImage.length }}</tui-tag>
+							<tui-tag padding="12rpx 24rpx" type="translucent" shape="circleLeft" size="32rpx" :scaleMultiple="0.82" originRight>{{ current + 1 }}/{{ productImage.length }}</tui-tag>
 						</view>
 					</uni-swiper-dot>
 				</view>
@@ -56,7 +56,7 @@
 				<text class="iconfont icon-dui tui-skeleton-rect"><text class="text">快速退款</text></text>
 				<text class="iconfont icon-dui tui-skeleton-rect"><text class="text">正品保证</text></text>
 			</view>
-			<view class="product-supplier" @click="goSupplier">
+			<view class="product-parameter" @click="goSupplier">
 				<text class="title">参数:</text>
 				<text class="name">品牌  起订量  分类...</text>
 				<text class="iconfont icon-xiayibu"></text>
@@ -642,21 +642,7 @@
 		position: absolute;
 		color: #fff;
 		bottom: 30rpx;
-		right: 30rpx;
-		.swiper__dots-item{
-			width: 12rpx;
-			height: 12rpx;
-			border-radius: 100%;
-			margin: 6rpx;
-			background: rgba(62,62,62,1);
-		}
-		.none{
-			background:#FFFFFF;
-		}
-		.swiper__dots-long{
-			background: rgba(62,62,62,1);
-			transition: all 0.1s;
-		}
+		right: 0;
 	}
 	.product-wrap{
 		width: 100%;
@@ -951,9 +937,8 @@
 		margin-bottom: 24rpx;
 		position: relative;
 		display: flex;
+		line-height: 88rpx;
 		.title{
-			display: flex;
-			flex: 2;
 			line-height: 88rpx;
 			display: inline-block;
 			float: left;
@@ -961,16 +946,55 @@
 			color: $text-color;
 		}
 		.iconfont{
-			color: $color-system;
-			margin-left: 20rpx;
+			color: #999999;
+			margin-right: 20rpx;
 			font-size: $font-size-24;
 		}
 		.text{
 			font-size: $font-size-24;
-			color: $text-color;
+			color: #999999;
 			margin-left: 10rpx;
 		}
 	}
+	.product-parameter{
+		width: 702rpx;
+		height: 88rpx;
+		padding: 0 24rpx;
+		background-color: #FFFFFF;
+		margin-bottom: 24rpx;
+		position: relative;
+		display: flex;
+		.title{
+			line-height: 88rpx;
+			display: inline-block;
+			float: left;
+			font-size: $font-size-28;
+			color: $text-color;
+		}
+		.name{
+			float: right;
+			line-height: 88rpx;
+			display: inline-block;
+			float: left;
+			font-size: $font-size-24;
+			color: #999999;
+			float: right;
+			padding-right: 48rpx;
+			overflow: hidden;
+			text-overflow:ellipsis;
+			white-space: nowrap;
+			text-align: right;
+		}
+		.icon-xiayibu{
+			line-height: 88rpx;
+			display: inline-block;
+			position: absolute;
+			width: 48rpx;
+			top: 0;
+			right: 0;
+			color: #b2b2b2;
+		}
+	}
 	.product-supplier{
 		width: 702rpx;
 		height: 88rpx;