var token=app.globalData.token
var token = wx.getStorageSync('token')
header: {
"Content-Type": "json",
'Authorization': token
},
disabled='{{!isfinish}}'
.total,.item-detail.h,.item-detail.f{
display: flex;
flex-direction: row;
90%;
margin-left: 5%;
margin-right: 5%;
}
.fl{
justify-content: flex-start;
30%
}
.fr{
justify-content: flex-end;
50%
}
/////////////////////////////////////////////
<view class="total">
<view class="fl">积分总额</view>
<view class="fr">999</view>
</view>
<view class="item-detail">
<view class="h">
<view class="fl">标准大床房</view>
<view class='fr'>+55</view>
</view>
<view class="f">
<view class="fl">消费入住</view>
<view class="fr">2019-08-03 08:00:00</view>
</view>
</view>