图谱居中,最大宽度适配
This commit is contained in:
@@ -150,7 +150,7 @@ import { data } from 'jquery';
|
||||
this.booksetpage = 1
|
||||
this.yianList = []
|
||||
}
|
||||
if(this.contentShow == 2){
|
||||
if(this.contentShow == 1){
|
||||
httpurl = "book/bookMedicalRecords/userEbookBuyList"
|
||||
} else {
|
||||
httpurl = "book/bookMedicalRecords/recommendBookList"
|
||||
|
||||
@@ -150,8 +150,16 @@
|
||||
this.$http
|
||||
.post('book/bookMedicalRecords/getById?medicalRecordsId=' + this.medicalRecordsId )
|
||||
.then(res => {
|
||||
console.log(res,'res')
|
||||
// console.log(res,'res')
|
||||
this.productInfo = res.entity
|
||||
// console.log('cursor: nwse-resize', this.productInfo.content.includes('cursor: nwse-resize'))
|
||||
// if(this.productInfo.content.includes('cursor: nwse-resize')){
|
||||
// // this.productInfo.content = this.productInfo.content.replaceAll('cursor: nwse-resize;', 'cursor: nwse-resize;max-width:100%;')
|
||||
// }else{
|
||||
this.productInfo.content = this.productInfo.content.replaceAll('img src', 'img style="max-width:100%;" src')
|
||||
// }
|
||||
|
||||
// console.log(this.productInfo.content,'res')
|
||||
uni.hideLoading();
|
||||
}).catch((e)=>{
|
||||
console.log(e,'e')
|
||||
@@ -305,6 +313,9 @@
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
/deep/.ql-align-center{
|
||||
text-align: center;
|
||||
}
|
||||
.addPl{padding-top: 0rpx; margin-bottom: 0rpx;}
|
||||
.pinglunMain{
|
||||
.pl-item{
|
||||
|
||||
Reference in New Issue
Block a user