Commit bfb98493 by luyt

feat:长图添加时间戳

1 parent d3de9628
......@@ -310,7 +310,7 @@ Page({
y: pradH,
width: imgW,
height: imgH,
url: `https://img02.glsx.com.cn/weapp/resource/saas/business-assistant/index/longpic${actNum + 1}.jpg`
url: `https://img02.glsx.com.cn/weapp/resource/saas/business-assistant/index/longpic${actNum + 1}.jpg?v=${Date.now()}`
// url: `https://img02.glsx.com.cn/weapp/resource/saas/business-assistant/index/longpic${actNum + 1}.webp`
},
{
......@@ -357,7 +357,8 @@ Page({
wx.hideLoading()
},
fail:(err)=>{
console.log(err)
wx.$api.showToast('下载失败')
// console.log(err)
}
})
},
......@@ -380,7 +381,7 @@ Page({
})
let _this = this
wx.getImageInfo({
src: `https://img02.glsx.com.cn/weapp/resource/saas/business-assistant/index/longpic${actNum + 1}.jpg`,
src: `https://img02.glsx.com.cn/weapp/resource/saas/business-assistant/index/longpic${actNum + 1}.jpg?v=${Date.now()}`,
// src: `https://img02.glsx.com.cn/weapp/resource/saas/business-assistant/index/longpic${actNum + 1}.png`,
success: async res => {
// console.log('res图片信息: ', res)
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!