<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<meta http-equiv="X-UA-Compatible" content="ie=edge">
	<title>会员中心 - KGCMS</title>
	<link rel="stylesheet" href="{{kg['tpl_url']}}mobile/css/center_nav.css">
	<script src="{{kg['tpl_url']}}mobile/js/jquery-3.2.1.min.js"></script>
	<script src="{{kg['tpl_url']}}mobile/js/weui.min.js"></script>
	<script src="{{kg['tpl_url']}}mobile/js/zepto.min.js"></script>
	<script src="{{kg['tpl_url']}}mobile/js/common.js"></script>
	<script src="{{kg['tpl_url']}}mobile/js/center_nav.js"></script>
</head>
<body ontouchstart >
	{% include 'component_header_mobile.tpl' %}
	<div class="box"  >
		<div class="content">
			<div class="weui-tab__panel">
				<div class="weui-media-box weui-media-box_appmsg bg_white user_info">
					<div class="weui-media-box__hd align_center">
						<div class="head_portrait"><img src="{% if kg['user']['image'] %}{{kg['user']['image']}}{% else %}{{kg['tpl_url']}}images/noavatar_big.jpg{% endif %}" alt=""  width="60" height="60" onload="kg.img_auto_size(this)"></div>
					</div>
					<div class="weui-media-box__bd">
						<h4 class="weui-media-box__title title">{{kg['user']['username']}}</h4>
						<ul class="weui-media-box__info">
							<li class="weui-media-box__info__meta">会员级别：<span>{{kg['user']['rank_name']}}</span></li>
							<li class="weui-media-box__info__meta">我的积分：<span>{{kg['user']['scores']}}</span></li>
						</ul>
					</div>
				</div>

				<div class="weui-cells">
					<div class="weui-cell icon-cell">
						<a class="weui-cell__bd weui-cell_access text-center" href="release_vote_mobile">
							<div class="icon-wrap"><i class="fa fa fa-share" style="background: #fa5151;"></i></div>
							发布投票
							</a>
							<a class="weui-cell__bd weui-cell_access text-center" href="vote_management_mobile">
								<div class="icon-wrap"><i class="fa fa-signal"  style="background: #10aeff;"></i></div>
							投票管理
							</a>
							<a class="weui-cell__bd weui-cell_access text-center" href="user_research_list_mobile">
								<div class="icon-wrap"><i class="fa fa-edit"></i></div>
								问卷管理
							</a>
							<a class="weui-cell__bd weui-cell_access text-center" href="user_research_data_mobile">
								<div class="icon-wrap"><i class="fa fa-bar-chart-o"  style="background: #ffc300;"></i></div>
								调查数据
							</a>
					</div>
				</div>
				<div class="weui-cells user_list">
					<!-- <a class="weui-cell weui-cell_access" href="#">
						<div class="weui-cell__bd"><p>会员中心</p></div>
						<div class="weui-cell__ft"></div>
					</a> -->
					<a class="weui-cell weui-cell_access" href="info_modify_mobile">
						<div class="weui-cell__bd"><p>修改会员资料</p></div>
						<div class="weui-cell__ft"></div>
					</a>
					<a class="weui-cell weui-cell_access" href="pwd_modify_mobile">
						<div class="weui-cell__bd"><p>修改注册邮箱及登录密码</p></div>
						<div class="weui-cell__ft"></div>
					</a>
					<a class="weui-cell weui-cell_access" href="my_address_mobile">
						<div class="weui-cell__bd"><p>收货地址管理</p></div>
						<div class="weui-cell__ft"></div>
					</a>
					<a class="weui-cell weui-cell_access" href="order_mobile">
						<div class="weui-cell__bd"><p>我的订单管理</p></div>
						<div class="weui-cell__ft"></div>
					</a>
					<a class="weui-cell weui-cell_access" href="recharge_mobile">
						<div class="weui-cell__bd"><p>在线充值</p></div>
						<div class="weui-cell__ft"></div>
					</a>
					<a class="weui-cell weui-cell_access" href="order_logs_mobile">
						<div class="weui-cell__bd"><p>操作日志及交易记录</p></div>
						<div class="weui-cell__ft"></div>
                    </a>
                    <!-- <a class="weui-cell weui-cell_access" href="release_vote_mobile">
						<div class="weui-cell__bd"><p>发布投票</p></div>
						<div class="weui-cell__ft"></div>
                    </a>
                    <a class="weui-cell weui-cell_access" href="vote_management_mobile">
						<div class="weui-cell__bd"><p>投票管理</p></div>
						<div class="weui-cell__ft"></div>
                    </a>
                    <a class="weui-cell weui-cell_access" href="user_research_list_mobile">
						<div class="weui-cell__bd"><p>问卷调查</p></div>
						<div class="weui-cell__ft"></div>
                    </a>
                    <a class="weui-cell weui-cell_access" href="user_research_data_mobile">
						<div class="weui-cell__bd"><p>调查数据</p></div>
						<div class="weui-cell__ft"></div>
					</a>
				 -->
					<!-- <a class="weui-cell weui-cell_access" href="#">
						<div class="weui-cell__bd"><p>安全退出</p></div>
						<div class="weui-cell__ft"></div>
					</a> -->
				</div>
				<!-- 会员中心 -->
				<div class="weui-cells user_list hide">
					<div class="weui-navbar">
						<div class="weui-navbar__item active">
							会员基本信息
						</div>
						<div class="weui-navbar__item">
							我的资料信息
						</div>
						<div class="weui-navbar__item hide">
							最近交易记录
						</div>
					</div>

					<div class="nav_list1">
						<div class="weui-cell">
							<div class="weui-cell__hd"><label class="weui-label">会员帐号2</label></div>
							<div class="weui-cell__bd">
								{{kg['user']['username']}}
							</div>
						</div>
						<div class="weui-cell">
							<div class="weui-cell__hd"><label class="weui-label">我的积分</label></div>
							<div class="weui-cell__bd">
								{{kg['user']['scores']}}
							</div>
						</div>
						<div class="weui-cell">
							<div class="weui-cell__hd"><label class="weui-label">可用资金</label></div>
							<div class="weui-cell__bd">
								{{kg['user']['money']}} 元
							</div>
						</div>
						<div class="weui-cell">
							<div class="weui-cell__hd"><label class="weui-label">已消费金额（元）</label></div>
							<div class="weui-cell__bd">
								{{kg['user']['usemoney']}} 元
							</div>
						</div>
						<div class="weui-cell">
							<div class="weui-cell__hd"><label class="weui-label">登录次数</label></div>
							<div class="weui-cell__bd">
								{{kg['user']['frequency']}} 次
							</div>
						</div>
					</div>
					<div class="nav_list2 hide">
						<div class="weui-cell">
							<div class="weui-cell__hd"><label class="weui-label">昵称</label></div>
							<div class="weui-cell__bd">
								{{kg['user']['nickname']}}
							</div>
						</div>
						<div class="weui-cell">
							<div class="weui-cell__hd"><label class="weui-label">性别</label></div>
							<div class="weui-cell__bd">
								{% set SEX=['女','男','保密'] %}
								{{SEX[kg['user']['sex']]}}
							</div>
						</div>
						<div class="weui-cell">
							<div class="weui-cell__hd"><label class="weui-label">联系电话</label></div>
							<div class="weui-cell__bd">
								{{kg['user']['phone']}} 
							</div>
						</div>
						<div class="weui-cell">
							<div class="weui-cell__hd"><label class="weui-label">腾讯QQ</label></div>
							<div class="weui-cell__bd">
								{{kg['user']['qq']}} 
							</div>
						</div>
						<div class="weui-cell">
							<div class="weui-cell__hd"><label class="weui-label">注册邮箱</label></div>
							<div class="weui-cell__bd">
								{{kg['user']['email']}} 
							</div>
						</div>
						<div class="weui-cell">
							<div class="weui-cell__hd"><label class="weui-label">传真号码</label></div>
							<div class="weui-cell__bd">
								{{kg['user']['fax']}}
							</div>
						</div>
						<div class="weui-cell">
							<div class="weui-cell__hd"><label class="weui-label">公司名称</label></div>
							<div class="weui-cell__bd">
								{{kg['user']['companyname']}}
							</div>
						</div>
						<div class="weui-cell">
							<div class="weui-cell__hd"><label class="weui-label">公司网址</label></div>
							<div class="weui-cell__bd">
								{{kg['user']['companyweb']}} 
							</div>
						</div>
						<div class="weui-cell">
							<div class="weui-cell__hd"><label class="weui-label">公司地址</label></div>
							<div class="weui-cell__bd">
								{{kg['user']['companyaddress']}} 
							</div>
						</div>
					</div>		
					<div class="nav_list3 hide">
						{% for row in kg['transaction'] %}
						<div class="weui-cell">
							<div class="weui-cell__hd"><label class="weui-label">订单号</label></div>
							<div class="weui-cell__bd">
								{{row['oid']}}
							</div>
						</div>
						<div class="weui-cell">
							<div class="weui-cell__hd"><label class="weui-label">发生时间</label></div>
							<div class="weui-cell__bd">
								{{row['date']}}
							</div>
						</div>
						<div class="weui-cell">
							<div class="weui-cell__hd"><label class="weui-label">类型/金额</label></div>
							<div class="weui-cell__bd">
								{{row['amount']}}
							</div>
						</div>
						<div class="weui-cell">
							<div class="weui-cell__hd"><label class="weui-label">事件</label></div>
							<div class="weui-cell__bd">
								{{row['type']}}
							</div>
						</div>
						<div class="weui-cell">
							<div class="weui-cell__hd"><label class="weui-label">结果</label></div>
							<div class="weui-cell__bd">
								{{row['result']}}
							</div>
						</div>
						{% endfor %}
					</div>
				</div>
		
			
			</div>
			{% include 'component_footer_mobile.tpl' %}
		</div>
		<!-- {% include 'component_footer_tab_mobile.tpl' %} -->
	</div>
</body>
</html>