字体 rpx 单位像素
button按钮显示的文字内容不全?大神,我设置button样式时在iphone5上显示的文字内容不全,但是在iphone6上显示的文字内容是全的,麻烦问下这个问题该怎么解呢? iphone5显示结果:[图片] iphone6显示结果:[图片] 代码如下: wxml文件: <view class="zhutijieshao"> <button bindtap="sx1clickButton1" style=' height:50px;width:22%; '>上一题</button> <button bindtap="sx1clickButton2" style=' height:50px;width:28%; '>核对答案</button> <button bindtap="sx1clickButton7" style=' height:50px;width:28%;'>隐藏中文</button> <button bindtap="sx1clickButton3" style=' height:50px;width:22%; '>下一题</button> </view> <view class="zhutijieshao"> <button bindtap="sx1clickButton4" style='height:50px;width:20% '>重置</button> <button bindtap="sx1clickButton5" style='height:50px;width:40% '>加入错题库</button> <input bindinput="sx1tzth" placeholder="跳转题号" placeholder-style="color: gray" style='background-color: #FFF0F5;height:50px;width:20% ' type="number" bindblur='no_focus' bindfocus="focus" /> <button bindtap="sx1clickButton6" style='height:50px;width:20% '>跳转</button> </view> wxss文件: .zhutijieshao{ display: flex; flex-direction:row; align-items: center; }
2020-02-15