TaoLer/view/taoler/index/public/user.html
2023-07-03 12:56:37 +08:00

63 lines
2.2 KiB
HTML
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!--
* @Author: TaoLer <alipay_tao@qq.com>
* @Date: 2021-12-06 16:04:51
* @LastEditTime: 2022-07-30 07:08:19
* @LastEditors: TaoLer
* @Description: 搜索引擎SEO优化设置
* @FilePath: \github\TaoLer\view\taoler\index\public\user.html
* Copyright (c) 2020~2022 https://www.aieok.com All rights reserved.
-->
<!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="{$Request.domain}/static/res/css/font_24081_qs69ykjbea.css" />
<link rel="stylesheet" href="{$Request.domain}/static/component/layui/css/layui.css">
<link rel="stylesheet" href="{$Request.domain}/static/res/css/global.css">
{block name="css"}{/block}
<script src="/static/component/layui/layui.js" charset="utf-8"></script>
<script src="/static/notify.js"></script>
</head>
<body>
{include file="public/header" /}
<div class="layui-container fly-marginTop fly-user-main">
{include file="public/user-nav" /}
<div class="fly-panel " pad20 style="padding-top:10px;">
{block name="content"}
{/block}
</div>
</div>
{include file="public/footer" /}
<script>
var notify = layui.notify;
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');
var $ = layui.jquery;
var articleUrl = "{:url('user/article')}";
artListUrl = "{:url('User/artList')}",
collListUrl = "{:url('User/collList')}",
atrDelUrl = "{:url('article/delete')}",
artEditUrl = "{:url('article/edit')}",
collDelUrl = "{:url('user/colltDel')}",
uploadHeadImg = "{:url('User/uploadHeadImg')}";
</script>
{block name="script"}
{/block}
</body>
</html>