修改细节

master
tangyi 2021-09-18 17:46:18 +08:00
parent 7c240a4d61
commit 737819b5a4
6 changed files with 67 additions and 152 deletions

View File

@ -1162,6 +1162,7 @@ select {
box-sizing: border-box;
border-radius: 3px;
border: 2px solid rgb(174, 174, 174);
cursor: pointer;
margin: auto;
}
@ -1171,6 +1172,7 @@ select {
box-sizing: border-box;
border-radius: 3px;
border: 2px solid rgb(174, 174, 174);
cursor: pointer;
margin: auto;
}

View File

@ -10,10 +10,29 @@
<link rel="stylesheet" href="../../css/aboutUs.css">
<script src="../../js/jquery-1.9.1.js" type="text/javascript" charset="utf-8"></script>
<script src="../../js/swiper-bundle.min.js" type="text/javascript" charset="utf-8"></script>
<style>
.foot-iframe {
width: 100%;
height: 400px;
}
.ty_topifrane {
width: 100%;
height: 285px;
}
.ty_moban{
width: 100%;
box-shadow: 0px 3px 4px rgb(0 0 0 / 6%);
padding-bottom: 7px;
position: relative;
height: 2px;
z-index: 2;
}
</style>
</head>
<body>
<iframe src="../../public/center-head.html" class="ty_topifrane" frameborder="0" scrolling="no"></iframe>
<P class="ty_moban"></P>
<div class="ty_her ty_pd">
关于我们
</div>
@ -98,7 +117,7 @@
</div>
</div>
<iframe src="../../public/foot-tab.html" class="foot-iframe" frameborder="0" scrolling="no" marginwidth='0' marginheight='0'></iframe>
</body>

View File

@ -31,6 +31,7 @@
height: auto;
padding-bottom: 30px;
}
.ty_riscon{margin-top: 15px;padding-left: 40px;}
.ty_name > :nth-child(1),.ty_int > :nth-child(1),.ty_setle > :nth-child(1),.ty_img > :nth-child(1){margin-right: 10px;}
.ty_btn {width: 100%;margin-top: 20px;}

View File

@ -24,6 +24,22 @@
margin: 0;
font-family: "微软雅黑";
}
.foot-iframe {
width: 100%;
height: 400px;
}
.ty_topifrane {
width: 100%;
height: 285px;
}
.ty_moban{
width: 100%;
box-shadow: 0px 3px 6px rgb(0 0 0 / 6%);
padding-bottom: 7px;
position: relative;
height: 2px;
z-index: 2;
}
</style>
</head>
@ -33,6 +49,8 @@
<body>
<iframe src="../../public/center-head.html" class="ty_topifrane" frameborder="0" scrolling="no"></iframe>
<p class="ty_moban"></p>
<div class="ty_her ty_pd">
联系我们
</div>
@ -65,6 +83,7 @@
</div>
<div id="allmap"></div>
</div>
<iframe src="../../public/foot-tab.html" class="foot-iframe" frameborder="0" scrolling="no" marginwidth='0' marginheight='0'></iframe>
</body>
<script type="text/javascript">
// 百度地图API功能

View File

@ -78,7 +78,7 @@
</div>
<div class="ty_grint">
<form class="ty_grint">
<div class="ty_name">
<p>用户名:</p>
@ -113,7 +113,7 @@
<button>提交</button>
</div>
</div>
</form>
</div>
@ -124,7 +124,7 @@
<div style="display:none" data-in="2" class="ty_ris ">
<p class="ty_tit">修改密码</p>
<div class="ty_riscon ty_riscon1">
<form class="ty_riscon ty_riscon1">
@ -132,25 +132,22 @@
<div class="ty_int ty_password ty_wic">
<p>原密码:</p>
<input type="text">
<input type="password">
</div>
<div class="ty_int ty_password ty_wic">
<p>新密码:</p>
<input type="text">
<input type="password">
</div>
<div class="ty_int ty_password ty_wic">
<p>确认新密码:</p>
<input type="text">
<input type="password">
</div>
<div class="ty_btn ty_btn1">
<button>确认修改</button>
</div>
</div>
</div>
</form>
</div>

View File

@ -7,7 +7,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>个人中心</title>
<link rel="stylesheet" href="../../css/institutions/institutions.css">
<script src="../../js/jquery-1.9.1.js"></script>
<script src="../../js/jquery-1.9.1.js" type="text/javascript" charset="utf-8"></script>
<script src="https://unpkg.com/wangeditor/dist/wangEditor.min.js"></script>
<script src="https://unpkg.com/i18next/dist/umd/i18next.js"></script>
@ -16,6 +16,10 @@
width: 100%;
height: 400px;
}
.ty_topifrane {
width: 100%;
height: 300px;
}
</style>
</head>
@ -52,9 +56,7 @@
<li onclick="tyList(8)" class="ty_leftcon ty_litittwo">
<img src="../../img/grzx/icon_8.png" title="征稿作品管理+" alt="图片已缺失"> <img src="../../img/grzx/iocn (8).png" title="征稿作品管理+" alt="图片已缺失"> <span>机构成员</span>
</li>
</ul>
<!-- 机构资料 -->
<div style="display:block" data-in="1" class="ty_ris ">
<p class="ty_tit">机构资料</p>
@ -73,7 +75,7 @@
</div>
<div class="ty_jgintcor">
<form class="ty_jgintcor">
<div class="ty_name">
<p>用户名:</p>
@ -111,23 +113,17 @@
<option value="">锦江区</option>
</select>
</div>
<div>
</div>
<div class="ty_int">
<p></p>
<input class="tyint_pal" placeholder="请输入详情地址" type="text">
</div>
<div class="ty_img">
<label for="inputImg" class="font-16 col19">照片:</label>
<div class="pr chooseImg-box" style="position: relative;">
<div style="display: flex;">
<input class="ty_intfile inputImg" type="file" accept="image/gif,image/jpg,image/png" name="" value="" />
<img class="upImg pa" title="照片" src="../../img/jgzx/tyimg.png">
</div>
</div>
@ -160,23 +156,16 @@
<button>提交</button>
</div>
</div>
</form>
</div>
</div>
<!-- 修改密码 -->
<div style="display:none" data-in="2" class="ty_ris ">
<p class="ty_tit">密码修改</p>
<div class="ty_riscon ty_riscon1">
<form class="ty_riscon ty_riscon1">
<div>
<div class="ty_int ty_password ty_wic">
<p>原密码:</p>
<input type="text">
@ -189,24 +178,18 @@
<p>确认新密码:</p>
<input type="password">
</div>
<div class="ty_btn ty_btn1">
<button>确认修改</button>
</div>
</div>
</div>
</form>
</div>
<!-- 添加新闻 -->
<div style="display:none;" data-in="20" class="ty_ris ">
<p class="ty_tit">添加内容</p>
<div class="ty_riscon ty_jgzl" style="margin-top: 10px;">
<div>
<form>
<div class="ty_int">
<p>标题:</p>
<input type="text">
@ -256,29 +239,21 @@
<div class="ty_btn">
<button>立即提交</button>
</div>
</div>
</form>
</div>
</div>
<!-- 新闻公告 -->
<div style="display:none" data-in="3" class="ty_ris">
<div class="ty_tit ty_dis">
<p>新闻公告</p>
<div>
<button onclick="tyList(20,false)" class="ty_btnzlb">+添加内容</button><button class="ty_btnzlp">批量删除</button></button>
</div>
</div>
<div class="ty_con" style=" padding: 25px 24px 20px;">
<table class="ty_xwtable" cellspacing=0>
<thead>
<tr class="ty_zgtit ty_xwgg">
<th>
<p class="ty_selectAll"></p>
</th>
@ -289,7 +264,6 @@
<th>操作</th>
</tr>
</thead>
<tbody>
<tr class="ty_zgcon ty_xwggcon">
<td>
@ -303,7 +277,6 @@
<td style="margin-top: 5px;" class="ty_zgzti">2019-12-20</td>
<td style="margin-top: 5px;" class="ty_zgzti">正常</td>
<td>
<input class="ty_button" type="text">
<input class="ty_button" type="text">
<button onclick="tyList(16,false)" class="ty_bj">编辑</button>
@ -313,24 +286,13 @@
</tr>
</tbody>
</table>
<!-- 征稿 -->
</div>
</div>
<!-- 艺术品 -->
<div style="display:none" data-in="5" class="ty_ris">
<div class="ty_tit ty_dis">
<p>艺术品</p>
<div>
<button onclick="tyList(15,false)" class="ty_btnzlb">+添加内容</button><button class="ty_btnzlp">批量删除</button></button>
</div>
</div>
@ -378,7 +340,7 @@
</div>
@ -480,13 +442,9 @@
</div>
</div>
<div class="ty_con" style=" padding: 25px 24px 20px;">
<table class="ty_xwtable" cellspacing=0>
<thead>
<tr class="ty_zltit">
<th>
<p class="ty_selectAll"></p>
</th>
@ -499,7 +457,6 @@
<th>操作</th>
</tr>
</thead>
<tbody>
<tr class="ty_zlcon">
<td>
@ -601,7 +558,7 @@
</table>
@ -620,14 +577,11 @@
<option value="">审核状态</option>
</select>
<label for="">
<input placeholder="关键字搜索" type="text">
<span>
<img title="搜索" src="../../img/grzx/fdj.png" alt="图片缺失">
</span>
</label>
<button onclick="tyList(21,false)" class="ty_btnzlb">添加作品</button><button class="ty_btnzlp">批量删除</button></button>
</div>
</div>
@ -650,7 +604,6 @@
<th>操作</th>
</tr>
</thead>
<tbody>
<tr class="ty_zlcon ty_zlmanagement">
<td class="ty_pind">
@ -676,21 +629,9 @@
</td>
</tr>
</tbody>
</table>
</div>
</div>
<!-- 添加展览 -->
<div style="display:none;" data-in="21" class="ty_ris ">
@ -736,12 +677,9 @@
<div class="ty_radio">
<p>是否开启投票:</p>
<div class="choose">
<label class="radio"><input type="radio" name="radio" value="1" checked="checked"><i></i></label>
<label class="radio"><input type="radio" value="2" name="radio"><i></i></label>
</div>
</div>
<div class="ty_img">
<label for="inputImg" class="font-16 col19">封面图:</label>
@ -827,10 +765,7 @@
<label class="radio"><input type="radio" value="2" name="radio">未通过<i></i></label>
</div>
</div>
<div class="ty_img">
<label for="inputImg" class="font-16 col19">查看作品:</label>
<div class="pr chooseImg-box" style="position: relative;">
@ -848,8 +783,6 @@
</div>
</form>
</div>
<!-- 书刊杂志 -->
<div style="display:none" data-in="6" class="ty_ris">
@ -861,13 +794,9 @@
</div>
</div>
<div class="ty_con" style=" padding: 25px 24px 20px;">
<table class="ty_xwtable" cellspacing=0>
<thead>
<tr class="ty_zgtit ty_xwgg">
<th>
<p class="ty_selectAll"></p>
</th>
@ -959,17 +888,7 @@
</tr>
</tbody>
</table>
</div>
</div>
<!-- 书刊杂志上传 -->
<div style="display:none;" data-in="14" class="ty_ris ">
@ -1119,7 +1038,7 @@
</div>
@ -1248,7 +1167,7 @@
</div>
@ -1266,8 +1185,6 @@
<p>姓名:</p>
<input type="text">
</div>
<div class="ty_int">
<p>擅长:</p>
<input type="text">
@ -1276,19 +1193,16 @@
<p>链接:</p>
<input type="text">
</div>
<div class="ty_img">
<label for="inputImg" class="font-16 col19">照片:</label>
<div class="pr chooseImg-box" style="position: relative;">
<div style="display: flex;">
<input class="ty_intfile inputImg" type="file" accept="image/gif,image/jpg,image/png" name="" value="" />
<img class="upImg pa" title="照片" alt="图片缺失" src="../../img/jgzx/images/xwfm_03.png">
</div>
</div>
<div class="chooseImg-content">上传图片格式包括jpg/png/gif图片大小不超过20MB</div>
</div>
<div class="ty_img" style="margin-top: 20px;">
<p>介绍:</p>
<div>
@ -1322,29 +1236,18 @@
</div>
</div>
</div>
<iframe src="../../public/foot-tab.html" class="foot-iframe" frameborder="0" scrolling="no"></iframe>
<script src="../../js/jquery-1.9.1.js"></script>
<!-- <script src="../../js/layui.js"></script> -->
<script>
$(function () {
$(".radio").find('input').click(function () {
$(this).parent('label').siblings('label').find('input').removeAttr('checked') && $(this).attr('checked', 'checked');
})
})
$(".ty_sc").on("click", () => {
if ($(event.target).attr("data-in") == 1) {
$($(".ty_sccon")[1]).css("display", "none")
$($(".ty_sccon")[0]).css("display", "flex")
$($(".ty_sc")[0]).addClass("ty_yhd");
@ -1355,9 +1258,7 @@
$($(".ty_sc")[1]).addClass("ty_yhd");
$($(".ty_sc")[0]).removeClass("ty_yhd");
}
})
function tyList(data, navIf = true) {
if (navIf) {
$(".ty_lititnoe").addClass("ty_litittwo");
@ -1365,43 +1266,22 @@
$($(".ty_leftcon")[data - 1]).addClass("ty_lititnoe");
$($(".ty_leftcon")[data - 1]).removeClass("ty_litittwo");
}
$(".ty_ris").css("display", "none")
for (let index = 0; index < $(".ty_ris").length; index++) {
if ($($(".ty_ris")[index]).attr("data-in") == data) {
$($(".ty_ris")[index]).css("display", "block")
$([index]).css("display", "block")
}
}
}
// 菜单事件
$(".naliu").on("click", () => {
$(".ty_left").css("left", "5%")
})
$(".ty_caidan").on("click", () => {
$(".ty_left").css("left", "-65PX")
})
// 新闻公告选择点击
$(".ty_selected").on("click", () => {
if ($(event.target).css("backgroundColor") != "rgb(0, 0, 0)") {
@ -1411,7 +1291,6 @@
$(event.target).css("backgroundColor", "#fff")
}
})
let selectAllIf = true
@ -1421,15 +1300,13 @@
if (selectAllIf) {
selectAllIf = !selectAllIf
$(e.target).parent().parent().parent().next().find(".ty_selected").css("backgroundColor", "#000")
$(e.target).parent().parent().parent().next().find(".ty_selected").css("backgroundColor", "#000")
$(e.target).css("backgroundColor", "#000")
} else {
$(e.target).parent().parent().parent().next().find(".ty_selected").css("backgroundColor", "#fff")
$(e.target).css("backgroundColor", "#fff")
selectAllIf = !selectAllIf
}
})
</script>