diff --git a/.vscode/sftp.json b/.vscode/sftp.json index 039096c..ff7b26d 100644 --- a/.vscode/sftp.json +++ b/.vscode/sftp.json @@ -3,10 +3,10 @@ "host": "47.100.47.158", "protocol": "sftp", "port": 21, + "secure": true, "username": "suzhou", - "remotePath": "/", + "remotePath": "/", + "password": "WEBY7SHSFdeEECj4", "uploadOnSave": false, - "useTempFile": false, - "openSsh": false, - "connectTimeout":10000 + "connect_timeout": 30 } diff --git a/css/style.css b/css/style.css index 8a2e2c5..3413bb0 100644 --- a/css/style.css +++ b/css/style.css @@ -48,7 +48,8 @@ a.more_white:hover{color: #fff; background: #fff; text-decoration: none;} .part .part-img{ width: 60%!important;margin-left: 20%;} .detail .content .time{ text-align: center;margin-bottom: 30px;} -.detail .content img{ text-align: center;width: 60%;height: auto; margin-left: 20%;} +/* .detail .content .text :not(p){text-align: center;} */ +.detail .content img{ text-align: center;width: 60%;height: auto;} .detail .content p{ font-size: 16px;} /*分页*/ diff --git a/images/banner-党建工作@2x.png b/images/banner-党建工作@2x.png index a1f8d16..a3c8162 100644 Binary files a/images/banner-党建工作@2x.png and b/images/banner-党建工作@2x.png differ diff --git a/news/detail.html b/news/detail.html index 1e26152..40f4424 100644 --- a/news/detail.html +++ b/news/detail.html @@ -19,7 +19,9 @@ - +
@@ -77,16 +79,14 @@ var title = data.title; var content = data.content; var time = data.publish_time_text.substr(0,11); - - content.replace(/]*src=['"]([^'"]+)[^>]*>/gi, function (match, capture) { - $('.content img').css({'width':'30%'}); - }); html = "日期:" + time + "
"; html += '党建工作
-PARTY BUILDING
-日期:" + time + "
"; - html += '日期:" + time + "
"; + html += '