<view class="container FlexColumn" style='min-height:{{Containnerheight}}rpx;'>
  
  <view style='height:50rpx'></view>
  <view class="panel1 FlexColumn" wx:for="{{PayList}}" wx:key="index" wx:if="{{PayList.length>0}}">
    <view class="item0 item FlexRow">
      <view class="left FlowColumn">
        <view class="title0 FlexRow">
          <view class="title0_1">支付时间</view>
          <view>{{item.PayEndTime}}</view>
        </view>
        <view class="title0 FlexRow">
          <view class="title0_1">交易单号</view>
          <view>{{item.TradeNo}}</view>
        </view>
      </view>
      <view class="right2 right">{{item.MoneyTotal}}</view>
    </view>

    <view class="panel2 FlexColumn" wx:if="{{item.Name}}">
      <view class="item FlexRow">
        <view class="left FlexRow">
          <image src='../images/{{item.ImageName}}.png' class="img" />
          <view class="title1">
            {{item.Name}}
          </view>
          <view class="title2">
          </view>
        </view>
        <view class="right">
        </view>
      </view>
      <view class="lineWidthAll FlexRow">
        <view class="lineWidth720"></view>
      </view>
    </view>

    <view class="panel2 FlexColumn" wx:for="{{item.List}}" wx:key="i" wx:for-item="itemChild" wx:for-index="i">
      <view class="item FlexRow">
        <view class="left FlexRow">
          <image src='../images/{{itemChild.ImageName}}' class="img" />
          <view class="title1">
            {{itemChild.ProductName}}
          </view>
          <view class="title2">
          </view>
        </view>
        <view class="right">
          <view>{{item.UseTime}}</view>
        </view>
      </view>
      <view class="lineWidthAll FlexRow" wx:if="{{i<item.List.length-1}}">
        <view class="lineWidth720"></view>
      </view>
    </view>
  </view>

  <view class='panelNull' wx:if="{{PayList.length==0}}">没有帐单</view>

  <view class="panelIsLogin" wx:if="{{IsLogin==-1}}" bindtap="showLogin">
    登录查看订单
  </view>
  
  <view  wx:if="{{IsLogin==-2}}" class="panelLogin FlexColumn" style='height:{{Containnerheight}}rpx;'>
    <view class="panelLogin1 FlexColumn">
      <view class="text1">用户名</view>
      <input class="input" bindinput="onKeyInput" value="{{UserName}}"/>
      <view class="text1">密码</view>
      <input class="input" password="true" bindinput="onKeyInput2" value="{{UserPwd}}"/>
      <view class="panelLogin2 FlexRow">
        <view class="panelLogin21" bindtap="hideLogin">取消</view>
        <view class="panelLogin21" bindtap="login">登录</view>
      </view>
    </view>
  </view>
</view>