Commit 8cdcc4fc47d7e3f2919d09dd9d16cd25367eaac9

Authored by yvan.ni
1 parent a6f5ff1a

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

pages/giftpack/newvipgift/newvipgift.js
@@ -28,7 +28,7 @@ Page({ @@ -28,7 +28,7 @@ Page({
28 integralTitle: "", 28 integralTitle: "",
29 growUpTitle: "", 29 growUpTitle: "",
30 is_sub: 0, //是否重复领取 30 is_sub: 0, //是否重复领取
31 - }] 31 +
32 }, 32 },
33 GetList: function() { 33 GetList: function() {
34 var th = this; 34 var th = this;
pages/giftpack/newvipgift/newvipgift.wxml
@@ -147,7 +147,7 @@ @@ -147,7 +147,7 @@
147 <text>活动规则:</text> 147 <text>活动规则:</text>
148 </view> 148 </view>
149 <view class="foot_box_text"> 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 </view> 151 </view>
152 </view> 152 </view>
153 </block> 153 </block>