Hi,欢迎来到农村产权交易中心
+返回主站
+
左云县农村产权交易网
+ +

Sherry
+ +友情链接
+ + ++ 鲁公网安备12011502000077号京ICP备 17061038号-1 +
++ 左云县农村产权交易网联系地址:北京紫竹书院技术基地联系电话:400-060-123 +
+
关注公众号 了解详情
+diff --git a/static/js/project/index.js b/static/js/project/index.js index 482958f..8b91c5b 100644 --- a/static/js/project/index.js +++ b/static/js/project/index.js @@ -137,13 +137,15 @@ define(['jquery', "template", "Tools", "echarts", 'swiper'], function ($, templa //查询挂牌项目浏览总次数 tools.doGet(announcementList + '/0/4', {}, module.announcementList); - //查询挂牌项目浏览总次数 tools.doGet(biddingHallList + '/0/10', {}, module.biddingHallList); //竞价大厅-滚动 module.hallRolling(); + //用户资料鼠标悬浮 + module.userHover(); + // 柱状图绘制 var chartDom = document.getElementById('chart'); var myChart = echarts.init(chartDom); @@ -173,6 +175,7 @@ define(['jquery', "template", "Tools", "echarts", 'swiper'], function ($, templa } } + //新闻资讯数据 module.NewsInformation = function (data) { if (data.code == 200) { @@ -371,5 +374,20 @@ define(['jquery', "template", "Tools", "echarts", 'swiper'], function ($, templa document.getElementById(type).style.display = 'inline-table'; } + //用户资料鼠标悬浮 + module.userHover = function () { + document.getElementById('userName').onmouseover = function(){ + document.getElementById('headHover').style.display = 'block'; + }; + document.getElementById('headHover').onmouseover = function(){ + document.getElementById('headHover').style.display = 'block'; + }; + document.getElementById('userName').onmouseout = function(){ + document.getElementById('headHover').style.display = 'none'; + }; + document.getElementById('headHover').onmouseout = function(){ + document.getElementById('headHover').style.display = 'none'; + }; + } return module; }); \ No newline at end of file diff --git a/static/js/project/user/index.js b/static/js/project/user/index.js new file mode 100644 index 0000000..db31379 --- /dev/null +++ b/static/js/project/user/index.js @@ -0,0 +1,36 @@ +/** + * Created by Administrator on 2021/4/5. + */ +define(['jquery', "template", "Tools", "echarts", 'swiper'], function ($, template, Tools, echarts, swiper) { + //数据存储 + var module = { + data: { + + }, + }; + var tools = new Tools(); + + module.init = function (page) { + + //用户资料鼠标悬浮 + module.userHover(); + + }; + + //用户资料鼠标悬浮 + module.userHover = function () { + document.getElementById('userName').onmouseover = function(){ + document.getElementById('headHover').style.display = 'block'; + }; + document.getElementById('headHover').onmouseover = function(){ + document.getElementById('headHover').style.display = 'block'; + }; + document.getElementById('userName').onmouseout = function(){ + document.getElementById('headHover').style.display = 'none'; + }; + document.getElementById('headHover').onmouseout = function(){ + document.getElementById('headHover').style.display = 'none'; + }; + } + return module; +}); \ No newline at end of file diff --git a/view/user/user.html b/view/user/user.html new file mode 100644 index 0000000..6ceac4b --- /dev/null +++ b/view/user/user.html @@ -0,0 +1,141 @@ + + + +
+ +Hi,欢迎来到农村产权交易中心
+返回主站
+Sherry
+ +友情链接
+ + ++ 鲁公网安备12011502000077号京ICP备 17061038号-1 +
++ 左云县农村产权交易网联系地址:北京紫竹书院技术基地联系电话:400-060-123 +
+关注公众号 了解详情
+