Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
7
7_Eleven_Alipay
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_Alipay
Commits
8b16c5da
Commit
8b16c5da
authored
Dec 26, 2019
by
谢中龙
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
711积分换物库存校验提前
parent
7cd36a22
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
199 additions
and
10 deletions
+199
-10
mini-program.json
.tea/configuration/mini-program.json
+2
-2
editor.json
.tea/editor.json
+0
-0
editorTabs.json
.tea/editorTabs.json
+2
-2
recentlyTouched.json
.tea/recentlyTouched.json
+2
-2
f0de175c5b9f1b6c395c9eb745a380f31577243932484258
...p-saving/f0de175c5b9f1b6c395c9eb745a380f31577243932484258
+50
-0
f0de175c5b9f1b6c395c9eb745a380f31577243932551057
...p-saving/f0de175c5b9f1b6c395c9eb745a380f31577243932551057
+50
-0
IntegralMallGoods.axml
...ckage/page/pages/IntegralMallGoods/IntegralMallGoods.axml
+1
-0
IntegralMallGoods.js
subPackage/page/pages/IntegralMallGoods/IntegralMallGoods.js
+46
-3
IntegrateGoodsExchangeInfo.axml
...ntegrateGoodsExchangeInfo/IntegrateGoodsExchangeInfo.axml
+1
-0
IntegrateGoodsExchangeInfo.js
.../IntegrateGoodsExchangeInfo/IntegrateGoodsExchangeInfo.js
+41
-1
IntegrateGoodsExchangeInfo.json
...ntegrateGoodsExchangeInfo/IntegrateGoodsExchangeInfo.json
+2
-0
exchangeAddress.js
subPackage/page/pages/exchangeAddress/exchangeAddress.js
+2
-0
No files found.
.tea/configuration/mini-program.json
View file @
8b16c5da
{
"undefined::component2"
:
false
,
"undefined::_enableAutoPush"
:
false
,
"undefined::_appIdList"
:[],
"undefined::uploadTime"
:
""
,
"undefined::packageSize"
:
0
,
"tinyType"
:
"alipay"
,
"tinyCnName"
:
"支付宝"
,
"tinyProjectType"
:
"alipay-mini"
,
"alipay:alipay-mini:tinyIcon"
:
"https://gw.alipayobjects.com/zos/rmsportal/rcwFIauzePpMqlTzzanK.svg"
,
"alipay:alipay-mini:auditLink"
:
null
,
"alipay:alipay-mini:whiteListLink"
:
null
,
"alipay:alipay-mini:createLink"
:
null
,
"alipay:alipay-mini:component2"
:
true
,
"alipay:alipay-mini:_enableAutoPush"
:
true
,
"alipay:alipay-mini:_appIdList"
:[{
"appid"
:
"2019101168315187"
,
"name"
:
"广东7-Eleven会员俱乐部"
},{
"appid"
:
"2019092667869080"
,
"name"
:
"名称释放00279678"
},{
"appid"
:
"2019092667878018"
,
"name"
:
"大禹qa"
},{
"appid"
:
"2019091967575819"
,
"name"
:
"名称释放00286936"
},{
"appid"
:
"2019071665833747"
,
"name"
:
"名称释放00250632"
}],
"alipay:alipay-mini:uploadTime"
:
"2019-12-21 15:01:25"
,
"alipay:alipay-mini:packageSize"
:
0
,
"alipay:alipay-mini:MockStore"
:{
"_showCouponDialog"
:
"false"
,
"_userInfo"
:{
"code"
:
"10000"
,
"msg"
:
"Success"
,
"avatar"
:
"https://tfs.alipayobjects.com/images/partner/T1yVJjXnxgXXXXXXXX"
,
"city"
:
"上海市"
,
"countryCode"
:
"CN"
,
"gender"
:
"m"
,
"nickName"
:
"谢中龙"
,
"province"
:
"上海"
},
"reLoginErr"
:
false
,
"token"
:
"d4cc6583d2755134a23395bb0d795199"
,
"_loginCode"
:
"2d0f514b34d34effad2be2397c71RX45"
,
"_accreditUserInfo"
:{
"code"
:
"10000"
,
"msg"
:
"Success"
,
"avatar"
:
"https://tfs.alipayobjects.com/images/partner/T1yVJjXnxgXXXXXXXX"
,
"city"
:
"上海市"
,
"countryCode"
:
"CN"
,
"gender"
:
"m"
,
"nickName"
:
"谢中龙"
,
"province"
:
"上海"
},
"_baseUserInfo"
:{
"applyCardUrl"
:
"https%3A%2F%2Fmemberprod.alipay.com%2Faccount%2Fopenform%2Factivecard.htm%3Fapp_id%3D2019101168315187%26template_id%3D20191018000000002120493000300552%26__webview_options__%3DcanPullDown%253dNO%2526transparentTitle%253dauto%26out_string%3Dalipay"
,
"authToken"
:
"composeB914ce12df072420c81a08d415d58bE45"
,
"member"
:{
"activateAlipayCardTime"
:
"2019-11-07 08:20:12"
,
"activateWxCardTime"
:
"2019-06-28 09:58:15"
,
"address"
:
"上海市-上海市-浦东新区-盛夏路58号天之骄子创业公寓6号楼蜂巢柜"
,
"alipayCardOpenDate"
:
"2019-11-07 08:20:12"
,
"alipayUserId"
:
"2088702833166455"
,
"birthday"
:
"1991-11-19 00:00:00"
,
"brandId"
:
"2711"
,
"cardNoAlipay"
:
"svneleven0003335945"
,
"cardNoWeixin"
:
"305490426989"
,
"code"
:
"770084118008766216"
,
"createTime"
:
"2019-06-28 09:58:15"
,
"id"
:
"594104268563292160"
,
"level"
:
0
,
"lock"
:
false
,
"memberWeixin"
:{
"nickname"
:
"言夕"
,
"sex"
:
"男"
},
"memberWeixinApps"
:[{
"appid"
:
"wx700028bf32a3be66"
,
"openid"
:
"oUOIF0basUF5heHcuZwvPSEJIG3E"
,
"unionid"
:
"oV1j3vwp9HNqOhwN2Fl0gIOVHDr4"
}],
"mobile"
:
"18817382046"
,
"name"
:
"谢中龙"
,
"openid"
:
"of8NluBTFNqUHHpPogObPN2vb3Qo"
,
"registerTime"
:
"2019-06-28 09:58:15"
,
"sex"
:
"男"
,
"storeId"
:
"2711"
,
"unionid"
:
"oV1j3vwp9HNqOhwN2Fl0gIOVHDr4"
,
"updateTime"
:
"2019-11-14 08:22:58"
},
"memberActivateStatus"
:
true
,
"memberId"
:
"594104268563292160"
,
"outerStr"
:
"{
\"
activateType
\"
:
\"
normal
\"
}"
,
"token"
:
"d4cc6583d2755134a23395bb0d795199"
}},
"alipay:alipay-mini:_appId"
:
"2019101168315187"
,
"alipay:alipay-mini:_appName"
:
"广东7-Eleven会员俱乐部"
,
"alipay:alipay-mini:remoteVersion"
:
"1.0.31"
,
"alipay:alipay-mini:currentVersion"
:
"1.0.32"
,
"alipay:alipay-mini:whiteList"
:[
"b.bigaka.com"
],
"alipay:alipay-mini:h5WhiteList"
:[],
"alipay:alipay-mini:appLogo"
:
"https://appstoreisvpic.alipayobjects.com/prod/6ac7a3a5-d755-458e-9da7-1b03a72f61d2.png"
,
"alipay:alipay-mini:userAuthorization"
:[
"userInfo"
],
"isSimulatorOpen"
:
true
,
"isNotFirstToggleSimulator"
:
true
,
"compilerList"
:[{
"title"
:
"普通编译"
,
"query"
:
""
,
"page"
:
""
},{
"title"
:
"积分商城"
,
"page"
:
"pages/IntegralMall/IntegralMall"
},{
"title"
:
"我的消费"
,
"page"
:
"pages/mySpend/mySpend"
},{
"title"
:
"动态子页面_pageId"
,
"page"
:
"subPackage/page/pages/subPage/subPage"
},{
"title"
:
"积分流水"
,
"page"
:
"pages/integralWater/integralWater"
},{
"title"
:
"优惠券"
,
"page"
:
"pages/coupons/coupons"
},{
"title"
:
"我的会员"
,
"page"
:
"pages/memberOfOwn/memberOfOwn"
},{
"title"
:
"发券组件"
,
"page"
:
"subPackage/page/pages/aliPayCoupon/aliPayCoupon"
},{
"title"
:
"积分商城(新)"
,
"page"
:
"subPackage/page/pages/IntegralMallGoods/IntegralMallGoods"
},{
"title"
:
"积分换物兑换记录"
,
"page"
:
"subPackage/page/pages/recordList/recordList"
},{
"title"
:
"消费详情"
,
"page"
:
"pages/consumptionDetails/consumptionDetails"
,
"pageQuery"
:
""
}],
"compilerIndex"
:
4
,
"alipay:alipay-mini:preAuditLimit"
:
5
,
"alipay:alipay-mini:preAuditUsed"
:
1
,
"alipay:alipay-mini:stopRefresh"
:
false
,
"SimulatorMode"
:
"EMBED"
,
"alipay:alipay-mini:lastDeviceName"
:
"iPhone X"
,
"storageVersion"
:
"0.70.14"
}
{
"undefined::component2"
:
false
,
"undefined::_enableAutoPush"
:
false
,
"undefined::_appIdList"
:[],
"undefined::uploadTime"
:
""
,
"undefined::packageSize"
:
0
,
"tinyType"
:
"alipay"
,
"tinyCnName"
:
"支付宝"
,
"tinyProjectType"
:
"alipay-mini"
,
"alipay:alipay-mini:tinyIcon"
:
"https://gw.alipayobjects.com/zos/rmsportal/rcwFIauzePpMqlTzzanK.svg"
,
"alipay:alipay-mini:auditLink"
:
null
,
"alipay:alipay-mini:whiteListLink"
:
null
,
"alipay:alipay-mini:createLink"
:
null
,
"alipay:alipay-mini:component2"
:
true
,
"alipay:alipay-mini:_enableAutoPush"
:
true
,
"alipay:alipay-mini:_appIdList"
:[{
"appid"
:
"2019101168315187"
,
"name"
:
"广东7-Eleven会员俱乐部"
},{
"appid"
:
"2019092667869080"
,
"name"
:
"名称释放00279678"
},{
"appid"
:
"2019092667878018"
,
"name"
:
"大禹qa"
},{
"appid"
:
"2019091967575819"
,
"name"
:
"名称释放00286936"
},{
"appid"
:
"2019071665833747"
,
"name"
:
"名称释放00250632"
}],
"alipay:alipay-mini:uploadTime"
:
"2019-12-25 11:34:17"
,
"alipay:alipay-mini:packageSize"
:
0
,
"alipay:alipay-mini:MockStore"
:{
"_showCouponDialog"
:
"false"
,
"_userInfo"
:{
"code"
:
"10000"
,
"msg"
:
"Success"
,
"avatar"
:
"https://tfs.alipayobjects.com/images/partner/T1yVJjXnxgXXXXXXXX"
,
"city"
:
"上海市"
,
"countryCode"
:
"CN"
,
"gender"
:
"m"
,
"nickName"
:
"谢中龙"
,
"province"
:
"上海"
},
"reLoginErr"
:
false
,
"token"
:
"d4cc6583d2755134a23395bb0d795199"
,
"_loginCode"
:
"d0a73217372d43ff9077917389dcQC45"
,
"_accreditUserInfo"
:{
"code"
:
"10000"
,
"msg"
:
"Success"
,
"avatar"
:
"https://tfs.alipayobjects.com/images/partner/T1yVJjXnxgXXXXXXXX"
,
"city"
:
"上海市"
,
"countryCode"
:
"CN"
,
"gender"
:
"m"
,
"nickName"
:
"谢中龙"
,
"province"
:
"上海"
},
"_baseUserInfo"
:{
"token"
:
"d4cc6583d2755134a23395bb0d795199"
,
"applyCardUrl"
:
"https%3A%2F%2Fmemberprod.alipay.com%2Faccount%2Fopenform%2Factivecard.htm%3Fapp_id%3D2019101168315187%26template_id%3D20191018000000002120493000300552%26__webview_options__%3DcanPullDown%253dNO%2526transparentTitle%253dauto%26out_string%3Dalipay"
,
"authToken"
:
"composeB76b7e5a58f31414088a41cfc75c93B45"
,
"outerStr"
:
"{
\"
activateType
\"
:
\"
normal
\"
}"
,
"memberId"
:
"594104268563292160"
,
"member"
:{
"id"
:
"594104268563292160"
,
"createTime"
:
"2019-06-28 09:58:15"
,
"updateTime"
:
"2019-11-14 08:22:58"
,
"code"
:
"770084118008766216"
,
"brandId"
:
"2711"
,
"storeId"
:
"2711"
,
"mobile"
:
"18817382046"
,
"unionid"
:
"oV1j3vwp9HNqOhwN2Fl0gIOVHDr4"
,
"openid"
:
"of8NluBTFNqUHHpPogObPN2vb3Qo"
,
"cardNoWeixin"
:
"305490426989"
,
"cardNoAlipay"
:
"svneleven0003335945"
,
"alipayUserId"
:
"2088702833166455"
,
"alipayCardOpenDate"
:
"2019-11-07 08:20:12"
,
"name"
:
"谢中龙"
,
"sex"
:
"男"
,
"birthday"
:
"1991-11-19 00:00:00"
,
"address"
:
"上海市-上海市-浦东新区-盛夏路58号天之骄子创业公寓6号楼蜂巢柜"
,
"lock"
:
false
,
"registerTime"
:
"2019-06-28 09:58:15"
,
"activateWxCardTime"
:
"2019-06-28 09:58:15"
,
"activateAlipayCardTime"
:
"2019-11-07 08:20:12"
,
"memberWeixin"
:{
"nickname"
:
"言夕"
,
"sex"
:
"男"
},
"level"
:
0
,
"memberWeixinApps"
:[{
"openid"
:
"oUOIF0basUF5heHcuZwvPSEJIG3E"
,
"appid"
:
"wx700028bf32a3be66"
,
"unionid"
:
"oV1j3vwp9HNqOhwN2Fl0gIOVHDr4"
}]},
"memberActivateStatus"
:
true
}},
"alipay:alipay-mini:_appId"
:
"2019101168315187"
,
"alipay:alipay-mini:_appName"
:
"广东7-Eleven会员俱乐部"
,
"alipay:alipay-mini:remoteVersion"
:
"1.0.32"
,
"alipay:alipay-mini:currentVersion"
:
"1.0.33"
,
"alipay:alipay-mini:whiteList"
:[
"b.bigaka.com"
],
"alipay:alipay-mini:h5WhiteList"
:[],
"alipay:alipay-mini:appLogo"
:
"https://appstoreisvpic.alipayobjects.com/prod/6ac7a3a5-d755-458e-9da7-1b03a72f61d2.png"
,
"alipay:alipay-mini:userAuthorization"
:[
"userInfo"
],
"isSimulatorOpen"
:
true
,
"isNotFirstToggleSimulator"
:
true
,
"compilerList"
:[{
"title"
:
"普通编译"
,
"query"
:
""
,
"page"
:
""
},{
"title"
:
"积分商城"
,
"page"
:
"pages/IntegralMall/IntegralMall"
},{
"title"
:
"我的消费"
,
"page"
:
"pages/mySpend/mySpend"
},{
"title"
:
"动态子页面_pageId"
,
"page"
:
"subPackage/page/pages/subPage/subPage"
},{
"title"
:
"积分流水"
,
"page"
:
"pages/integralWater/integralWater"
},{
"title"
:
"优惠券"
,
"page"
:
"pages/coupons/coupons"
},{
"title"
:
"我的会员"
,
"page"
:
"pages/memberOfOwn/memberOfOwn"
},{
"title"
:
"发券组件"
,
"page"
:
"subPackage/page/pages/aliPayCoupon/aliPayCoupon"
},{
"title"
:
"积分商城(新)"
,
"page"
:
"subPackage/page/pages/IntegralMallGoods/IntegralMallGoods"
},{
"title"
:
"积分换物兑换记录"
,
"page"
:
"subPackage/page/pages/recordList/recordList"
},{
"title"
:
"消费详情"
,
"page"
:
"pages/consumptionDetails/consumptionDetails"
,
"pageQuery"
:
""
}],
"compilerIndex"
:
0
,
"alipay:alipay-mini:preAuditLimit"
:
5
,
"alipay:alipay-mini:preAuditUsed"
:
1
,
"alipay:alipay-mini:stopRefresh"
:
false
,
"SimulatorMode"
:
"EMBED"
,
"alipay:alipay-mini:lastDeviceName"
:
"iPhone X"
,
"storageVersion"
:
"0.70.14"
}
\ No newline at end of file
\ No newline at end of file
.tea/editor.json
View file @
8b16c5da
This source diff could not be displayed because it is too large. You can
view the blob
instead.
.tea/editorTabs.json
View file @
8b16c5da
{
"tabs"
:[
"file:///d%3A/work/projects/7_Eleven_Alipay/subPackage/page/pages/IntegralMallGoods/IntegralMallGoods.js"
,
"file:///d%3A/work/projects/7_Eleven_Alipay/subPackage/page/pages/recordList/recordList.js"
,
"file:///d%3A/work/projects/7_Eleven_Alipay/pages/integralWater/integralWater.js"
,
"file:///d%3A/work/projects/7_Eleven_Alipay/pages/coupons/coupons.js"
,
"file:///d%3A/work/projects/7_Eleven_Alipay/subPackage/page/pages/recordList/recordList.json"
,
"file:///d%3A/work/projects/7_Eleven_Alipay/pages/userCenter/userCenter.json"
,
"file:///d%3A/work/projects/7_Eleven_Alipay/pages/userCenter/userCenter.axml"
,
"file:///d%3A/work/projects/7_Eleven_Alipay/subPackage/page/pages/recordList/recordList.axml"
,
"file:///d%3A/work/projects/7_Eleven_Alipay/pages/consumptionDetails/consumptionDetails.axml"
,
"file:///d%3A/work/projects/7_Eleven_Alipay/pages/consumptionDetails/consumptionDetails.js"
,
"file:///d%3A/work/projects/7_Eleven_Alipay/pages/consumptionDetails/consumptionDetails.acss"
,
"file:///d%3A/work/projects/7_Eleven_Alipay/pages/integralWater/integralWater.axml"
,
"file:///d%3A/work/projects/7_Eleven_Alipay/subPackage/page/pages/IntegralMallGoods/IntegralMallGoods.axml"
],
"current"
:
"file:///d%3A/work/projects/7_Eleven_Alipay/subPackage/page/pages/IntegralMallGoods/IntegralMallGoods.js"
,
"storageVersion"
:
"0.70.14"
}
{
"tabs"
:[
"file:///d%3A/work/projects/7_Eleven_Alipay/app.json"
,
"file:///d%3A/work/projects/7_Eleven_Alipay/app.js"
,
"file:///d%3A/work/projects/7_Eleven_Alipay/subPackage/page/pages/IntegralMallGoods/IntegralMallGoods.js"
,
"file:///d%3A/work/projects/7_Eleven_Alipay/subPackage/page/pages/IntegralMallGoods/IntegralMallGoods.axml"
],
"current"
:
"file:///d%3A/work/projects/7_Eleven_Alipay/subPackage/page/pages/IntegralMallGoods/IntegralMallGoods.js"
,
"storageVersion"
:
"0.70.14"
}
\ No newline at end of file
\ No newline at end of file
.tea/recentlyTouched.json
View file @
8b16c5da
{
"files"
:[
"d:
\\
work
\\
projects
\\
7_Eleven_Alipay
\\
subPackage
\\
page
\\
pages
\\
IntegralMallGoods
\\
IntegralMallGoods.js"
,
"d:
\\
work
\\
projects
\\
7_Eleven_Alipay
\\
subPackage
\\
page
\\
pages
\\
IntegralMallGoods
\\
IntegralMallGoods.axml"
,
"d:
\\
work
\\
projects
\\
7_Eleven_Alipay
\\
pages
\\
integralWater
\\
integralWater.axml"
,
"d:
\\
work
\\
projects
\\
7_Eleven_Alipay
\\
pages
\\
userCenter
\\
userCenter.axml"
,
"d:
\\
work
\\
projects
\\
7_Eleven_Alipay
\\
pages
\\
userCenter
\\
userCenter.json"
,
"d:
\\
work
\\
projects
\\
7_Eleven_Alipay
\\
pages
\\
integralMallDetail
\\
integralMallDetail.js"
,
"d:
\\
work
\\
projects
\\
7_Eleven_Alipay
\\
pages
\\
integralMallDetail
\\
integralMallDetail.axml"
,
"d:
\\
work
\\
projects
\\
7_Eleven_Alipay
\\
component
\\
exchange-coupon-modal
\\
exchange-coupon-modal.axml"
,
"d:
\\
work
\\
projects
\\
7_Eleven_Alipay
\\
component
\\
authorization-modal
\\
authorization-modal.js"
,
"d:
\\
work
\\
projects
\\
7_Eleven_Alipay
\\
wx2my.js"
,
"d:
\\
work
\\
projects
\\
7_Eleven_Alipay
\\
component
\\
picNav
\\
picNav.axml"
,
"d:
\\
work
\\
projects
\\
7_Eleven_Alipay
\\
subPackage
\\
page
\\
pages
\\
exchangeAddress
\\
exchangeAddress.axml"
,
"d:
\\
work
\\
projects
\\
7_Eleven_Alipay
\\
subPackage
\\
page
\\
pages
\\
IntegrateGoodsExchangeInfo
\\
IntegrateGoodsExchangeInfo.axml"
,
"d:
\\
work
\\
projects
\\
7_Eleven_Alipay
\\
component
\\
citySelection
\\
citySelection.js"
,
"d:
\\
work
\\
projects
\\
7_Eleven_Alipay
\\
component
\\
dialogUserLimit
\\
dialogUserLimit.js"
,
"d:
\\
work
\\
projects
\\
7_Eleven_Alipay
\\
component
\\
dialogStockEmpty
\\
dialogStockEmpty.axml"
,
"d:
\\
work
\\
projects
\\
7_Eleven_Alipay
\\
pages
\\
pointDetail
\\
pointDetail.js"
,
"d:
\\
work
\\
projects
\\
7_Eleven_Alipay
\\
utils
\\
Http.js"
,
"d:
\\
work
\\
projects
\\
7_Eleven_Alipay
\\
pages
\\
couponCodeDetail
\\
couponCodeDetail.js"
,
"d:
\\
work
\\
projects
\\
7_Eleven_Alipay
\\
component
\\
citySelection
\\
citySelection.axml"
,
"d:
\\
work
\\
projects
\\
7_Eleven_Alipay
\\
subPackage
\\
page
\\
pages
\\
subPage
\\
subPage.json"
,
"d:
\\
work
\\
projects
\\
7_Eleven_Alipay
\\
subPackage
\\
page
\\
pages
\\
subPage
\\
subPage.js"
,
"d:
\\
work
\\
projects
\\
7_Eleven_Alipay
\\
subPackage
\\
page
\\
pages
\\
subPage
\\
subPage.axml"
,
"d:
\\
work
\\
projects
\\
7_Eleven_Alipay
\\
subPackage
\\
page
\\
pages
\\
pointGoodsList
\\
pointGoodsList.axml"
,
"d:
\\
work
\\
projects
\\
7_Eleven_Alipay
\\
subPackage
\\
page
\\
pages
\\
goToHome
\\
goToHome.js"
,
"d:
\\
work
\\
projects
\\
7_Eleven_Alipay
\\
subPackage
\\
page
\\
pages
\\
pointGoodsList
\\
pointGoodsList.js"
,
"d:
\\
work
\\
projects
\\
7_Eleven_Alipay
\\
subPackage
\\
page
\\
pages
\\
subPage
\\
subPage.acss"
,
"d:
\\
work
\\
projects
\\
7_Eleven_Alipay
\\
subPackage
\\
page
\\
pages
\\
aliPayCoupon
\\
aliPayCoupon.acss"
,
"d:
\\
work
\\
projects
\\
7_Eleven_Alipay
\\
subPackage
\\
page
\\
pages
\\
aliPayCoupon
\\
aliPayCoupon.js"
,
"d:
\\
work
\\
projects
\\
7_Eleven_Alipay
\\
subPackage
\\
page
\\
pages
\\
aliPayCoupon
\\
aliPayCoupon.json"
,
"d:
\\
work
\\
projects
\\
7_Eleven_Alipay
\\
utils
\\
common.js"
,
"d:
\\
work
\\
projects
\\
7_Eleven_Alipay
\\
Behavior.js"
,
"f:
\\
code
\\
7_Eleven_Alipay
\\
utils
\\
util.js"
,
"f:
\\
code
\\
7_Eleven_Alipay
\\
pages
\\
memberOfOwn
\\
memberOfOwn.js"
,
"f:
\\
code
\\
7_Eleven_Alipay
\\
pages
\\
consumptionDetails
\\
consumptionDetails.js"
,
"f:
\\
code
\\
7_Eleven_Alipay
\\
component
\\
authorization-modal
\\
authorization-modal.js"
,
"f:
\\
code
\\
7_Eleven_Alipay
\\
component
\\
exchange-coupon-modal
\\
exchange-coupon-modal.js"
,
"f:
\\
code
\\
7_Eleven_Alipay
\\
utils
\\
integerDigitalConvertion.js"
,
"f:
\\
code
\\
7_Eleven_Alipay
\\
utils
\\
common.js"
,
"f:
\\
code
\\
7_Eleven_Alipay
\\
app.js"
,
"f:
\\
code
\\
7_Eleven_Alipay
\\
pages
\\
userCenter
\\
userCenter.js"
,
"f:
\\
code
\\
7_Eleven_Alipay
\\
subPackage
\\
page
\\
pages
\\
aliPayCoupon
\\
aliPayCoupon.axml"
,
"f:
\\
code
\\
7_Eleven_Alipay
\\
subPackage
\\
page
\\
pages
\\
aliPayCoupon
\\
aliPayCoupon.js"
,
"f:
\\
code
\\
7_Eleven_Alipay
\\
utils
\\
wxService.js"
,
"f:
\\
code
\\
7_Eleven_Alipay
\\
component
\\
personCenter
\\
personCenter.js"
,
"f:
\\
code
\\
7_Eleven_Alipay
\\
pages
\\
activateCard
\\
activateCardCallback.js"
,
"f:
\\
code
\\
7_Eleven_Alipay
\\
pages
\\
memberOfOwn
\\
memberOfOwn.axml"
,
"f:
\\
code
\\
7_Eleven_Alipay
\\
config
\\
index.js"
,
"f:
\\
code
\\
7_Eleven_Alipay
\\
pages
\\
pointDetail
\\
pointDetail.js"
],
"storageVersion"
:
"0.70.14"
}
{
"files"
:[
"d:
\\
work
\\
projects
\\
7_Eleven_Alipay
\\
project.config.json"
,
"d:
\\
work
\\
projects
\\
7_Eleven_Alipay
\\
Behavior.js"
,
"d:
\\
work
\\
projects
\\
7_Eleven_Alipay
\\
app.json"
,
"d:
\\
work
\\
projects
\\
7_Eleven_Alipay
\\
app.js"
,
"d:
\\
work
\\
projects
\\
7_Eleven_Alipay
\\
utils
\\
Http.js"
,
"d:
\\
work
\\
projects
\\
7_Eleven_Alipay
\\
package-lock.json"
,
"d:
\\
work
\\
projects
\\
7_Eleven_Alipay
\\
debug.log"
,
"d:
\\
work
\\
projects
\\
7_Eleven_Alipay
\\
pages
\\
userCenter
\\
userCenter.js"
,
"d:
\\
work
\\
projects
\\
7_Eleven_Alipay
\\
pages
\\
consumptionDetails
\\
consumptionDetails.axml"
,
"d:
\\
work
\\
projects
\\
7_Eleven_Alipay
\\
pages
\\
integralWater
\\
integralWater.axml"
,
"d:
\\
work
\\
projects
\\
7_Eleven_Alipay
\\
pages
\\
userCenter
\\
userCenter.axml"
,
"d:
\\
work
\\
projects
\\
7_Eleven_Alipay
\\
pages
\\
userCenter
\\
userCenter.json"
,
"d:
\\
work
\\
projects
\\
7_Eleven_Alipay
\\
pages
\\
integralMallDetail
\\
integralMallDetail.js"
,
"d:
\\
work
\\
projects
\\
7_Eleven_Alipay
\\
pages
\\
integralMallDetail
\\
integralMallDetail.axml"
,
"d:
\\
work
\\
projects
\\
7_Eleven_Alipay
\\
component
\\
exchange-coupon-modal
\\
exchange-coupon-modal.axml"
,
"d:
\\
work
\\
projects
\\
7_Eleven_Alipay
\\
component
\\
authorization-modal
\\
authorization-modal.js"
,
"d:
\\
work
\\
projects
\\
7_Eleven_Alipay
\\
wx2my.js"
,
"d:
\\
work
\\
projects
\\
7_Eleven_Alipay
\\
component
\\
picNav
\\
picNav.axml"
,
"d:
\\
work
\\
projects
\\
7_Eleven_Alipay
\\
subPackage
\\
page
\\
pages
\\
exchangeAddress
\\
exchangeAddress.axml"
,
"d:
\\
work
\\
projects
\\
7_Eleven_Alipay
\\
component
\\
citySelection
\\
citySelection.js"
,
"d:
\\
work
\\
projects
\\
7_Eleven_Alipay
\\
component
\\
dialogUserLimit
\\
dialogUserLimit.js"
,
"d:
\\
work
\\
projects
\\
7_Eleven_Alipay
\\
component
\\
dialogStockEmpty
\\
dialogStockEmpty.axml"
,
"d:
\\
work
\\
projects
\\
7_Eleven_Alipay
\\
pages
\\
pointDetail
\\
pointDetail.js"
,
"d:
\\
work
\\
projects
\\
7_Eleven_Alipay
\\
pages
\\
couponCodeDetail
\\
couponCodeDetail.js"
,
"d:
\\
work
\\
projects
\\
7_Eleven_Alipay
\\
component
\\
citySelection
\\
citySelection.axml"
,
"d:
\\
work
\\
projects
\\
7_Eleven_Alipay
\\
subPackage
\\
page
\\
pages
\\
subPage
\\
subPage.json"
,
"d:
\\
work
\\
projects
\\
7_Eleven_Alipay
\\
subPackage
\\
page
\\
pages
\\
subPage
\\
subPage.js"
,
"d:
\\
work
\\
projects
\\
7_Eleven_Alipay
\\
subPackage
\\
page
\\
pages
\\
subPage
\\
subPage.axml"
,
"d:
\\
work
\\
projects
\\
7_Eleven_Alipay
\\
subPackage
\\
page
\\
pages
\\
pointGoodsList
\\
pointGoodsList.axml"
,
"d:
\\
work
\\
projects
\\
7_Eleven_Alipay
\\
subPackage
\\
page
\\
pages
\\
goToHome
\\
goToHome.js"
,
"d:
\\
work
\\
projects
\\
7_Eleven_Alipay
\\
subPackage
\\
page
\\
pages
\\
pointGoodsList
\\
pointGoodsList.js"
,
"d:
\\
work
\\
projects
\\
7_Eleven_Alipay
\\
subPackage
\\
page
\\
pages
\\
subPage
\\
subPage.acss"
,
"d:
\\
work
\\
projects
\\
7_Eleven_Alipay
\\
subPackage
\\
page
\\
pages
\\
aliPayCoupon
\\
aliPayCoupon.acss"
,
"d:
\\
work
\\
projects
\\
7_Eleven_Alipay
\\
subPackage
\\
page
\\
pages
\\
aliPayCoupon
\\
aliPayCoupon.js"
,
"d:
\\
work
\\
projects
\\
7_Eleven_Alipay
\\
subPackage
\\
page
\\
pages
\\
aliPayCoupon
\\
aliPayCoupon.json"
,
"d:
\\
work
\\
projects
\\
7_Eleven_Alipay
\\
utils
\\
common.js"
,
"f:
\\
code
\\
7_Eleven_Alipay
\\
utils
\\
util.js"
,
"f:
\\
code
\\
7_Eleven_Alipay
\\
pages
\\
memberOfOwn
\\
memberOfOwn.js"
,
"f:
\\
code
\\
7_Eleven_Alipay
\\
pages
\\
consumptionDetails
\\
consumptionDetails.js"
,
"f:
\\
code
\\
7_Eleven_Alipay
\\
component
\\
authorization-modal
\\
authorization-modal.js"
,
"f:
\\
code
\\
7_Eleven_Alipay
\\
component
\\
exchange-coupon-modal
\\
exchange-coupon-modal.js"
,
"f:
\\
code
\\
7_Eleven_Alipay
\\
utils
\\
integerDigitalConvertion.js"
,
"f:
\\
code
\\
7_Eleven_Alipay
\\
utils
\\
common.js"
,
"f:
\\
code
\\
7_Eleven_Alipay
\\
app.js"
,
"f:
\\
code
\\
7_Eleven_Alipay
\\
pages
\\
userCenter
\\
userCenter.js"
,
"f:
\\
code
\\
7_Eleven_Alipay
\\
subPackage
\\
page
\\
pages
\\
aliPayCoupon
\\
aliPayCoupon.axml"
,
"f:
\\
code
\\
7_Eleven_Alipay
\\
subPackage
\\
page
\\
pages
\\
aliPayCoupon
\\
aliPayCoupon.js"
,
"f:
\\
code
\\
7_Eleven_Alipay
\\
utils
\\
wxService.js"
],
"storageVersion"
:
"0.70.14"
}
\ No newline at end of file
\ No newline at end of file
.tea/tmp-saving/f0de175c5b9f1b6c395c9eb745a380f31577243932484258
0 → 100644
View file @
8b16c5da
<!--pages/consumptionDetails.axml-->
<import-sjs name="utils" from="../../wxs/utils.sjs"/>
<view a:if="{{!isShowDetail}}">
<view class="no-speed">暂无消费</view>
</view>
<view class="consumption" a:if="{{isShowDetail}}">
<view class="consumption-top">
<view class="top-ract"/>
<view class="top-order">
<view>订单编号:
<text class="top-data">{{orderDetail.orderNo}}</text>
</view>
<view>消费时间:
<text class="top-data">{{orderDetail.payTime}}</text>
</view>
<view>消费门店:
<text class="top-data">{{orderDetail.storeName}}</text>
<text class="top-statsu">{{orderDetail.status}}</text>
</view>
</view>
</view>
<view class="consumption-table">
<table tableThemes="{{themeArr}}" tableItems="{{orderDetail.productInfo}}"/>
</view>
<!-- <image class="consumption-img" src="./../../images/3x-28.png" mode="widthFix"/>-->
<view class="consumption-line">
<view class="semi-circle4"/>
<view class="semi-circle3"/>
</view>
<view class="consumption-bottom">
<view class="bottom-left">共{{totalNum}}件商品</view>
<view class="bottom-right">
<view class="mg-b-10">积分抵扣:
<text class="bottom-point-num">{{orderDetail.pointPayInfo.payPoint}}</text>积分
</view>
<view class="mg-b-10">订单合计:
<text class="bottom-order-total">{{utils.numberFormat(orderDetail.totalProductMoney/100)}}</text>
</view>
<view>优惠合计:
<text class="bottom-coupon-payment">{{utils.numberFormat(orderDetail.couponMoney/100)}}</text>
</view>
<view class="bottom-point-total">实付合计:
<text class="bottom-point-payment" a:if="{{orderDetail.realPayMoney}}">+{{utils.numberFormat(orderDetail.realPayMoney/100)}}</text>
</view>
</view>
</view>
<view class="consumption-tips">-香烟与服务类商品不计分-</view>
</view>
\ No newline at end of file
.tea/tmp-saving/f0de175c5b9f1b6c395c9eb745a380f31577243932551057
0 → 100644
View file @
8b16c5da
<!--pages/consumptionDetails.axml-->
<import-sjs name="utils" from="../../wxs/utils.sjs"/>
<view a:if="{{!isShowDetail}}">
<view class="no-speed">暂无消费</view>
</view>
<view class="consumption" a:if="{{isShowDetail}}">
<view class="consumption-top">
<view class="top-ract"/>
<view class="top-order">
<view>订单编号:
<text class="top-data">{{orderDetail.orderNo}}</text>
</view>
<view>消费时间:
<text class="top-data">{{orderDetail.payTime}}</text>
</view>
<view>消费门店:
<text class="top-data">{{orderDetail.storeName}}</text>
<text class="top-statsu">{{orderDetail.status}}</text>
</view>
</view>
</view>
<view class="consumption-table">
<table tableThemes="{{themeArr}}" tableItems="{{orderDetail.productInfo}}"/>
</view>
<!-- <image class="consumption-img" src="./../../images/3x-28.png" mode="widthFix"/>-->
<view class="consumption-line">
<view class="semi-circle4"/>
<view class="semi-circle3"/>
</view>
<view class="consumption-bottom">
<view class="bottom-left">共{{totalNum}}件商品</view>
<view class="bottom-right">
<view class="mg-b-10">积分抵扣:
<text class="bottom-point-num">{{orderDetail.pointPayInfo.payPoint}}</text>积分
</view>
<view class="mg-b-10">订单合计:
<text class="bottom-order-total">{{utils.numberFormat(orderDetail.totalProductMoney/100)}}</text>
</view>
<view>优惠合计:
<text class="bottom-coupon-payment">{{utils.numberFormat(orderDetail.couponMoney/100)}}</text>
</view>
<view class="bottom-point-total">实付合计:
<text class="bottom-point-payment" a:if="{{orderDetail.realPayMoney}}">+{{utils.numberFormat(orderDetail.realPayMoney/100)}}</text>
</view>
</view>
</view>
<view class="consumption-tips">-香烟与服务类商品不计分-</view>
</view>
\ No newline at end of file
subPackage/page/pages/IntegralMallGoods/IntegralMallGoods.axml
View file @
8b16c5da
...
@@ -91,6 +91,7 @@
...
@@ -91,6 +91,7 @@
<view class='coupon-btn-click'
<view class='coupon-btn-click'
data-id="{{item.id}}"
data-id="{{item.id}}"
data-point="{{item.point}}"
data-point="{{item.point}}"
data-canexchange="{{item.canExchange}}"
catchTap='exchangeGoods'>立即兑换</view>
catchTap='exchangeGoods'>立即兑换</view>
<view class='coupon-btn-num'>{{item.point}}积分</view>
<view class='coupon-btn-num'>{{item.point}}积分</view>
</view>
</view>
...
...
subPackage/page/pages/IntegralMallGoods/IntegralMallGoods.js
View file @
8b16c5da
...
@@ -42,6 +42,10 @@ wxService.page({
...
@@ -42,6 +42,10 @@ wxService.page({
// this.initIntegralCouponList();
// this.initIntegralCouponList();
//获取会员积分信息
//获取会员积分信息
this
.
getMemberIntegrateInfo
();
this
.
getMemberIntegrateInfo
();
if
(
wx2my
.
getStorageSync
(
'needReloadExchangeList'
).
data
){
this
.
initIntegralProductList
();
}
},
},
//刷新积分请求
//刷新积分请求
refreshPointRequest
()
{
refreshPointRequest
()
{
...
@@ -103,16 +107,48 @@ wxService.page({
...
@@ -103,16 +107,48 @@ wxService.page({
else
{
else
{
this
.
data
.
currentTab
=
'goods'
;
this
.
data
.
currentTab
=
'goods'
;
}
}
let
integralGoodsList
=
data
?
data
:
[];
integralGoodsList
.
forEach
(
item
=>
{
item
.
canExchange
=
true
;
});
this
.
setData
({
this
.
setData
({
integralGoodsList
:
data
?
data
:
[],
currentTab
:
this
.
data
.
currentTab
currentTab
:
this
.
data
.
currentTab
})
});
this
.
findExchangeNumByIds
(
integralGoodsList
);
}
}
}
}
}).
finally
(()
=>
{
}).
finally
(()
=>
{
wx2my
.
hideLoading
();
wx2my
.
hideLoading
();
})
})
},
},
//查询指定积分换物活动兑换数量
findExchangeNumByIds
(
integralGoodsList
)
{
//获取ids
let
ids
=
integralGoodsList
.
map
(
g
=>
{
return
g
.
id
;
});
wxService
.
post
(
'/member/pointsRedemptionProductSetting/getExchangeCount'
,
ids
).
then
(
res
=>
{
if
(
res
){
let
data
=
res
.
data
.
data
?
res
.
data
.
data
:
null
;
if
(
data
)
{
for
(
let
k
in
data
)
{
let
id
=
k
,
value
=
data
[
k
];
for
(
let
i
=
0
;
i
<
integralGoodsList
.
length
;
i
++
)
{
if
(
integralGoodsList
[
i
].
id
==
id
)
{
integralGoodsList
[
i
].
canExchange
=
integralGoodsList
[
i
].
stock
>
value
;
}
}
}
}
}
this
.
setData
({
integralGoodsList
:
integralGoodsList
,
});
});
},
// 积分兑换优惠券列表
// 积分兑换优惠券列表
initIntegralCouponList
()
{
initIntegralCouponList
()
{
wx2my
.
showLoading
({
wx2my
.
showLoading
({
...
@@ -150,8 +186,15 @@ wxService.page({
...
@@ -150,8 +186,15 @@ wxService.page({
},
},
// 立即兑换物品
// 立即兑换物品
exchangeGoods
(
e
)
{
exchangeGoods
(
e
)
{
const
{
id
,
point
}
=
e
.
currentTarget
.
dataset
;
const
{
id
,
point
,
canexchange
}
=
e
.
currentTarget
.
dataset
;
const
{
memberId
}
=
wx2my
.
getStorageSync
(
'_baseUserInfo'
).
data
;
const
{
memberId
}
=
wx2my
.
getStorageSync
(
'_baseUserInfo'
).
data
;
if
(
!
canexchange
)
{
this
.
setData
({
dialogStockEmpty
:
true
});
return
;
}
//检查是不是可以兑换
//检查是不是可以兑换
wx2my
.
showLoading
({
wx2my
.
showLoading
({
title
:
'检查兑换资格中..'
,
title
:
'检查兑换资格中..'
,
...
...
subPackage/page/pages/IntegrateGoodsExchangeInfo/IntegrateGoodsExchangeInfo.axml
View file @
8b16c5da
...
@@ -25,3 +25,4 @@
...
@@ -25,3 +25,4 @@
<button type='primary' class="redeem-now" onTap='exchange'>立即兑换</button>
<button type='primary' class="redeem-now" onTap='exchange'>立即兑换</button>
</view>
</view>
<dialog-user-limit show="{{dialogUserLimit}}"/>
<dialog-user-limit show="{{dialogUserLimit}}"/>
<dialog-stock-empty show="{{dialogStockEmpty}}" bind:btnClick="onDialogBtnCallBack"/>
subPackage/page/pages/IntegrateGoodsExchangeInfo/IntegrateGoodsExchangeInfo.js
View file @
8b16c5da
...
@@ -9,6 +9,7 @@ wxService.page({
...
@@ -9,6 +9,7 @@ wxService.page({
data
:
{
data
:
{
isExchange
:
false
,
isExchange
:
false
,
dialogUserLimit
:
false
,
dialogUserLimit
:
false
,
dialogStockEmpty
:
false
,
integralMallDetail
:
{}
integralMallDetail
:
{}
},
},
...
@@ -18,11 +19,31 @@ wxService.page({
...
@@ -18,11 +19,31 @@ wxService.page({
},
},
onShow
()
{},
onShow
()
{},
//btn回调
onDialogBtnCallBack
(
e
)
{
let
pages
=
getCurrentPages
();
let
index
=
pages
.
length
-
1
;
for
(
let
i
=
0
;
i
<
pages
.
length
;
i
++
)
{
if
(
pages
[
i
].
route
.
indexOf
(
'IntegralMallGoods/IntegralMallGoods'
)
>
-
1
)
{
index
=
index
-
i
;
break
;
}
}
wx
.
navigateBack
({
delta
:
index
});
},
//立即兑换
//立即兑换
exchange
()
{
exchange
()
{
const
{
memberId
}
=
wx2my
.
getStorageSync
(
'_baseUserInfo'
).
data
;
const
{
memberId
}
=
wx2my
.
getStorageSync
(
'_baseUserInfo'
).
data
;
const
id
=
this
.
data
.
integralMallDetail
.
id
;
const
id
=
this
.
data
.
integralMallDetail
.
id
;
if
(
!
this
.
data
.
integralMallDetail
.
canExchange
){
this
.
setData
({
dialogStockEmpty
:
true
,
});
return
;
}
//检查是不是可以兑换
//检查是不是可以兑换
wx2my
.
showLoading
({
wx2my
.
showLoading
({
title
:
'检查兑换资格中..'
,
title
:
'检查兑换资格中..'
,
...
@@ -50,12 +71,31 @@ wxService.page({
...
@@ -50,12 +71,31 @@ wxService.page({
if
(
result
==
0
)
{
if
(
result
==
0
)
{
wx2my
.
hideLoading
()
wx2my
.
hideLoading
()
data
.
desc
=
JSON
.
parse
(
data
.
desc
)
data
.
desc
=
JSON
.
parse
(
data
.
desc
)
data
.
canExchange
=
true
;
this
.
setData
({
this
.
setData
({
integralMallDetail
:
data
integralMallDetail
:
data
},()
=>
{
this
.
findExchangeNumByIds
(
id
);
});
});
}
}
}).
finally
(()
=>
{
}).
finally
(()
=>
{
wx2my
.
hideLoading
()
wx2my
.
hideLoading
()
})
})
}
},
//查询指定积分换物活动兑换数量
findExchangeNumByIds
(
id
)
{
//获取ids
let
ids
=
[
id
];
wxService
.
post
(
`/member/pointsRedemptionProductSetting/getExchangeCount`
,
ids
).
then
(
res
=>
{
let
data
=
res
.
data
.
data
?
res
.
data
.
data
:
null
;
if
(
data
)
{
let
value
=
data
[
id
];
this
.
data
.
integralMallDetail
.
canExchange
=
this
.
data
.
integralMallDetail
.
stock
>
value
;
}
this
.
setData
({
integralMallDetail
:
this
.
data
.
integralMallDetail
});
});
},
});
});
subPackage/page/pages/IntegrateGoodsExchangeInfo/IntegrateGoodsExchangeInfo.json
View file @
8b16c5da
{
{
"defaultTitle"
:
"积分换物详情"
,
"defaultTitle"
:
"积分换物详情"
,
"usingComponents"
:
{
"usingComponents"
:
{
"dialog-stock-empty"
:
"/component/dialogStockEmpty/dialogStockEmpty"
,
"dialog-user-limit"
:
"/component/dialogUserLimit/dialogUserLimit"
"dialog-user-limit"
:
"/component/dialogUserLimit/dialogUserLimit"
}
}
}
}
\ No newline at end of file
subPackage/page/pages/exchangeAddress/exchangeAddress.js
View file @
8b16c5da
...
@@ -166,6 +166,8 @@ wxService.page({
...
@@ -166,6 +166,8 @@ wxService.page({
title
:
'兑换成功'
,
title
:
'兑换成功'
,
});
});
wx2my
.
setStorageSync
(
'needReloadExchangeList'
,
true
);
setTimeout
(()
=>
{
setTimeout
(()
=>
{
this
.
emptyForm
();
this
.
emptyForm
();
wx2my
.
navigateBack
({
wx2my
.
navigateBack
({
...
...
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