修改
This commit is contained in:
parent
997bf30524
commit
9df3c6f1d0
@ -7,7 +7,6 @@
|
|||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
@ -19,13 +18,38 @@
|
|||||||
this.item = JSON.parse(decodeURIComponent(options.item))
|
this.item = JSON.parse(decodeURIComponent(options.item))
|
||||||
this.item.informationContent = this.item.informationContent.replace(/\<img/gi,
|
this.item.informationContent = this.item.informationContent.replace(/\<img/gi,
|
||||||
"<br/> <img class='richPic'")
|
"<br/> <img class='richPic'")
|
||||||
|
this.item.informationContent = this.item.informationContent.replace(/\<p/gi,
|
||||||
|
"<p class='ptext'")
|
||||||
|
// this.item.informationContent = this.item.informationContent.replace(/\<span/,
|
||||||
|
// "<span class='ql-size-small'")
|
||||||
|
// atch = match.replace(/class="ql-size-large"/gi, 'max-width:100%;')
|
||||||
|
// console.log(this.item.informationContent)
|
||||||
},
|
},
|
||||||
onReady() { //更改导航栏文字
|
onReady() {}, //更改导航栏文字
|
||||||
},
|
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
|
/deep/ .ptext {
|
||||||
|
margin-top: 20rpx;
|
||||||
|
}
|
||||||
|
|
||||||
|
/deep/ .ptext:nth-child(1) {
|
||||||
|
text-indent: 2em;
|
||||||
|
}
|
||||||
|
|
||||||
|
/deep/ .ql-size-small {
|
||||||
|
font-size: 20rpx;
|
||||||
|
}
|
||||||
|
|
||||||
|
/deep/ .ql-size-large {
|
||||||
|
font-size: 36rpx;
|
||||||
|
}
|
||||||
|
|
||||||
|
/deep/ .ql-size-huge {
|
||||||
|
font-size: 46rpx;
|
||||||
|
}
|
||||||
|
|
||||||
.title {
|
.title {
|
||||||
padding-left: 3%;
|
padding-left: 3%;
|
||||||
font-size: 38rpx;
|
font-size: 38rpx;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user