|
@ -71,7 +71,7 @@ export default { |
|
|
}, |
|
|
}, |
|
|
tpl:{ |
|
|
tpl:{ |
|
|
handler(newV){ |
|
|
handler(newV){ |
|
|
this.contentArr = this.tpl.textContent.replace(/\+n|\+r\n/g, '&&&&&').replace(/ /g, ' ').split('&&&&&'); |
|
|
this.contentArr = this.tpl.textContent.replace(/\\+n|\\+r\n/g, '&&&&&').replace(/ /g, ' ').split('&&&&&'); |
|
|
this.setStyle(); |
|
|
this.setStyle(); |
|
|
}, |
|
|
}, |
|
|
deep:true, |
|
|
deep:true, |
|
@ -125,7 +125,7 @@ export default { |
|
|
display: flex; |
|
|
display: flex; |
|
|
overflow: hidden; |
|
|
overflow: hidden; |
|
|
flex-direction: column; |
|
|
flex-direction: column; |
|
|
justify-content: flex-start; |
|
|
justify-content: center; |
|
|
.boardTxt{ |
|
|
.boardTxt{ |
|
|
color: #f00; |
|
|
color: #f00; |
|
|
line-height: 1; |
|
|
line-height: 1; |
|
|