修改:文章界面样式
This commit is contained in:
parent
c5ec212353
commit
70d10901bf
@ -12,6 +12,7 @@
|
|||||||
text-align: center;
|
text-align: center;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
|
background-color: #2e2e2e;
|
||||||
width: -webkit-calc(100% - -0.0625rem);
|
width: -webkit-calc(100% - -0.0625rem);
|
||||||
width: calc(100% - -0.0625rem);
|
width: calc(100% - -0.0625rem);
|
||||||
-webkit-transition: 1s ease background-color;
|
-webkit-transition: 1s ease background-color;
|
||||||
|
|||||||
@ -132,7 +132,7 @@
|
|||||||
this.pageTitle = hTag.innerText
|
this.pageTitle = hTag.innerText
|
||||||
}
|
}
|
||||||
|
|
||||||
let a = $('.el-main').html().match(/<h1.*?<\/h1>|<h2.*?<\/h2>/g);
|
let a = $('.el-main').html().match(/<h1.*?<\/h1>|<h2.*?<\/h2>|<h3.*?<\/h3>|<h4.*?<\/h4>/g);
|
||||||
if(a && a.length >0 ){
|
if(a && a.length >0 ){
|
||||||
a = a.splice(a.length/2,a.length)
|
a = a.splice(a.length/2,a.length)
|
||||||
for (let i = 0; i < a.length; i++) {
|
for (let i = 0; i < a.length; i++) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user