From ffe4402c9d874176ca69cde12765f8e5ca0cd021 Mon Sep 17 00:00:00 2001 From: terwer Date: Fri, 8 Mar 2024 17:46:29 +0800 Subject: [PATCH] fix: fix essay --- README.md | 2 +- dev.sh | 7 +++++++ jvue-front/pages/essay.css | 4 ++-- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 95d6b36..f6f7a7e 100644 --- a/README.md +++ b/README.md @@ -86,7 +86,7 @@ yarn config set registry https://registry.npmmirror.com/ --global && \ yarn config set selenium_cdnurl https://cdn.npmmirror.com/binaries/selenium --global && \ yarn config set node_inspector_cdnurl https://cdn.npmmirror.com/binaries/node-inspector --global yarn -yarn dev +ARTALK_SERVER_URL=https://v4.terwergreen.com:8003 yarn dev ``` or simplely dev front project without step2 diff --git a/dev.sh b/dev.sh index e457b12..92f4aae 100755 --- a/dev.sh +++ b/dev.sh @@ -1,9 +1,16 @@ #!/bin/sh +# 终止占用8008端口的进程 +lsof -ti:8008 | xargs kill -9 + +# 终止占用3000端口的进程 +lsof -ti:3000 | xargs kill -9 + # sudo n 18 cd jvue-server ./mvnw clean spring-boot:run -Dspring-boot.run.profiles=dev -DskipTests & cd ../jvue-front +ARTALK_SERVER_URL=https://v4.terwergreen.com:8003 yarn dev \ No newline at end of file diff --git a/jvue-front/pages/essay.css b/jvue-front/pages/essay.css index 85d657f..9da72dd 100644 --- a/jvue-front/pages/essay.css +++ b/jvue-front/pages/essay.css @@ -18,8 +18,8 @@ .lay-blog .container .count .layblog-this{color: #FF5722 !important;} /* start container */ -.lay-blog .container-wrap{margin:0px auto 0;min-height:100%;padding:40px 0 160px 0;box-sizing: border-box;} -.lay-blog .container{width:1200px;margin:0 auto;} +.lay-blog .container-wrap{margin:0px auto 0;min-height:100%;padding:40px 0 20px 0;box-sizing: border-box;} +.lay-blog .container{margin:0 auto;} .lay-blog .container h4{font-weight:bold;line-height:32px;font-size:16px;} .lay-blog .container h4 p{padding-left:40px;color:#666666;} .lay-blog .container h4 p i{font-size:26px;padding-right:10px;position:relative;top:3px;}