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
6985a4b0
Commit
6985a4b0
authored
Nov 29, 2019
by
谢中龙
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改积分兑换优惠券弹框弹出一次的bug
parent
359986f1
Hide whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
66 additions
and
35 deletions
+66
-35
mini-program.json
.tea/configuration/mini-program.json
+2
-2
editor.json
.tea/editor.json
+0
-0
editorTabs.json
.tea/editorTabs.json
+2
-2
index$.worker.js
.tea/entryFiles-development/index$.worker.js
+2
-2
config$.js
.tea/entryFiles-production/config$.js
+1
-17
index$.web.js
.tea/entryFiles-production/index$.web.js
+12
-0
index$.worker.js
.tea/entryFiles-production/index$.worker.js
+16
-7
recentlyTouched.json
.tea/recentlyTouched.json
+2
-2
exchange-coupon-modal.js
component/exchange-coupon-modal/exchange-coupon-modal.js
+13
-1
integralMallDetail.axml
pages/integralMallDetail/integralMallDetail.axml
+2
-0
integralMallDetail.js
pages/integralMallDetail/integralMallDetail.js
+6
-0
IntegralMallGoods.axml
...ckage/page/pages/IntegralMallGoods/IntegralMallGoods.axml
+2
-2
IntegralMallGoods.js
subPackage/page/pages/IntegralMallGoods/IntegralMallGoods.js
+6
-0
No files found.
.tea/configuration/mini-program.json
View file @
6985a4b0
{
"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-11-28 14:20:27"
,
"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"
:
"4995ab2153844d07aff1fbff700eVC45"
,
"_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"
:
"composeBa796a5662d094525ad207006413f5B45"
,
"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.27"
,
"alipay:alipay-mini:currentVersion"
:
"1.0.28"
,
"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"
:[],
"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"
}],
"compilerIndex"
:
0
,
"alipay:alipay-mini:preAuditLimit"
:
5
,
"alipay:alipay-mini:preAuditUsed"
:
1
,
"alipay:alipay-mini:stopRefresh"
:
false
,
"SimulatorMode"
:
"EMBED"
,
"alipay:alipay-mini:lastDeviceName"
:
"iPhone 6 Plus"
,
"storageVersion"
:
"0.70.14"
}
\ No newline at end of file
{
"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-11-29 18:05:36"
,
"alipay:alipay-mini:packageSize"
:
null
,
"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"
:
"fa81aef4967649e1a8be320ff7d4PX45"
,
"_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"
:
"composeBfc707bab1e2f4fdf84792b651192eX45"
,
"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.29"
,
"alipay:alipay-mini:currentVersion"
:
"1.0.30"
,
"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"
}],
"compilerIndex"
:
8
,
"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
.tea/editor.json
View file @
6985a4b0
This source diff could not be displayed because it is too large. You can
view the blob
instead.
.tea/editorTabs.json
View file @
6985a4b0
{
"tabs"
:[
"file:///d%3A/work/projects/7_Eleven_Alipay/pages/coupons/coupons.js"
,
"file:///d%3A/work/projects/7_Eleven_Alipay/pages/coupons/coupons.acss"
,
"file:///d%3A/work/projects/7_Eleven_Alipay/pages/coupons/coupons.axml"
,
"file:///d%3A/work/projects/7_Eleven_Alipay/config/index.js"
,
"file:///d%3A/work/projects/7_Eleven_Alipay/component/picNav/picNav.axml"
,
"file:///d%3A/work/projects/7_Eleven_Alipay/component/picNav/picNav.js"
,
"file:///d%3A/work/projects/7_Eleven_Alipay/utils/util.js"
,
"file:///d%3A/work/projects/7_Eleven_Alipay/app.js"
,
"file:///d%3A/work/projects/7_Eleven_Alipay/pages/userCenter/userCenter.js"
,
"file:///d%3A/work/projects/7_Eleven_Alipay/component/authorization-modal/authorization-modal.js"
],
"current"
:
"file:///d%3A/work/projects/7_Eleven_Alipay/config/index.js"
,
"storageVersion"
:
"0.70.14"
}
\ No newline at end of file
{
"tabs"
:[],
"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
.tea/entryFiles-development/index$.worker.js
View file @
6985a4b0
if
(
!
self
.
__appxInited
)
{
self
.
__appxInited
=
1
;
require
(
'@alipay/appx-compiler/lib/sjsEnvInit'
);
require
(
'./config$'
);
...
...
@@ -15,7 +15,7 @@ self.abridge = self.my;
self
.
Component
=
AFAppX
.
WorkerComponent
||
function
(){};
self
.
$global
=
AFAppX
.
$global
;
if
(
AFAppX
.
compilerConfig
){
AFAppX
.
compilerConfig
.
component2
=
true
;
}
function
success
()
{
require
(
'../../app'
);
require
(
'../../component/authorization-modal/authorization-modal'
);
...
...
.tea/entryFiles-production/config$.js
View file @
6985a4b0
...
...
@@ -2,22 +2,6 @@
const
g
=
typeof
global
!==
'undefined'
?
global
:
self
;
g
.
appXAppJson
=
{
"app"
:
{
"$homepage"
:
"pages/userCenter/userCenter"
,
"subPackages"
:
[
{
"root"
:
"subPackage/page"
,
"pages"
:
[
"pages/subPage/subPage"
,
"pages/h5/h5page"
,
"pages/pointGoodsList/pointGoodsList"
,
"pages/goToHome/goToHome"
,
"pages/aliPayCoupon/aliPayCoupon"
,
"pages/IntegralMallGoods/IntegralMallGoods"
,
"pages/IntegrateGoodsExchangeInfo/IntegrateGoodsExchangeInfo"
,
"pages/exchangeAddress/exchangeAddress"
,
"pages/recordList/recordList"
]
}
]
"$homepage"
:
"pages/userCenter/userCenter"
}
};
.tea/entryFiles-production/index$.web.js
View file @
6985a4b0
...
...
@@ -16,6 +16,9 @@ require('../../component/dialog/dialog');
require
(
'../../component/progressPoint/progressPoint'
);
require
(
'../../component/progressImage/progressImage'
);
require
(
'../../component/authorization-modal-point/authorization-modal-point'
);
require
(
'../../component/dialogStockEmpty/dialogStockEmpty'
);
require
(
'../../component/dialogUserLimit/dialogUserLimit'
);
require
(
'../../component/citySelection/citySelection'
);
require
(
'../../pages/userCenter/userCenter'
);
require
(
'../../pages/mySpend/mySpend'
);
require
(
'../../pages/memberOfOwn/memberOfOwn'
);
...
...
@@ -31,3 +34,12 @@ require('../../pages/integralMallDetail/integralMallDetail');
require
(
'../../pages/activateCard/activateCardCallback'
);
require
(
'../../pages/pointList/pointList'
);
require
(
'../../pages/pointDetail/pointDetail'
);
require
(
'../../subPackage/page/pages/subPage/subPage'
);
require
(
'../../subPackage/page/pages/h5/h5page'
);
require
(
'../../subPackage/page/pages/pointGoodsList/pointGoodsList'
);
require
(
'../../subPackage/page/pages/goToHome/goToHome'
);
require
(
'../../subPackage/page/pages/aliPayCoupon/aliPayCoupon'
);
require
(
'../../subPackage/page/pages/IntegralMallGoods/IntegralMallGoods'
);
require
(
'../../subPackage/page/pages/IntegrateGoodsExchangeInfo/IntegrateGoodsExchangeInfo'
);
require
(
'../../subPackage/page/pages/exchangeAddress/exchangeAddress'
);
require
(
'../../subPackage/page/pages/recordList/recordList'
);
.tea/entryFiles-production/index$.worker.js
View file @
6985a4b0
/*BUGME_START*/
const
__BUGME_START__
=
1
;
(()
=>
{
let
CircularJSON
=
JSON
;
const
originalAddEventListener
=
self
.
addEventListener
,
replacer
=
(
e
,
t
)
=>
void
0
===
t
?
"©undefined"
:
null
===
t
?
"©null"
:
t
===-
1
/
0
?
"©- Infinity"
:
t
===
1
/
0
?
"©Infinity"
:
"number"
==
typeof
t
&&
isNaN
(
t
)?
"©NaN"
:
"function"
==
typeof
t
?
"©function"
:
t
;
try
{
CircularJSON
=
eval
(
'(function(JSON,RegExp){var specialChar="~",safeSpecialChar="
\\\\
x"+("0"+specialChar.charCodeAt(0).toString(16)).slice(-2),escapedSafeSpecialChar="
\\\\
"+safeSpecialChar,specialCharRG=new RegExp(safeSpecialChar,"g"),safeSpecialCharRG=new RegExp(escapedSafeSpecialChar,"g"),safeStartWithSpecialCharRG=new RegExp("(?:^|([^
\\\\\\\\
]))"+escapedSafeSpecialChar),indexOf=[].indexOf||function(v){for(var i=this.length;i--&&this[i]!==v;);return i},$String=String;function generateReplacer(value,replacer,resolve){var doNotIgnore=false,inspect=!!replacer,path=[],all=[value],seen=[value],mapp=[resolve?specialChar:"[Circular]"],last=value,lvl=1,i,fn;if(inspect){fn=typeof replacer==="object"?function(key,value){return key!==""&&replacer.indexOf(key)<0?void 0:value}:replacer}return function(key,value){if(inspect)value=fn.call(this,key,value);if(doNotIgnore){if(last!==this){i=lvl-indexOf.call(all,this)-1;lvl-=i;all.splice(lvl,all.length);path.splice(lvl-1,path.length);last=this}if(typeof value==="object"&&value){if(indexOf.call(all,value)<0){all.push(last=value)}lvl=all.length;i=indexOf.call(seen,value);if(i<0){i=seen.push(value)-1;if(resolve){path.push((""+key).replace(specialCharRG,safeSpecialChar));mapp[i]=specialChar+path.join(specialChar)}else{mapp[i]=mapp[0]}}else{value=mapp[i]}}else{if(typeof value==="string"&&resolve){value=value.replace(safeSpecialChar,escapedSafeSpecialChar).replace(specialChar,safeSpecialChar)}}}else{doNotIgnore=true}return value}}function retrieveFromPath(current,keys){for(var i=0,length=keys.length;i<length;current=current[keys[i++].replace(safeSpecialCharRG,specialChar)]);return current}function generateReviver(reviver){return function(key,value){var isString=typeof value==="string";if(isString&&value.charAt(0)===specialChar){return new $String(value.slice(1))}if(key==="")value=regenerate(value,value,{});if(isString)value=value.replace(safeStartWithSpecialCharRG,"$1"+specialChar).replace(escapedSafeSpecialChar,safeSpecialChar);return reviver?reviver.call(this,key,value):value}}function regenerateArray(root,current,retrieve){for(var i=0,length=current.length;i<length;i++){current[i]=regenerate(root,current[i],retrieve)}return current}function regenerateObject(root,current,retrieve){for(var key in current){if(current.hasOwnProperty(key)){current[key]=regenerate(root,current[key],retrieve)}}return current}function regenerate(root,current,retrieve){return current instanceof Array?regenerateArray(root,current,retrieve):current instanceof $String?current.length?retrieve.hasOwnProperty(current)?retrieve[current]:retrieve[current]=retrieveFromPath(root,current.split(specialChar)):root:current instanceof Object?regenerateObject(root,current,retrieve):current}var CircularJSON={stringify:function stringify(value,replacer,space,doNotResolve){return CircularJSON.parser.stringify(value,generateReplacer(value,replacer,!doNotResolve),space)},parse:function parse(text,reviver){return CircularJSON.parser.parse(text,generateReviver(reviver))},parser:JSON};return CircularJSON})(JSON,RegExp)'
)}
catch
(
e
){
console
.
error
(
e
)}
const
OriginalFunction
=
Function
,
OriginalFetch
=
self
.
fetch
,
OriginalBridgeCall
=
self
.
AlipayJSBridge
&&
self
.
AlipayJSBridge
.
call
,
callInternalAPI
=
(
e
,
t
)
=>
{
const
n
=
{
data
:{
method
:
e
,
param
:
t
},
action
:
"internalAPI"
},
o
=
encodeURIComponent
(
JSON
.
stringify
(
n
));
OriginalFetch
?
OriginalFetch
(
`https://alipay.kylinBridge/?data=
${
o
}
`
,{
mode
:
"no-cors"
}).
then
(()
=>
{}).
catch
(()
=>
{}):
OriginalBridgeCall
(
"internalAPI"
,{
method
:
e
,
param
:
t
})},
eventHandler
=
e
=>
{
try
{
if
(
e
.
fromVConsoleToWorker
){
const
{
requestId
:
t
}
=
e
;
if
(
"exec"
===
e
.
method
){
const
n
=
e
=>
callInternalAPI
(
"tinyDebugConsole"
,{
type
:
"msgFromWorkerToVConsole"
,
content
:
CircularJSON
.
stringify
({
requestId
:
t
,
returnValue
:
e
},
replacer
)});
try
{
new
OriginalFunction
(
"requestId"
,
"sendBack"
,
`\n var res =
${
e
.
script
}
;\n console.log(res);\n `
)(
t
,
n
)}
catch
(
e
){
console
.
error
(
`
${
e
.
name
}
:
${
e
.
message
}
`
)}}}}
catch
(
e
){}};
setTimeout
(()
=>
{
self
.
document
&&
self
.
document
.
addEventListener
(
"push"
,
e
=>
{
try
{
eventHandler
(
JSON
.
parse
(
e
.
data
.
param
.
content
))}
catch
(
e
){}}),
originalAddEventListener
&&
originalAddEventListener
(
"push"
,
e
=>
{
try
{
const
t
=
JSON
.
parse
(
JSON
.
parse
(
e
.
data
.
text
()).
param
.
data
.
content
);
eventHandler
(
t
)}
catch
(
e
){}})},
10
),[
"log"
,
"info"
,
"error"
,
"debug"
,
"warn"
].
forEach
(
e
=>
{
const
t
=
`o
${
e
}
`
;
console
[
t
]
||
(
console
[
t
]
=
console
[
e
],
console
[
e
]
=
(...
n
)
=>
{
let
o
;
console
[
t
](...
n
);
try
{
o
=
CircularJSON
.
stringify
(
n
.
map
(
e
=>
e
instanceof
Error
?
`
${
e
.
name
}
:
${
e
.
message
}
`
:
e
),
replacer
)}
catch
(
e
){
return
void
console
.
error
(
`
${
e
.
name
}
:
${
e
.
message
}
`
)}
callInternalAPI
(
"tinyDebugConsole"
,{
content
:
o
,
type
:
`console_
${
e
}
`
})})})})();
const
__BUGME_END__
=
1
;
/*BUGME_END*/
if
(
!
self
.
__appxInited
)
{
if
(
!
self
.
__appxInited
)
{
self
.
__appxInited
=
1
;
require
(
'@alipay/appx-compiler/lib/sjsEnvInit'
);
require
(
'./config$'
);
require
(
'./importScripts$'
);
...
...
@@ -19,7 +15,7 @@ self.abridge = self.my;
self
.
Component
=
AFAppX
.
WorkerComponent
||
function
(){};
self
.
$global
=
AFAppX
.
$global
;
if
(
AFAppX
.
compilerConfig
){
AFAppX
.
compilerConfig
.
component2
=
true
;
}
function
success
()
{
require
(
'../../app'
);
require
(
'../../component/authorization-modal/authorization-modal'
);
...
...
@@ -37,6 +33,9 @@ require('../../component/dialog/dialog');
require
(
'../../component/progressPoint/progressPoint'
);
require
(
'../../component/progressImage/progressImage'
);
require
(
'../../component/authorization-modal-point/authorization-modal-point'
);
require
(
'../../component/dialogStockEmpty/dialogStockEmpty'
);
require
(
'../../component/dialogUserLimit/dialogUserLimit'
);
require
(
'../../component/citySelection/citySelection'
);
require
(
'../../pages/userCenter/userCenter'
);
require
(
'../../pages/mySpend/mySpend'
);
require
(
'../../pages/memberOfOwn/memberOfOwn'
);
...
...
@@ -52,6 +51,15 @@ require('../../pages/integralMallDetail/integralMallDetail');
require
(
'../../pages/activateCard/activateCardCallback'
);
require
(
'../../pages/pointList/pointList'
);
require
(
'../../pages/pointDetail/pointDetail'
);
require
(
'../../subPackage/page/pages/subPage/subPage'
);
require
(
'../../subPackage/page/pages/h5/h5page'
);
require
(
'../../subPackage/page/pages/pointGoodsList/pointGoodsList'
);
require
(
'../../subPackage/page/pages/goToHome/goToHome'
);
require
(
'../../subPackage/page/pages/aliPayCoupon/aliPayCoupon'
);
require
(
'../../subPackage/page/pages/IntegralMallGoods/IntegralMallGoods'
);
require
(
'../../subPackage/page/pages/IntegrateGoodsExchangeInfo/IntegrateGoodsExchangeInfo'
);
require
(
'../../subPackage/page/pages/exchangeAddress/exchangeAddress'
);
require
(
'../../subPackage/page/pages/recordList/recordList'
);
}
self
.
bootstrapApp
?
self
.
bootstrapApp
({
success
})
:
success
();
}
\ No newline at end of file
.tea/recentlyTouched.json
View file @
6985a4b0
{
"files"
:[
"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
\\
pages
\\
integralWater
\\
integralWater.js"
,
"d:
\\
work
\\
projects
\\
7_Eleven_Alipay
\\
subPackage
\\
page
\\
pages
\\
IntegralMallGoods
\\
IntegralMallGoods.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
\\
userCenter
\\
userCenter.axml"
,
"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
\\
pages
\\
integralMallDetail
\\
integralMallDetail.js"
,
"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"
,
"f:
\\
code
\\
7_Eleven_Alipay
\\
subPackage
\\
page
\\
pages
\\
subPage
\\
subPage.js"
,
"f:
\\
code
\\
7_Eleven_Alipay
\\
subPackage
\\
page
\\
pages
\\
subPage
\\
subPage.axml"
],
"storageVersion"
:
"0.70.14"
}
\ No newline at end of file
{
"files"
:[
"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
\\
pages
\\
integralWater
\\
integralWater.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
\\
userCenter
\\
userCenter.axml"
,
"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"
,
"f:
\\
code
\\
7_Eleven_Alipay
\\
subPackage
\\
page
\\
pages
\\
subPage
\\
subPage.js"
],
"storageVersion"
:
"0.70.14"
}
\ No newline at end of file
component/exchange-coupon-modal/exchange-coupon-modal.js
View file @
6985a4b0
...
...
@@ -12,7 +12,10 @@ Component({
* 组件的属性列表
*/
props
:
{
isExchange
:
false
,
isExchange
:
{
type
:
Boolean
,
default
:
false
},
exchangePoint
:
0
,
exchangeId
:
''
},
...
...
@@ -23,6 +26,12 @@ Component({
couponNum
:
'1'
},
didUpdate
(){
this
.
setData
({
isExchange
:
this
.
props
.
isExchange
});
},
/**
* 组件的方法列表
*/
...
...
@@ -61,6 +70,7 @@ Component({
// 再想想
cancel
()
{
this
.
props
.
onClickClose
();
this
.
setData
({
isExchange
:
false
});
...
...
@@ -82,11 +92,13 @@ Component({
title
:
'兑换成功'
,
icon
:
'success'
});
this
.
props
.
onClickClose
();
this
.
setData
({
isExchange
:
false
});
}
}
else
{
this
.
props
.
onClickClose
();
this
.
setData
({
isExchange
:
false
});
...
...
pages/integralMallDetail/integralMallDetail.axml
View file @
6985a4b0
...
...
@@ -39,4 +39,5 @@
exchangeId="{{integralMallDetail.id}}"
exchangePoint="{{integralMallDetail.point}}"
isExchange="{{isExchange}}"
onClickClose="modalClose"
/>
\ No newline at end of file
pages/integralMallDetail/integralMallDetail.js
View file @
6985a4b0
...
...
@@ -38,6 +38,12 @@ wxService.page({
});
},
//关闭事件
modalClose
(){
this
.
setData
({
isExchange
:
false
});
},
//获取积分兑换优惠券详情
getIntegralCouponDetail
(
id
)
{
wx2my
.
showLoading
({
...
...
subPackage/page/pages/IntegralMallGoods/IntegralMallGoods.axml
View file @
6985a4b0
...
...
@@ -51,7 +51,7 @@
<view class='coupon-btn-click'
data-id="{{item.id}}"
data-point="{{item.point}}"
catch
t
ap='exchange'>立即兑换</view>
catch
T
ap='exchange'>立即兑换</view>
<view class='coupon-btn-num'>{{item.point}}积分</view>
</view>
</view>
...
...
@@ -109,7 +109,7 @@
查看兑换记录 >>
</view>
<exchange-coupon-modal exchangeId="{{exchangeId}}" exchangePoint="{{exchangePoint}}" isExchange='{{isExchange}}' />
<exchange-coupon-modal exchangeId="{{exchangeId}}" exchangePoint="{{exchangePoint}}" isExchange='{{isExchange}}'
onClickClose="modalClose"
/>
<!--<no-more a:if="{{noMore}}"/>-->
</view>
<!-- 库存没了 -->
...
...
subPackage/page/pages/IntegralMallGoods/IntegralMallGoods.js
View file @
6985a4b0
...
...
@@ -131,6 +131,12 @@ wxService.page({
exchangePoint
:
point
})
},
//关闭事件
modalClose
(){
this
.
setData
({
isExchange
:
false
});
},
// 立即兑换物品
exchangeGoods
(
e
)
{
const
{
id
,
point
}
=
e
.
currentTarget
.
dataset
;
...
...
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