Skip to content

Commit

Permalink
Merge pull request #7 from JunDeer/master
Browse files Browse the repository at this point in the history
无精选照片情况下详情页loading修复
  • Loading branch information
JunDeer authored Oct 11, 2021
2 parents 308b05e + b8c9b41 commit 48a0c04
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
2 changes: 1 addition & 1 deletion miniprogram/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ App({
checkUpdateVersion();

this.globalData = {
version: "v1.5.4"
version: "v1.5.5"
}
}
})
10 changes: 6 additions & 4 deletions miniprogram/pages/genealogy/detailCat/detailCat.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,7 @@ Page({
onLoad: function (options) {
cat_id = options.cat_id;
// 开始加载页面
wx.showLoading({
title: '加载中',
mask: true
})

const that = this;
const app = getApp();
getGlobalSettings('detailCat').then(settings => {
Expand Down Expand Up @@ -215,6 +212,11 @@ Page({
const step = page_settings.photoStep;
const now = cat.photo.length;

wx.showLoading({
title: '加载中',
mask: true
})

const db = wx.cloud.database();
console.log(qf);
let res = await db.collection('photo').where(qf).orderBy('mdate', 'desc').skip(now).limit(step).get();
Expand Down
3 changes: 3 additions & 0 deletions miniprogram/pages/info/devTeam/devTeam.wxml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@
<view class='block'>
<view class='title'>更新日志</view>
<view class='desc'>
<view class='sub-title hl'>v1.5.5</view>
<text class='sub-detail'>- BUG修复\n - 更新时间:2021/10/11</text>

<view class='sub-title hl'>v1.5.4</view>
<text class='sub-detail'>- 页面优化\n - 更新时间:2021/10/7</text>

Expand Down

0 comments on commit 48a0c04

Please sign in to comment.