小程序
小游戏
企业微信
微信支付
扫描小程序码分享
button有些手机可以显示而有些不能显示这是为什么
1 个回答
加粗
标红
插入代码
插入链接
插入图片
上传视频
目测是被挤到下一行去了,贴下代码吧。
你好,麻烦通过点击下方“反馈信息”按钮,提供出现问题的。
<view class='submitOrder'>
<view class='dt'>
<view class='em'>应付</view>
¥
<view class='chrmoneyPay2'>{{totalPrice}}</view>
<input name="totalPrice" value="{{totalPrice}}" type="hidden"/>
</view>
<view class='dd'>
<button wx:if="{{tijiao}}" formType="submit" class='submit'>提交订单,进入支付</button >
<button wx:else class='submit' style="background:#aaa;">提交订单,进入支付</button >
.submitOrder {
background-color: rgba(255,255,255,.9);
height: 49px;
position: fixed;
bottom: 0;
z-index: 98;
width: 100%;
left: 0;
border-top: 1px solid #ddd;
}
.submitOrder .dt{
/* float: left; */
display: inline-block;
width: 40%;
font-size: 14px;
line-height: 49px;
margin-left: 10px;
color: #fb9031;
.submitOrder .dt .em{
color: #666;
.submitOrder .dt .chrmoneyPay2{
font-size: 18px;
.submitOrder .dd{
/* float: right; */
/* margin-top: -1px; */
width:55%;
position:relative;
top:-4vh;
.submitOrder .dd .submit{
height: 50px;
line-height: 50px;
background: #00c957;
padding: 0 15px;
color: #ffffff;
font-size: 0.975em;
border: 0 none;
outline: 0;
cursor: pointer;
.submitOrder .dt {
display: inline-block ;
vertical-align: top;
width: 45% ;
font-size: 14px ;
line-height: 49px ;
box-sizing: border-box;
padding-left:20rpx;
color: #fb9031 ;
.submitOrder .dt .chrmoneyPay2 {
font-size: 18px ;
display:
inline
-block ;
.submitOrder .dd {
width: 55%;
top: -4vh ;
谢谢 我去试试看
关注后,可在微信内接收相应的重要提醒。
请使用微信扫描二维码关注 “微信开放社区” 公众号
目测是被挤到下一行去了,贴下代码吧。
<view class='submitOrder'>
<view class='dt'>
<view class='em'>应付</view>
¥
<view class='chrmoneyPay2'>{{totalPrice}}</view>
<input name="totalPrice" value="{{totalPrice}}" type="hidden"/>
</view>
<view class='dd'>
<button wx:if="{{tijiao}}" formType="submit" class='submit'>提交订单,进入支付</button >
<button wx:else class='submit' style="background:#aaa;">提交订单,进入支付</button >
</view>
</view>
.submitOrder {
background-color: rgba(255,255,255,.9);
height: 49px;
position: fixed;
bottom: 0;
z-index: 98;
width: 100%;
left: 0;
border-top: 1px solid #ddd;
}
.submitOrder .dt{
/* float: left; */
display: inline-block;
width: 40%;
font-size: 14px;
line-height: 49px;
margin-left: 10px;
color: #fb9031;
}
.submitOrder .dt .em{
font-size: 14px;
color: #666;
display: inline-block;
}
.submitOrder .dt .chrmoneyPay2{
font-size: 18px;
display: inline-block;
}
.submitOrder .dd{
/* float: right; */
/* margin-top: -1px; */
display: inline-block;
width:55%;
position:relative;
top:-4vh;
}
.submitOrder .dd .submit{
height: 50px;
line-height: 50px;
background: #00c957;
padding: 0 15px;
color: #ffffff;
font-size: 0.975em;
border: 0 none;
outline: 0;
cursor: pointer;
}
.submitOrder .dt {
display: inline-block ;
vertical-align: top;
width: 45% ;
font-size: 14px ;
line-height: 49px ;
box-sizing: border-box;
padding-left:20rpx;
color: #fb9031 ;
}
.submitOrder .dt .chrmoneyPay2 {
font-size: 18px ;
display:
inline
-block ;
vertical-align: top;
}
.submitOrder .dd {
display:
inline
-block ;
width: 55%;
vertical-align: top;
top: -4vh ;
}
谢谢 我去试试看