This commit is contained in:
zoujiandong
2025-07-29 15:37:31 +08:00
parent c542b5e0ed
commit d292fec408
15 changed files with 155 additions and 42 deletions
+2 -1
View File
@@ -27,8 +27,9 @@ Page({
},
handleFetRubric(){
getRubric().then(res=>{
let str = res.replace(/\<img/gi, '<img class="imgstyle"');
this.setData({
node:res
node:str
})
})
},
+1 -1
View File
@@ -3,7 +3,7 @@
<view class="page">
<view class="con {{(!type && !signImg)?'active':''}}">
<rich-text nodes="{{node}}"></rich-text>
<rich-text nodes="{{node}}" ></rich-text>
</view>
<view class="imgbox" wx:if="{{signImg}}">
<view class="jiafang">
+3
View File
@@ -90,4 +90,7 @@
right:280rpx;
width:280rpx;
height:300rpx;
}
.con .imgstyle{
max-width: 100%;
}