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
adc252c8
Commit
adc252c8
authored
Jul 26, 2019
by
郭朴讴
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
半导体
parent
3ad7b125
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
4 deletions
+10
-4
Index - 复制.cshtml
Views/About/Index - 复制.cshtml
+4
-2
Index.cshtml
Views/About/Index.cshtml
+6
-2
No files found.
Views/About/Index - 复制.cshtml
View file @
adc252c8
...
@@ -228,8 +228,10 @@
...
@@ -228,8 +228,10 @@
if (IsPC()) {
if (IsPC()) {
$("#tab3 .top .intro").wrap("<div style='height: 353px;overflow: hidden;'></div>");
$("#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").each(function(){
$("#tab3 .row .text p").html("<a style='display: block;'>"+ptxt+"</a>");
var ptxt = $(this).text();
$(this).html("<a style='display: block;color: #000000;'>"+ptxt+"</a>");
})
var userAgent = navigator.userAgent; //取得浏览器的userAgent字符串
var userAgent = navigator.userAgent; //取得浏览器的userAgent字符串
if (userAgent.indexOf("Safari") > -1) {
if (userAgent.indexOf("Safari") > -1) {
console.log(userAgent)
console.log(userAgent)
...
...
Views/About/Index.cshtml
View file @
adc252c8
...
@@ -52,8 +52,12 @@
...
@@ -52,8 +52,12 @@
if (IsPC()) {
if (IsPC()) {
$("#tab3 .top .intro").wrap("<div style='height: 353px;overflow: hidden;'></div>");
$("#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>");
$("#tab3 .row .text p").each(function(){
var ptxt = $(this).text();
$(this).html("<a style='display: block;color: #000000;'>"+ptxt+"</a>");
})
var userAgent = navigator.userAgent; //取得浏览器的userAgent字符串
var userAgent = navigator.userAgent; //取得浏览器的userAgent字符串
if (userAgent.indexOf("Safari") > -1) {
if (userAgent.indexOf("Safari") > -1) {
console.log(userAgent)
console.log(userAgent)
...
...
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