<!--{include file="<!--{$oetplpath}-->block_head.tpl"}-->

<!--{if $a == "run"}-->
<div class="layui-fluid oe_fluid">
  <blockquote class="layui-elem-quote" style="margin-top:10px;">
    <strong>温馨提示：</strong>
    记录会员钱包增加、减少明细。会员钱包来源网站退款、会员打赏等。
  </blockquote>
  
  <form class="layui-form" id="mysearch" action="<!--{$oefile}-->&c=<!--{$c}-->" method="post">
  <div class="oe_breadcrumb_box clearfix">
    <div class="layui-breadcrumb fl" lay-filter="breadcrumb" style="visibility: visible;">
      <a href="javascript:;">财务管理</a><span lay-separator="">/</span>
      <a href="javascript:;">财务记录</a><span lay-separator="">/</span>
      <a><cite>会员钱包明细</cite></a>
    </div>
  </div>
  <!--//Top End -->
  
  <div class="oe_searchbar layui-form">
    <div class="more_search_open"></div>
    <div class="layui-form-item">
      <div class="layui-inline">
        <div class="layui-form-label">&nbsp;UID：</div>
        <div class="layui-input-inline">
          <input type="text" name="suserid" id="suserid" class="layui-input" value="<!--{if $suserid > 0}--><!--{$suserid}--><!--{/if}-->" />
        </div>
      </div>
      <div class="layui-inline">
        <div class="layui-form-label">用户名：</div>
        <div class="layui-input-inline">
          <input type="text" name="susername" id="susername" class="layui-input" value="<!--{$susername}-->" />
        </div>
      </div>
      <div class="layui-inline">
        <div class="layui-form-label">姓名：</div>
        <div class="layui-input-inline">
          <input type="text" name="struename" id="struename" class="layui-input" value="<!--{$struename}-->" />
        </div>
      </div>
      
    </div>
    
    <div class="layui-form-item">
    
      <div class="layui-inline">
        <div class="layui-form-label">明细：</div>
        <div class="layui-input-inline">
          <input type="text" name="stext" id="stext" class="layui-input" value="<!--{$stext}-->" />
        </div>
      </div>
      
      <div class="layui-inline">
        <div class="layui-form-label">日&#12288;期：</div>
        <div class="layui-input-inline input-120">
          <input type="text" name="sdate" id="sdate" class="layui-input" placeholder="年-月-日" value="<!--{$sdate}-->" /> 
        </div>
        <div class="layui-form-label">-</div>
        <div class="layui-input-inline input-120">
          <input type="text" name="edate" id="edate" class="layui-input" placeholder="年-月-日" value="<!--{$edate}-->" />
        </div>
      </div>
      <script type="text/javascript">
      layui.use('laydate', function(){
          $laydate = layui.laydate;
          $laydate.render({
              elem: "#sdate"
          });
          $laydate.render({
              elem: "#edate"
          });
      });
      </script>
      <div class="layui-inline">
        <button class="layui-btn layui-btn-sm search" id="but_submit_search" lay-submit lay-filter="searchform2">
          <i class="layui-icon layui-icon-search"></i>
          搜索
          <span class="oe_btn_loading layui-anim layui-icon layui-anim-rotate layui-anim-loop" style="display:none;">&#xe63d;</span>
        </button>
      </div>
    </div>
  </div>
  <!--//search End -->
  </form>

  <div class="oe_table_wrap layui-form">
    <div class="oe_tbl_tool clearfix">
      <div class="oe_gnbar clearfix">
        <a href="<!--{$oefile}-->&c=finance&a=income" class="btn add fl del_line">
          <i class="layui-icon layui-icon-add-1"></i>
          <span>添加钱包</span>
        </a>
      </div>
      <div class="oe_tongji_bar clearfix current">
        <span><b><!--{$total}--></b> 条记录</span>
      </div>
    </div>

    <table class="layui-table">
      <thead>
        <tr>
          <th width="8%">ID</th>
          <th width="9%">UID</th>
          <th width="9%">用户名</th>
          <th width="8%">姓名</th>
          <th width="15%">发生时间</th>
          <th width="10%">增加(元)</th>
          <th width="10%">减少(元)</th>
          <th>明细</th>
        </tr>
      </thead>
      <!--{if empty($income)}-->
      <tr>
        <td class="text_center" colspan="8">没有符合条件的信息</td>
      </tr>
      <!--{else}-->
      <!--{foreach $income as $volist}-->
      <tr>
        <td class="text_center"><!--{$volist.actionid}--></td>
        <td class="text_center"><!--{$volist.userid}--></td>
        <td class="text_center"><!--{$volist.username}--></td>
        <td class="text_center"><!--{$volist.truename}--></td>
        <td class="text_center"><!--{$volist.actiontime|date_format:"%Y-%m-%d %H:%M:%S"}--></td>
        <td class="text_center">
          <!--{if $volist.actiontype == '1'}-->
          <font color="red">+¥<!--{doubleval($volist.quantity)}--></font>
          <!--{/if}-->
        </td>
        <td class="text_center">
          <!--{if $volist.actiontype == '2'}-->
          <font color="green">-¥<!--{doubleval($volist.quantity)}--></font>
          <!--{/if}-->
        </td>
        <td><!--{$volist.logcontent}--></td>
      </tr>
      <!--{/foreach}-->
      <!--{/if}-->
    </table>

    
    <div class="oe_page_box"><!--{$showpage}--></div>
    
  </div>
</div>
<!--{/if}-->
</body>
</html>