소스 검색

样式优化 进入商城首页分类详情,若该分类起购金额为0,不显示提示修改

1004749546@qq.com 4 년 전
부모
커밋
4b1b62c722
5개의 변경된 파일11개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 1
      pages/goods/goods.vue
  2. 1 1
      pages/goods/goodsDetail.vue
  3. 4 0
      pages/order/order.vue
  4. 3 0
      pages/order/orderDetail.vue
  5. 2 0
      pages/toOrder/index.vue

+ 1 - 1
pages/goods/goods.vue

@@ -1,6 +1,6 @@
 <template>
 	<view class="content">
-		<view class="info">该类商品需购满{{goldLimit}}乐豆才能下单哦!</view>
+		<view v-if="goldLimit>0" class="info">该类商品需购满{{goldLimit}}乐豆才能下单哦!</view>
 		<view v-if="goodsList.length">
 			<uni-coods :list="goodsList"></uni-coods>
 			<view class="loadmore"><u-loadmore @loadmore="loadmore" :status="status" /></view>

+ 1 - 1
pages/goods/goodsDetail.vue

@@ -22,7 +22,7 @@
 						<u-number-box :max="goodContent.inventoryQty" v-model="nums"></u-number-box>
 					</view>
 				</view>
-				<view class="goods-goldLimit">
+				<view v-if="goldLimit>0" class="goods-goldLimit">
 					此商品需要满<text>{{goldLimit}}</text>乐豆才可购买
 				</view>
 			</view>

+ 4 - 0
pages/order/order.vue

@@ -540,7 +540,9 @@
 
 				.price-num {
 					font-size: 32upx;
+					font-weight: 600;
 					color: red;
+					margin-right: 6rpx;
 				}
 
 				.total-text {
@@ -574,6 +576,8 @@
 				.num-big{
 					font-size: 40upx;
 					color: red;
+					font-weight: 600;
+					margin-right: 6rpx;
 				}
 			}
 			.footer{

+ 3 - 0
pages/order/orderDetail.vue

@@ -360,6 +360,7 @@
 				font-size: 32upx;
 				color: red;
 				font-weight: 600;
+				margin-right: 6rpx;
 			}
 
 			.u-cell {
@@ -391,6 +392,8 @@
 				.num-big{
 					font-size: 40upx;
 					color: red;
+					font-weight: 600;
+					margin-right: 6rpx;
 				}
 			}
 			.footer{

+ 2 - 0
pages/toOrder/index.vue

@@ -452,6 +452,8 @@ page{
 			.num-big{
 				font-size: 40upx;
 				color: red;
+				font-weight: 600;
+				margin-right: 6rpx;
 			}
 		}
 		.footer{