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
94d1676a
Commit
94d1676a
authored
Jul 22, 2019
by
郭朴讴
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
半导体样式
parent
50b70b90
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
52 deletions
+2
-52
Detail.cshtml
Views/Business/Detail.cshtml
+0
-30
Index - 复制.cshtml
Views/Business/Index - 复制.cshtml
+0
-16
Index.cshtml
Views/Business/Index.cshtml
+2
-6
No files found.
Views/Business/Detail.cshtml
View file @
94d1676a
...
...
@@ -55,37 +55,7 @@
<script>
$(function () {
$("#tab2 .txt p").wrap("<div style='height: 100px;overflow: hidden;'></div>");
$("#tab3 p").wrap("<div style='height: 50px;overflow: hidden;'></div>");
$("#mainav li").eq(2).addClass("active");
setTimeout(function(){
$("#tab2 .txt p").each(function(){
console.log($(this).height());
if ($(this).height()>100) {
$(this).parent().parent().append("<div class='zkbtn'>open</div>");
}
})
$("#tab3 p").each(function(){
console.log($(this).height());
if ($(this).height()>50) {
$(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")
}
})
})
</script>
}
\ No newline at end of file
Views/Business/Index - 复制.cshtml
View file @
94d1676a
...
...
@@ -120,10 +120,6 @@
$(this).addClass("active");
var con = $(this).attr("href");
$(con).addClass("active").siblings().removeClass("active");
})
setTimeout(function(){
$("#tab2 .txt p").each(function(){
console.log($(this).height());
if ($(this).height()>100) {
...
...
@@ -138,17 +134,6 @@
})
})
$(".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
Views/Business/Index.cshtml
View file @
94d1676a
...
...
@@ -210,10 +210,6 @@
$(this).addClass("active");
var con = $(this).attr("href");
$(con).addClass("active").siblings().removeClass("active");
})
setTimeout(function(){
$("#tab2 .txt p").each(function(){
console.log($(this).height());
if ($(this).height()>100) {
...
...
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