Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
B
bdt_en
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
谢宇轩
bdt_en
Commits
26f43c9b
Commit
26f43c9b
authored
Jul 22, 2019
by
郭朴讴
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
半导体样式
parent
94d1676a
Changes
6
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
115 additions
and
24 deletions
+115
-24
Main.css
Content/css/Main.css
+24
-1
Main.min.css
Content/css/Main.min.css
+1
-1
Index - 复制.cshtml
Views/About/Index - 复制.cshtml
+35
-1
Index.cshtml
Views/About/Index.cshtml
+35
-0
Index - 复制.cshtml
Views/Business/Index - 复制.cshtml
+10
-0
Index.cshtml
Views/Business/Index.cshtml
+10
-21
No files found.
Content/css/Main.css
View file @
26f43c9b
...
...
@@ -1279,6 +1279,7 @@
.page-teams
.item
.text
{
padding
:
1rem
1.5rem
;
text-align
:
justify
;
position
:
relative
;
}
@media
only
screen
and
(
min-width
:
768px
)
{
.page-teams
.item
.text
{
...
...
@@ -2343,4 +2344,26 @@ a:hover {
text-align
:
left
;
font-size
:
16px
;
}
}
\ No newline at end of file
}
.tdiv
{
height
:
auto
!important
;
}
.zkbtn
{
position
:
absolute
;
right
:
10px
;
bottom
:
5px
;
font-size
:
12px
;
color
:
#999
;
cursor
:
pointer
;
}
.zkbtn1
{
position
:
absolute
;
right
:
10px
;
bottom
:
5px
;
font-size
:
12px
;
color
:
#999
;
cursor
:
pointer
;
}
.tdivs
{
height
:
620px
!important
;
}
Content/css/Main.min.css
View file @
26f43c9b
This diff is collapsed.
Click to expand it.
Views/About/Index - 复制.cshtml
View file @
26f43c9b
...
...
@@ -244,7 +244,41 @@
$(this).addClass("active");
var con = $(this).attr("href");
$(con).addClass("active").siblings().removeClass("active");
$("#tab3 .top .intro").wrap("<div style='height: 360px;overflow: hidden;'></div>");
$("#tab3 .text p").wrap("<div style='height: 175px;overflow: hidden;'></div>");
if ($("#tab3 .top .intro").height()>360) {
$("#tab3 .top .intro").parent().parent().append("<div class='zkbtn'>open</div>");
}
$("#tab3 .text p").each(function(){
if (this.height()>175) {
$(this).parent().parent().append("<div class='zkbtn1'>open</div>");
}
})
$(".zkbtn").click(function(event){
event.stopPropagation();
event.preventDefault();
$(this).parent().find(".intro").parent().toggleClass("tdiv");
$(this).parent().toggleClass("tdivs");
if ($(this).parent().find(".intro").parent().hasClass("tdiv")) {
$(this).html("close")
}else{
$(this).html("open")
}
})
$(".zkbtn1").click(function(event){
event.stopPropagation();
event.preventDefault();
$(this).parent().find(".intro").parent().toggleClass("tdiv");
$(this).parent().toggleClass("tdiv");
if ($(this).parent().find(".intro").parent().hasClass("tdiv")) {
$(this).html("close")
}else{
$(this).html("open")
}
})
})
});
...
...
Views/About/Index.cshtml
View file @
26f43c9b
...
...
@@ -68,6 +68,41 @@
$(this).addClass("active");
var con = $(this).attr("href");
$(con).addClass("active").siblings().removeClass("active");
$("#tab3 .top .intro").wrap("<div style='height: 360px;overflow: hidden;'></div>");
$("#tab3 .text p").wrap("<div style='height: 175px;overflow: hidden;'></div>");
if ($("#tab3 .top .intro").height()>360) {
$("#tab3 .top .intro").parent().parent().append("<div class='zkbtn'>open</div>");
}
$("#tab3 .text p").each(function(){
if (this.height()>175) {
$(this).parent().parent().append("<div class='zkbtn1'>open</div>");
}
})
$(".zkbtn").click(function(event){
event.stopPropagation();
event.preventDefault();
$(this).parent().find(".intro").parent().toggleClass("tdiv");
$(this).parent().toggleClass("tdivs");
if ($(this).parent().find(".intro").parent().hasClass("tdiv")) {
$(this).html("close")
}else{
$(this).html("open")
}
})
$(".zkbtn1").click(function(event){
event.stopPropagation();
event.preventDefault();
$(this).parent().find(".intro").parent().toggleClass("tdiv");
$(this).parent().toggleClass("tdiv");
if ($(this).parent().find(".intro").parent().hasClass("tdiv")) {
$(this).html("close")
}else{
$(this).html("open")
}
})
})
...
...
Views/Business/Index - 复制.cshtml
View file @
26f43c9b
...
...
@@ -132,6 +132,16 @@
$(this).parent().parent().append("<div class='zkbtn'>open</div>");
}
})
$(".zkbtn").click(function(event){
event.stopPropagation();
event.preventDefault();
$(this).parent().find("p").parent().toggleClass("tdiv");
if ($(this).parent().find("p").parent().hasClass("tdiv")) {
$(this).html("close")
}else{
$(this).html("open")
}
})
})
});
...
...
Views/Business/Index.cshtml
View file @
26f43c9b
...
...
@@ -12,17 +12,6 @@
#tab3 .item001{
position: relative;
}
.tdiv{
height: auto!important;
}
.zkbtn{
position: absolute;
right: 10px;
bottom: 5px;
font-size: 12px;
color: #999;
cursor: pointer;
}
</style>
<div class="sub-nav">
<div class="container">
...
...
@@ -222,18 +211,18 @@
$(this).parent().parent().append("<div class='zkbtn'>open</div>");
}
})
$(".zkbtn").click(function(event){
event.stopPropagation();
event.preventDefault();
$(this).parent().find("p").parent().toggleClass("tdiv");
if ($(this).parent().find("p").parent().hasClass("tdiv")) {
$(this).html("close")
}else{
$(this).html("open")
}
})
})
$(".zkbtn").click(function(event){
event.stopPropagation();
event.preventDefault();
$(this).parent().find("p").parent().toggleClass("tdiv");
if ($(this).parent().find("p").parent().hasClass("tdiv")) {
$(this).html("close")
}else{
$(this).html("open")
}
})
});
</script>
}
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment