< cover-view class = "fix-bottom" > < cover-view wx:if = "{{isCallswitch==1}}" class = "footer-contact b_white t_center c_black_new inline-block fz28 detail-contactlandlord-down" catchtap = 'callingsure' data-userid = "{{data.landlord.userId}}" > < cover-image class = "inline-block" src = "../../images/detail/phone-footer.png" ></ cover-image > < cover-view class = "inline" >联系房东</ cover-view > </ cover-view > < cover-view class = "footer-order fr b_green c_white t_center detail-book" catchtap = 'orderTap' data-userid = "{{data.landlord.userId}}" > < cover-view class = "footer-order-left" wx:if="{{dayToShow.totalNum>0}}"> < cover-view class = "footer-order-leftmain" > < cover-view class = "footer-price" > < cover-view class = "fz40 f_bold inline" >¥{{toShowPrice}} </ cover-view > < cover-view class = "fz22 inline" >(共{{dayToShow.totalNum}}晚) </ cover-view > </ cover-view > < cover-view class = "footer-discount fz22" wx:if = "{{toShowDiscount}}" >已享长租优惠{{toShowDiscount}}元</ cover-view > < cover-view class = "footer-discount fz22" wx:if = "{{toShowCoupon}}" >下单立减¥{{toShowCoupon}}元</ cover-view > </ cover-view > </ cover-view > < cover-view class = "footer-order-right" > < cover-image class = "inline-block" src = "//staticnew.mayi.com/resourcesWap/v2018/lodgeDetail/images/flash.png" ></ cover-image > < cover-view class = " c_white fz30 inline" >立即预订</ cover-view > </ cover-view > </ cover-view > </ cover-view > |
.fix- bottom { width : 100% ; height : 118 rpx; background-color : #fff ; z-index : 9999 ; position : fixed ; bottom : 0 ; left : 0 ; box-sizing: border-box; display : flex; } .footer-contact{ width : 250 rpx; box-shadow: 0 -1 rpx 0 0 #EBEBEB ; display : flex; justify- content : center ; align-items: center ; } .footer-contact cover-image{ width : 40 rpx; height : 40 rpx; margin-right : 15 rpx; vertical-align : middle ; } .footer-order{ flex: 1 ; display : flex; display : -webkit-flex; box-shadow: 0 -1 rpx 0 0 #EBEBEB ; } .footer-order- left { padding : 17 rpx 5 rpx 17 rpx 20 rpx; text-align : left ; } .footer-discount{ color : #FFEA94 ; } .footer-order-leftmain { height : 100% ; display : -webkit-flex; display : flex; flex- direction :column; justify- content : center ; } .footer-order-leftmain .footer-price{ display : flex; justify- content : center ; align-items: center ; } .footer-order- right { flex: 1 ; -webkit-flex: 1 ; display : flex; justify- content : center ; align-items: center ; } .footer-order- right cover-image{ width : 20 rpx; height : 36 rpx; margin-right : 10 rpx; vertical-align : middle ; } |
请提供一下出现问题的机型和微信版本,以及能复现问题的简单代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html)。
这不是提供了吗
麻烦按照教程提供:https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html
我也遇到这个问题了,有大神知道是哪里的问题么?