<!--{assign var="menu_id" value="lineserv"}-->
<!--{include file="<!--{$oetplpath}-->block_header.tpl"}--> 
<!--{include file="<!--{$oetplpath}-->block_top.tpl"}-->
<div class="oe_content">
	<div class="oe_container">
		<!--{include file="<!--{$oetplpath}-->block_menu.tpl"}-->
		<div class="oe_right">
			<div class="module-title">
				红娘服务订单
			</div>
			<div class="oe_tab_nav clearfix">
				<a class="nav-item fl<!--{if $sflag == '0'}--> active<!--{/if}-->" href="<!--{$oefile}-->&c=lineserv">
					<span class="text">全部<em></em></span>
				</a>
				<a class="nav-item fl<!--{if $sflag == '4'}--> active<!--{/if}-->" href="<!--{$oefile}-->&c=lineserv&sflag=4">
					<span class="text">待审核<em></em></span>
				</a>
				<a class="nav-item fl<!--{if $sflag == '1'}--> active<!--{/if}-->" href="<!--{$oefile}-->&c=lineserv&sflag=1">
					<span class="text">付款中<em></em></span>
				</a>
				<a class="nav-item fl<!--{if $sflag == '2'}--> active<!--{/if}-->" href="<!--{$oefile}-->&c=lineserv&sflag=2">
					<span class="text">服务中<em></em></span>
				</a>
				<a class="nav-item fl<!--{if $sflag == '3'}--> active<!--{/if}-->" href="<!--{$oefile}-->&c=lineserv&sflag=3">
					<span class="text">已完成<em></em></span>
				</a>
			</div>
    <div class="oe_tips">
				<div class="text">
					共有 <span class="percent"><!--{$total}--></span> 条红娘订单！
					<br>红娘顾问会尽快与您取得联系，为您服务。
				</div>
			</div>
      <!--{if empty($lineserv)}-->
      <div class="oe_nodata">
        <p class="p_1"><img src="<!--{$userskin}-->images/nodata.jpg" /></p>
        <p class="p_2">没有符合条件的信息！</p>
      </div>
      <!--{else}-->
			<ul class="oe_order_list">
      
        <!--{foreach $lineserv as $volist}-->
				<li>
					<div class="order_num clearfix">
						<span class="fl">订单：<!--{$volist.servno}--></span>
            
            <span class="status_1 ft">
            <!--{if $volist.flag == '1'}-->
            已审核，待付款
            <!--{elseif $volist.flag == '2'}-->
            服务中
            <!--{elseif $volist.flag == '3'}-->
            服务完成
            <!--{else}-->
            等待处理
            <!--{/if}-->
            </span>
            
					</div>
					<div class="info_wrap">
						<div class="info">
							<div class="avator">
                <!--{if $volist.linetype == "1"}-->
                <img src="<!--{$userskin}-->images/linetype_1.png">
                <!--{elseif $volist.linetype == "2"}-->
                <img src="<!--{$userskin}-->images/linetype_2.png">
                <!--{elseif $volist.linetype == "3"}-->
                <img src="<!--{$volist.entrust.headimg}-->" />
                <!--{elseif $volist.linetype == "4"}-->
                <img src="<!--{$volist.entrust.headimg}-->" />
                <!--{/if}-->
							</div>
							<div class="info_box">
								<div class="content">
                  <span class="lable">委托需求：</span>
                  <!--{$volist.demand}-->
                </div>
								<div class="type">
                  <span class="lable">委托类型：</span>
                  <!--{hook mod="var" item="entrust_linetype" type="text" value=$volist.linetype}-->
                </div>
                
								<div class="matchmaker">
									<span>红娘顾问：</span>&nbsp;&nbsp;&nbsp;
                  <!--{$volist.marker}-->
									<span>联系电话：</span>&nbsp;&nbsp;&nbsp;
                  <!--{$volist.mktel}-->
									<span>手机：</span>&nbsp;&nbsp;&nbsp;
                  <!--{$volist.mkmobile}-->
								</div>
								<div class="time">
									<span>
                    开始时间：
                    <!--{if $volist.begintime > 0}-->
                    <!--{$volist.begintime|date_format:"%Y-%m-%d"}-->
                    <!--{else}-->
                    --
                    <!--{/if}-->
                  </span>
									<span>
                    结束时间：
                    <!--{if $volist.endtime > 0}-->
                    <!--{$volist.endtime|date_format:"%Y-%m-%d"}-->
                    <!--{else}-->
                    --
                    <!--{/if}-->
                  </span>
								</div>
							</div>
						</div>
						<div class="cost">
            
							<div class="monery">服务费用：￥<!--{$volist.fee}--> 元</div>
              
              <!--{if $volist.fee > 0}-->
							<div class="btn">
                <!--{if $volist.paystatus == '10'}-->
                <button class="layui-btn layui-btn-radius active">已付款</button>
                <!--{else}-->
                <button class="layui-btn layui-btn-radius pay_btn" f="but_pay_lineserv" data-id="<!--{$volist.servid}-->"><em></em>立即付款</button>
                <!--{/if}-->
							</div>
              <!--{/if}-->

						</div>
					</div>
				</li>
        <!--{/foreach}-->
        
			</ul>
      <!--{/if}-->
      
      <!--{if $total > 0 && !empty($showpage)}-->
      <div class="oe_page"> <!--{$showpage}--> </div>
      <!--{/if}-->
      
		</div>
	</div>
</div>
<!--{include file="<!--{$uctplpath}-->block_footer.tpl"}-->
<script src="<!--{$userskin}-->js/lineserv.js"></script>
</body>
</html>