<navbar back home text="成长值"></navbar>
<view style="height:{{navigationBarHeight}} "></view>
<view class='head' >
  <text>当前</text>
  <text>{{score}}</text>
  <view class='rule' bindtap='gotorule'>规则</view>
  <image class='bg' src='{{bgg}}' mode='widthFix'></image>
</view>
<view class=''>
  <text class='title'>成长值明细</text>
  <view wx:if="{{list.length>0}}">
    <view class='content clearfix' wx:for="{{list}}" wx:key="index">
      <view class='le'>
        <text wx:if="{{item.scoreType==1}}">每日登录</text>
        <text wx:if="{{item.scoreType==2}}">消费</text>
        <text wx:if="{{item.scoreType==3}}">绑车牌</text>
        <text wx:if="{{item.scoreType==4}}">连接WIFI</text>
        <text wx:if="{{item.scoreType==5}}">微信用户昵称授权</text>
        <text wx:if="{{item.scoreType==6}}">微信用户手机授权</text>
        <text wx:if="{{item.scoreType==7}}">完善个人信息</text>
        <text wx:if="{{item.scoreType==8}}">会员导入</text>
        <text wx:if="{{item.scoreType==9}}">{{item.reason}}</text>
        <text>{{item.createDate}}</text>
      </view>
      <view class='fr'>
        <text wx:if="{{item.scoreAmount>0&&item.scoreType==8}}">重置为{{item.scoreAmount}}分</text>
        <text wx:if="{{item.scoreAmount>0&&item.scoreType!=8}}">+{{item.scoreAmount}}分</text>
        <text wx:if="{{0>=item.scoreAmount}}">{{item.scoreAmount}}分</text>
      </view>
    </view>
  </view>
  <view class='nonecontent' wx:if="{{list.length==0}}">
    暂无数据
  </view>
</view>