<view class="pagex">
  <view  class="{{showMemberPhone == '' ? 'scan-header-no-member' : 'scan-header' }}" >
    <view class="scan-header-member-phone" hidden="{{showMemberPhone == ''}}">
				欢迎您，{{showMemberPhone}} 
    </view>
    <view class="scan-header-member-point" hidden="{{memberPoint == 0}}">
				积分：{{memberPoint}}
    </view>
  </view>
  <view class="scan-good-body-container"  a:if="{{goods.length > 0}}">
     <scroll-view class="scan-good-body" >
    <block a:for="{{goods}}">
      <view class="scan-list-bg">
        <view class="good-list-item-name-font">
					   {{item.name}}
        </view>
        <view class="scan-good-list-item">
          <view class="good-list-item-price-font">¥{{(item.price/100).toFixed(2)}}</view>
          <view class="good-list-item-quantity-font">
						{{item.quantity}}件
          </view>
        </view>
      </view>
    </block>
  </scroll-view>
  </view>
  <view class="empty-shopcart-container" a:if="{{goods.length == 0}}">
  等待收银员录入商品
    <image class="empty-shopcart" mode="aspectFit" src="/images/empty_shopcart.png"/>
  </view>
  <view slot="footer" class="scan-bottom">
    <view class="scan-bottom-item">
      <view class="scan-price-total-propmt">
			   	总额
      </view>
      <view class="scan-price-total">
			    ¥{{totalPrice}}
      </view>
      <view class="scan-price-quantity-propmt">
			   （共{{totalQuantity}}件）
      </view>
    </view>
    <view class="scan-bottom-item">
      <view class="scan-price-total-propmt">
			   	已优惠
      </view>
      <view class="scan-disc-total">
			    ¥{{totalDisc}}
      </view>
    </view>
  </view>
   <!-- 优惠券  -->
   <scandialog displayDialog="{{scanDialogDisplay}}"
      remindText="{{dialogRemindText}}"
      loadingText="{{dialogLoadingText}}"
      resultSuccessRemind="{{dialogResultSuccessRemind}}"
      resultSuccessText="{{dialogResultSuccessText}}"
      resultFailureRemind="{{dialogResultFailureRemind}}"
      resultFailureText="{{dialogResultFailureText}}"
    />
</view>