修改图片超出内容问题

master
mahe 2023-12-18 15:35:20 +08:00
parent 053279f60d
commit 195ea35798
2 changed files with 18 additions and 3 deletions

View File

@ -26,9 +26,11 @@
<Button type="primary" @click='currentIndex = 0'
v-if="storeDisable === 'REFUSED' && currentIndex === 3">重新申请</Button>
</div>
<Modal title="店铺入驻协议" v-model="showAgreement" width="1200" :closable="false" :mask-closable="false">
<div class="agreeent-con" v-html="agreementCon"></div>
<Scroll :on-reach-bottom="handleReachBottom">
<div class="agreeent-con" v-html="agreementCon"></div>
</Scroll>
<div slot="footer" style="text-align: center">
<p>
@ -69,6 +71,9 @@ export default {
agreement().then((res) => {
this.agreementCon = res.result.content;
});
},
handleReachBottom(){
},
getData(status) {
//
@ -173,6 +178,10 @@ export default {
}
.agreeent-con {
max-height: 500px;
::v-deep img{
max-width: 100%;
max-height: 200px;
}
}
.success-page {
height: 500px;

View File

@ -2,7 +2,7 @@
<div>
<Modal v-model="noticeFlage" :title="noticesDetail.title">
<div v-if="noticesDetail" v-html="noticesDetail.content">
<div v-if="noticesDetail" class="noticesDetail" v-html="noticesDetail.content">
</div>
</Modal>
@ -294,4 +294,10 @@ export default {
</script>
<style lang="scss" scoped>
@import "./home.scss";
.noticesDetail{
/deep/ img{
max-width: 100%;
max-height: 200px;
}
}
</style>