<wxs src="fil.wxs" module="fil"></wxs>
<block wx:for="{{perpaid}}" wx:for-index="idx" wx:for-item="perpaid">
	<view class="coupon-container" wx:if="{{perpaid.NewSum>0 || perpaid.NewSum=='' }}">
			<image wx:if="{{idx % 4 == 0}}" class="picture" src="{{iurl+'miniapp/images/usermoney/green.png'}}"></image>
			<image wx:if="{{idx % 4 == 1}}" class="picture" src="{{iurl+'miniapp/images/usermoney/red.png'}}"></image>
			<image wx:if="{{idx % 4 == 2}}" class="picture" src="{{iurl+'miniapp/images/usermoney/yellow.png'}}"></image>
			<image wx:if="{{idx % 4 == 3}}" class="picture" src="{{iurl+'miniapp/images/usermoney/blue.png'}}"></image>
		  <view class="info-container flex">
				<view class="left" >
					<view>{{perpaid.ItemName}}</view>
					<view class="pdv20">充{{perpaid.BeginSum}}
					   <text>送{{perpaid.NewSum}}元</text>
					</view>
					<view wx:if="{{perpaid.ItemType==2}}" catchtap="go_detail" data-id="{{perpaid.Id}}">充值送大礼 ></view>
				</view>
				<view class="right">备注：				  
				   	<view class="">{{fil.set_word(perpaid.Remark)}}</view>							   
					<view  class="ljcz" bindtap="submit" data-name="{{perpaid.BeginSum}}" data-item_type="{{perpaid.ItemType}}"
					    data-advance="{{perpaid.Id}}" data-money="{{perpaid.NewSum}}">立即充值</view>					
				</view>
			</view>
			
		  <!-- <view class="rim"> -->
		    <!-- <view class="con">充{{perpaid.BeginSum}}<text>送{{perpaid.NewSum}}元</text></view> -->
		    <!-- <view class="qian">{{perpaid.BeginSum}}</view>
		    <view class="q-one" wx:if="{{perpaid.ItemType==1}}">送{{perpaid.NewSum}}元</view> -->
				<!-- <view class="give"  wx:if="{{perpaid.ItemType==2}}">充值送大礼 ></view> -->
		  <!-- </view> -->
		  <!-- <view class="bz">备注：
		    <view class="yck">{{perpaid.ItemName}}</view>
		  </view> -->
		  <!-- <view wx:if="{{perpaid.ItemType==1}}" class="ljcz" bindtap="submit" data-name="{{perpaid.BeginSum}}" 
		      data-advance="{{perpaid.AdvanceItemId}}"data-money="{{perpaid.NewSum}}">立即充值</view>
		
		  <view wx:if="{{perpaid.ItemType==2}}" class="ljcz" bindtap="go_detail" data-advance="{{perpaid.AdvanceItemId}}">立即充值</view> -->	  
	</view>
  
  
</block>


<view wx:if="{{perpaid.length==0 && is_get}}" style="text-align: center;">
	<nodata title="暂无充值活动" nodataContainer="nodata"></nodata>
</view>

  <view class="mask" catchtouchmove="preventTouchMove" wx:if="{{showModal}}"></view>
  <view class="big-rim modalDlg" wx:if="{{showModal}}">
    <view class="gb-rim" bindtap="shut">
      <image class="imag" src="{{iurl}}/miniapp/images/usermoney/img.png"></image>
    </view>
    <view class="bk">
      <view class="text">充{{BeginSum}}送{{NewSum}}元</view>
      <view class="min-rim">
        <view class="fh">¥</view>
        <view class="value">{{BeginSum}}</view>
      </view>
       <button bindtap="determine" class="button" data-adv="{{adv}}" data-money='{{BeginSum}}' data-moneyone='{{NewSum}}' >确定</button>
    </view>
  </view>


<!-- <view> -->
	<!-- 列表 -->
	<!-- <view class="list"> -->
		<!-- 列表项 -->
		<!-- <view class="coupon"> -->
			<!-- 左 -->
			<!-- <view class="left">
				<view>预存5折</view>
				<view>充1000元</view>
				<view>充值送大礼</view>
			</view> -->
			<!-- 右 -->
			<!-- <view class="right">
				<view>备注：</view>
				<view>立即充值</view>
			</view>
		</view>
	</view>
</view> -->
