模版更新

This commit is contained in:
xiongxiaoyang 2024-05-28 09:42:27 +08:00
parent b0c249cdca
commit ea5c0e8bd1
32 changed files with 312 additions and 311 deletions

View File

@ -1,5 +1,5 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"> <html xmlns="http://www.w3.org/1999/xhtml">
<head> <head>
<head> <head>
@ -14,7 +14,8 @@
<div class="header"> <div class="header">
<div class="mainNav" id="mainNav"> <div class="mainNav" id="mainNav">
<div class="box_center cf" style="text-align: center;height: 44px;line-height: 48px;color: #fff;font-size: 16px;"> <div class="box_center cf"
style="text-align: center;height: 44px;line-height: 48px;color: #fff;font-size: 16px;">
小说精品屋作家管理 小说精品屋作家管理
@ -37,7 +38,9 @@
<div class="my_r"> <div class="my_r">
<div class="my_bookshelf"> <div class="my_bookshelf">
<div class="title cf"> <div class="title cf">
<h2 class="fl ml10"><a href="/author/author_income_detail.html">订阅明细</a></h2><i class="fl ml20 mr20 font16">|</i><h2 class="fl"><a href="/author/author_income.html" class="red">稿费汇总</a></h2> <h2 class="fl ml10"><a href="/author/author_income_detail.html">订阅明细</a></h2><i
class="fl ml20 mr20 font16">|</i>
<h2 class="fl"><a href="/author/author_income.html" class="red">稿费汇总</a></h2>
</div> </div>
<div id="divData" class="updateTable"> <div id="divData" class="updateTable">
@ -62,7 +65,6 @@
<tbody id="bookList"> <tbody id="bookList">
</tbody> </tbody>
</table> </table>
<div class="pageBox cf" id="shellPage"> <div class="pageBox cf" id="shellPage">
@ -176,7 +178,7 @@
} else if (data.code == 1001) { } else if (data.code == 1001) {
//未登录 //未登录
location.href = '/user/login.html?originUrl=' + decodeURIComponent(location.href); location.href = '/user/login.html?originUrl=' + encodeURIComponent(location.href);
} else { } else {
layer.alert(data.msg); layer.alert(data.msg);
@ -206,7 +208,7 @@
} else if (data.code == 1001) { } else if (data.code == 1001) {
//未登录 //未登录
location.href = '/user/login.html?originUrl=' + decodeURIComponent(location.href); location.href = '/user/login.html?originUrl=' + encodeURIComponent(location.href);
} else { } else {
layer.alert(data.msg); layer.alert(data.msg);
@ -219,9 +221,6 @@
}) })
} }
</script> </script>
</html> </html>

View File

@ -1,5 +1,5 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"> <html xmlns="http://www.w3.org/1999/xhtml">
<head> <head>
<head> <head>
@ -14,7 +14,8 @@
<div class="header"> <div class="header">
<div class="mainNav" id="mainNav"> <div class="mainNav" id="mainNav">
<div class="box_center cf" style="text-align: center;height: 44px;line-height: 48px;color: #fff;font-size: 16px;"> <div class="box_center cf"
style="text-align: center;height: 44px;line-height: 48px;color: #fff;font-size: 16px;">
小说精品屋作家管理 小说精品屋作家管理
@ -37,7 +38,9 @@
<div class="my_r"> <div class="my_r">
<div class="my_bookshelf"> <div class="my_bookshelf">
<div class="title cf"> <div class="title cf">
<h2 class="fl ml10"><a href="/author/author_income_detail.html" class="red">订阅明细</a></h2><i class="fl ml20 mr20 font16">|</i><h2 class="fl"><a href="/author/author_income.html">稿费汇总</a></h2> <h2 class="fl ml10"><a href="/author/author_income_detail.html" class="red">订阅明细</a></h2><i
class="fl ml20 mr20 font16">|</i>
<h2 class="fl"><a href="/author/author_income.html">稿费汇总</a></h2>
</div> </div>
<div id="divData" class="updateTable"> <div id="divData" class="updateTable">
@ -61,7 +64,6 @@
<tbody id="bookList"> <tbody id="bookList">
</tbody> </tbody>
</table> </table>
<div class="pageBox cf" id="shellPage"> <div class="pageBox cf" id="shellPage">
@ -182,7 +184,7 @@
} else if (data.code == 1001) { } else if (data.code == 1001) {
//未登录 //未登录
location.href = '/user/login.html?originUrl=' + decodeURIComponent(location.href); location.href = '/user/login.html?originUrl=' + encodeURIComponent(location.href);
} else { } else {
layer.alert(data.msg); layer.alert(data.msg);
@ -212,7 +214,7 @@
} else if (data.code == 1001) { } else if (data.code == 1001) {
//未登录 //未登录
location.href = '/user/login.html?originUrl=' + decodeURIComponent(location.href); location.href = '/user/login.html?originUrl=' + encodeURIComponent(location.href);
} else { } else {
layer.alert(data.msg); layer.alert(data.msg);
@ -225,9 +227,6 @@
}) })
} }
</script> </script>
</html> </html>

View File

@ -231,7 +231,7 @@
} else if (data.code == 1001) { } else if (data.code == 1001) {
//未登录 //未登录
location.href = '/user/login.html?originUrl=' + decodeURIComponent(location.href); location.href = '/user/login.html?originUrl=' + encodeURIComponent(location.href);
} else { } else {
layer.alert(data.msg); layer.alert(data.msg);
@ -261,7 +261,7 @@
} else if (data.code == 1001) { } else if (data.code == 1001) {
//未登录 //未登录
location.href = '/user/login.html?originUrl=' + decodeURIComponent(location.href); location.href = '/user/login.html?originUrl=' + encodeURIComponent(location.href);
} else { } else {
layer.alert(data.msg); layer.alert(data.msg);

View File

@ -213,7 +213,7 @@
} else if (data.code == 1001) { } else if (data.code == 1001) {
//未登录 //未登录
location.href = '/user/login.html?originUrl=' + decodeURIComponent(location.href); location.href = '/user/login.html?originUrl=' + encodeURIComponent(location.href);
} else { } else {
layer.alert(data.msg); layer.alert(data.msg);
@ -311,7 +311,7 @@
} else if (data.code == 1001) { } else if (data.code == 1001) {
//未登录 //未登录
location.href = '/user/login.html?originUrl=' + decodeURIComponent(location.href); location.href = '/user/login.html?originUrl=' + encodeURIComponent(location.href);
} else { } else {
layer.alert(data.msg); layer.alert(data.msg);

View File

@ -380,7 +380,7 @@
} else if (data.code == 1001) { } else if (data.code == 1001) {
//未登录 //未登录
location.href = '/user/login.html?originUrl=' + decodeURIComponent(location.href); location.href = '/user/login.html?originUrl=' + encodeURIComponent(location.href);
} else { } else {
layer.alert(data.msg); layer.alert(data.msg);

View File

@ -2,10 +2,10 @@
<div class="box_center cf"> <div class="box_center cf">
<div class="copyright"> <div class="copyright">
<ul> <ul>
<li class="menu"><a href="/?to=mobile">手机站</a><i class="line">|</i><a href="/">网站首页</a><i <li class="menu"><!--<a href="/?to=mobile">手机站</a><i class="line">|</i>--><a href="/">网站首页</a><i
class="line">|</i><a href="/user/feedback.html">反馈留言</a><i class="line">|</i><a class="line">|</i><a href="/user/feedback.html">反馈留言</a><i class="line">|</i><a
href="/author/index.html">作家专区</a><i class="line">|</i><a href="/author/index.html">作家专区</a><!--<i class="line">|</i><a
href="/mobile/fiction_house.apk">客户端</a></li> href="/mobile/fiction_house.apk">客户端</a>--></li>
<li th:text="'Copyright (C) '+${application.website.domain}+' All rights reserved&nbsp;&nbsp;'+${application.website.name}+'版权所有'"></li> <li th:text="'Copyright (C) '+${application.website.domain}+' All rights reserved&nbsp;&nbsp;'+${application.website.name}+'版权所有'"></li>
</ul> </ul>

View File

@ -161,11 +161,6 @@
text-align: center; text-align: center;
} }
#footer {
padding-top: 10px;
line-height: 43px;
}
</style> </style>
</head> </head>
@ -320,8 +315,6 @@
} }
}) })
$("#content").css("min-height", ($(window).height() - 60) + "px");
})(); })();
@ -372,7 +365,7 @@
} else if (data.code == 1001) { } else if (data.code == 1001) {
//未登录 //未登录
location.href = '/user/login.html?originUrl=' + decodeURIComponent(location.href); location.href = '/user/login.html?originUrl=' + encodeURIComponent(location.href);
} else { } else {

View File

@ -274,7 +274,7 @@
} else if (data.code == 1001) { } else if (data.code == 1001) {
//未登录 //未登录
location.href = '/user/login.html?originUrl=' + decodeURIComponent(location.href); location.href = '/user/login.html?originUrl=' + encodeURIComponent(location.href);
} else { } else {
layer.alert(data.msg); layer.alert(data.msg);
@ -289,8 +289,6 @@
} }
$("#content").css("min-height", ($(window).height() - 60) + "px");
function downloadFile() { function downloadFile() {
var fileUrl = '/book/download?bookId=' + $("#bookIdHidden").val() + '&bookName=' + $("#bookNamedHidden").val(); var fileUrl = '/book/download?bookId=' + $("#bookIdHidden").val() + '&bookName=' + $("#bookNamedHidden").val();
window.location.href = fileUrl; window.location.href = fileUrl;

View File

@ -36,19 +36,20 @@
</div> </div>
</head> </head>
<body> <body>
<div id="content"> <div id="content">
<input type="hidden" id="bookIdHidden" th:value="${book.id}"/> <input type="hidden" id="bookIdHidden" th:value="${book.id}"/>
<div style="height: 50px;line-height: 50px;text-align: center" class="layui-header header header-doc layui-bg-cyan"> <div style="height: 50px;line-height: 50px;text-align: center"
class="layui-header header header-doc layui-bg-cyan">
<div style="float: left;margin-left: 10px"> <div style="float: left;margin-left: 10px">
<a href="javascript:history.go(-1)"> <a href="javascript:history.go(-1)">
<i style="font-size: 20px;color: #fff;" class="layui-icon">&#xe65c;</i></a> <i style="font-size: 20px;color: #fff;" class="layui-icon">&#xe65c;</i></a>
</div> </div>
<a style="color: #ffffff;" th:href="'/book/'+ ${book.id} + '.html'"><b class="layui-icon" th:utext="${book.bookName}"></b></a> <a style="color: #ffffff;" th:href="'/book/'+ ${book.id} + '.html'"><b class="layui-icon"
th:utext="${book.bookName}"></b></a>
<div style="float: right;margin-right: 10px"> <div style="float: right;margin-right: 10px">
<a href="/"><i style="font-size: 20px;color: #fff;" class="layui-icon">&#xe68e;</i></a> <a href="/"><i style="font-size: 20px;color: #fff;" class="layui-icon">&#xe68e;</i></a>
</div> </div>
@ -62,14 +63,15 @@
<div class="layui-colla-content layui-show indexP layui-row"> <div class="layui-colla-content layui-show indexP layui-row">
<p class="line-limit-length layui-col-xs12 layui-col-sm4 layui-col-md3 layui-col-lg2" style="padding-left:10px;height: 50px;line-height: 50px;" th:each="index : ${bookIndexList}"> <p class="line-limit-length layui-col-xs12 layui-col-sm4 layui-col-md3 layui-col-lg2"
<a style="color:#333;" th:href="'/book/'+${index.bookId}+'/'+${index.id}+'.html'" th:utext="${index.indexName}"> style="padding-left:10px;height: 50px;line-height: 50px;" th:each="index : ${bookIndexList}">
<a style="color:#333;" th:href="'/book/'+${index.bookId}+'/'+${index.id}+'.html'"
th:utext="${index.indexName}">
</a> </a>
</p> </p>
</div> </div>
</div> </div>
<div th:replace="mobile/common/footer :: footer"> <div th:replace="mobile/common/footer :: footer">
@ -80,8 +82,9 @@
<div th:replace="mobile/common/js :: js"> <div th:replace="mobile/common/js :: js">
</div> </div>
<script> <script>
$("#content").css("min-height",($(window).height()-60)+"px"); $.get("/book/addVisit", {"bookId": $("#bookIdHidden").val()}, function () {
$.get("/book/addVisit",{"bookId":$("#bookIdHidden").val()},function(){}); });
function toMyCollect() { function toMyCollect() {
var token = localStorage.getItem("token"); var token = localStorage.getItem("token");
if (token) { if (token) {

View File

@ -62,10 +62,6 @@
height: 180px; height: 180px;
} }
#footer {
padding-top: 10px;
line-height: 43px;
}
</style> </style>
</head> </head>
<body> <body>

View File

@ -1,6 +1,11 @@
<div th:fragment="css"> <div th:fragment="css">
<link rel="stylesheet" href="/mobile/layui/css/layui.css"> <link rel="stylesheet" href="/mobile/layui/css/layui.css">
<style type="text/css"> <style type="text/css">
body {
min-height: 100vh;
position: relative;
}
.app { .app {
display: none; display: none;
} }
@ -22,9 +27,12 @@
} }
#footer { #footer {
padding-top: 6px; position: absolute;
height: 60px; bottom: 0px;
line-height: 54px; left: 0;
right: 0;
height: 50px;
line-height: 48px;
text-align: center; text-align: center;
} }
</style> </style>

View File

@ -1,15 +1,19 @@
<div th:fragment="footer" id="footer" <div th:fragment="footer">
<div style="height: 50px"></div>
<div id="footer"
class="layui-footer footer footer-demo layui-bg-cyan"> class="layui-footer footer footer-demo layui-bg-cyan">
<!--<a href="/mobile/book/searchSoftBook.html" style="font-size: 14px;color: #fff;">轻小说</a> <!--<a href="/mobile/book/searchSoftBook.html" style="font-size: 14px;color: #fff;">轻小说</a>
<a href="/mobile/book/searchSoftBook.html?catId=9" style="font-size: 14px;color: #fff;margin-left: 8px">漫画</a>--> <a href="/mobile/book/searchSoftBook.html?catId=9" style="font-size: 14px;color: #fff;margin-left: 8px">漫画</a>-->
<a href="/?to=pc" style="font-size: 14px;color: #fff;margin-left: 8px">电脑站</a> <!--<a href="/?to=pc" style="font-size: 14px;color: #fff;margin-left: 8px">电脑站</a>-->
<a href="/user/read_history.html" style="font-size: 14px;color: #fff;margin-left: 8px">阅读记录</a> <a href="/" style="font-size: 16px;color: #fff;">首页</a>
<a href="/user/favorites.html" style="font-size: 14px;color: #fff;margin-left: 8px">书架</a> <a href="/user/read_history.html" style="font-size: 16px;color: #fff;margin-left: 18px">阅读记录</a>
<a href="/mobile/fiction_house.apk" style="font-size: 14px;color: #fff;margin-left: 8px">客户端</a> <a href="/user/favorites.html" style="font-size: 16px;color: #fff;margin-left: 18px">书架</a>
<!--<a href="/mobile/fiction_house.apk" style="font-size: 14px;color: #fff;margin-left: 8px">客户端</a>-->
<!--<a href="https://www.zinglizingli.xyz/me/index.html" style="font-size: 14px;color: #fff;margin-left: 8px">开发者</a>--> <!--<a href="https://www.zinglizingli.xyz/me/index.html" style="font-size: 14px;color: #fff;margin-left: 8px">开发者</a>-->
<div style="float: right"><a href="#top"><i class="layui-icon" <div style="margin-top:-3px;float: right"><a href="#top"><i class="layui-icon"
style="margin-right:15px;font-size: 30px;color:#fff ">&#xe604;</i></a> style="margin-right:15px;font-size: 25px;color:#fff ">&#xe604;</i></a>
</div>
</div> </div>
</div> </div>

View File

@ -79,11 +79,6 @@
padding-bottom: 20px; padding-bottom: 20px;
} }
#footer {
padding-top: 10px;
line-height: 43px;
}
</style> </style>
</head> </head>
<body> <body>
@ -170,7 +165,6 @@
<div th:replace="mobile/common/js :: js"></div> <div th:replace="mobile/common/js :: js"></div>
<script> <script>
$("#body").css("min-height", ($(window).height() - 110) + "px")
//查询用户信息 //查询用户信息
$.ajax({ $.ajax({
@ -190,7 +184,7 @@
} else if (data.code == 1001) { } else if (data.code == 1001) {
//未登录 //未登录
location.href = '/user/login.html?originUrl=' + decodeURIComponent(location.href); location.href = '/user/login.html?originUrl=' + encodeURIComponent(location.href);
} else { } else {
layer.alert(data.msg); layer.alert(data.msg);

View File

@ -62,10 +62,6 @@
height: 180px; height: 180px;
} }
#footer {
padding-top: 10px;
line-height: 43px;
}
</style> </style>
</head> </head>
<body> <body>
@ -113,7 +109,6 @@
<div th:replace="mobile/common/js :: js"></div> <div th:replace="mobile/common/js :: js"></div>
<script> <script>
$("#body").css("min-height", ($(window).height() - 110) + "px")
search(1, 20); search(1, 20);

View File

@ -63,7 +63,6 @@
<div th:replace="mobile/common/js :: js"> <div th:replace="mobile/common/js :: js">
</div> </div>
<script type="text/javascript"> <script type="text/javascript">
$("#form1").css("min-height", ($(window).height() - 140) + "px")
if (localStorage.getItem("autoLogin") == 1) { if (localStorage.getItem("autoLogin") == 1) {
$("#autoLogin").prop("checked", 'true'); $("#autoLogin").prop("checked", 'true');
layui.form.render('checkbox', 'loginForm'); layui.form.render('checkbox', 'loginForm');

View File

@ -62,10 +62,6 @@
height: 180px; height: 180px;
} }
#footer {
padding-top: 10px;
line-height: 43px;
}
</style> </style>
</head> </head>
<body> <body>
@ -113,7 +109,6 @@
<div th:replace="mobile/common/js :: js"></div> <div th:replace="mobile/common/js :: js"></div>
<script> <script>
$("#body").css("min-height", ($(window).height() - 110) + "px")
search(1, 20); search(1, 20);

View File

@ -69,7 +69,6 @@
<div th:replace="mobile/common/js :: js"> <div th:replace="mobile/common/js :: js">
</div> </div>
<script type="text/javascript"> <script type="text/javascript">
$("#form1").css("min-height", ($(window).height() - 140) + "px")
$("#chkd").click(); $("#chkd").click();
$("#btnRegister").click(function () { $("#btnRegister").click(function () {

View File

@ -213,7 +213,6 @@
<script> <script>
$("#body").css("min-height", ($(window).height() - 60) + "px")
//查询用户信息 //查询用户信息
$.ajax({ $.ajax({
@ -244,7 +243,7 @@
} else if (data.code == 1001) { } else if (data.code == 1001) {
//未登录 //未登录
location.href = '/user/login.html?originUrl=' + decodeURIComponent(location.href); location.href = '/user/login.html?originUrl=' + encodeURIComponent(location.href);
} else { } else {
layer.alert(data.msg); layer.alert(data.msg);

View File

@ -1,6 +1,5 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"> <html xmlns="http://www.w3.org/1999/xhtml">
<head th:replace="common/header :: common_head(~{::title},~{},~{::link},~{})"> <head th:replace="common/header :: common_head(~{::title},~{},~{::link},~{})">
<title th:text="'充值_'+${application.website.name}"></title> <title th:text="'充值_'+${application.website.name}"></title>
@ -20,7 +19,8 @@
<div class="payBox cf"> <div class="payBox cf">
<div class="payHead cf"> <div class="payHead cf">
<div class="fl"> <div class="fl">
充值账号<span class="user_name" id="my_name"></span>余额:<em class="red" id="accountBalance">0</em>屋币<!--<em class="red">+0</em>代金券--> 充值账号<span class="user_name" id="my_name"></span>余额:<em class="red" id="accountBalance">0</em>屋币
<!--<em class="red">+0</em>代金券-->
</div> </div>
</div> </div>
<div class="payCon"> <div class="payCon">
@ -34,25 +34,36 @@
<ul class="pay_way cf" id="ulZFWX"> <ul class="pay_way cf" id="ulZFWX">
<li vals="10"><strong>10元</strong><span class="pay_mn">1000屋币</span></li> <li vals="10"><strong>10元</strong><span class="pay_mn">1000屋币</span></li>
<li vals="30"><strong>30元</strong><span class="pay_mn">3000屋币</span></li> <li vals="30"><strong>30元</strong><span class="pay_mn">3000屋币</span></li>
<li vals="50"><strong>50元</strong><span class="pay_mn">5000屋币<!--<em class="red">+ 送500代金券</em>--></span></li> <li vals="50"><strong>50元</strong><span class="pay_mn">5000屋币
<li vals="100"><strong>100元</strong><span class="pay_mn">10000屋币<!--<em class="red">+ 送1200代金券</em>--></span></li> <!--<em class="red">+ 送500代金券</em>--></span></li>
<li vals="200"><strong>200元</strong><span class="pay_mn">20000屋币<!--<em class="red">+ 送3000代金券</em>--></span></li> <li vals="100"><strong>100元</strong><span class="pay_mn">10000屋币
<li vals="500"><strong>500元</strong><span class="pay_mn">50000屋币<!--<em class="red">+ 送10000代金券</em>--></span></li> <!--<em class="red">+ 送1200代金券</em>--></span></li>
<li vals="200"><strong>200元</strong><span class="pay_mn">20000屋币
<!--<em class="red">+ 送3000代金券</em>--></span></li>
<li vals="500"><strong>500元</strong><span class="pay_mn">50000屋币
<!--<em class="red">+ 送10000代金券</em>--></span></li>
</ul> </ul>
<ul class="pay_way cf" style="display:none;" id="ulPayPal"> <ul class="pay_way cf" style="display:none;" id="ulPayPal">
<li vals="20"><strong>20美元</strong><span class="pay_mn">10000屋币</span></li> <li vals="20"><strong>20美元</strong><span class="pay_mn">10000屋币</span></li>
<li vals="50" class="on"><strong>50美元</strong><span class="pay_mn">25000屋币<em class="red"></em></span></li> <li vals="50" class="on"><strong>50美元</strong><span class="pay_mn">25000屋币<em class="red"></em></span>
<li vals="100"><strong>100美元</strong><span class="pay_mn">50000屋币<em class="red"></em></span></li> </li>
<li vals="100"><strong>100美元</strong><span class="pay_mn">50000屋币<em class="red"></em></span>
</li>
</ul> </ul>
<ul class="pay_Checkout" id="ulZFWXXJ"> <ul class="pay_Checkout" id="ulZFWXXJ">
<li>当前汇率1元=100屋币</li> <li>当前汇率1元=100屋币</li>
<li>总计金额<em class="red" id="showTotal">¥50元</em> 获得 <em class="red" id="showRemark">5000屋币<!--+500代金券--></em></li> <li>总计金额<em class="red" id="showTotal">¥50元</em> 获得 <em class="red" id="showRemark">5000屋币
<li style="display:none"><a class="btn_red" href="pay_success.html" onclick="javascript:UserPay.sendPay();">立即支付</a></li> <!--+500代金券--></em></li>
<li style="display:none"><a class="btn_red" href="pay_success.html"
onclick="javascript:UserPay.sendPay();">立即支付</a></li>
</ul> </ul>
<ul class="pay_Checkout" style="display:none;" id="ulPayPalXJ"> <ul class="pay_Checkout" style="display:none;" id="ulPayPalXJ">
<li>当前汇率1美元=500屋币</li> <li>当前汇率1美元=500屋币</li>
<li>总计金额<em class="red" id="showPayPalTotal">50美元</em> 获得 <em class="red" id="showPayPalRemark">25000屋币</em></li> <li>总计金额<em class="red" id="showPayPalTotal">50美元</em> 获得 <em class="red"
<li style="display:none"><a class="btn_red" href="javascript:void(0);" onclick="javascript:UserPay.sendPay();">立即支付</a></li> id="showPayPalRemark">25000屋币</em>
</li>
<li style="display:none"><a class="btn_red" href="javascript:void(0);"
onclick="javascript:UserPay.sendPay();">立即支付</a></li>
</ul> </ul>
</div> </div>
<div class="payFoot"> <div class="payFoot">
@ -80,7 +91,6 @@
<script type="text/javascript"> <script type="text/javascript">
//查询用户信息 //查询用户信息
$.ajax({ $.ajax({
type: "get", type: "get",
@ -99,7 +109,7 @@
} else if (data.code == 1001) { } else if (data.code == 1001) {
//未登录 //未登录
location.href = '/user/login.html?originUrl=' + decodeURIComponent(location.href); location.href = '/user/login.html?originUrl=' + encodeURIComponent(location.href);
} else { } else {
layer.alert(data.msg); layer.alert(data.msg);
@ -125,9 +135,6 @@
$("#payform").submit(); $("#payform").submit();
}); });
</script> </script>

View File

@ -1,4 +1,5 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"> <html xmlns="http://www.w3.org/1999/xhtml">
<head th:replace="common/header :: common_head(~{::title},~{},~{::link},~{})"> <head th:replace="common/header :: common_head(~{::title},~{},~{::link},~{})">
<title th:text="'我的书评_'+${application.website.name}"></title> <title th:text="'我的书评_'+${application.website.name}"></title>
@ -109,7 +110,7 @@
} else if (data.code == 1001) { } else if (data.code == 1001) {
//未登录 //未登录
location.href = '/user/login.html?originUrl=' + decodeURIComponent(location.href); location.href = '/user/login.html?originUrl=' + encodeURIComponent(location.href);
} else { } else {
layer.alert(data.msg); layer.alert(data.msg);

View File

@ -1,10 +1,12 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"> <html xmlns="http://www.w3.org/1999/xhtml">
<head> <head>
<head th:replace="common/header :: common_head(~{::title},~{::meta},~{::link},~{})"> <head th:replace="common/header :: common_head(~{::title},~{::meta},~{::link},~{})">
<title th:text="'我的书架_'+${application.website.name}"></title> <title th:text="'我的书架_'+${application.website.name}"></title>
<meta name="keywords" th:content="'我的书架,个人中心,'+${application.website.name}+'小说,'+${application.website.name}"/> <meta name="keywords" th:content="'我的书架,个人中心,'+${application.website.name}+'小说,'+${application.website.name}"/>
<meta name="description" th:content="${application.website.name}+'小说每日更新小说连载,小说排行榜,提供言情小说,都市小说,玄幻小说,穿越小说,青春小说,总裁豪门小说,网络小说,免费小说,全本小说,首发小说,最新章节免费小说阅读,精彩尽在'+${application.website.name}+'小说!'" /> <meta name="description"
th:content="${application.website.name}+'小说每日更新小说连载,小说排行榜,提供言情小说,都市小说,玄幻小说,穿越小说,青春小说,总裁豪门小说,网络小说,免费小说,全本小说,首发小说,最新章节免费小说阅读,精彩尽在'+${application.website.name}+'小说!'"/>
<link rel="stylesheet" href="/css/user.css"/> <link rel="stylesheet" href="/css/user.css"/>
</head> </head>
</head> </head>
@ -29,7 +31,9 @@
<div class="my_r"> <div class="my_r">
<div class="my_bookshelf"> <div class="my_bookshelf">
<div class="title cf"> <div class="title cf">
<h2 class="fl"><a href="javascript:void(0);" class="red">我的书架</a></h2><i class="fl ml20 mr20 font16">|</i><h2 class="fl"><a href="/user/read_history.html" >最近阅读</a></h2> <h2 class="fl"><a href="javascript:void(0);" class="red">我的书架</a></h2><i
class="fl ml20 mr20 font16">|</i>
<h2 class="fl"><a href="/user/read_history.html">最近阅读</a></h2>
</div> </div>
<div id="divData" class="updateTable"> <div id="divData" class="updateTable">
@ -56,7 +60,6 @@
<tbody id="bookShelfList"> <tbody id="bookShelfList">
</tbody> </tbody>
</table> </table>
<div class="pageBox cf" id="shellPage"> <div class="pageBox cf" id="shellPage">
@ -144,7 +147,7 @@
} else if (data.code == 1001) { } else if (data.code == 1001) {
//未登录 //未登录
location.href = '/user/login.html?originUrl=' + decodeURIComponent(location.href); location.href = '/user/login.html?originUrl=' + encodeURIComponent(location.href);
} else { } else {
layer.alert(data.msg); layer.alert(data.msg);

View File

@ -74,7 +74,7 @@
} else if (data.code == 1001) { } else if (data.code == 1001) {
//未登录 //未登录
location.href = '/user/login.html?originUrl=' + decodeURIComponent(location.href); location.href = '/user/login.html?originUrl=' + encodeURIComponent(location.href);
} else { } else {
layer.alert(data.msg); layer.alert(data.msg);

View File

@ -1,6 +1,5 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"> <html xmlns="http://www.w3.org/1999/xhtml">
<head th:replace="common/header :: common_head(~{::title},~{},~{::link},~{})"> <head th:replace="common/header :: common_head(~{::title},~{},~{::link},~{})">
<title th:text="'我的反馈_'+${application.website.name}"></title> <title th:text="'我的反馈_'+${application.website.name}"></title>
@ -34,8 +33,6 @@
<dd id="feedbackList"> <dd id="feedbackList">
</dd> </dd>
</dl> </dl>
<div class="cf"> <div class="cf">
@ -109,7 +106,7 @@
} else if (data.code == 1001) { } else if (data.code == 1001) {
//未登录 //未登录
location.href = '/user/login.html?originUrl=' + decodeURIComponent(location.href); location.href = '/user/login.html?originUrl=' + encodeURIComponent(location.href);
} else { } else {
layer.alert(data.msg); layer.alert(data.msg);

View File

@ -1,4 +1,5 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"> <html xmlns="http://www.w3.org/1999/xhtml">
<head th:replace="common/header :: common_head(~{::title},~{},~{::link},~{})"> <head th:replace="common/header :: common_head(~{::title},~{},~{::link},~{})">
<title th:text="'最近阅读_'+${application.website.name}"></title> <title th:text="'最近阅读_'+${application.website.name}"></title>
@ -13,7 +14,9 @@
<div class="viewhistoryBox"> <div class="viewhistoryBox">
<div class="my_bookshelf"> <div class="my_bookshelf">
<div class="title cf"> <div class="title cf">
<h2 class="fl ml10"><a href="javascript:void(0);" class="red">最近阅读</a></h2><i class="fl ml20 mr20 font16">|</i><h2 class="fl"><a href="/user/favorites.html">我的书架</a></h2> <h2 class="fl ml10"><a href="javascript:void(0);" class="red">最近阅读</a></h2><i
class="fl ml20 mr20 font16">|</i>
<h2 class="fl"><a href="/user/favorites.html">我的书架</a></h2>
</div> </div>
<div id="divData" class="updateTable"> <div id="divData" class="updateTable">
<table cellpadding="0" cellspacing="0"> <table cellpadding="0" cellspacing="0">
@ -131,7 +134,7 @@
} else if (data.code == 1001) { } else if (data.code == 1001) {
//未登录 //未登录
location.href = '/user/login.html?originUrl=' + decodeURIComponent(location.href); location.href = '/user/login.html?originUrl=' + encodeURIComponent(location.href);
} else { } else {
layer.alert(data.msg); layer.alert(data.msg);

View File

@ -61,7 +61,7 @@
} else if (data.code == 1001) { } else if (data.code == 1001) {
//未登录 //未登录
location.href = '/user/login.html?originUrl=' + decodeURIComponent(location.href); location.href = '/user/login.html?originUrl=' + encodeURIComponent(location.href);
} else { } else {
layer.alert(data.msg); layer.alert(data.msg);
@ -96,7 +96,7 @@
} else if (data.code == 1001) { } else if (data.code == 1001) {
//未登录 //未登录
location.href = '/user/login.html?originUrl=' + decodeURIComponent(location.href); location.href = '/user/login.html?originUrl=' + encodeURIComponent(location.href);
} else { } else {
$("#LabErr").html(data.msg); $("#LabErr").html(data.msg);

View File

@ -1,4 +1,5 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"> <html xmlns="http://www.w3.org/1999/xhtml">
<head th:replace="common/header :: common_head(~{::title},~{},~{::link},~{})"> <head th:replace="common/header :: common_head(~{::title},~{},~{::link},~{})">
<title th:text="'修改密码_'+${application.website.name}"></title> <title th:text="'修改密码_'+${application.website.name}"></title>
@ -25,10 +26,15 @@
<div class="my_info cf"> <div class="my_info cf">
<div class="my_info_txt"> <div class="my_info_txt">
<ul class="mytab_list"> <ul class="mytab_list">
<li><i class="tit">我的密码</i><input name="oldPass" type="password" id="txtOldPass" class="s_input" placeholder="请输入原密码" /></li> <li><i class="tit">我的密码</i><input name="oldPass" type="password" id="txtOldPass" class="s_input"
<li><i class="tit">&nbsp;</i><input name="txtNewPass1" type="password" id="txtNewPass1" class="s_input" placeholder="请输入新密码" /></li> placeholder="请输入原密码"/></li>
<li><i class="tit">&nbsp;</i><input name="txtNewPass2" type="password" id="txtNewPass2" class="s_input" placeholder="请确认新密码" /></li> <li><i class="tit">&nbsp;</i><input name="txtNewPass1" type="password" id="txtNewPass1"
<li><i class="tit">&nbsp;</i><input type="submit" name="btnExchangePassword" value="修改" id="btnExchangePassword" onclick="updatePassword()" class="s_btn btn_red" /></li> class="s_input" placeholder="请输入新密码"/></li>
<li><i class="tit">&nbsp;</i><input name="txtNewPass2" type="password" id="txtNewPass2"
class="s_input" placeholder="请确认新密码"/></li>
<li><i class="tit">&nbsp;</i><input type="submit" name="btnExchangePassword" value="修改"
id="btnExchangePassword" onclick="updatePassword()"
class="s_btn btn_red"/></li>
<li><i class="tit">&nbsp;</i><span id="LabErr"></span></li> <li><i class="tit">&nbsp;</i><span id="LabErr"></span></li>
</ul> </ul>
</div> </div>
@ -72,7 +78,7 @@
} else if (data.code == 1001) { } else if (data.code == 1001) {
//未登录 //未登录
location.href = '/user/login.html?originUrl=' + decodeURIComponent(location.href); location.href = '/user/login.html?originUrl=' + encodeURIComponent(location.href);
} else { } else {
$("#LabErr").html(data.msg); $("#LabErr").html(data.msg);

View File

@ -1,4 +1,5 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"> <html xmlns="http://www.w3.org/1999/xhtml">
<head th:replace="common/header :: common_head(~{::title},~{},~{::link},~{})"> <head th:replace="common/header :: common_head(~{::title},~{},~{::link},~{})">
<title th:text="'修改性别_'+${application.website.name}"></title> <title th:text="'修改性别_'+${application.website.name}"></title>
@ -29,7 +30,9 @@
<label><input type="radio" name="sex" value="0"/>&nbsp;男生</label> <label><input type="radio" name="sex" value="0"/>&nbsp;男生</label>
<label><input class="ml20" type="radio" name="sex" value="1" checked/>&nbsp;女生</label> <label><input class="ml20" type="radio" name="sex" value="1" checked/>&nbsp;女生</label>
</li> </li>
<li class="mt20"><i class="tit">&nbsp;</i><input type="button" onclick="updateSex()" name="btn" value="修改" id="btn" class="s_btn btn_red" /></li> <li class="mt20"><i class="tit">&nbsp;</i><input type="button" onclick="updateSex()" name="btn"
value="修改" id="btn" class="s_btn btn_red"/>
</li>
<li><i class="tit">&nbsp;</i><span id="LabErr"></span></li> <li><i class="tit">&nbsp;</i><span id="LabErr"></span></li>
</ul> </ul>
</div> </div>
@ -55,10 +58,9 @@
} }
} else if (data.code == 1001) { } else if (data.code == 1001) {
//未登录 //未登录
location.href = '/user/login.html?originUrl=' + decodeURIComponent(location.href); location.href = '/user/login.html?originUrl=' + encodeURIComponent(location.href);
} else { } else {
layer.alert(data.msg); layer.alert(data.msg);
@ -69,6 +71,7 @@
layer.alert('网络异常'); layer.alert('网络异常');
} }
}) })
function updateSex() { function updateSex() {
$.ajax({ $.ajax({
type: "POST", type: "POST",
@ -81,7 +84,7 @@
} else if (data.code == 1001) { } else if (data.code == 1001) {
//未登录 //未登录
location.href = '/user/login.html?originUrl=' + decodeURIComponent(location.href); location.href = '/user/login.html?originUrl=' + encodeURIComponent(location.href);
} else { } else {
layer.alert(data.msg); layer.alert(data.msg);

View File

@ -1,4 +1,5 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"> <html xmlns="http://www.w3.org/1999/xhtml">
<head th:replace="common/header :: common_head(~{::title},~{},~{::link},~{})"> <head th:replace="common/header :: common_head(~{::title},~{},~{::link},~{})">
<title th:text="'账号设置_'+${application.website.name}"></title> <title th:text="'账号设置_'+${application.website.name}"></title>
@ -28,7 +29,9 @@
<li><i class="tit">我的头像</i> <li><i class="tit">我的头像</i>
<a style="position: relative"> <a style="position: relative">
<img id="imgLogo" class="user_img" alt="我的头像" src="/images/man.png"/> <img id="imgLogo" class="user_img" alt="我的头像" src="/images/man.png"/>
<input class="opacity" onchange="picChange()" type="file" id="file0" name="file" title="点击上传图片" style="z-index: 100;cursor: pointer;left: 0px; top: -25px; width: 60px; height: 80px; opacity: 0; position: absolute; "/> <input class="opacity" onchange="picChange()" type="file" id="file0" name="file"
title="点击上传图片"
style="z-index: 100;cursor: pointer;left: 0px; top: -25px; width: 60px; height: 80px; opacity: 0; position: absolute; "/>
</a> </a>
@ -76,10 +79,9 @@
} }
} else if (data.code == 1001) { } else if (data.code == 1001) {
//未登录 //未登录
location.href = '/user/login.html?originUrl=' + decodeURIComponent(location.href); location.href = '/user/login.html?originUrl=' + encodeURIComponent(location.href);
} else { } else {
layer.alert(data.msg); layer.alert(data.msg);
@ -118,7 +120,7 @@
} else if (data.code == 1001) { } else if (data.code == 1001) {
//未登录 //未登录
location.href = '/user/login.html?originUrl=' + decodeURIComponent(location.href); location.href = '/user/login.html?originUrl=' + encodeURIComponent(location.href);
} else { } else {
layer.alert(data.msg); layer.alert(data.msg);
@ -143,7 +145,6 @@
} }
} }
</script> </script>
</body> </body>

View File

@ -1,6 +1,5 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"> <html xmlns="http://www.w3.org/1999/xhtml">
<head th:replace="common/header :: common_head(~{::title},~{},~{::link},~{})"> <head th:replace="common/header :: common_head(~{::title},~{},~{::link},~{})">
<title th:text="'个人中心_'+${application.website.name}"></title> <title th:text="'个人中心_'+${application.website.name}"></title>
@ -30,7 +29,9 @@
<p class="my_name" id="my_name"> <p class="my_name" id="my_name">
</p> </p>
<ul class="my_list"> <ul class="my_list">
<li class="my_gold"><i>账户余额:</i><em class="red" id="accountBalance">0</em>屋币<!--<em class="red">+</em><em class="red">0</em>代金券--><a href="/pay/index.html" class="btn_link">立即充值</a></li> <li class="my_gold"><i>账户余额:</i><em class="red" id="accountBalance">0</em>屋币
<!--<em class="red">+</em><em class="red">0</em>代金券--><a href="/pay/index.html"
class="btn_link">立即充值</a></li>
<li class="my_baonian"></li> <li class="my_baonian"></li>
</ul> </ul>
@ -100,7 +101,7 @@
} else if (data.code == 1001) { } else if (data.code == 1001) {
//未登录 //未登录
location.href = '/user/login.html?originUrl=' + decodeURIComponent(location.href); location.href = '/user/login.html?originUrl=' + encodeURIComponent(location.href);
} else { } else {
layer.alert(data.msg); layer.alert(data.msg);

View File

@ -27,15 +27,14 @@
if (layerStatus == 1) { if (layerStatus == 1) {
$("#cFavs").html("<a class=\"ico_shelf\" href=\"javascript:void(0);\"><b>已收藏</b></a>"); $("#cFavs").html("<a class=\"ico_shelf\" href=\"javascript:void(0);\"><b>已收藏</b></a>");
jQuery.cookie("u-faorites", "1"); jQuery.cookie("u-faorites", "1");
} } else {
else {
$("#cFavs").html("<a class=\"btn_ora_white btn_addsj\" href=\"javascript:void(0);\">已在书架</a>"); $("#cFavs").html("<a class=\"btn_ora_white btn_addsj\" href=\"javascript:void(0);\">已在书架</a>");
} }
} else if (data.code == 1001) { } else if (data.code == 1001) {
//未登录 //未登录
location.href = '/user/login.html?originUrl=' + decodeURIComponent(location.href); location.href = '/user/login.html?originUrl=' + encodeURIComponent(location.href);
} else { } else {
layer.alert(data.msg); layer.alert(data.msg);
@ -121,7 +120,7 @@
} else if (data.code == 1001) { } else if (data.code == 1001) {
//未登录 //未登录
location.href = '/user/login.html?originUrl=' + decodeURIComponent(location.href); location.href = '/user/login.html?originUrl=' + encodeURIComponent(location.href);
} else { } else {
layer.alert(data.msg); layer.alert(data.msg);

View File

@ -5,6 +5,7 @@ var needLoginPath = ['/user/favorites.html','/user/comment.html','/user/feedback
"/author/register.html", "/author/index.html"]; "/author/register.html", "/author/index.html"];
var isLogin = false; var isLogin = false;
var url = window.location.search; var url = window.location.search;
//key(需要检索的键 //key(需要检索的键
function getSearchString(key) { function getSearchString(key) {
var str = url; var str = url;
@ -20,6 +21,7 @@ function getSearchString(key) {
} }
return undefined; return undefined;
} }
var keyword = getSearchString("k"); var keyword = getSearchString("k");
if (keyword != undefined) { if (keyword != undefined) {
$("#searchKey").val(keyword); $("#searchKey").val(keyword);
@ -34,6 +36,7 @@ function searchByK(k){
window.location.href = '/book/bookclass.html?k=' + encodeURIComponent(k) window.location.href = '/book/bookclass.html?k=' + encodeURIComponent(k)
} }
} }
$("#searchKey").keypress(function (even) { $("#searchKey").keypress(function (even) {
if (even.which == 13) { if (even.which == 13) {
even.stopPropagation(); even.stopPropagation();
@ -52,7 +55,7 @@ Array.prototype.indexOf = function (val) {
var token = $.cookie('Authorization'); var token = $.cookie('Authorization');
if (!token) { if (!token) {
if (needLoginPath.indexOf(window.location.pathname) != -1) { if (needLoginPath.indexOf(window.location.pathname) != -1) {
location.href = '/user/login.html?originUrl='+decodeURIComponent(location.href); location.href = '/user/login.html?originUrl=' + encodeURIComponent(location.href);
} }
$(".user_link").html("<i class=\"line mr20\">|</i><a href=\"/user/login.html\" class=\"mr15\">登录</a><a href=\"/user/register.html\" >注册</a>"); $(".user_link").html("<i class=\"line mr20\">|</i><a href=\"/user/login.html\" class=\"mr15\">登录</a><a href=\"/user/register.html\" >注册</a>");
@ -94,7 +97,6 @@ if(!token){
} }
String.prototype.isPhone = function () { String.prototype.isPhone = function () {
var strTemp = /^1[3|4|5|6|7|8|9][0-9]{9}$/; var strTemp = /^1[3|4|5|6|7|8|9][0-9]{9}$/;
if (strTemp.test(this)) { if (strTemp.test(this)) {
@ -118,9 +120,6 @@ String.prototype.isNickName = function () {
}; };
function logout() { function logout() {
$.cookie('Authorization', null, {path: '/'}); $.cookie('Authorization', null, {path: '/'});
location.reload(); location.reload();

View File

@ -106,7 +106,7 @@ Array.prototype.remove = function (val) {
var token = $.cookie('Authorization'); var token = $.cookie('Authorization');
if (!token) { if (!token) {
if (needLoginPath.indexOf(window.location.pathname) != -1) { if (needLoginPath.indexOf(window.location.pathname) != -1) {
location.href = '/user/login.html?originUrl=' + decodeURIComponent(location.href); location.href = '/user/login.html?originUrl=' + encodeURIComponent(location.href);
} }
// $(".user_link").html("<a href=\"/user/login.html\">登录</a><a href=\"/user/register.html\">注册</a>"); // $(".user_link").html("<a href=\"/user/login.html\">登录</a><a href=\"/user/register.html\">注册</a>");