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
5291bbe4
Commit
5291bbe4
authored
Jul 22, 2019
by
郭朴讴
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
半导体样式
parent
1cff7321
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
Main.css
Content/css/Main.css
+1
-1
Index.cshtml
Views/Business/Index.cshtml
+3
-3
No files found.
Content/css/Main.css
View file @
5291bbe4
...
...
@@ -1448,7 +1448,7 @@
width
:
100%
;
}
.page-business
.buslist
.bus
.txt
{
padding
:
1.5rem
1.5rem
0
1.5rem
;
padding
:
1.5rem
1.5rem
30px
;
/*height: 190px;*/
position
:
relative
;
}
...
...
Views/Business/Index.cshtml
View file @
5291bbe4
...
...
@@ -10,7 +10,7 @@
position: relative;
}
#tab2 .tdiv{
height: auto;
height: auto
!important
;
}
</style>
<div class="sub-nav">
...
...
@@ -167,7 +167,7 @@
<script>
$(function () {
$("#tab2 .txt p").wrap("<div
class='tdiv'
style='height: 100px;overflow: hidden;'></div>");
$("#tab2 .txt p").wrap("<div style='height: 100px;overflow: hidden;'></div>");
var url = $(location).attr('href');
...
...
@@ -202,7 +202,7 @@
})
if ($("#tab2 .txt p").
offset().
height()>100) {
if ($("#tab2 .txt p").height()>100) {
$("#tab2 .txt").after("<div class='zkbtn' style='position: absolute;right: 0;bottom: 0;'>展开</div>");
}
...
...
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