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
f9c5c1cb
Commit
f9c5c1cb
authored
Jul 23, 2019
by
郭朴讴
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
半导体样式
parent
59a8241b
Changes
6
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
55 additions
and
15 deletions
+55
-15
Main.css
Content/css/Main.css
+6
-4
Main.min.css
Content/css/Main.min.css
+1
-1
Index - 复制.cshtml
Views/About/Index - 复制.cshtml
+12
-3
Index.cshtml
Views/About/Index.cshtml
+12
-3
Index - 复制.cshtml
Views/Business/Index - 复制.cshtml
+12
-2
Index.cshtml
Views/Business/Index.cshtml
+12
-2
No files found.
Content/css/Main.css
View file @
f9c5c1cb
...
...
@@ -1267,7 +1267,7 @@
.page-teams
.top
.intro
p
{
font-size
:
14px
;
line-height
:
1.8
;
text-align
:
justify
;
/*text-align: justify;*/
}
.page-teams
.item
{
box-shadow
:
0
2px
8px
rgba
(
0
,
0
,
0
,
0.15
);
...
...
@@ -1278,7 +1278,7 @@
}
.page-teams
.item
.text
{
padding
:
1rem
1.5rem
;
text-align
:
justify
;
/*text-align: justify;*/
position
:
relative
;
}
@media
only
screen
and
(
min-width
:
768px
)
{
...
...
@@ -1401,7 +1401,7 @@
max-width
:
100%
;
}
.page-business
p
{
line-height
:
1.
8
;
line-height
:
1.
5
;
}
.page-business
.se2
{
text-align
:
center
;
...
...
@@ -1449,7 +1449,7 @@
width
:
100%
;
}
.page-business
.buslist
.bus
.txt
{
padding
:
1.5rem
1.5rem
3
0px
;
padding
:
1.5rem
1.5rem
2
0px
;
/*height: 190px;*/
position
:
relative
;
}
...
...
@@ -1520,6 +1520,7 @@
box-shadow
:
0
0
16px
rgba
(
0
,
0
,
0
,
0.1
);
margin-bottom
:
20px
;
padding
:
15px
;
padding-bottom
:
30px
;
display
:
block
;
/*height: 280px;*/
}
...
...
@@ -1542,6 +1543,7 @@
}
.page-business
.item001
p
{
color
:
#999
;
margin
:
0
;
}
.page-business
.art-title
{
height
:
90px
;
...
...
Content/css/Main.min.css
View file @
f9c5c1cb
This diff is collapsed.
Click to expand it.
Views/About/Index - 复制.cshtml
View file @
f9c5c1cb
...
...
@@ -227,7 +227,7 @@
$(function () {
if (IsPC()) {
$("#tab3 .top .intro").wrap("<div style='height: 360px;overflow: hidden;'></div>");
$("#tab3 .row .text p").wrap("<div style='height: 1
7
5px;overflow: hidden;'></div>");
$("#tab3 .row .text p").wrap("<div style='height: 1
9
5px;overflow: hidden;'></div>");
}
var url = $(location).attr('href');
var oindex = url.indexOf("#");
...
...
@@ -264,11 +264,20 @@
if ($("#tab3 .top .intro").height()>360) {
$("#tab3 .top .intro").parent().parent().parent().append("<div style='color: #FFFFFF;' class='zkbtn'>open</div>");
}
if ($("#tab3 .top .intro").parent().hasClass("tdiv")) {
$("#tab3 .top .intro").parent().parent().parent().find(".zkbtn").html("close");
}else{
$("#tab3 .top .intro").parent().parent().parent().find(".zkbtn").html("open");
}
$("#tab3 .row .text p").each(function(){
if ($(this).height()>1
7
5) {
if ($(this).height()>1
9
5) {
$(this).parent().parent().append("<div class='zkbtn1'>open</div>");
}
if ($(this).parent().hasClass("tdiv")) {
$(this).parent().parent().find(".zkbtn1").html("close");
}else{
$(this).parent().parent().find(".zkbtn1").html("open");
}
})
$(".zkbtn").click(function(event){
...
...
Views/About/Index.cshtml
View file @
f9c5c1cb
...
...
@@ -51,7 +51,7 @@
$(function () {
if (IsPC()) {
$("#tab3 .top .intro").wrap("<div style='height: 360px;overflow: hidden;'></div>");
$("#tab3 .row .text p").wrap("<div style='height: 1
7
5px;overflow: hidden;'></div>");
$("#tab3 .row .text p").wrap("<div style='height: 1
9
5px;overflow: hidden;'></div>");
}
var url = $(location).attr('href');
var oindex = url.indexOf("#");
...
...
@@ -88,11 +88,20 @@
if ($("#tab3 .top .intro").height()>360) {
$("#tab3 .top .intro").parent().parent().parent().append("<div style='color: #FFFFFF;' class='zkbtn'>open</div>");
}
if ($("#tab3 .top .intro").parent().hasClass("tdiv")) {
$("#tab3 .top .intro").parent().parent().parent().find(".zkbtn").html("close");
}else{
$("#tab3 .top .intro").parent().parent().parent().find(".zkbtn").html("open");
}
$("#tab3 .row .text p").each(function(){
if ($(this).height()>1
7
5) {
if ($(this).height()>1
9
5) {
$(this).parent().parent().append("<div class='zkbtn1'>open</div>");
}
if ($(this).parent().hasClass("tdiv")) {
$(this).parent().parent().find(".zkbtn1").html("close");
}else{
$(this).parent().parent().find(".zkbtn1").html("open");
}
})
$(".zkbtn").click(function(event){
...
...
Views/Business/Index - 复制.cshtml
View file @
f9c5c1cb
...
...
@@ -96,7 +96,7 @@
}
$(function () {
if (IsPC()) {
$("#tab2 .txt p").wrap("<div style='height: 1
0
0px;overflow: hidden;'></div>");
$("#tab2 .txt p").wrap("<div style='height: 1
1
0px;overflow: hidden;'></div>");
$("#tab3 p").wrap("<div style='height: 50px;overflow: hidden;'></div>");
}
...
...
@@ -136,14 +136,24 @@
$("#tab3 .row").addClass("disflex");
$("#tab2 .txt p").each(function(){
console.log($(this).height());
if ($(this).height()>1
0
0) {
if ($(this).height()>1
1
0) {
$(this).parent().parent().append("<div class='zkbtn'>open</div>");
}
if ($(this).parent().hasClass("tdiv")) {
$(this).parent().parent().find(".zkbtn").html("close");
}else{
$(this).parent().parent().find(".zkbtn").html("open");
}
})
$("#tab3 p").each(function(){
console.log($(this).height());
if ($(this).height()>50) {
$(this).parent().parent().append("<div class='zkbtn'>open</div>");
}
if ($(this).parent().hasClass("tdiv")) {
$(this).parent().parent().find(".zkbtn").html("close");
}else{
$(this).parent().parent().find(".zkbtn").html("open");
}
})
$(".zkbtn").click(function(event){
...
...
Views/Business/Index.cshtml
View file @
f9c5c1cb
...
...
@@ -177,7 +177,7 @@
}
$(function () {
if (IsPC()) {
$("#tab2 .txt p").wrap("<div style='height: 1
0
0px;overflow: hidden;'></div>");
$("#tab2 .txt p").wrap("<div style='height: 1
1
0px;overflow: hidden;'></div>");
$("#tab3 p").wrap("<div style='height: 50px;overflow: hidden;'></div>");
}
...
...
@@ -216,14 +216,24 @@
$("#tab3 .row").addClass("disflex");
$("#tab2 .txt p").each(function(){
console.log($(this).height());
if ($(this).height()>1
0
0) {
if ($(this).height()>1
1
0) {
$(this).parent().parent().append("<div class='zkbtn'>open</div>");
}
if ($(this).parent().hasClass("tdiv")) {
$(this).parent().parent().find(".zkbtn").html("close");
}else{
$(this).parent().parent().find(".zkbtn").html("open");
}
})
$("#tab3 p").each(function(){
console.log($(this).height());
if ($(this).height()>50) {
$(this).parent().parent().append("<div class='zkbtn'>open</div>");
}
if ($(this).parent().hasClass("tdiv")) {
$(this).parent().parent().find(".zkbtn").html("close");
}else{
$(this).parent().parent().find(".zkbtn").html("open");
}
})
$(".zkbtn").click(function(event){
...
...
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