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

63 lines
2.2 KiB
HTML
Raw Normal View History

2022-08-02 20:47:28 +08:00
<!--
* @Author: TaoLer <alipay_tao@qq.com>
* @Date: 2021-12-06 16:04:51
2022-08-16 15:19:21 +08:00
* @LastEditTime: 2022-07-30 07:08:19
2022-08-02 20:47:28 +08:00
* @LastEditors: TaoLer
* @Description: 搜索引擎SEO优化设置
2022-08-16 15:19:21 +08:00
* @FilePath: \github\TaoLer\view\taoler\index\public\user.html
2022-08-02 20:47:28 +08:00
* Copyright (c) 2020~2022 https://www.aieok.com All rights reserved.
-->
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开发提供强劲动力">
2023-03-16 22:30:36 +08:00
<link rel="stylesheet" href="https://at.alicdn.com/t/font_24081_qs69ykjbea.css" />
2022-08-02 20:47:28 +08:00
<link rel="stylesheet" href="{$Request.domain}/static/layui/css/layui.css">
<link rel="stylesheet" href="{$Request.domain}/static/res/css/global.css">
2020-07-10 16:39:21 +08:00
{block name="css"}{/block}
2022-08-02 21:13:36 +08:00
<script src="{$Request.domain}/static/layui/layui.js" charset="utf-8"></script>
2022-12-25 17:13:13 +08:00
<script src="/static/notify.js"></script>
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>
2022-12-25 17:13:13 +08:00
var notify = layui.notify;
layui.cache.page = 'user';
layui.cache.user = {
2022-08-16 15:19:21 +08:00
username: "{$user.name ??'游客'}"
2021-12-15 15:46:04 +08:00
,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');
2022-08-02 21:13:36 +08:00
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>
2020-01-01 13:17:19 +08:00
{block name="script"}
{/block}
</body>
</html>