Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
business-assistant
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit efd72138
authored
Jan 05, 2023
by
chenwq
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
膨胀金详情页图片替换,长按识别
1 parent
f5a9faad
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
22 additions
and
9 deletions
pages/tab/index/constant/data.js
pages/viewProd/index.js
pages/viewProd/index.scss
pages/tab/index/constant/data.js
View file @
efd7213
...
...
@@ -478,12 +478,12 @@ var senceData = [
`
${
IMG_URL
}
index/scene/scene23.png`
,
],
productImgs
:[
`
${
IMG_URL
}
index/productImgs/product
6
0.webp`
,
`
${
IMG_URL
}
index/productImgs/product
6
1.webp`
,
`
${
IMG_URL
}
index/productImgs/product
6
2.webp`
,
`
${
IMG_URL
}
index/productImgs/product
6
3.webp`
,
`
${
IMG_URL
}
index/productImgs/product
6
4.webp`
,
`
${
IMG_URL
}
index/productImgs/product
65.webp`
,
`
${
IMG_URL
}
index/productImgs/product
7
0.webp`
,
`
${
IMG_URL
}
index/productImgs/product
7
1.webp`
,
`
${
IMG_URL
}
index/productImgs/product
7
2.webp`
,
`
${
IMG_URL
}
index/productImgs/product
7
3.webp`
,
`
${
IMG_URL
}
index/productImgs/product
7
4.webp`
,
`
${
IMG_URL
}
index/productImgs/product
75.webp`
],
productList
:
[
{
...
...
pages/viewProd/index.js
View file @
efd7213
...
...
@@ -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('打开文档成功')
}
})
}
})
}
},
/**
...
...
pages/viewProd/index.scss
View file @
efd7213
...
...
@@ -220,7 +220,7 @@ page {
.img-item41
{
width
:
100%
;
height
:
1
22
4rpx
;
height
:
1
14
4rpx
;
}
.img-item42
{
...
...
@@ -235,7 +235,7 @@ page {
.img-item44
{
width
:
100%
;
height
:
2220
rpx
;
height
:
3188
rpx
;
}
.img-item45
{
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment