From ef260dff5d38c36272a2ac97d40db70ab3f8c2cc Mon Sep 17 00:00:00 2001 From: BaoXs <bao_dida@163.com> Date: 星期六, 14 五月 2022 16:48:16 +0800 Subject: [PATCH] 添加项目点,点击调整。 整理项目超链接 --- assets/js/indexAI.js | 27 +++++++++++++++++++++++++++ 1 files changed, 27 insertions(+), 0 deletions(-) diff --git a/assets/js/indexAI.js b/assets/js/indexAI.js index 2b4881c..7e22625 100644 --- a/assets/js/indexAI.js +++ b/assets/js/indexAI.js @@ -38,6 +38,33 @@ }); } +function relatedProj() { + layui.use(['element', 'layer', 'form', 'upload', 'tree', 'util'], function () { + var layer = layui.layer; + layer.config({ + extend: 'myskin/style.css' //鍚屾牱闇�瑕佸厛鍔犺浇鏂扮毊鑲� + }); + layer.closeAll();//棣栧厛鍏抽棴鎵�鏈夌殑寮圭獥 + layer.open({ + type: 2, + title: '<i class="iconfont icon-dituliulan i-item" style="font-size: 18px; color: white;"></i> ' + " 鍏宠仈椤圭洰", + maxmin: true, + skin: 'layer-ext-myskin', + shade: 0, + maxmin: false, + scrollbar: false, + shadeClose: true, //鐐瑰嚮閬僵鍏抽棴灞� + area: ['356px', '280px'], + offset: [layerPageStyle.offsetX, layerPageStyle.offsetY], + resize: false, + content: 'project/relatedProject.html', + success: function (layero, index) { + + } + }); + + }); +} //缁樺埗鍥惧舰 function darwPlot() { layui.use(['element', 'layer', 'form', 'upload', 'tree', 'util'], function () { -- Gitblit v1.9.1