From 5fcaa5b9d0f5b84f8a25f3e2e8f27c3885d8710e Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@63.com>
Date: 星期二, 08 十一月 2022 11:54:15 +0800
Subject: [PATCH] #

---
 src/main/webapp/views/cstmr/cstmr_more.html |   38 ++++++++++++++++----------------------
 1 files changed, 16 insertions(+), 22 deletions(-)

diff --git a/src/main/webapp/views/cstmr/cstmr_more.html b/src/main/webapp/views/cstmr/cstmr_more.html
index dcac652..6bc34cf 100644
--- a/src/main/webapp/views/cstmr/cstmr_more.html
+++ b/src/main/webapp/views/cstmr/cstmr_more.html
@@ -22,27 +22,18 @@
         background-color: #fff;
         box-shadow: 0 -1px 2px 0 rgba(0, 0, 0, .05);
     }
-    .cool-divider {
-        float: left;
-        margin: 4px 18px;
-        display: inline-block;
-        height: 32px;
-        width: 1px;
-        vertical-align: middle;
-        position: relative;
-        top: -.06em;
-        box-sizing: border-box;
-        -webkit-tap-highlight-color: transparent;
-        margin-top: 5px !important;
-        margin-bottom: 5px !important;
-        background: #c8d1dabd;
-    }
 
     .card-body-item {
         display: inline-block;
         border-right: 1px solid #e0e0e0;
         width: 250px;
         padding: 0 30px 0 10px;
+    }
+    .header-desc {
+        overflow:hidden;
+        white-space: nowrap;
+        text-overflow: ellipsis;
+        -o-text-overflow:ellipsis;
     }
 
 </style>
@@ -51,7 +42,7 @@
     <div class="layui-fluid" style="padding-bottom: 75px;">
         <!-- 鏍囬 -->
         <div class="layui-card">
-            <div class="layui-card-header">
+            <div class="layui-card-header" style="padding-top: 5px; padding-bottom: 5px">
                 <div>
                     <i class="layui-icon" style="font-size: 20px;color: #1890ff;font-weight: bold">&#xe68e;</i>
                     <span id="form-name" style="margin: 0 6px;font-size: 18px;font-weight: bold;letter-spacing: 1px"></span>
@@ -67,7 +58,7 @@
                     </div>
                 </div>
 
-                <div class="card-body-item">
+                <div class="card-body-item" style="width: 400px">
                     <div class="header-sub">
                         璇︾粏鍦板潃
                     </div>
@@ -183,7 +174,7 @@
                 <div class="layui-card">
                     <div class="layui-card-header">
                         <span>璺熻繘浜�</span>
-                        <span id="follower-add" style="float: right;cursor: pointer;">
+                        <span lay-filter="followerAdd" lay-submit style="float: right;cursor: pointer;">
                             <i class="layui-icon" style="font-size: 20px;color: #1890ff;">&#xe61f;</i>
                         </span>
                     </div>
@@ -254,7 +245,7 @@
                         top.cstmrByMore = null;
                         $("#form-name").html(cstmr.name);
                         if (cstmr.tel) {$("#form-tel").html(cstmr.tel);}
-                        if (cstmr.addr) {$("#form-addr").html(cstmr.addr);}
+                        if (cstmr.addr) {$("#form-addr").html(cstmr.addr);$("#form-addr").attr("title", cstmr.addr);}
                         if (cstmr.director$) {$("#form-director").html(cstmr.director$);}
                         // 璁惧鏄庣粏
                         form.val('formAdvForm', cstmr);
@@ -345,7 +336,7 @@
 
         // 娣诲姞璺熻繘浜�
         var followerLayer;
-        $(document).on('click', "#follower-add", function () {
+        form.on('submit(followerAdd)', function (data) {
             if (followerLayer) {return;}
             followerLayer = admin.open({
                 type: 1,
@@ -417,9 +408,12 @@
                     // 寮圭獥涓嶅嚭鐜版粴鍔ㄦ潯
                     $(layero).children('.layui-layer-content').css('overflow', 'visible');
                     layui.form.render('select');
+                },
+                end: function () {
+                    followerLayer = null;
                 }
             })
-        })
+        });
 
         /* 鐩戝惉琛ㄥ崟鎻愪氦 */
         form.on('submit(refresh)', function (data) {
@@ -427,5 +421,5 @@
             return false;
         });
 
-    });
+    })
 </script>

--
Gitblit v1.9.1