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
330bdcea
Commit
330bdcea
authored
Jul 22, 2019
by
郭朴讴
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
半导体样式
parent
1ada0f24
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
6 deletions
+16
-6
Main.css
Content/css/Main.css
+1
-1
Main.min.css
Content/css/Main.min.css
+1
-1
Index.cshtml
Views/Business/Index.cshtml
+14
-4
No files found.
Content/css/Main.css
View file @
330bdcea
...
@@ -1520,7 +1520,7 @@
...
@@ -1520,7 +1520,7 @@
margin-bottom
:
20px
;
margin-bottom
:
20px
;
padding
:
15px
;
padding
:
15px
;
display
:
block
;
display
:
block
;
height
:
280px
;
/*height: 280px;*/
}
}
.page-business
.item001
.icon
{
.page-business
.item001
.icon
{
height
:
130px
;
height
:
130px
;
...
...
Content/css/Main.min.css
View file @
330bdcea
This diff is collapsed.
Click to expand it.
Views/Business/Index.cshtml
View file @
330bdcea
...
@@ -19,6 +19,9 @@
...
@@ -19,6 +19,9 @@
color: #999;
color: #999;
cursor: pointer;
cursor: pointer;
}
}
#tab3 .item001{
position: relative;
}
</style>
</style>
<div class="sub-nav">
<div class="sub-nav">
<div class="container">
<div class="container">
...
@@ -176,6 +179,7 @@
...
@@ -176,6 +179,7 @@
$(function () {
$(function () {
$("#tab2 .txt p").wrap("<div style='height: 100px;overflow: hidden;'></div>");
$("#tab2 .txt p").wrap("<div style='height: 100px;overflow: hidden;'></div>");
$("#tab3 p").wrap("<div style='height: 45px;overflow: hidden;'></div>");
var url = $(location).attr('href');
var url = $(location).attr('href');
var oindex = url.indexOf("#");
var oindex = url.indexOf("#");
...
@@ -208,10 +212,16 @@
...
@@ -208,10 +212,16 @@
})
})
$("#tab2 .txt p").each(function(){
if ($("#tab2 .txt p").height()>100) {
if ($(this).height()>100) {
$("#tab2 .txt").append("<div class='zkbtn'>展开</div>");
$(this).parent().parent().append("<div class='zkbtn'>展开</div>");
}
}
})
$("#tab3 p").each(function(){
if ($(this).height()>45) {
$(this).parent().parent().append("<div class='zkbtn'>展开</div>");
}
})
$(".zkbtn").click(function(){
$(".zkbtn").click(function(){
$(this).parent().find("p").parent().toggleClass("tdiv");
$(this).parent().find("p").parent().toggleClass("tdiv");
...
...
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