Просмотр исходного кода

Merge branch 'master' of http://git.huaml.com/zhh/front-end

shish 10 месяцев назад
Родитель
Сommit
c6cdff59e7

+ 1 - 1
hdApp/src/admin/billing/affirmGhs.vue

@@ -589,7 +589,7 @@ export default {
 			let that = this
 			this.getDetailData()
 
-			this.getCurrentShop()
+			// this.getCurrentShop() //重复执行了,注释掉
 
 			getWlList({id:this.option.id}).then(res=>{
 				if(res.code == 1){

+ 4 - 4
hdApp/src/admin/chat/chatPage.vue

@@ -53,7 +53,7 @@
                 <form @submit.prevent="createQrotedPrice(message)">
                   <input 
                     class="price-input"
-                    type="number" 
+                    type="digit" 
                     v-model="message.quotedPrice"
                     placeholder="输入价格"
                     @focus="hideKeyboard"
@@ -73,7 +73,7 @@
                   > -->
                   <input
                     class="price-input"
-                    type="number"
+                    type="digit"
                     v-model="message.quotedPrice"
                     placeholder="输入价格"
                     @focus="hideKeyboard"
@@ -1131,8 +1131,8 @@ export default {
         this.$msg('价格格式不正确');
         return;
       }
-      if (message.quotedPrice <= 0) {
-        this.$msg('价格不能小于等于0');
+      if (message.quotedPrice <= 0.01) {
+        this.$msg('价格不能小于等于0.01');
         return;
       }
       const keyArr = message.goodsInfo.key.split('-');// shopId-userId-goodsId

+ 5 - 8
mallApp/src/pages/goods/components/buy-foot.vue

@@ -48,18 +48,15 @@ export default {
 .app-footer {
     @include disFlex(center, space-between);
     position: fixed;
-    left: 0;
-    right: 0;
-    bottom: 0;
     z-index: 9999;
     background-color: #FFFFFF;
-    min-height: 160upx !important;
-    padding: 20upx 0;
-    padding-bottom: calc(24upx + constant(safe-area-inset-bottom));
-    padding-bottom: calc(24upx + env(safe-area-inset-bottom));
+    min-height: 168upx !important;
+    padding: 40upx 0;
+    padding-bottom: calc(2upx + constant(safe-area-inset-bottom)); /* iOS 11.0 */
+    padding-bottom: calc(2upx + env(safe-area-inset-bottom)); /* env(safe-area-inset-bottom) 是 iOS 设备底部安全区域的高度,用于适配刘海屏/全面屏手机,确保内容不被遮挡。在非刘海屏设备上值为0 */
     box-shadow: 0 -2upx 10upx rgba(0, 0, 0, 0.05);
     /* #ifdef MP */
-    bottom: 20upx;  /* 统一在小程序中上移20upx */
+    bottom: 0;
     /* #endif */
 
     .btn-left {

+ 4 - 4
mallApp/src/pages/goods/detail.vue

@@ -402,12 +402,12 @@ export default {
 .app-content {
   height: 100%;
   /* #ifdef MP */
-  padding-bottom: calc(220upx + constant(safe-area-inset-bottom)); /* iOS 11.0 */
-  padding-bottom: calc(220upx + env(safe-area-inset-bottom)); /* iOS 11.2+ */
+  padding-bottom: calc(100upx + constant(safe-area-inset-bottom)); /* iOS 11.0 */
+  padding-bottom: calc(100upx + env(safe-area-inset-bottom)); /* iOS 11.2+ */
   /* #endif */
   /* #ifdef APP-PLUS */
-  padding-bottom: calc(200upx + constant(safe-area-inset-bottom)); /* iOS 11.0 */
-  padding-bottom: calc(200upx + env(safe-area-inset-bottom)); /* iOS 11.2+ */
+  padding-bottom: calc(100upx + constant(safe-area-inset-bottom)); /* iOS 11.0 */
+  padding-bottom: calc(100upx + env(safe-area-inset-bottom)); /* iOS 11.2+ */
   /* #endif */
   box-sizing: border-box;
   // 公共模块