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
3ad7b125
Commit
3ad7b125
authored
Jul 26, 2019
by
郭朴讴
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
半导体
parent
5c871902
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
18 additions
and
11 deletions
+18
-11
Main.css
Content/css/Main.css
+3
-0
Main.min.css
Content/css/Main.min.css
+1
-1
Index - 复制.cshtml
Views/About/Index - 复制.cshtml
+7
-5
Index.cshtml
Views/About/Index.cshtml
+7
-5
No files found.
Content/css/Main.css
View file @
3ad7b125
...
...
@@ -1328,6 +1328,9 @@
.page-teams
.item
p
{
padding-top
:
0
;
font-size
:
14px
;
line-height
:
23px
!important
;
height
:
184px
;
overflow
:
hidden
;
}
.banner-business
{
background-image
:
url(../img/banner/banner_business.jpg)
;
...
...
Content/css/Main.min.css
View file @
3ad7b125
This diff is collapsed.
Click to expand it.
Views/About/Index - 复制.cshtml
View file @
3ad7b125
...
...
@@ -227,7 +227,9 @@
$(function () {
if (IsPC()) {
$("#tab3 .top .intro").wrap("<div style='height: 353px;overflow: hidden;'></div>");
$("#tab3 .row .text p").wrap("<div style='height: 193px;overflow: hidden;'></div>");
// $("#tab3 .row .text p").wrap("<div style='height: 193px;overflow: hidden;'></div>");
var ptxt = $("#tab3 .row .text p").text();
$("#tab3 .row .text p").html("<a style='display: block;'>"+ptxt+"</a>");
var userAgent = navigator.userAgent; //取得浏览器的userAgent字符串
if (userAgent.indexOf("Safari") > -1) {
console.log(userAgent)
...
...
@@ -274,8 +276,8 @@
}else{
$("#tab3 .top .intro").parent().parent().parent().find(".zkbtn").html("open");
}
$("#tab3 .row .text p").each(function(){
if ($(this).height()>1
93
) {
$("#tab3 .row .text p
a
").each(function(){
if ($(this).height()>1
84
) {
$(this).parent().parent().append("<div class='zkbtn1'>open</div>");
}
if ($(this).parent().hasClass("tdiv")) {
...
...
@@ -299,9 +301,9 @@
$(".zkbtn1").click(function(event){
event.stopPropagation();
event.preventDefault();
$(this).parent().find("
p
").parent().toggleClass("tdiv");
$(this).parent().find("
a
").parent().toggleClass("tdiv");
$(this).parent().parent().toggleClass("tdiv");
if ($(this).parent().find("
p
").parent().hasClass("tdiv")) {
if ($(this).parent().find("
a
").parent().hasClass("tdiv")) {
$(this).html("close")
}else{
$(this).html("open")
...
...
Views/About/Index.cshtml
View file @
3ad7b125
...
...
@@ -51,7 +51,9 @@
$(function () {
if (IsPC()) {
$("#tab3 .top .intro").wrap("<div style='height: 353px;overflow: hidden;'></div>");
$("#tab3 .row .text p").wrap("<div style='height: 193px;overflow: hidden;'></div>");
// $("#tab3 .row .text p").wrap("<div style='height: 193px;overflow: hidden;'></div>");
var ptxt = $("#tab3 .row .text p").text();
$("#tab3 .row .text p").html("<a style='display: block;'>"+ptxt+"</a>");
var userAgent = navigator.userAgent; //取得浏览器的userAgent字符串
if (userAgent.indexOf("Safari") > -1) {
console.log(userAgent)
...
...
@@ -98,8 +100,8 @@
}else{
$("#tab3 .top .intro").parent().parent().parent().find(".zkbtn").html("open");
}
$("#tab3 .row .text p").each(function(){
if ($(this).height()>1
93
) {
$("#tab3 .row .text p
a
").each(function(){
if ($(this).height()>1
84
) {
$(this).parent().parent().append("<div class='zkbtn1'>open</div>");
}
if ($(this).parent().hasClass("tdiv")) {
...
...
@@ -123,9 +125,9 @@
$(".zkbtn1").click(function(event){
event.stopPropagation();
event.preventDefault();
$(this).parent().find("
p
").parent().toggleClass("tdiv");
$(this).parent().find("
a
").parent().toggleClass("tdiv");
$(this).parent().parent().toggleClass("tdiv");
if ($(this).parent().find("
p
").parent().hasClass("tdiv")) {
if ($(this).parent().find("
a
").parent().hasClass("tdiv")) {
$(this).html("close")
}else{
$(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