Commit 8cdcc4fc47d7e3f2919d09dd9d16cd25367eaac9

Authored by yvan.ni
1 parent a6f5ff1a

rich-text Html页面纯数字或者纯字母不能换行的bug优化

pages/giftpack/newvipgift/newvipgift.js
... ... @@ -28,7 +28,7 @@ Page({
28 28 integralTitle: "",
29 29 growUpTitle: "",
30 30 is_sub: 0, //是否重复领取
31   - }]
  31 +
32 32 },
33 33 GetList: function() {
34 34 var th = this;
... ...
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>
... ...