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 5d845190
authored
Oct 24, 2022
by
luyt
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix:添加图片下载
1 parent
d6dff14e
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
8 additions
and
7 deletions
pages/apply/apply.wxml
pages/checkProduct/checkProduct.js
pages/tab/index/constant/data.js
pages/tab/index/index.js
utils/request/environment.js
pages/apply/apply.wxml
View file @
5d84519
...
...
@@ -4,7 +4,7 @@
</navigation-bar>
<view class="apply">
<image class="head" src="{{IMG_URL}}index/apply-title.png" style="height:{{tabBarStyle}}px;" />
<image class="introduce" src="{{IMG_URL}}index/apply-
title
.png" />
<image class="introduce" src="{{IMG_URL}}index/apply-
bg
.png" />
<view class="content" hover-class="none" hover-stop-propagation>
<view class="top">
<view class="line" hover-class="none" hover-stop-propagation="false" />
...
...
pages/checkProduct/checkProduct.js
View file @
5d84519
...
...
@@ -198,7 +198,8 @@ Page({
// 下载海报
async download() {
let { actNum, activeNavIdx, imgHeightArr ,imgPath} = this.data;
let wx_user_info = wx.$storage.get("wx_user_info");
const { appId } = wx.getAccountInfoSync().miniProgram
// let wx_user_info = wx.$storage.get("wx_user_info");
// console.log('wx_user_info: ', wx_user_info.appId);
let params = {
actNum,
...
...
@@ -206,9 +207,9 @@ Page({
isShare: true,
};
console.log(' wx_user_info.appId', wx_user_info)
//
console.log(' wx_user_info.appId', wx_user_info)
let res = await createQrCodeApi({
appId:
wx_user_info.
appId,
appId: appId,
// appId:'wx2c28337db96364d2',
path: "pages/checkProduct/checkProduct",
scene: JSON.stringify(params),
...
...
pages/tab/index/constant/data.js
View file @
5d84519
...
...
@@ -99,7 +99,7 @@ var senceData = [
img
:
'product-img3'
,
proName
:
'漆面保护膜'
,
price
:
'100'
,
profit
:
'
216
0000'
,
profit
:
'
18
0000'
,
type
:
'membrane'
,
productType
:
'protectMembrane'
,
path
:
'paintProtect'
,
...
...
pages/tab/index/index.js
View file @
5d84519
...
...
@@ -317,7 +317,7 @@ Page({
break
case
'protectMembrane'
:
// 漆面保护膜
profit
=
(
flow
*
0.
15
*
12
000
*
12
).
toFixed
(
0
)
profit
=
(
flow
*
0.
05
*
3
000
*
12
).
toFixed
(
0
)
break
case
'colorMembrane'
:
// 改色膜
...
...
utils/request/environment.js
View file @
5d84519
...
...
@@ -6,7 +6,7 @@ const target = ['ip', 'dev', 'uat', 'prod']
2测试
3生产
*/
const
index
=
2
const
index
=
1
const
secretKey
=
{
ip
:
{},
...
...
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