|
|
@@ -36,13 +36,13 @@ export default {
|
|
|
data() {
|
|
|
return {}
|
|
|
},
|
|
|
- watch: {
|
|
|
- chapInfo(newVal, oldVal) {
|
|
|
- this.chapInfo.chapterInfo[0].taskJson[this.taskCount].taskDetail = this.chapInfo.chapterInfo[0].taskJson[
|
|
|
- this.taskCount
|
|
|
- ].taskDetail.replace(/(<img[^>]+)style="max-width:\s*100%25;"/g, '$1style="max-width:100%;"')
|
|
|
- }
|
|
|
- },
|
|
|
+ // watch: {
|
|
|
+ // // chapInfo(newVal, oldVal) {
|
|
|
+ // // this.chapInfo.chapterInfo[0].taskJson[this.taskCount].taskDetail = this.chapInfo.chapterInfo[0].taskJson[
|
|
|
+ // // this.taskCount
|
|
|
+ // // ].taskDetail.replace(/(<img[^>]+)style="max-width:\s*100%25;"/g, '$1style="max-width:100%;"')
|
|
|
+ // // }
|
|
|
+ // },
|
|
|
mounted() {
|
|
|
// let con = this.chapInfo
|
|
|
}
|
|
|
@@ -109,6 +109,9 @@ export default {
|
|
|
word-break: break-all;
|
|
|
margin: 0.3rem 0 0;
|
|
|
font-size: 14px;
|
|
|
+ img{
|
|
|
+ width: 100%;
|
|
|
+ }
|
|
|
p {
|
|
|
margin: 0;
|
|
|
}
|