wangfukang 1 month ago
parent
commit
9c074ea6a6
  1. 10
      components/tab-bar/release.vue

10
components/tab-bar/release.vue

@ -235,6 +235,7 @@
import { getIeProfile } from '@/common/ieApi.js' import { getIeProfile } from '@/common/ieApi.js'
import { ensureIeVerifiedBeforeAction } from '@/common/ieRealNameAuth.js' import { ensureIeVerifiedBeforeAction } from '@/common/ieRealNameAuth.js'
import { requireLoginToPage } from '@/utils/authRedirect.js' import { requireLoginToPage } from '@/utils/authRedirect.js'
import { suppressNextShareRedirect, consumeShareRedirectSuppression } from '@/utils/sharePath.js'
const CHANNELS = [ const CHANNELS = [
{ tone: 'wall', name: '校园墙', desc: '新鲜事', icon: 'https://jewel-shop.oss-cn-beijing.aliyuncs.com/f3b050e7f6d74bb9adca54de0bf3fc17.png' }, { tone: 'wall', name: '校园墙', desc: '新鲜事', icon: 'https://jewel-shop.oss-cn-beijing.aliyuncs.com/f3b050e7f6d74bb9adca54de0bf3fc17.png' },
@ -766,7 +767,14 @@
previewImages(item, index) { previewImages(item, index) {
const urls = this.getImages(item) const urls = this.getImages(item)
if (!urls.length) return if (!urls.length) return
uni.previewImage({ urls, current: urls[index] || urls[0] }) suppressNextShareRedirect()
uni.previewImage({
urls,
current: urls[index] || urls[0],
fail: () => {
consumeShareRedirectSuppression()
}
})
}, },
goDetail(item) { goDetail(item) {
if (!this.requirePageLogin()) return if (!this.requirePageLogin()) return

Loading…
Cancel
Save