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;
    width: 90%;

margin-left: 5%;
    margin-right: 5%;
}
.fl{
    justify-content: flex-start;
    width: 30%
}
.fr{
    justify-content: flex-end;
    width: 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>
posted on 2019-03-10 22:38  故事细腻。  阅读(81)  评论(0编辑  收藏  举报