Commit 0fd4a57a authored by lvwj's avatar lvwj

修复默认皮肤

parent ac0c46a9
This diff is collapsed.
...@@ -31,7 +31,6 @@ $(function(){ ...@@ -31,7 +31,6 @@ $(function(){
$(".head-menu-list-li").hover(function(){ $(".head-menu-list-li").hover(function(){
$(this).find(".head-menu-son-list").fadeToggle(); $(this).find(".head-menu-son-list").fadeToggle();
}); });
$('.ms-footer-right-img-weixin').hover(function(){ $('.ms-footer-right-img-weixin').hover(function(){
$('.ms-footer-right-weixin').toggle(); $('.ms-footer-right-weixin').toggle();
}); });
......
...@@ -13,14 +13,23 @@ ...@@ -13,14 +13,23 @@
<script src="{ms:global.host/}/{ms:global.style/}/js/slider.js"></script> <script src="{ms:global.host/}/{ms:global.style/}/js/slider.js"></script>
<script src="{ms:global.host/}/static/plugins/less/3.9.0/less.min.js"></script> <script src="{ms:global.host/}/static/plugins/less/3.9.0/less.min.js"></script>
<!--vue-懒加载-表单验证--> <!--vue-懒加载-表单验证-->
<script src="{ms:global.host/}/plugins/vue/2.3.3/vue.min.js"></script> <script src="{ms:global.host/}/plugins/vue/2.6.9/vue.min.js"></script>
<script src="{ms:global.host/}/plugins/validator/5.5.0/validator.min.js"></script> <script src="{ms:global.host/}/plugins/validator/10.8.0/validator.min.js"></script>
<!-- Element -->
<link rel="stylesheet" href="{ms:global.host/}/plugins/element-ui/2.8.2/index.css">
<script src="{ms:global.host/}/plugins/element-ui/2.8.2/index.js"></script>
<link rel="stylesheet" type="text/css" href="{ms:global.host/}/{ms:global.style/}/css/animate.css"> <link rel="stylesheet" type="text/css" href="{ms:global.host/}/{ms:global.style/}/css/animate.css">
<script src="{ms:global.host/}/static/plugins/axios/0.18.0/axios.min.js"></script> <script src="{ms:global.host/}/static/plugins/axios/0.18.0/axios.min.js"></script>
<script src="{ms:global.host/}/static/plugins/ms/1.0.0/ms.js"></script> <script src="{ms:global.host/}/static/plugins/ms/1.0.0/ms.js"></script>
<script src="{ms:global.host/}/static/plugins/ms/1.0.0/ms.http.js"></script> <script src="{ms:global.host/}/static/plugins/ms/1.0.0/ms.http.js"></script>
<script src="{ms:global.host/}/static/plugins/ms/1.0.0/ms.util.js"></script> <script src="{ms:global.host/}/static/plugins/ms/1.0.0/ms.util.js"></script>
<script type="text/javascript"> <script src="{ms:global.host/}/api/ms.people.min.js"></script>
<script src="{ms:global.host/}/static/plugins/plupload/plupload.full.min.js"></script>
<script src="{ms:global.host/}/static/plugins/qs/6.6.0/qs.min.js"></script>
<script src="{ms:global.host/}/static/plugins/ms/1.0.0/ms.upload.js"></script>
<script>
window.http = ms.http; window.http = ms.http;
ms.base = "{ms:global.host/}";
ms.login = '{ms:global.host/}';
</script> </script>
\ No newline at end of file
...@@ -68,7 +68,7 @@ ...@@ -68,7 +68,7 @@
</span> </span>
<div class="topbar-info J_userInfo loginSuccess hide-default" v-show="isLogin" style="display: none;"> <div class="topbar-info J_userInfo loginSuccess hide-default" v-show="isLogin" style="display: none;">
<a class="user-name" href="{ms:global.host/}/people/center.do"> <a class="user-name" href="{ms:global.host/}/people/center.do">
<img :src="'{ms:global.host/}'+ peopleInfo.puIcon" class="loginImg user_icon" onerror="this.src='http://cdn.mingsoft.net/global/images/msheader.png'"> <img :src="'{ms:global.host/}/'+peopleInfo.puIcon" class="loginImg user_icon" onerror="this.src='http://cdn.mingsoft.net/global/images/msheader.png'">
<b class="userName ms-userName" v-text="peopleInfo.puNickname"></b> <b class="userName ms-userName" v-text="peopleInfo.puNickname"></b>
</a> </a>
<a href="javascript:;" class="quitLogin" @click="quitLogin">退出</a> <a href="javascript:;" class="quitLogin" @click="quitLogin">退出</a>
...@@ -83,7 +83,9 @@ ...@@ -83,7 +83,9 @@
data: { data: {
isLogin: "", //登录状态 isLogin: "", //登录状态
peopleInfo: "", //个人信息 peopleInfo: "", //个人信息
imgUrl:"",
}, },
mounted: function() { mounted: function() {
//获取个人信息 //获取个人信息
var target = this; var target = this;
...@@ -91,13 +93,13 @@ ...@@ -91,13 +93,13 @@
type: "POST", type: "POST",
url: "{ms:global.host/}/checkLoginStatus.do", url: "{ms:global.host/}/checkLoginStatus.do",
success: function(msg) { success: function(msg) {
target.isLogin = msg.result; target.isLogin = msg.result; //判断用户是否登录,如登录,则target.isLogin===true
if(msg.result) { if(msg.result) {
$.ajax({ $.ajax({
type: "GET", type: "GET",
url: "{ms:global.host/}/people/user/info.do", url: "{ms:global.host/}/people/user/info.do",
success: function(msg) { success: function(msg) {
target.peopleInfo = msg; target.peopleInfo = msg; //target.peopleInfo为当前登录用户的基本信息
} }
}) })
} }
......
...@@ -27,10 +27,10 @@ ...@@ -27,10 +27,10 @@
</ul> </ul>
</div> </div>
<div class="ms-content-main-page"> <div class="ms-content-main-page">
<a class="ms-content-main-page-first" href="{ms:page.index/}">首页</a> <a class="ms-content-main-page-first" href="{ms:global.url/}{ms:page.index/}">首页</a>
<a class="ms-content-main-page-upper" href="{ms:page.pre/}">上一页</a> <a class="ms-content-main-page-upper" href="{ms:global.url/}{ms:page.pre/}">上一页</a>
<a class="ms-content-main-page-next" href="{ms:page.next/}">下一页</a> <a class="ms-content-main-page-next" href="{ms:global.url/}{ms:page.next/}">下一页</a>
<a class="ms-content-main-page-last" href="{ms:page.last/}">末页</a> <a class="ms-content-main-page-last" href="{ms:global.url/}{ms:page.last/}">末页</a>
</div> </div>
</div> </div>
</div> </div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment