Commit db6ea52c authored by 姬鋆屾's avatar 姬鋆屾

提交

parent ce799c97
...@@ -355,7 +355,7 @@ export default { ...@@ -355,7 +355,7 @@ export default {
getSlogan("title").then((res) => { getSlogan("title").then((res) => {
if (res.code == 1) { if (res.code == 1) {
this.sloganTitle = res.data; this.sloganTitle = res.data;
let str = this.sloganTitle.replace(/(\/n|\r|\r\n|↵)/g, "<br />"); let str = this.sloganTitle.replace(/(\/n|\r|\r\n|↵)/g, ",");
this.sloganTitle = this.sloganTitle.split("/n"); this.sloganTitle = this.sloganTitle.split("/n");
localStorage.setItem("sloganTitle", str); localStorage.setItem("sloganTitle", str);
} }
......
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
/> --> /> -->
<h1 <h1
style=" style="
font-size: 72px; font-size: 64px;
font-weight: 600; font-weight: 600;
color: #fff; color: #fff;
margin-bottom: 20px; margin-bottom: 20px;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment