TaoLer/view/taoler/index/public/user.html

53 lines
1.7 KiB
HTML
Raw Normal View History

2020-01-01 13:17:19 +08:00
<!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" />
2020-01-18 08:04:01 +08:00
<link rel="stylesheet" href="/static/layui/css/layui.css">
2020-01-01 13:17:19 +08:00
<link rel="stylesheet" href="/static/res/css/global.css">
2020-07-10 16:39:21 +08:00
{block name="css"}{/block}
2020-01-01 13:17:19 +08:00
</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>
2021-05-24 18:46:16 +08:00
</div>
{include file="public/footer" /}
<script>
2021-05-24 18:46:16 +08:00
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')}";
2021-05-24 18:46:16 +08:00
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>
2020-01-01 13:17:19 +08:00
{block name="script"}
2021-05-24 18:46:16 +08:00
<script>
</script>
2020-01-01 13:17:19 +08:00
{/block}
</body>
</html>