From d7fbde6bbd576a17b16aaad87c8ab23e1ea42d09 Mon Sep 17 00:00:00 2001 From: Junjie <fallin.jie@qq.com> Date: 星期五, 08 九月 2023 14:10:41 +0800 Subject: [PATCH] # --- src/main/webapp/views/home/dashboard.html | 19 ++++++++++++++++++- 1 files changed, 18 insertions(+), 1 deletions(-) diff --git a/src/main/webapp/views/home/dashboard.html b/src/main/webapp/views/home/dashboard.html index f5aeb2f..3cd2869 100644 --- a/src/main/webapp/views/home/dashboard.html +++ b/src/main/webapp/views/home/dashboard.html @@ -129,7 +129,10 @@ <div class="layui-col-xs12 layui-col-md4"> <div class="layui-card" style="height: 403px;overflow: hidden;"> - <div class="layui-card-header">鍏徃鍏憡</div> + <div class="layui-card-header" style="display: flex;justify-content: space-between;"> + <div>鍏徃鍏憡</div> + <div><a href="#" id="openCompanyPost">鏌ョ湅鏇村</a></div> + </div> <div class="layui-card-body" id="companyPostId"> </div> </div> @@ -448,6 +451,20 @@ }); }); + $("#openCompanyPost").on("click", () => { + layer.open({ + type: 2, + title: '鍏憡', + maxmin: true, + area: [top.detailWidth, top.detailHeight], + shadeClose: true, + content: '../companyPost/companyPost_view.html', + success: function(layero, index){ + + } + }); + }); + }); </script> </body> -- Gitblit v1.9.1