7.29
This commit is contained in:
@@ -27,8 +27,9 @@ Page({
|
||||
},
|
||||
handleFetRubric(){
|
||||
getRubric().then(res=>{
|
||||
let str = res.replace(/\<img/gi, '<img class="imgstyle"');
|
||||
this.setData({
|
||||
node:res
|
||||
node:str
|
||||
})
|
||||
})
|
||||
},
|
||||
|
||||
@@ -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">
|
||||
|
||||
@@ -90,4 +90,7 @@
|
||||
right:280rpx;
|
||||
width:280rpx;
|
||||
height:300rpx;
|
||||
}
|
||||
.con .imgstyle{
|
||||
max-width: 100%;
|
||||
}
|
||||
Reference in New Issue
Block a user