|
@@ -33,18 +33,6 @@
|
|
|
<script src=//cdn-common.jianyu360.com/cdn/lib/zepto/1.2.0/zepto.min.js></script>
|
|
|
<script src='{{Msg "seo" "cdn"}}/common-module/messageCenter/js/func.js?v={{Msg "seo" "version"}}'></script>
|
|
|
<script>
|
|
|
- function backRefresh () {
|
|
|
- var isPageHide = false;
|
|
|
- window.addEventListener('pageshow', function () {
|
|
|
- if (isPageHide) {
|
|
|
- location.reload();
|
|
|
- }
|
|
|
- });
|
|
|
- window.addEventListener('pagehide', function () {
|
|
|
- isPageHide = true;
|
|
|
- vm.tabsCount()
|
|
|
- });
|
|
|
- }
|
|
|
var vm = new Vue({
|
|
|
el: '#tabMesg',
|
|
|
delimiters: ['{', '}'],
|
|
@@ -88,7 +76,7 @@
|
|
|
}
|
|
|
},
|
|
|
|
|
|
- created() {
|
|
|
+ mounted() {
|
|
|
var uMsg = Number(getQueryString('msg') || this.getURLIndex())
|
|
|
this.tabActive = uMsg
|
|
|
this.tabsCount()
|
|
@@ -133,7 +121,6 @@
|
|
|
$.ajax({
|
|
|
type:'GET',
|
|
|
url:'/jymessageCenter/getCount?t=' + Date.now(),
|
|
|
- data: {},
|
|
|
success:function (res) {
|
|
|
if (res && res.status == 1 && res.data && res.data.count) {
|
|
|
_this.counts = res.data.count
|