From 9d612f21964edab05b0985ba72add51c9c69095d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BA=9E=E4=B8=9C=E6=97=AD?= <850374051@qq.com> Date: Tue, 25 Jan 2022 08:47:00 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=9E=8B=E7=BB=8F=E8=90=A5=E4=B8=BB?= =?UTF-8?q?=E4=BD=93=E9=A1=B5=E9=9D=A2=E6=94=B9=E5=8A=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- newBusinessEntities/index.html | 2 +- newBusinessEntities/static/css/supply.css | 5 - .../static/js/project/record/index.js | 78 + .../view/record/information.html | 1597 +++++++++-------- .../view/record/projectList.html | 21 +- .../view/record/supplyList.html | 38 +- .../view/record/updatePassword.html | 161 ++ 7 files changed, 1148 insertions(+), 754 deletions(-) create mode 100644 newBusinessEntities/static/js/project/record/index.js create mode 100644 newBusinessEntities/view/record/updatePassword.html diff --git a/newBusinessEntities/index.html b/newBusinessEntities/index.html index ac9c64d..846b9cf 100644 --- a/newBusinessEntities/index.html +++ b/newBusinessEntities/index.html @@ -38,7 +38,7 @@ 发布 - +
diff --git a/newBusinessEntities/static/css/supply.css b/newBusinessEntities/static/css/supply.css index 77338ef..2bf766c 100644 --- a/newBusinessEntities/static/css/supply.css +++ b/newBusinessEntities/static/css/supply.css @@ -42,11 +42,6 @@ input[type = 'radio']{ padding: 15px 0px; line-height: 1; } -.recommendTit p{ - display: inline-block; - font-size: 14px; - line-height: 20px; -} .lvd{ width: 12px; height: 12px; diff --git a/newBusinessEntities/static/js/project/record/index.js b/newBusinessEntities/static/js/project/record/index.js new file mode 100644 index 0000000..3142920 --- /dev/null +++ b/newBusinessEntities/static/js/project/record/index.js @@ -0,0 +1,78 @@ +/** + * 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) { + var tabs = $('.tab').find('li'); + var tabsSecond = $('.tabSecond').find('li'); + var assets = $('.assets_table').find('a'); + var informationBox = $("#information_box > div"); + tabs.on('click', function (e) { + + e.preventDefault();//防止打开链接 + + var index = $(this).data('index'); + + $('.tabSecond').css("display",'none'); + + if(index == 1 || index == 10){ + $('.tabSecond').css("display",'block'); + } + + tabs.removeClass('active'); + + tabsSecond.removeClass('active'); + + informationBox.css("display",'none'); + + $(this).addClass('active'); + + $('#'+index).css("display",'block') + + $($(".tabSecond").children("li").get(0)).addClass('active'); + }); + + tabsSecond.on('click', function (e) { + + e.preventDefault();//防止打开链接 + + var index = $(this).data('index'); + + console.log(index) + + tabsSecond.removeClass('active'); + + informationBox.css("display",'none'); + + $(this).addClass('active'); + + $('#'+index).css("display",'block') + + }); + + assets.on('click', function (e) { + + e.preventDefault();//防止打开链接 + + var index = $(this).data('index'); + + console.log(index) + + informationBox.css("display",'none'); + + $('#'+index).css("display",'block') + + }); + }; + + + return module; +}); \ No newline at end of file diff --git a/newBusinessEntities/view/record/information.html b/newBusinessEntities/view/record/information.html index 31f4159..2dd255f 100644 --- a/newBusinessEntities/view/record/information.html +++ b/newBusinessEntities/view/record/information.html @@ -65,7 +65,7 @@ .assets_table tr:first-child td{ background: #f5f5f5; } - .box_table tr td,.recommendTit select{ + select{ border: none; } input[type='radio']{ @@ -93,6 +93,11 @@ float: right; margin-left: 10px; } + .recommendTit p{ + display: inline-block; + font-size: 14px; + line-height: 20px; + } @@ -128,14 +133,13 @@

首页 > 我的 > 身份信息

-

信息设置

身份信息
记录查看
我的项目
-
密码修改
+
密码修改
@@ -166,647 +170,619 @@
-
+
- - - - - - - - - - - -