萤火科技 1 год назад
Родитель
Сommit
1b4f93ae28

+ 1 - 1
common/enum/order/OrderSource.js

@@ -5,5 +5,5 @@ import Enum from '../enum'
  * OrderSourceEnum
  */
 export default new Enum([
-  { key: 'MASTER', name: '普通订单', value: 10 }
+  { key: 'MAIN', name: '普通订单', value: 10 }
 ])

+ 1 - 1
pages/checkout/style.scss

@@ -95,7 +95,7 @@
     justify-content: center;
     align-items: center;
     padding-top: 30rpx;
-    box-shadow: 0 -12rpx 30rpx -6rpx rgba(151, 151, 151, 0.24);
+    box-shadow: 0 -12rpx 30rpx -6rpx rgba(151, 151, 151, 0.1);
     
     .control {
       display: flex;

+ 4 - 1
pages/goods/components/Service.vue

@@ -115,6 +115,9 @@
   // 服务详细内容
   .service-content {
     padding: 24rpx;
+    // 设置ios刘海屏底部横线安全区域
+    padding-bottom: calc(constant(safe-area-inset-bottom) + 24rpx);
+    padding-bottom: calc(env(safe-area-inset-bottom) + 24rpx);
 
     .title {
       font-size: 30rpx;
@@ -155,4 +158,4 @@
     }
 
   }
-</style>
+</style>

+ 10 - 7
pages/goods/detail.scss

@@ -46,7 +46,7 @@
   padding: 8rpx 14rpx;
   margin-right: 15rpx;
   font-size: 24rpx;
-  color: #EEE0C3;
+  color: #eee0c3;
 }
 
 .goods-sales {
@@ -96,7 +96,7 @@
 // 选择商品规格
 .goods-choice {
   padding: 26rpx 30rpx;
-  font-size: 28rpx;
+  font-size: 26rpx;
 
   .spec-list {
     display: flex;
@@ -111,7 +111,7 @@
 // 商品详情
 .goods-content .item-title {
   padding: 26rpx 30rpx;
-  font-size: 28rpx;
+  font-size: 26rpx;
 }
 
 // 底部操作栏
@@ -155,9 +155,12 @@
 
     &--cart {
       margin-left: 6rpx;
-      .fast-icon { margin-left: -12rpx; }
+
+      .fast-icon {
+        margin-left: -12rpx;
+      }
     }
-    
+
     // 角标
     .fast-badge {
       display: inline-block;
@@ -179,7 +182,7 @@
       position: absolute;
       top: 0;
       right: 0;
-      transform-origin: 100%
+      transform-origin: 100%;
     }
 
     .fast-icon {
@@ -226,4 +229,4 @@
     background: linear-gradient(to right, $vice-bg, $vice-bg2);
     color: $vice-text;
   }
-}
+}