yuwenjun1997 преди 2 години
родител
ревизия
af019a3ffd
променени са 1 файла, в които са добавени 13 реда и са изтрити 0 реда
  1. 13 0
      src/main/resources/static/js/shopping/confirm.js

+ 13 - 0
src/main/resources/static/js/shopping/confirm.js

@@ -164,6 +164,19 @@ var shoppingConfirm = new Vue({
             }
         }
     },
+    watch:{
+        returnGoodsStutas(nval){
+            this.$nextTick(function(){
+                // 底部导航栏高度不一致问题
+                var height = $('#shoppingConfirm .summaryWrap').height() + 'px'
+                if(isPC){
+                    $('#shoppingConfirm .summary-wrapper').css('height', height)
+                }else{
+                    $('#shoppingConfirm .wrap').css('padding-bottom', height)
+                }
+            })
+        }
+    },
     methods: {
         handleCheckboxChange: function(){
             console.log(this.agreementActive)