espelhamento de
https://github.com/ialley-workshop-open/uni-halo.git
sincronizado 2026-06-10 20:29:28 +08:00
修改:取消博客页面的loading
Esse commit está contido em:
@@ -105,10 +105,10 @@
|
|||||||
|
|
||||||
fnGetAllCategory() {
|
fnGetAllCategory() {
|
||||||
this.loading = 'loading';
|
this.loading = 'loading';
|
||||||
uni.showLoading({
|
// uni.showLoading({
|
||||||
mask: true,
|
// mask: true,
|
||||||
title: '加载中...'
|
// title: '加载中...'
|
||||||
});
|
// });
|
||||||
this.$httpApi
|
this.$httpApi
|
||||||
.getCategoryList({ more: true })
|
.getCategoryList({ more: true })
|
||||||
.then(res => {
|
.then(res => {
|
||||||
|
|||||||
@@ -214,10 +214,10 @@
|
|||||||
});
|
});
|
||||||
},
|
},
|
||||||
fnGetData() {
|
fnGetData() {
|
||||||
uni.showLoading({
|
// uni.showLoading({
|
||||||
mask: true,
|
// mask: true,
|
||||||
title: '加载中...'
|
// title: '加载中...'
|
||||||
});
|
// });
|
||||||
// 设置状态为加载中
|
// 设置状态为加载中
|
||||||
if (!this.isLoadMore) {
|
if (!this.isLoadMore) {
|
||||||
this.loading = 'loading';
|
this.loading = 'loading';
|
||||||
|
|||||||
@@ -262,10 +262,10 @@
|
|||||||
},
|
},
|
||||||
// 文章列表
|
// 文章列表
|
||||||
fnGetArticleList() {
|
fnGetArticleList() {
|
||||||
uni.showLoading({
|
// uni.showLoading({
|
||||||
mask: true,
|
// mask: true,
|
||||||
title: '加载中...'
|
// title: '加载中...'
|
||||||
});
|
// });
|
||||||
// 设置状态为加载中
|
// 设置状态为加载中
|
||||||
if (!this.isLoadMore) {
|
if (!this.isLoadMore) {
|
||||||
this.loading = 'loading';
|
this.loading = 'loading';
|
||||||
|
|||||||
@@ -210,10 +210,10 @@
|
|||||||
fnGetData() {
|
fnGetData() {
|
||||||
this.linkTotal = 0;
|
this.linkTotal = 0;
|
||||||
this.loading = 'loading';
|
this.loading = 'loading';
|
||||||
uni.showLoading({
|
// uni.showLoading({
|
||||||
mask: true,
|
// mask: true,
|
||||||
title: '加载中...'
|
// title: '加载中...'
|
||||||
});
|
// });
|
||||||
this.$httpApi
|
this.$httpApi
|
||||||
.getLinkListByTeam()
|
.getLinkListByTeam()
|
||||||
.then(res => {
|
.then(res => {
|
||||||
|
|||||||
@@ -115,10 +115,10 @@
|
|||||||
},
|
},
|
||||||
fnGetData() {
|
fnGetData() {
|
||||||
this.loading = 'loading';
|
this.loading = 'loading';
|
||||||
uni.showLoading({
|
// uni.showLoading({
|
||||||
mask: true,
|
// mask: true,
|
||||||
title: '加载中...'
|
// title: '加载中...'
|
||||||
});
|
// });
|
||||||
this.$httpApi[this.api](this.queryParams)
|
this.$httpApi[this.api](this.queryParams)
|
||||||
.then(res => {
|
.then(res => {
|
||||||
this.result = res.data;
|
this.result = res.data;
|
||||||
|
|||||||
@@ -364,10 +364,10 @@
|
|||||||
methods: {
|
methods: {
|
||||||
fnGetData() {
|
fnGetData() {
|
||||||
this.loading = 'loading';
|
this.loading = 'loading';
|
||||||
uni.showLoading({
|
// uni.showLoading({
|
||||||
mask: true,
|
// mask: true,
|
||||||
title: '加载中...'
|
// title: '加载中...'
|
||||||
});
|
// });
|
||||||
this.$httpApi
|
this.$httpApi
|
||||||
.getArticleDetail(this.queryParams.articleId)
|
.getArticleDetail(this.queryParams.articleId)
|
||||||
.then(res => {
|
.then(res => {
|
||||||
|
|||||||
@@ -133,10 +133,10 @@
|
|||||||
this.fnGetData();
|
this.fnGetData();
|
||||||
},
|
},
|
||||||
fnGetData() {
|
fnGetData() {
|
||||||
uni.showLoading({
|
// uni.showLoading({
|
||||||
mask: true,
|
// mask: true,
|
||||||
title: '加载中...'
|
// title: '加载中...'
|
||||||
});
|
// });
|
||||||
// 设置状态为加载中
|
// 设置状态为加载中
|
||||||
if (!this.isLoadMore) {
|
if (!this.isLoadMore) {
|
||||||
this.loading = 'loading';
|
this.loading = 'loading';
|
||||||
|
|||||||
@@ -75,10 +75,10 @@
|
|||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
fnGetData() {
|
fnGetData() {
|
||||||
uni.showLoading({
|
// uni.showLoading({
|
||||||
mask: true,
|
// mask: true,
|
||||||
title: '加载中...'
|
// title: '加载中...'
|
||||||
});
|
// });
|
||||||
// 设置状态为加载中
|
// 设置状态为加载中
|
||||||
if (!this.isLoadMore) {
|
if (!this.isLoadMore) {
|
||||||
this.loading = 'loading';
|
this.loading = 'loading';
|
||||||
|
|||||||
@@ -78,10 +78,10 @@
|
|||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
fnGetData() {
|
fnGetData() {
|
||||||
uni.showLoading({
|
// uni.showLoading({
|
||||||
mask: true,
|
// mask: true,
|
||||||
title: '加载中...'
|
// title: '加载中...'
|
||||||
});
|
// });
|
||||||
// 设置状态为加载中
|
// 设置状态为加载中
|
||||||
if (!this.isLoadMore) {
|
if (!this.isLoadMore) {
|
||||||
this.loading = 'loading';
|
this.loading = 'loading';
|
||||||
|
|||||||
@@ -4,6 +4,7 @@
|
|||||||
<tm-skeleton model="listAvatr"></tm-skeleton>
|
<tm-skeleton model="listAvatr"></tm-skeleton>
|
||||||
<tm-skeleton model="listAvatr"></tm-skeleton>
|
<tm-skeleton model="listAvatr"></tm-skeleton>
|
||||||
<tm-skeleton model="listAvatr"></tm-skeleton>
|
<tm-skeleton model="listAvatr"></tm-skeleton>
|
||||||
|
<tm-skeleton model="listAvatr"></tm-skeleton>
|
||||||
</view>
|
</view>
|
||||||
<!-- 内容区域 -->
|
<!-- 内容区域 -->
|
||||||
<view v-else class="app-page-content pa-24" :class="{ 'bg-white': dataList.length !== 0 }">
|
<view v-else class="app-page-content pa-24" :class="{ 'bg-white': dataList.length !== 0 }">
|
||||||
@@ -133,10 +134,10 @@
|
|||||||
|
|
||||||
methods: {
|
methods: {
|
||||||
fnGetData() {
|
fnGetData() {
|
||||||
uni.showLoading({
|
// uni.showLoading({
|
||||||
mask: true,
|
// mask: true,
|
||||||
title: '加载中...'
|
// title: '加载中...'
|
||||||
});
|
// });
|
||||||
// 设置状态为加载中
|
// 设置状态为加载中
|
||||||
if (!this.isLoadMore) {
|
if (!this.isLoadMore) {
|
||||||
this.loading = 'loading';
|
this.loading = 'loading';
|
||||||
|
|||||||
@@ -75,10 +75,10 @@
|
|||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
fnGetData() {
|
fnGetData() {
|
||||||
uni.showLoading({
|
// uni.showLoading({
|
||||||
mask: true,
|
// mask: true,
|
||||||
title: '加载中...'
|
// title: '加载中...'
|
||||||
});
|
// });
|
||||||
// 设置状态为加载中
|
// 设置状态为加载中
|
||||||
if (!this.isLoadMore) {
|
if (!this.isLoadMore) {
|
||||||
this.loading = 'loading';
|
this.loading = 'loading';
|
||||||
|
|||||||
Referência em uma Nova Issue
Bloquear um usuário