订单倒计时

This commit is contained in:
@fawn-nine
2023-10-10 17:41:07 +08:00
parent 96f7e499db
commit 9a5afe03d3
15 changed files with 575 additions and 56 deletions

View File

@@ -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')
})