Browse Source

添加剩余次数预约提醒

暖心小太阳 3 days ago
parent
commit
22b616d8e0
2 changed files with 13 additions and 1 deletions
  1. 3 1
      pages/ucenter/order/order.wxml
  2. 10 0
      pages/ucenter/order/order.wxss

+ 3 - 1
pages/ucenter/order/order.wxml

@@ -148,7 +148,9 @@
 					再次购买
 				</view>
 			</view>
-
+      <view class="remain-content" wx:if="{{item.showAppointmentAlert}}">
+						还剩{{item.notAppointmentTimes}}次可约,请记得预约哦
+					</view>
 
 		</view>
 	</view>

+ 10 - 0
pages/ucenter/order/order.wxss

@@ -768,4 +768,14 @@ text-align: right;
 		min-height:500rpx;
 		max-height: 800rpx;
 		overflow-y: scroll;
+  }
+  	.remain-content{
+		    height: 50rpx;
+		    background-color: #B5EDFF;
+		    color: #000;
+		    line-height: 50rpx;
+		    border-radius: 12rpx;
+		    font-size: 24rpx;
+		    font-weight: bold;
+		    padding-left: 20rpx;
 	}