Commit efd72138 by chenwq

膨胀金详情页图片替换,长按识别

1 parent f5a9faad
......@@ -478,12 +478,12 @@ var senceData = [
`${IMG_URL}index/scene/scene23.png`,
],
productImgs:[
`${IMG_URL}index/productImgs/product60.webp`,
`${IMG_URL}index/productImgs/product61.webp`,
`${IMG_URL}index/productImgs/product62.webp`,
`${IMG_URL}index/productImgs/product63.webp`,
`${IMG_URL}index/productImgs/product64.webp`,
`${IMG_URL}index/productImgs/product65.webp`,
`${IMG_URL}index/productImgs/product70.webp`,
`${IMG_URL}index/productImgs/product71.webp`,
`${IMG_URL}index/productImgs/product72.webp`,
`${IMG_URL}index/productImgs/product73.webp`,
`${IMG_URL}index/productImgs/product74.webp`,
`${IMG_URL}index/productImgs/product75.webp`
],
productList: [
{
......
......@@ -363,7 +363,20 @@ Page({
let { actnum, index } = e.target.dataset
// 膨胀金活动,合作方式
if (actnum == 4 && index == 4) {
wx.$router.jumpH5('https://scrm.glsx.com.cn/frontpdf/expand_agreement.pdf');
wx.downloadFile({
// 示例 url,并非真实存在
url: 'https://scrm.glsx.com.cn/frontpdf/expand_agreement.pdf',
success: function (res) {
console.log(res)
const filePath = res.tempFilePath
wx.openDocument({
filePath: filePath,
success: function (res) {
console.log('打开文档成功')
}
})
}
})
}
},
/**
......
......@@ -220,7 +220,7 @@ page {
.img-item41 {
width: 100%;
height: 1224rpx;
height: 1144rpx;
}
.img-item42 {
......@@ -235,7 +235,7 @@ page {
.img-item44 {
width: 100%;
height: 2220rpx;
height: 3188rpx;
}
.img-item45 {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!