Jelajahi Sumber

样式修改

zhanghui 1 tahun lalu
induk
melakukan
b20e072af3

+ 11 - 4
pages/groupbuying_details/index.vue

@@ -145,13 +145,13 @@
 												</view>
 
 												<view class="u-number-box" v-if="!storeInfo.isEnd && storeInfo.goodsList[index].isSale === 1 && item.totalStock > 0">
-													<view class="symbol" @click="numberBox(-1,index)">
+													<view class="symbol symboll" @click="numberBox(-1,index)">
 														<text>-</text>
 													</view>
 													<view class="number-box">
 														<text>{{storeInfo.goodsList[index].num}}</text>
 													</view>
-													<view class="symbol" @click="numberBox(1,index)">
+													<view class="symbol symbolr" @click="numberBox(1,index)">
 														<text>+</text>
 													</view>
 												</view>
@@ -2447,8 +2447,7 @@ action-sheet-item {
 	.number-box{
 		width: 64rpx;
 		height: 52rpx;
-		border-right: 2rpx solid rgba(180,42,62,0.3);
-		border-left: 2rpx solid rgba(180,42,62,0.3);
+
 		text-align: center;
 		font-size: 24rpx;
 		line-height: 52rpx;
@@ -2467,5 +2466,13 @@ action-sheet-item {
 		font-size: 35rpx;
 		font-weight: bold;
 	}
+
+	.symboll{
+		border-right: 2rpx solid rgba(180,42,62,0.3);
+	}
+	.symbolr{
+		border-left: 2rpx solid rgba(180,42,62,0.3);
+	}
+
 </style>
 

+ 8 - 4
pages/groupbuying_details/order_details_confirm/index.vue

@@ -18,13 +18,13 @@
 						<view class="u-number-box">
 <!--							<u-number-box :name="item.id" :min="0" :max="10" v-model="grouponOrderData.goodsInfos[index].num" @change="calGoodsPrice"></u-number-box>-->
 
-							<view class="symbol" @click="numberBox(-1,index)">
+							<view class="symbol symboll" @click="numberBox(-1,index)">
 								<text>-</text>
 							</view>
 							<view class="number-box">
 								<text>{{grouponOrderData.goodsInfos[index].num}}</text>
 							</view>
-							<view class="symbol" @click="numberBox(1,index)">
+							<view class="symbol symbolr" @click="numberBox(1,index)">
 								<text>+</text>
 							</view>
 
@@ -2266,8 +2266,6 @@ export default {
 	.number-box{
 		width: 64rpx;
 		height: 52rpx;
-		border-right: 2rpx solid rgba(180,42,62,0.3);
-		border-left: 2rpx solid rgba(180,42,62,0.3);
 		text-align: center;
 		font-size: 24rpx;
 		line-height: 52rpx;
@@ -2287,6 +2285,12 @@ export default {
 		font-weight: bold;
 	}
 
+	.symboll{
+		border-right: 2rpx solid rgba(180,42,62,0.3);
+	}
+	.symbolr{
+		border-left: 2rpx solid rgba(180,42,62,0.3);
+	}
 
   .font-color {
     margin-left: 10rpx;