53 lines
1.7 KiB
HTML
53 lines
1.7 KiB
HTML
<!DOCTYPE html>
|
||
<html>
|
||
<head>
|
||
<meta charset="utf-8">
|
||
<title>用户中心</title>
|
||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
|
||
<meta name="keywords" content="TaoLer社区">
|
||
<meta name="description" content="TaoLer社区是模块化前端UI框架社区,致力于为web开发提供强劲动力">
|
||
<link rel="stylesheet" href="/static/res/css/font_24081_qs69ykjbea.css" />
|
||
<link rel="stylesheet" href="/static/layui/css/layui.css">
|
||
<link rel="stylesheet" href="/static/res/css/global.css">
|
||
{block name="css"}{/block}
|
||
</head>
|
||
<body>
|
||
{include file="public/header" /}
|
||
<div class="layui-container fly-marginTop fly-user-main">
|
||
{include file="public/user-nav" /}
|
||
<div class="fly-panel fly-panel-user" pad20 style="padding-top:20px;">
|
||
{block name="content"}
|
||
{/block}
|
||
</div>
|
||
</div>
|
||
{include file="public/footer" /}
|
||
<script>
|
||
var articleUrl = "{:url('user/article')}";
|
||
var artListUrl = "{:url('User/artList')}";
|
||
var collListUrl = "{:url('User/collList')}";
|
||
var atrDelUrl = "{:url('article/delete')}";
|
||
var artEditUrl = "{:url('article/edit')}";
|
||
var collDelUrl = "{:url('user/colltDel')}";
|
||
var uploadHeadImg = "{:url('User/uploadHeadImg')}";
|
||
|
||
layui.cache.page = 'user';
|
||
layui.cache.user = {
|
||
username: '{$user.name??'游客'}'
|
||
,uid: '{$user.id ?? -1}'
|
||
,avatar: '{$user['user_img'] ?? '/static/res/images/avatar/00.jpg'}'
|
||
,experience: '{$user.point ?? ''}'
|
||
,sex: '{$user.sex ? '女':'男'}'
|
||
};
|
||
layui.config({
|
||
version: "3.0.0"
|
||
,base: '/static/res/mods/'
|
||
}).extend({
|
||
fly: 'index'
|
||
}).use('fly');
|
||
</script>
|
||
{block name="script"}
|
||
<script>
|
||
</script>
|
||
{/block}
|
||
</body>
|
||
</html> |