<!-- 积分商城 -->
<view class="integral-index">
  <view class="integral-msg">
    <image src="../../images/icon/integral-bg.png" class="bg" />
    <view class="my-integral">
      <view class="number-box">
        <view class="text">我的积分</view>
        <view class="number">{{scoreInfo.score}}</view>
      </view>
      <view class="det" bindtap="navigateTo" data-path="scoreDet">
        明细
        <image src="../../../images/icon/white-arr.png" />
      </view>
    </view>
    <view class="make" bindtap="navigateTo" data-path="scoreIndex">
      <image src="../../../images/icon/make-integral.png" />
      赚积分
    </view>
  </view>
  <view class="integral-list">
    <view class="member-tit">
      <view class="text">积分兑换</view>
    </view>
    <view class="con-box">
      <block wx:for="{{scoreProdList}}" wx:for-item="prod" wx:key="prodId" >
        <goodsitem prod="{{prod}}" bindtap="toScoreProdDet" data-scoreprodid="{{prod.prodId}}"></goodsitem>
      </block>
    </view>
    <view class="empty" wx:if="{{!scoreProdList.length}}">暂无数据</view>
    <view class="empty all" wx:if="{{current==pages}}">已经到底啦~</view>
  </view>
</view>