订单倒计时
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
<template>
|
||||
<view class="container">
|
||||
<!-- 公共组件-每个页面必须引入 -->
|
||||
<public-module></public-module>
|
||||
<view class="header">
|
||||
<!-- 顶部导航栏 -->
|
||||
<z-nav-bar title="书评列表"></z-nav-bar>
|
||||
@@ -138,7 +140,7 @@
|
||||
import musicPlay from '@/components/music.vue'
|
||||
import { data } from 'jquery';
|
||||
import {
|
||||
mapState
|
||||
mapState, mapMutations
|
||||
} from 'vuex';
|
||||
export default {
|
||||
data() {
|
||||
@@ -216,6 +218,7 @@ import { data } from 'jquery';
|
||||
...mapState(['userInfo']),
|
||||
},
|
||||
methods: {
|
||||
...mapMutations(['setLoadingShow']),
|
||||
setData(e) {
|
||||
this.contentShow = e
|
||||
this.getBookList(this.commentsListTab, true)
|
||||
@@ -292,9 +295,10 @@ import { data } from 'jquery';
|
||||
},
|
||||
getBookList(flag, tushuflag){
|
||||
// 根据tab不同,获取最新书评、最热书评、书集列表
|
||||
uni.showLoading({
|
||||
title: '加载中'
|
||||
});
|
||||
// uni.showLoading({
|
||||
// title: '加载中'
|
||||
// });
|
||||
|
||||
var httpurl = ""
|
||||
if(flag == 1){
|
||||
httpurl = "forum/articles/getForumsNew?page=" + this.newestpage + '&limit=10'
|
||||
@@ -351,8 +355,8 @@ import { data } from 'jquery';
|
||||
this.status = 1
|
||||
} else {
|
||||
this.status = 0
|
||||
}
|
||||
uni.hideLoading();
|
||||
}
|
||||
// uni.hideLoading();
|
||||
}).catch((e)=>{
|
||||
console.log(e,'e')
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user