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
1cff7321
Commit
1cff7321
authored
Jul 22, 2019
by
郭朴讴
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
半导体样式
parent
e1821a5d
Changes
3
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
24 additions
and
5 deletions
+24
-5
Main.css
Content/css/Main.css
+2
-2
Main.min.css
Content/css/Main.min.css
+1
-1
Index.cshtml
Views/Business/Index.cshtml
+21
-2
No files found.
Content/css/Main.css
View file @
1cff7321
...
...
@@ -1448,8 +1448,8 @@
width
:
100%
;
}
.page-business
.buslist
.bus
.txt
{
padding
:
1.5rem
1.5rem
5rem
;
height
:
190px
;
padding
:
1.5rem
1.5rem
0
1.
5rem
;
/*height: 190px;*/
position
:
relative
;
}
.page-business
.buslist
.bus
.txt
h3
{
...
...
Content/css/Main.min.css
View file @
1cff7321
This diff is collapsed.
Click to expand it.
Views/Business/Index.cshtml
View file @
1cff7321
...
...
@@ -5,7 +5,14 @@
<div class="banner banner-contact banner-business">
<h1>Investment Business</h1>
</div>
<style>
#tab2 .txt{
position: relative;
}
#tab2 .tdiv{
height: auto;
}
</style>
<div class="sub-nav">
<div class="container">
<div class="row">
...
...
@@ -160,6 +167,9 @@
<script>
$(function () {
$("#tab2 .txt p").wrap("<div class='tdiv' style='height: 100px;overflow: hidden;'></div>");
var url = $(location).attr('href');
var oindex = url.indexOf("#");
if (oindex > 0) {
...
...
@@ -191,6 +201,15 @@
})
if ($("#tab2 .txt p").offset().height()>100) {
$("#tab2 .txt").after("<div class='zkbtn' style='position: absolute;right: 0;bottom: 0;'>展开</div>");
}
$(".zkbtn").click(function(){
$(this).parent().find("p").parent().toggleClass("tdiv");
$(this).html("收起");
})
});
</script>
}
\ No newline at end of file
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