Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
7
7-Eleven
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
高淑倩
7-Eleven
Commits
5bb46f0e
Commit
5bb46f0e
authored
May 27, 2020
by
谢中龙
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改字段
parent
a9d191d6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
2 deletions
+12
-2
pointDetail.js
src/pages/pointDetail/pointDetail.js
+11
-1
project.config.json
src/project.config.json
+1
-1
No files found.
src/pages/pointDetail/pointDetail.js
View file @
5bb46f0e
...
@@ -193,13 +193,17 @@ wxService.page({
...
@@ -193,13 +193,17 @@ wxService.page({
if
(
this
.
data
.
donate
){
if
(
this
.
data
.
donate
){
this
.
getUserShowRewardCollectionPoint
(
id
);
this
.
getUserShowRewardCollectionPoint
(
id
);
}
}
else
{
//弹出订阅消息确认框
this
.
showOrHideTemplateModal
(
id
);
}
}
}
})
})
}
}
}
}
});
});
this
.
showOrHideTemplateModal
(
id
);
},
},
//获取用户扫码进来是否需要弹出领取集点的
//获取用户扫码进来是否需要弹出领取集点的
getUserShowRewardCollectionPoint
(
id
){
getUserShowRewardCollectionPoint
(
id
){
...
@@ -211,6 +215,10 @@ wxService.page({
...
@@ -211,6 +215,10 @@ wxService.page({
if
(
data
==
1
){
if
(
data
==
1
){
this
.
showConfirmModal
(
id
);
this
.
showConfirmModal
(
id
);
}
}
else
{
//弹出订阅消息确认框
this
.
showOrHideTemplateModal
(
id
);
}
}
}
}
}
})
})
...
@@ -257,6 +265,8 @@ wxService.page({
...
@@ -257,6 +265,8 @@ wxService.page({
});
});
this
.
userConfirmGetCollectionPoint
(
this
.
data
.
id
);
this
.
userConfirmGetCollectionPoint
(
this
.
data
.
id
);
this
.
onTapSureSubTemplate
();
},
},
//调用领取接口
//调用领取接口
...
...
src/project.config.json
View file @
5bb46f0e
...
@@ -22,7 +22,7 @@
...
@@ -22,7 +22,7 @@
"disablePlugins"
:
[],
"disablePlugins"
:
[],
"outputPath"
:
""
"outputPath"
:
""
},
},
"useCompilerModule"
:
fals
e
,
"useCompilerModule"
:
tru
e
,
"userConfirmedUseCompilerModuleSwitch"
:
false
"userConfirmedUseCompilerModuleSwitch"
:
false
},
},
"compileType"
:
"miniprogram"
,
"compileType"
:
"miniprogram"
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment