158 lines
5.0 KiB
HTML
158 lines
5.0 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" maximum-scale=1 , user-scalable=0”>
|
|
<title>词汇江湖-我的发布</title>
|
|
<link rel="shortcut icon" href="bitbug_favicon.ico" />
|
|
<!-- 引入所需要的css -->
|
|
<!-- 引入页面所需要的css -->
|
|
<link rel="stylesheet" href="../assets/css/style.css">
|
|
<link rel="stylesheet" href="../assets/css/header.css">
|
|
<link rel="stylesheet" href="../assets/css/footer.css">
|
|
<link rel="stylesheet" href="../assets/css/main.css">
|
|
<link rel="stylesheet" href="../assets/css/base.css">
|
|
<link rel="stylesheet" href="../assets/css/bootstrap.css">
|
|
<link rel="stylesheet" href="../assets/iconfont/iconfont.css">
|
|
<!-- 引入所需要的js文件 -->
|
|
<script src="../assets/js/jquery-3.4.1.min.js"></script>
|
|
<script src="../assets/js/ajax.js"></script>
|
|
<!-- 头部导航所需要的css -->
|
|
<style>
|
|
body {
|
|
background: url(../assets/images/bg5.png);
|
|
background-size: 100% 100%;
|
|
background-repeat: no-repeat;
|
|
}
|
|
|
|
.div1 {
|
|
background-color: #343a40;
|
|
}
|
|
.w {
|
|
margin: 0 auto;
|
|
width: 1200px;
|
|
}
|
|
</style>
|
|
|
|
|
|
|
|
|
|
</head>
|
|
|
|
<body onload="myshi(),myci(),usermessage()">
|
|
<div id="header"></div>
|
|
|
|
<!-- 头部导航结束 -->
|
|
<!-- 富文本编辑器开始 -->
|
|
<div class="user-wrap ">
|
|
<div class="user-area ">
|
|
<div class="text ">
|
|
<h1 style="font-size: 20px;margin-right: -20px; ">用户管理</h1>
|
|
</div>
|
|
<hr style="border: 1px dashed #e8e8e8;">
|
|
<div class="user ">
|
|
<ul class="user-list">
|
|
<a href="../index.html">
|
|
<li>
|
|
<span class="iconfont icon-shouye"></span>首 页
|
|
</li>
|
|
</a>
|
|
<a href="./index.html">
|
|
<li>
|
|
<span class="iconfont icon-zelvgongyongyonghuzhongxinz003"></span>用户中心
|
|
</li>
|
|
</a>
|
|
<a href="./text.html">
|
|
<li>
|
|
<span class="iconfont icon-fabu"></span>发布诗词
|
|
</li>
|
|
</a>
|
|
<a href="./mytext.html">
|
|
<li>
|
|
<span class="iconfont icon-wodefabu"></span>我的发布
|
|
</li>
|
|
</a>
|
|
<a href="./guanli.html">
|
|
<li>
|
|
<span class="iconfont icon-wodefabu"></span>诗词管理
|
|
</li>
|
|
</a>
|
|
<a href="./shoucang.html">
|
|
<li>
|
|
<span class="iconfont icon-shoucang"></span>我的收藏
|
|
</li>
|
|
</a>
|
|
<a href="./guanzhu.html">
|
|
<li>
|
|
<span class="iconfont icon-wodeguanzhu"></span>我的关注
|
|
</li>
|
|
</a>
|
|
<a href="./manage.html">
|
|
<li>
|
|
<span class="iconfont icon-shezhi"></span>账号设置
|
|
</li>
|
|
</a>
|
|
<a href="./xiaoxi.html">
|
|
<li>
|
|
<span class="iconfont icon-xiaoxi"></span>消息中心
|
|
</li>
|
|
</a>
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<div class="user-right">
|
|
<div class="user-text-title">
|
|
<h2>我的发布</h2>
|
|
|
|
</div>
|
|
<div style="font-size: 20px;text-align: center;font-family: '楷体';">我发布的词</div>
|
|
<ul class=" mytext poems">
|
|
|
|
</ul>
|
|
<div style="font-size: 20px;text-align: center;font-family: '楷体';">我发布的诗</div>
|
|
<ul class=" mytext dynastys">
|
|
|
|
</ul>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
</div>
|
|
|
|
<div id="footer"></div>
|
|
</body>
|
|
<script>
|
|
$(function() {
|
|
$('#header').load('./common/header.html');
|
|
$('#footer').load('./common/footer.html');
|
|
})
|
|
function shitype(){
|
|
var userId = sessionStorage.getItem('userId');
|
|
var userToken = sessionStorage.getItem("yq_token");
|
|
$.ajax({
|
|
undefined,
|
|
headers: {
|
|
undefined,
|
|
"token": userToken //此处放置请求到的用户token
|
|
},
|
|
url: 'http://127.0.0.1:88/consumer/add/dynasty/type/',
|
|
// 请求方式
|
|
type: 'GET',
|
|
//成功回调
|
|
success: function(data) {
|
|
document.getElementById("shciname").value = data.data.dynastyName;
|
|
document.getElementById("shciId").value = data.data.dynastyId;
|
|
},
|
|
});
|
|
};
|
|
|
|
</script>
|
|
|
|
|
|
</html> |