Browse Source

fix overflow bug

Z1hgq 6 years ago
parent
commit
0466ca89b3
2 changed files with 6 additions and 2 deletions
  1. 3 1
      wechat/pages/apply-leave/apply-leave.wxml
  2. 3 1
      wechat/pages/my-log/my-log.wxml

+ 3 - 1
wechat/pages/apply-leave/apply-leave.wxml

xqd xqd
@@ -1,3 +1,4 @@
+<view style='overflow-x:hidden'>
 <form bindsubmit="formSubmit">
   <view>
     <zan-cell-group>
@@ -29,4 +30,5 @@
     </zan-button-group> -->
     <button formType="submit" type='primary' class='submit-btn'>提交</button>
   </view>
-</form>
+</form>
+</view>

+ 3 - 1
wechat/pages/my-log/my-log.wxml

xqd xqd
@@ -1,3 +1,4 @@
+<view style='overflow-x:hidden'>
 <view style="margin-top:20px">
   <calendar
     bindprevMonth="prevDate"
@@ -13,4 +14,5 @@
     <zan-cell title="总学习时间" value="{{ totalLearnTime }}"> </zan-cell>
     <zan-cell title="总打卡天数" value="{{ checkCardDays }}"> </zan-cell>
   </zan-cell-group>
-</view>
+</view>
+</view>