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
50b70b90
Commit
50b70b90
authored
Jul 22, 2019
by
郭朴讴
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
半导体样式
parent
dde0a92d
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
12 deletions
+12
-12
Detail.cshtml
Views/Business/Detail.cshtml
+4
-4
Index - 复制.cshtml
Views/Business/Index - 复制.cshtml
+4
-4
Index.cshtml
Views/Business/Index.cshtml
+4
-4
No files found.
Views/Business/Detail.cshtml
View file @
50b70b90
...
@@ -65,13 +65,13 @@
...
@@ -65,13 +65,13 @@
$("#tab2 .txt p").each(function(){
$("#tab2 .txt p").each(function(){
console.log($(this).height());
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'>
open
</div>");
}
}
})
})
$("#tab3 p").each(function(){
$("#tab3 p").each(function(){
console.log($(this).height());
console.log($(this).height());
if ($(this).height()>50) {
if ($(this).height()>50) {
$(this).parent().parent().append("<div class='zkbtn'>
展开
</div>");
$(this).parent().parent().append("<div class='zkbtn'>
open
</div>");
}
}
})
})
})
})
...
@@ -81,9 +81,9 @@
...
@@ -81,9 +81,9 @@
event.preventDefault();
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("
close
")
}else{
}else{
$(this).html("
展开
")
$(this).html("
open
")
}
}
})
})
})
})
...
...
Views/Business/Index - 复制.cshtml
View file @
50b70b90
...
@@ -127,13 +127,13 @@
...
@@ -127,13 +127,13 @@
$("#tab2 .txt p").each(function(){
$("#tab2 .txt p").each(function(){
console.log($(this).height());
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'>
open
</div>");
}
}
})
})
$("#tab3 p").each(function(){
$("#tab3 p").each(function(){
console.log($(this).height());
console.log($(this).height());
if ($(this).height()>50) {
if ($(this).height()>50) {
$(this).parent().parent().append("<div class='zkbtn'>
展开
</div>");
$(this).parent().parent().append("<div class='zkbtn'>
open
</div>");
}
}
})
})
})
})
...
@@ -143,9 +143,9 @@
...
@@ -143,9 +143,9 @@
event.preventDefault();
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("
close
")
}else{
}else{
$(this).html("
展开
")
$(this).html("
open
")
}
}
})
})
...
...
Views/Business/Index.cshtml
View file @
50b70b90
...
@@ -217,13 +217,13 @@
...
@@ -217,13 +217,13 @@
$("#tab2 .txt p").each(function(){
$("#tab2 .txt p").each(function(){
console.log($(this).height());
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'>
open
</div>");
}
}
})
})
$("#tab3 p").each(function(){
$("#tab3 p").each(function(){
console.log($(this).height());
console.log($(this).height());
if ($(this).height()>50) {
if ($(this).height()>50) {
$(this).parent().parent().append("<div class='zkbtn'>
展开
</div>");
$(this).parent().parent().append("<div class='zkbtn'>
open
</div>");
}
}
})
})
})
})
...
@@ -233,9 +233,9 @@
...
@@ -233,9 +233,9 @@
event.preventDefault();
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("
close
")
}else{
}else{
$(this).html("
展开
")
$(this).html("
open
")
}
}
})
})
});
});
...
...
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