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
0f547c08
Commit
0f547c08
authored
Jul 22, 2019
by
郭朴讴
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
半导体样式
parent
f659af65
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
4 deletions
+8
-4
Index.cshtml
Views/Business/Index.cshtml
+8
-4
No files found.
Views/Business/Index.cshtml
View file @
0f547c08
...
@@ -17,8 +17,9 @@
...
@@ -17,8 +17,9 @@
}
}
.zkbtn{
.zkbtn{
position: absolute;
position: absolute;
right: 0;
right: 10px;
bottom: 0;
bottom: 5px;
font-size: 12px;
color: #999;
color: #999;
cursor: pointer;
cursor: pointer;
}
}
...
@@ -213,6 +214,7 @@
...
@@ -213,6 +214,7 @@
})
})
$("#tab2 .txt p").each(function(){
$("#tab2 .txt p").each(function(){
console.log($(this).height());
if ($(this).height()>100) {
if ($(this).height()>100) {
$(this).parent().parent().append("<div class='zkbtn'>展开</div>");
$(this).parent().parent().append("<div class='zkbtn'>展开</div>");
}
}
...
@@ -223,7 +225,9 @@
...
@@ -223,7 +225,9 @@
}
}
})
})
$(".zkbtn").click(function(){
$(".zkbtn").click(function(event){
event.stopPropagation();
event.preventDefault();
$(this).parent().find("p").parent().toggleClass("tdiv");
$(this).parent().find("p").parent().toggleClass("tdiv");
if ($(this).parent().find("p").parent().hasClass("tdiv")) {
if ($(this).parent().find("p").parent().hasClass("tdiv")) {
$(this).html("收起")
$(this).html("收起")
...
...
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