| | |
| | | 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; |
| | |
| | | <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;"></i> |
| | | </span> |
| | | </div> |
| | |
| | | |
| | | // 添加跟进人 |
| | | var followerLayer; |
| | | $(document).on('click', "#follower-add", function () { |
| | | form.on('submit(followerAdd)', function (data) { |
| | | if (followerLayer) {return;} |
| | | followerLayer = admin.open({ |
| | | type: 1, |
| | |
| | | followerLayer = null; |
| | | } |
| | | }) |
| | | }) |
| | | }); |
| | | |
| | | /* 监听表单提交 */ |
| | | form.on('submit(refresh)', function (data) { |
| | |
| | | return false; |
| | | }); |
| | | |
| | | }); |
| | | }) |
| | | </script> |