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