	<div id="logo" class="tc"><img src="{$CFG[weburl]}/templates/{$CFG[tplname]}/images/logo.png" alt="{$CFG['webname']}" /></div>

	<!-- main -->
	<div class="main">
		<!--login-profile-->
			{if empty($top_box)}
			<div class="top-bottom-box"></div>
			{/if}
			<div class="banner">
				<div class="header-menu">
					<ul>
							{loop $topnav $val}
								<li><a href="{$val['url']}"{if (strpos($val[url],$durl)!==false)} class="select"{/if}{if ($val['navname']=='首页') && (empty($durl) || $durl=='member' || $durl=='city')} class="select"{/if}>{$val['navname']}</a></li>
							{/loop}
								<li class="float-rt">
								<div class="mu_tip">
								{if empty($_userid)}
									<a href="member.php">会员中心</a>
								{else}
									<a href="member.php">{$_username}</a>
								{/if}
								</div>
								</li>
					</ul>
				</div>
			</div>
		<div class="clear"> </div>
		
<script>layui.use(['util','layer'], function(){
  var util = layui.util;
  var layer = layui.layer;
	util.fixbar({
	  bar1: true,
	  bar2: '&#xe63b;',
	  top: true,
	  bgcolor: '#4dc2ff',
	  css: {right:15,bottom:100},
	  click: function(type){
		console.log(type);
		if(type === 'bar1'){
			window.location.href="member.php?act=member_msg";
		}
		if(type === 'bar2'){
			layer.tips('<img src=images/qr.gif width=150px height=150px>', '.layui-fixbar', {
				tips: [4, '#fff'],
				fixed: true
			});
		}
	  }
	})
});

</script>
