Browse Source

Merge branch 'dev/v4.8.33_yf' of qmx/jy into release/v4.8.33

yangfeng 2 năm trước cách đây
mục cha
commit
5562b58d66

+ 10 - 8
src/web/staticres/common-module/pc-dialog/css/leave-info-dialog.css

@@ -87,22 +87,22 @@
   left: 50%;
   top: 50%;
   width: 752px;
-  max-height: 680px;
-  margin: 34px auto 0;
-  background: #fff;
+  /* max-height: 680px; */
+  margin: -30px auto 0;
+  background: transparent;
   border-radius: 8px;
-  transform: translate(-50%,-45%);
+  transform: translate(-50%,-50%);
   z-index: 1000;
   box-sizing: border-box;
   /* overflow-y: auto; */
 }
-@media screen and (min-width: 800px) and (max-width: 1366px) {
+/* @media screen and (min-width: 800px) and (max-width: 1366px) {
   #collectUserInfoDialog .dialog-container {
     top: 65%;
   }
-}
+} */
 #collectUserInfoDialog .dialog-header{
-  margin-top: -114px;
+  /* margin-top: -114px; */
   height: 250px;
   color: #1D1D1D;
   font-size: 18px;
@@ -114,8 +114,10 @@
   background-size: 100% 250px;
 }
 #collectUserInfoDialog .dialog-content{
-  /* margin-top: 20px; */
+  margin-top: -1px;
   padding: 0 32px 32px;
+  border-radius: 0 0 8px 8px;
+  background-color: #fff;
 }
 #collectUserInfoDialog .form-title{
   font-size: 14px;

+ 11 - 11
src/web/staticres/common-module/pc-dialog/js/leave-info-dialog.js

@@ -389,7 +389,7 @@ var vm = new Vue({
         }
       }
     })
-    $(window).on('resize', this.changeTop)
+    // $(window).on('resize', this.changeTop)
   },
   beforeDestroy() {
     $(document).off('click')
@@ -419,15 +419,15 @@ var vm = new Vue({
         }
       }
     },
-    changeTop: function () {
-      this.$nextTick(function () {
-        var dialogDom = $('#collectUserInfoDialog .dialog-container')
-        var diffHeight = window.innerHeight - dialogDom.height() - 240
-        if (diffHeight < 0) {
-          dialogDom.css('margin-top', diffHeight.toString() + 'px')
-        }
-      })
-    },
+    // changeTop: function () {
+    //   this.$nextTick(function () {
+    //     var dialogDom = $('#collectUserInfoDialog .dialog-container')
+    //     var diffHeight = window.innerHeight - dialogDom.height() - 240
+    //     if (diffHeight < 0) {
+    //       dialogDom.css('margin-top', diffHeight.toString() + 'px')
+    //     }
+    //   })
+    // },
     nameFocus:function(){
       this.$refs['ruleForm'].clearValidate(['name']);
     },
@@ -546,7 +546,7 @@ var vm = new Vue({
               _this.showForm = true
             // 当前头部背景图
               _this.isSelfHeader()
-              _this.changeTop()
+              // _this.changeTop()
               if (res.info) {
                 echoRequiredValues(_this.form, res.info, ['name', 'phone', 'mail', 'branch'])
                 // 原有赋值回显逻辑

+ 1 - 3
src/web/staticres/dataSmt/css/index.css

@@ -183,9 +183,7 @@ a:focus{
   width: 688px;
   height: 354px;
   padding: 32px 40px;
-  background: linear-gradient(to left, #3CADF9, #10BDE3, #276EF3), url(/dataSmt/images/supermarket-left-bg.png) no-repeat;
-  background-position: right center;
-  background-blend-mode: color-burn;
+  background: url(/dataSmt/images/supermarket-left-bg.png) no-repeat center center;
   background-size: 100% 100%;
   border-radius: 16px;
 }