Commit 8cdcc4fc47d7e3f2919d09dd9d16cd25367eaac9
1 parent
a6f5ff1a
rich-text Html页面纯数字或者纯字母不能换行的bug优化
Showing
2 changed files
with
2 additions
and
2 deletions
pages/giftpack/newvipgift/newvipgift.js
pages/giftpack/newvipgift/newvipgift.wxml
... | ... | @@ -147,7 +147,7 @@ |
147 | 147 | <text>活动规则:</text> |
148 | 148 | </view> |
149 | 149 | <view class="foot_box_text"> |
150 | - <rich-text nodes="{{textTitle}}" name="div"></rich-text> | |
150 | + <rich-text nodes="{{textTitle}}" name="div" style="word-break:break-all;word-wrap:break-word"></rich-text> | |
151 | 151 | </view> |
152 | 152 | </view> |
153 | 153 | </block> | ... | ... |