|
@@ -29,6 +29,8 @@
|
|
|
width: 100%;
|
|
|
height: 100%;
|
|
|
background-color: #FFFFFF;
|
|
|
+ background: url(/fzzd/public/img/bg.png) bottom center no-repeat;
|
|
|
+ background-size: cover;
|
|
|
}
|
|
|
|
|
|
.box .back {
|
|
@@ -39,47 +41,45 @@
|
|
|
background-color: #000000;
|
|
|
}
|
|
|
|
|
|
- .back_list {
|
|
|
+ .crumbs {
|
|
|
position: absolute;
|
|
|
- top: 5%;
|
|
|
- right: 5%;
|
|
|
- width: 15%;
|
|
|
- z-index: 9999;
|
|
|
+ top: 3%;
|
|
|
+ left: 2%;
|
|
|
display: flex;
|
|
|
align-items: center;
|
|
|
- justify-content: flex-end;
|
|
|
- }
|
|
|
-
|
|
|
- .back_list > div {
|
|
|
font-size: 18px;
|
|
|
- width: 50%;
|
|
|
- text-align: center;
|
|
|
- border-radius: 5px;
|
|
|
- padding: 5% 0;
|
|
|
+ width: 80%;
|
|
|
+ z-index: 100;
|
|
|
}
|
|
|
|
|
|
- .back_list .back {
|
|
|
- color: #FFFFFF;
|
|
|
- background-color: #ff0000;
|
|
|
+ .crumbs>span {
|
|
|
+ margin: 0 0.5%;
|
|
|
}
|
|
|
|
|
|
- .back_list .wj_list {
|
|
|
- margin-left: 1%;
|
|
|
- color: #297CC2;
|
|
|
- background-color: #D5E8F6;
|
|
|
+ .crumbs .cur {
|
|
|
+ color: #8BBBDF;
|
|
|
}
|
|
|
|
|
|
- .file_list {
|
|
|
+ .box-wj {
|
|
|
position: absolute;
|
|
|
top: 50%;
|
|
|
left: 50%;
|
|
|
transform: translate(-50%, -50%);
|
|
|
+ width: 90%;
|
|
|
+ height: 70%;
|
|
|
+ box-shadow: 0px 1px 9px 0px rgba(0, 0, 0, 0.13);
|
|
|
+ border-radius: 16px;
|
|
|
+ overflow: hidden;
|
|
|
+ }
|
|
|
+
|
|
|
+ .file_list {
|
|
|
z-index: 1000;
|
|
|
display: flex;
|
|
|
align-content: baseline;
|
|
|
flex-wrap: wrap;
|
|
|
- width: 70%;
|
|
|
- height: 60%;
|
|
|
+ width: 100%;
|
|
|
+ height: 87%;
|
|
|
+ overflow-y: scroll;
|
|
|
border-radius: 5px;
|
|
|
background-color: #FFFFFF;
|
|
|
}
|
|
@@ -93,7 +93,7 @@
|
|
|
margin-top: 1%;
|
|
|
}
|
|
|
|
|
|
- .file_item > img {
|
|
|
+ .file_item>img {
|
|
|
width: 50%;
|
|
|
}
|
|
|
|
|
@@ -105,23 +105,25 @@
|
|
|
display: -webkit-box;
|
|
|
-webkit-line-clamp: 2;
|
|
|
-webkit-box-orient: vertical;
|
|
|
- font-size: 12px;
|
|
|
+ font-size: 14px;
|
|
|
}
|
|
|
|
|
|
.show {
|
|
|
- display: flex;
|
|
|
- justify-content: flex-end;
|
|
|
+ display: none;
|
|
|
+ justify-content: center;
|
|
|
width: 100%;
|
|
|
height: 100%;
|
|
|
overflow: auto;
|
|
|
background-color: #FFFFFF;
|
|
|
+ background: url(/fzzd/public/img/bg.png) bottom center no-repeat;
|
|
|
+ background-size: cover;
|
|
|
}
|
|
|
|
|
|
.show::-webkit-scrollbar {
|
|
|
width: 0;
|
|
|
}
|
|
|
|
|
|
- .show > img {
|
|
|
+ .show>img {
|
|
|
position: relative;
|
|
|
top: 50%;
|
|
|
transform: translateY(-50%);
|
|
@@ -130,7 +132,7 @@
|
|
|
margin-right: 2%;
|
|
|
}
|
|
|
|
|
|
- .show > video {
|
|
|
+ .show>video {
|
|
|
position: relative;
|
|
|
top: 50%;
|
|
|
transform: translateY(-50%);
|
|
@@ -146,97 +148,97 @@
|
|
|
}
|
|
|
|
|
|
.file_ass {
|
|
|
- position: absolute;
|
|
|
- top: 0;
|
|
|
- left: -15%;
|
|
|
- width: 15%;
|
|
|
- height: 100%;
|
|
|
- overflow: auto;
|
|
|
- z-index: 30;
|
|
|
- transition: all 0.5s linear;
|
|
|
- background-color: #FFFFFF;
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ width: 100%;
|
|
|
+ height: 13%;
|
|
|
+ background-color: #8EB9E1;
|
|
|
}
|
|
|
|
|
|
.file_ass::-webkit-scrollbar {
|
|
|
width: 0;
|
|
|
}
|
|
|
|
|
|
- .file_ass .title_ass {
|
|
|
- width: 100%;
|
|
|
- height: 40px;
|
|
|
- line-height: 40px;
|
|
|
- text-align: center;
|
|
|
- font-weight: 550;
|
|
|
- color: #333;
|
|
|
- font-size: 18px;
|
|
|
- border-bottom: 1px solid #ccc;
|
|
|
- }
|
|
|
-
|
|
|
.file_ass .ass_item {
|
|
|
display: flex;
|
|
|
align-items: center;
|
|
|
justify-content: center;
|
|
|
- width: 100%;
|
|
|
- height: 10%;
|
|
|
+ width: 20%;
|
|
|
+ height: 100%;
|
|
|
overflow: hidden;
|
|
|
text-overflow: ellipsis;
|
|
|
white-space: nowrap;
|
|
|
- border-bottom: 1px solid rgba(147, 147, 147, 0.4);
|
|
|
+ color: #FFFFFF;
|
|
|
+ font-size: 20px;
|
|
|
}
|
|
|
|
|
|
.ass_active {
|
|
|
- color: #2D8FCE;
|
|
|
- background-color: #C0DAED;
|
|
|
+ color: #FFFFFF;
|
|
|
+ background-color: #1F7ABF;
|
|
|
}
|
|
|
|
|
|
- .ass_shrink {
|
|
|
- display: flex;
|
|
|
- align-items: center;
|
|
|
- justify-content: center;
|
|
|
- position: absolute;
|
|
|
- left: 0%;
|
|
|
- top: 1%;
|
|
|
- z-index: 30;
|
|
|
- width: 3%;
|
|
|
- height: 40px;
|
|
|
- border-radius: 5px;
|
|
|
- transition: all 0.5s linear;
|
|
|
- background-color: rgba(4, 108, 183, 0.25);
|
|
|
+ .back-ztzs {
|
|
|
+ position: fixed;
|
|
|
+ top: 4%;
|
|
|
+ right: 2%;
|
|
|
+ width: 4%;
|
|
|
+ padding: 0.5%;
|
|
|
+ border-radius: 10px;
|
|
|
+ background-color: #1F7ABF;
|
|
|
+ z-index: 100;
|
|
|
}
|
|
|
|
|
|
- .ass_shrink > img {
|
|
|
- width: 60%;
|
|
|
+ .back-ztzs>img {
|
|
|
+ width: 100%;
|
|
|
}
|
|
|
+
|
|
|
</style>
|
|
|
</head>
|
|
|
|
|
|
<body>
|
|
|
-<ul class="file_ass" style="left: 0;">
|
|
|
- <div class="title_ass">文件分类</div>
|
|
|
- <#if data.subColumnInfo?size gt 0>
|
|
|
- <#list data.subColumnInfo as column>
|
|
|
- <#if column_index == 0>
|
|
|
- <li class="ass_item" id="firstShow" data-iden="${column.rootPath}">${column.name}</li>
|
|
|
- <#else>
|
|
|
- <li class="ass_item" data-iden="${column.rootPath}">${column.name}</li>
|
|
|
- </#if>
|
|
|
- </#list>
|
|
|
- </#if>
|
|
|
-</ul>
|
|
|
+<#--<ul class="file_ass" style="left: 0;">-->
|
|
|
+<#-- <div class="title_ass">文件分类</div>-->
|
|
|
+<#-- <#if data.subColumnInfo?size gt 0>-->
|
|
|
+<#-- <#list data.subColumnInfo as column>-->
|
|
|
+<#-- <#if column_index == 0>-->
|
|
|
+<#-- <li class="ass_item" id="firstShow" data-iden="${column.rootPath}">${column.name}</li>-->
|
|
|
+<#-- <#else>-->
|
|
|
+<#-- <li class="ass_item" data-iden="${column.rootPath}">${column.name}</li>-->
|
|
|
+<#-- </#if>-->
|
|
|
+<#-- </#list>-->
|
|
|
+<#-- </#if>-->
|
|
|
+<#--</ul>-->
|
|
|
<!-- 收缩文件分类 -->
|
|
|
<div class="ass_shrink" style="display: none;">
|
|
|
<img src="/${data.websiteInfo.rootPath }/public/img/bottom.png" style="transform: rotate(90deg);"/>
|
|
|
</div>
|
|
|
<!-- 返回和文件列表 -->
|
|
|
-<div class="back_list">
|
|
|
- <div class="wj_list" style="display: none;">文件列表</div>
|
|
|
- <div class="back">返回</div>
|
|
|
+<div class="crumbs">
|
|
|
+ <div class="back_wjts">互动功能</div>
|
|
|
+ <span>></span>
|
|
|
+ <div class="cur">文件浏览</div>
|
|
|
</div>
|
|
|
<!-- 文件列表 -->
|
|
|
-<div class=" ">
|
|
|
- <ul class="file_list">
|
|
|
+<div class="box">
|
|
|
+ <div class="box-wj">
|
|
|
+ <ul class="file_ass" style="left: 0;">
|
|
|
+ <#if data.subColumnInfo?size gt 0>
|
|
|
+ <#list data.subColumnInfo as column>
|
|
|
+ <#if column_index == 0>
|
|
|
+ <li class="ass_item" id="firstShow" data-iden="${column.rootPath}">${column.name}</li>
|
|
|
+ <#else>
|
|
|
+ <li class="ass_item" data-iden="${column.rootPath}">${column.name}</li>
|
|
|
+ </#if>
|
|
|
+ </#list>
|
|
|
+ </#if>
|
|
|
+ </ul>
|
|
|
+ <ul class="file_list">
|
|
|
|
|
|
- </ul>
|
|
|
+ </ul>
|
|
|
+ </div>
|
|
|
+</div>
|
|
|
+<div class="back-ztzs" style="display: none;">
|
|
|
+ <img src="/fzzd/public/img/back-ztzs.png" />
|
|
|
</div>
|
|
|
<!-- 显示 -->
|
|
|
<div class="show">
|
|
@@ -254,16 +256,15 @@
|
|
|
<script src="/${data.websiteInfo.rootPath }/public/js/constant.js" type="text/javascript" charset="utf-8"></script>
|
|
|
<script type="text/javascript">
|
|
|
|
|
|
- $(".back_list").on("click", ".back", function () {
|
|
|
+ $(".crumbs").on("click", ".back_wjts", function() {
|
|
|
location.href = "/${data.websiteInfo.rootPath }/dhl/hdgn/list.html"
|
|
|
})
|
|
|
|
|
|
$(".file_list").on("click", ".file_item", function () {
|
|
|
$(".box").css("display", "none")
|
|
|
$(".show").css("display", "flex")
|
|
|
- $(".wj_list").css("display", "block")
|
|
|
$(".file_list").css("display", "none")
|
|
|
-
|
|
|
+ $(".back-ztzs").css("display", "block")
|
|
|
// 判断点击的当前元素是否选中
|
|
|
if (!$(this).hasClass("file_active")) {
|
|
|
// 删除其他兄弟元素的选中
|
|
@@ -291,31 +292,41 @@
|
|
|
})
|
|
|
|
|
|
|
|
|
- $(".back_list").on("click", ".wj_list", function () {
|
|
|
+ <#--$(".back_list").on("click", ".wj_list", function () {-->
|
|
|
+ <#-- $(this).css("display", "none")-->
|
|
|
+ <#-- // $(".show").css("display", "none")-->
|
|
|
+ <#-- // $(".box").css("display", "block")-->
|
|
|
+ <#-- <#–location.href = "/${data.websiteInfo.rootPath }/dhl/hdgn/wjll/list.html"–>-->
|
|
|
+ <#-- hideFile();-->
|
|
|
+ <#--})-->
|
|
|
+ // $(".crumbs").on("click", ".cur", function() {
|
|
|
+ // $(".back-ztzs").css("display", "none")
|
|
|
+ // // hideFile()
|
|
|
+ // $(".file_list").css("display", "flex")
|
|
|
+ // })
|
|
|
+ $(".back-ztzs").on("click", function() {
|
|
|
+ $(".show").css("display", "none")
|
|
|
+ $(".box").css("display", "block")
|
|
|
+ $(".file_list").css("display", "flex")
|
|
|
$(this).css("display", "none")
|
|
|
- // $(".show").css("display", "none")
|
|
|
- // $(".box").css("display", "block")
|
|
|
- <#--location.href = "/${data.websiteInfo.rootPath }/dhl/hdgn/wjll/list.html"-->
|
|
|
- hideFile();
|
|
|
})
|
|
|
-
|
|
|
// 文件分类
|
|
|
- var idenNum = 1
|
|
|
- $("body").on("click", ".ass_shrink", function () {
|
|
|
- if (idenNum == 0) {
|
|
|
- // 收起
|
|
|
- $(".file_ass").css("left", "-15%")
|
|
|
- $(this).css("left", "0")
|
|
|
- $(this).find("img").attr("src", "img/bottom.png")
|
|
|
- idenNum += 1
|
|
|
- } else {
|
|
|
- // 展开
|
|
|
- $(".file_ass").css("left", "0")
|
|
|
- $(this).css("left", "15%")
|
|
|
- $(this).find("img").attr("src", "img/top.png")
|
|
|
- idenNum = 0
|
|
|
- }
|
|
|
- })
|
|
|
+ // var idenNum = 1
|
|
|
+ // $("body").on("click", ".ass_shrink", function () {
|
|
|
+ // if (idenNum == 0) {
|
|
|
+ // // 收起
|
|
|
+ // $(".file_ass").css("left", "-15%")
|
|
|
+ // $(this).css("left", "0")
|
|
|
+ // $(this).find("img").attr("src", "img/bottom.png")
|
|
|
+ // idenNum += 1
|
|
|
+ // } else {
|
|
|
+ // // 展开
|
|
|
+ // $(".file_ass").css("left", "0")
|
|
|
+ // $(this).css("left", "15%")
|
|
|
+ // $(this).find("img").attr("src", "img/top.png")
|
|
|
+ // idenNum = 0
|
|
|
+ // }
|
|
|
+ // })
|
|
|
|
|
|
// 点击文件分类并加载相应文件库
|
|
|
$(".file_ass").on("click", ".ass_item", function () {
|
|
@@ -425,7 +436,7 @@
|
|
|
// 隐藏文件
|
|
|
function hideFile() {
|
|
|
// 隐藏文件列表标签
|
|
|
- $(".wj_list").css("display", "none")
|
|
|
+ // $(".wj_list").css("display", "none")
|
|
|
// 隐藏打开中的文件
|
|
|
var fileIden = $(".file_list").find(".file_active ").attr("data-iden")
|
|
|
console.log(fileIden)
|
|
@@ -435,7 +446,7 @@
|
|
|
$(".show").find(".show_pdf").css("display", "none")
|
|
|
}
|
|
|
// 显示文件列表
|
|
|
- $(".file_list").css("display", "")
|
|
|
+ $(".file_list").css("display", "flex")
|
|
|
}
|
|
|
</script>
|
|
|
</body>
|