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
7afcda4f
Commit
7afcda4f
authored
Oct 12, 2019
by
高淑倩
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
json
parent
3cee46cb
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
43 additions
and
15 deletions
+43
-15
mini-program.json
.tea/configuration/mini-program.json
+2
-2
config$.js
.tea/entryFiles-production/config$.js
+13
-1
index$.web.js
.tea/entryFiles-production/index$.web.js
+0
-5
index$.worker.js
.tea/entryFiles-production/index$.worker.js
+28
-7
debug.log
debug.log
+0
-0
No files found.
.tea/configuration/mini-program.json
View file @
7afcda4f
{
"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会员俱乐部"
,
"logoUrl"
:
"https://appstoreisvpic.alipayobjects.com/prod/6ac7a3a5-d755-458e-9da7-1b03a72f61d2.png"
},{
"appid"
:
"2019092767841505"
,
"name"
:
"广东7-Eleven会员专区"
,
"logoUrl"
:
"https://appstoreisvpic.alipayobjects.com/prod/92f5af9e-d902-443e-8789-39c1306cfcdc.png"
},{
"appid"
:
"2019092667869080"
,
"name"
:
"大禹prd"
,
"logoUrl"
:
"https://appstoreisvpic.alipayobjects.com/prod/b9aad8d4-08f4-42e2-a225-9daae4c8bc38.png"
},{
"appid"
:
"2019092667878018"
,
"name"
:
"大禹qa"
,
"logoUrl"
:
"https://appstoreisvpic.alipayobjects.com/prod/427d828a-9326-47b3-8c0a-fb35c4c1c521.png"
},{
"appid"
:
"2019091967575819"
,
"name"
:
"大禹dev"
,
"logoUrl"
:
"https://appstoreisvpic.alipayobjects.com/prod/eebdb2f7-2747-499e-9a22-2b89664d7739.png"
}],
"alipay:alipay-mini:uploadTime"
:
"2019-10-11 15:57:09"
,
"alipay:alipay-mini:packageSize"
:
0
,
"alipay:alipay-mini:MockStore"
:{
"reLoginErr"
:
""
,
"_loginCode"
:
"c891f1a13a284c4aa2aa5a01770dQX68"
,
"_accreditUserInfo"
:{
"code"
:
"10000"
,
"msg"
:
"Success"
,
"avatar"
:
"https://tfs.alipayobjects.com/images/partner/TB1G5LYXaFzDuNkUuyQXXbFwXXa"
,
"city"
:
"上海市"
,
"countryCode"
:
"CN"
,
"gender"
:
"f"
,
"nickName"
:
"大倩。"
,
"province"
:
"上海"
},
"_baseUserInfo"
:{
"token"
:
"f46a67309ff4046b9888b061921e80f6"
,
"applyCardUrl"
:
"https%3A%2F%2Fmemberprod.alipay.com%2Faccount%2Fopenform%2Factivecard.htm%3Fapp_id%3D2019101168315187%26template_id%3D20191011000000002117922000300550%26__webview_options__%3DcanPullDown%253dNO%2526transparentTitle%253dauto%26out_string%3Dalipay"
,
"authToken"
:
"composeB309c029c4ecc4601bc657b769e2e2E68"
,
"outerStr"
:
"{
\"
tentacle-content
\"
:{
\"
contentType
\"
:5,
\"
id
\"
:632238630521430016,
\"
tentacleId
\"
:632210387898601472,
\"
tentacleType
\"
:3},
\"
activateType
\"
:
\"
TENTACLE_CONTENT
\"
}"
,
"member"
:{
"id"
:
"632222096373727232"
,
"createTime"
:
"2019-10-11 14:24:53"
,
"updateTime"
:
"2019-10-11 14:24:55"
,
"code"
:
"770235584001815211"
,
"brandId"
:
"2711"
,
"cardNoAlipay"
:
"svneleven0000000668"
,
"alipayUserId"
:
"2088702576494684"
,
"alipayAccessToken"
:
"composeB5fcc0adef9dd4bf2aec92cacf78d0X68"
,
"alipayCardOpenDate"
:
"2019-10-11 14:24:54"
,
"lock"
:
false
,
"activateAlipayCardTime"
:
"2019-10-11 14:24:55"
,
"level"
:
0
},
"memberActivateStatus"
:
true
},
"token"
:
"f46a67309ff4046b9888b061921e80f6"
,
"_userInfo"
:{
"code"
:
"10000"
,
"msg"
:
"Success"
,
"avatar"
:
"https://tfs.alipayobjects.com/images/partner/TB1G5LYXaFzDuNkUuyQXXbFwXXa"
,
"city"
:
"上海市"
,
"countryCode"
:
"CN"
,
"gender"
:
"f"
,
"nickName"
:
"大倩。"
,
"province"
:
"上海"
}},
"alipay:alipay-mini:_appId"
:
"2019101168315187"
,
"alipay:alipay-mini:_appName"
:
"广东7-Eleven会员俱乐部"
,
"alipay:alipay-mini:remoteVersion"
:
"1.0.2"
,
"alipay:alipay-mini:currentVersion"
:
"1.0.3"
,
"alipay:alipay-mini:whiteList"
:[],
"alipay:alipay-mini:h5WhiteList"
:[],
"alipay:alipay-mini:appLogo"
:
"https://appstoreisvpic.alipayobjects.com/prod/6ac7a3a5-d755-458e-9da7-1b03a72f61d2.png"
,
"alipay:alipay-mini:userAuthorization"
:[],
"isSimulatorOpen"
:
false
,
"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"
}],
"compilerIndex"
:
0
,
"alipay:alipay-mini:preAuditLimit"
:
5
,
"alipay:alipay-mini:preAuditUsed"
:
0
,
"alipay:alipay-mini:stopRefresh"
:
false
,
"SimulatorMode"
:
"EMBED"
,
"storageVersion"
:
"0.70.11"
}
\ 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"
:
false
,
"alipay:alipay-mini:_appIdList"
:[{
"appid"
:
"2019101168315187"
,
"name"
:
"广东7-Eleven会员俱乐部"
,
"logoUrl"
:
"https://appstoreisvpic.alipayobjects.com/prod/6ac7a3a5-d755-458e-9da7-1b03a72f61d2.png"
},{
"appid"
:
"2019092767841505"
,
"name"
:
"广东7-Eleven会员专区"
,
"logoUrl"
:
"https://appstoreisvpic.alipayobjects.com/prod/92f5af9e-d902-443e-8789-39c1306cfcdc.png"
},{
"appid"
:
"2019092667869080"
,
"name"
:
"大禹prd"
,
"logoUrl"
:
"https://appstoreisvpic.alipayobjects.com/prod/b9aad8d4-08f4-42e2-a225-9daae4c8bc38.png"
},{
"appid"
:
"2019092667878018"
,
"name"
:
"大禹qa"
,
"logoUrl"
:
"https://appstoreisvpic.alipayobjects.com/prod/427d828a-9326-47b3-8c0a-fb35c4c1c521.png"
},{
"appid"
:
"2019091967575819"
,
"name"
:
"大禹dev"
,
"logoUrl"
:
"https://appstoreisvpic.alipayobjects.com/prod/eebdb2f7-2747-499e-9a22-2b89664d7739.png"
}],
"alipay:alipay-mini:uploadTime"
:
"2019-10-12 11:44:56"
,
"alipay:alipay-mini:packageSize"
:
null
,
"alipay:alipay-mini:MockStore"
:{
"reLoginErr"
:
false
},
"alipay:alipay-mini:_appId"
:
"2019101168315187"
,
"alipay:alipay-mini:_appName"
:
"广东7-Eleven会员俱乐部"
,
"alipay:alipay-mini:remoteVersion"
:
"1.0.3"
,
"alipay:alipay-mini:currentVersion"
:
"1.0.4"
,
"alipay:alipay-mini:whiteList"
:[],
"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"
}],
"compilerIndex"
:
0
,
"alipay:alipay-mini:preAuditLimit"
:
5
,
"alipay:alipay-mini:preAuditUsed"
:
1
,
"alipay:alipay-mini:stopRefresh"
:
false
,
"SimulatorMode"
:
"EMBED"
,
"storageVersion"
:
"0.70.11"
}
\ No newline at end of file
.tea/entryFiles-production/config$.js
View file @
7afcda4f
...
...
@@ -2,6 +2,18 @@
const
g
=
typeof
global
!==
'undefined'
?
global
:
self
;
g
.
appXAppJson
=
{
"app"
:
{
"$homepage"
:
"pages/userCenter/userCenter"
"$homepage"
:
"pages/userCenter/userCenter"
,
"subPackages"
:
[
{
"root"
:
"subPackage/page"
,
"pages"
:
[
"pages/subPage/subPage"
,
"pages/h5/h5page"
,
"pages/pointGoodsList/pointGoodsList"
,
"pages/goToHome/goToHome"
,
"pages/aliPayCoupon/aliPayCoupon"
]
}
]
}
};
.tea/entryFiles-production/index$.web.js
View file @
7afcda4f
...
...
@@ -31,8 +31,3 @@ require('../../pages/integralMallDetail/integralMallDetail?hash=156a812558d5337e
require
(
'../../pages/activateCard/activateCardCallback?hash=32d7d2807ed4e666ef03b4b3fe8c38ecf2e34e68'
);
require
(
'../../pages/pointList/pointList?hash=eb17aa2f4ba7cc997fe708841f1fe01cde8cc03d'
);
require
(
'../../pages/pointDetail/pointDetail?hash=d7bedad42ed1e6b4887fbf6bc8af0dfc84d5e21b'
);
require
(
'../../subPackage/page/pages/subPage/subPage?hash=8e626b248a992afa8f9f3584872c5d6c18593805'
);
require
(
'../../subPackage/page/pages/h5/h5page?hash=32d7d2807ed4e666ef03b4b3fe8c38ecf2e34e68'
);
require
(
'../../subPackage/page/pages/pointGoodsList/pointGoodsList?hash=32d7d2807ed4e666ef03b4b3fe8c38ecf2e34e68'
);
require
(
'../../subPackage/page/pages/goToHome/goToHome?hash=32d7d2807ed4e666ef03b4b3fe8c38ecf2e34e68'
);
require
(
'../../subPackage/page/pages/aliPayCoupon/aliPayCoupon?hash=32d7d2807ed4e666ef03b4b3fe8c38ecf2e34e68'
);
.tea/entryFiles-production/index$.worker.js
View file @
7afcda4f
if
(
!
self
.
__appxInited
)
{
/*BUGME_START*/
const
__BUGME_START__
=
1
;
!
function
(
e
){
var
t
=
{};
function
n
(
o
){
if
(
t
[
o
])
return
t
[
o
].
exports
;
var
r
=
t
[
o
]
=
{
i
:
o
,
l
:
!
1
,
exports
:{}};
return
e
[
o
].
call
(
r
.
exports
,
r
,
r
.
exports
,
n
),
r
.
l
=!
0
,
r
.
exports
}
n
.
m
=
e
,
n
.
c
=
t
,
n
.
d
=
function
(
e
,
t
,
o
){
n
.
o
(
e
,
t
)
||
Object
.
defineProperty
(
e
,
t
,{
enumerable
:
!
0
,
get
:
o
})},
n
.
r
=
function
(
e
){
"undefined"
!=
typeof
Symbol
&&
Symbol
.
toStringTag
&&
Object
.
defineProperty
(
e
,
Symbol
.
toStringTag
,{
value
:
"Module"
}),
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
})},
n
.
t
=
function
(
e
,
t
){
if
(
1
&
t
&&
(
e
=
n
(
e
)),
8
&
t
)
return
e
;
if
(
4
&
t
&&
"object"
==
typeof
e
&&
e
&&
e
.
__esModule
)
return
e
;
var
o
=
Object
.
create
(
null
);
if
(
n
.
r
(
o
),
Object
.
defineProperty
(
o
,
"default"
,{
enumerable
:
!
0
,
value
:
e
}),
2
&
t
&&
"string"
!=
typeof
e
)
for
(
var
r
in
e
)
n
.
d
(
o
,
r
,
function
(
t
){
return
e
[
t
]}.
bind
(
null
,
r
));
return
o
},
n
.
n
=
function
(
e
){
var
t
=
e
&&
e
.
__esModule
?
function
(){
return
e
.
default
}:
function
(){
return
e
};
return
n
.
d
(
t
,
"a"
,
t
),
t
},
n
.
o
=
function
(
e
,
t
){
return
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
t
)},
n
.
p
=
""
,
n
(
n
.
s
=
43
)}({
0
:
function
(
e
,
t
,
n
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
}),
function
(
e
){
e
.
Connect
=
"RemoteX.connect"
,
e
.
Disconnect
=
"RemoteX.disconnect"
,
e
.
PageChanged
=
"RemoteX.pageChanged"
,
e
.
DataChanged
=
"RemoteX.dataChanged"
,
e
.
EvaluteScript
=
"RemoteX.evaluteScript"
,
e
.
RegisterChannel
=
"RemoteX.registerChannel"
,
e
.
PassByWorker
=
"RemoteX.PassByWorker"
,
e
.
syncStorage
=
"RemoteX.syncStorage"
,
e
.
setStorage
=
"RemoteX.setStorage"
,
e
.
removeStorage
=
"RemoteX.removeStoarge"
,
e
.
requestWillBeSent
=
"RemoteX.requestWillBeSent"
,
e
.
requestFinished
=
"RemoteX.requestFinished"
,
e
.
ExitApp
=
"RemoteX.exitApp"
}(
t
.
RemoteXMethods
||
(
t
.
RemoteXMethods
=
{}))},
11
:
function
(
e
,
t
){
/*!
Copyright (C) 2013-2017 by Andrea Giammarchi - @WebReflection
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/
var
n
=
"~"
,
o
=
"
\\
x"
+
(
"0"
+
n
.
charCodeAt
(
0
).
toString
(
16
)).
slice
(
-
2
),
r
=
"
\
\"
+o,a=new RegExp(o,"
g
"),s=new RegExp(r,"
g
"),i=new RegExp("
(?:
^|
([
^
\\\\
]))
"+r),c=[].indexOf||function(e){for(var t=this.length;t--&&this[t]!==e;);return t},u=String;function l(e,t,o){return t instanceof Array?function(e,t,n){for(var o=0,r=t.length;o<r;o++)t[o]=l(e,t[o],n);return t}(e,t,o):t instanceof u?t.length?o.hasOwnProperty(t)?o[t]:o[t]=function(e,t){for(var o=0,r=t.length;o<r;e=e[t[o++].replace(s,n)]);return e}(e,t.split(n)):e:t instanceof Object?function(e,t,n){for(var o in t)t.hasOwnProperty(o)&&(t[o]=l(e,t[o],n));return t}(e,t,o):t}var d={stringify:function(e,t,s,i){return d.parser.stringify(e,function(e,t,s){var i,u,l=!1,d=!!t,f=[],h=[e],p=[e],g=[s?n:"
[
Circular
]
"],m=e,y=1;return d&&(u="
object
"==typeof t?function(e,n){return""!==e&&t.indexOf(e)<0?void 0:n}:t),function(e,t){return d&&(t=u.call(this,e,t)),l?(m!==this&&(i=y-c.call(h,this)-1,y-=i,h.splice(y,h.length),f.splice(y-1,f.length),m=this),"
object
"==typeof t&&t?(c.call(h,t)<0&&h.push(m=t),y=h.length,(i=c.call(p,t))<0?(i=p.push(t)-1,s?(f.push((""+e).replace(a,o)),g[i]=n+f.join(n)):g[i]=g[0]):t=g[i]):"
string
"==typeof t&&s&&(t=t.replace(o,r).replace(n,o))):l=!0,t}}(e,t,!i),s)},parse:function(e,t){return d.parser.parse(e,function(e){return function(t,a){var s="
string
"==typeof a;return s&&a.charAt(0)===n?new u(a.slice(1)):(""===t&&(a=l(a,a,{})),s&&(a=a.replace(i,"
$1
"+n).replace(r,o)),e?e.call(this,t,a):a)}}(t))},parser:JSON};e.exports=d},12:function(e,t,n){"
use
strict
";Object.defineProperty(t,"
__esModule
",{value:!0});var o=n(11),r=n(5),a=n(2),s=n(0),i=Function,c=console.log,u=function(){a.getBridge().call("
showRemoteDebugPanel
",{status:"
connecting
",text:"
远程调试连接中
",buttonTitle:"
退出
"})},l=function(){a.getBridge().call("
showRemoteDebugPanel
",{status:"
connected
",text:"
远程调试已连接
",buttonTitle:"
退出
"})},d=function(){a.getBridge().call("
showRemoteDebugPanel
",{status:"
disconnected
",text:"
远程调试已断开
",buttonTitle:"
退出
"})},f={send:function(e){a.getBridge().sendSocketMessage(e)},close:function(){a.getBridge().closeSocket()}};t.SocketConn={socketTask:null,send:function(e){this.socketTask&&this.socketTask.send({data:"
string
"==typeof e?e:JSON.stringify(e)})},close:function(){this.socketTask&&this.socketTask.close()},open:function(){var e=this,t=a.getStartupParams().channelId;if(t){u();var n=a.getBridge();if(a.checkIOS())n.connectSocket({url:"
wss
:
//openchannel.alipay.com/host/"+t}),n.onSocketOpen((function(){e.socketTask=f,e.onopen()})),n.onSocketMessage((function(t){e.onmessage({data:t})})),n.onSocketClose((function(){e.onclose()})),n.connectSocket=function(){n.alert({content:"iOS 真机调试暂不支持 connectSocket JSAPI"})},n.onSocketMessage=n.offSocketMessage=function(){};else{var o=n.connectSocket({url:"wss://openchannel.alipay.com/host/"+t,multiple:!0});o.onOpen((function(){e.socketTask=o,e.onopen()})),o.onMessage((function(t){e.onmessage(t)})),o.onClose((function(){e.onclose()}))}}},onopen:function(){this.send({method:s.RemoteXMethods.Connect,params:{userAgent:a.getUserAgent()}}),l()},onmessage:function(e){try{var t=JSON.parse(e.data.data),n=t.method,a=t.id,u=t.params;if(n===s.RemoteXMethods.Disconnect)this.close();else if(n===s.RemoteXMethods.EvaluteScript){if(u&&u.code)try{var l=new i("var res = "+u.code+"; return res;")();this.send({returnId:a,payload:o.stringify(l)})}catch(e){c("[remoteX worker evaluteScript] ",e)}}else r.ChannelPot.sendToActiveChannel(t)}catch(t){c("RemoteX onSocketMessage error",t,e)}},onclose:function(){this.socketTask=null,d(),a.getBridge().call("alert",{title:"调试中断",button:"退出"},(function(){r.ChannelPot.sendToActiveChannel({method:s.RemoteXMethods.ExitApp})}))}}},2:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getUserAgent=function(){return navigator.swuserAgent||navigator.userAgent||""},t.checkIOS=function(){return/\(i[^;]+;( U;)? CPU.+Mac OS X/.test(t.getUserAgent())},t.getAlipayVersion=function(){return(t.getUserAgent().match(/AlipayClient\/(\d+\.\d+\.\d+)/)||[])[1]||""},t.compareVersion=function(e,t){var n=e.split("."),o=t.split(".");if(e===t)return 0;for(var r=0;r<n.length;r++){var a=n[r]-o[r];if(a)return a>0?1:-1}};var o=self.AlipayJSBridge&&self.AlipayJSBridge.call,r=self.fetch;t.callInternalAPI=function(e,t){var n={data:{method:e,param:t},action:"internalAPI"},a=encodeURIComponent(JSON.stringify(n));r?r("https://alipay.kylinBridge/?data="+a,{mode:"no-cors"}).then((function(){})).catch((function(){})):o&&o("internalAPI",{method:e,param:t})},t.getStartupParams=function(){return self.__appxStartupParams||{}},t.getBridge=function(){return self.AFAppX.bridge},t.debug=console.log},43:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(11),r=n(44),a=n(2);!function(){var e=function(e,t){return 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},t=Function,n=function(n){try{if(n.fromVConsoleToWorker){var r=n.requestId;if("exec"===n.method){try{new t("requestId","sendBack","var res = "+n.script+";console.log(res);")(r,(function(t){return a.callInternalAPI("tinyDebugConsole",{type:"msgFromWorkerToVConsole",content:o.stringify({requestId:r,returnValue:t},e)})}))}catch(e){console.error(e.name+":"+e.message)}}}}catch(e){}};setTimeout((function(){self.document?self.document.addEventListener("push",(function(e){try{var t=e.data.param;n(JSON.parse(t.content||t.data.content))}catch(e){}})):self.addEventListener&&self.addEventListener("push",(function(e){try{var t=JSON.parse(JSON.parse(e.data.text()).param.data.content);n(t)}catch(e){}}))}),10),["log","info","error","debug","warn"].forEach((function(t){var n="o"+t;console[n]||(console[n]=console[t],console[t]=function(){for(var r,s=[],i=0;i<arguments.length;i++)s[i]=arguments[i];console[n].apply(console,s);try{r=o.stringify(s.map((function(e){return e instanceof Error?e.name+": "+e.message:e})),e)}catch(e){return void console.error(e.name+": "+e.message)}a.callInternalAPI("tinyDebugConsole",{content:r,type:"console_"+t})})}));var s=setInterval((function(){if(self.AFAppX){clearInterval(s);var e=a.getStartupParams();e.isRemoteX&&e.channelId&&r.registerRemoteX()}}),50)}()},44:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(5),r=n(45),a=n(12),s=n(2),i=n(0);function c(){s.getBridge().call("hideOptionMenuItem",{scope:"single",name:"backToHome"}),(self.document||self).addEventListener("push",(function(e){var t=e.data;if(t&&"function"==typeof t.text)try{t=JSON.parse(t.text())}catch(e){return}if(t&&t.func){var n=t.func,s=t.viewId;if("nbcomponent.canrender"===n||"pageResume"===n)o.ChannelPot.setActiveId(s),o.ChannelPot.sendToMainChannel({method:i.RemoteXMethods.PageChanged});else if("beforeDestroy"===n)o.ChannelPot.remove(s);else if("tinyRemoteDebugPanelButtonClick"===n)a.SocketConn.close();else try{r.listenTinyDebug(t)}catch(e){}}})),r.hookGlobalApi()}t.initRemoteX=c,t.registerRemoteX=function(){self.addEventListener&&self.navigator&&(c(),a.SocketConn.open(),self.addEventListener("message",(function(e){if(e&&e.data){var t=e.data;if(t.method===i.RemoteXMethods.RegisterChannel){var n=e.ports[0],r=t.params.viewId+"";o.ChannelPot.set(r,new o.ChannelHandler(n)),o.ChannelPot.setActiveId(r),null===o.ChannelPot._mainViewId&&o.ChannelPot.setMainId(r),o.ChannelPot.sendToMainChannel({method:i.RemoteXMethods.PageChanged})}}})))}},45:function(e,t,n){"use strict";var o=this&&this.__assign||Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e};Object.defineProperty(t,"__esModule",{value:!0});var r=n(5),a=n(0),s=n(2),i="__APPX_DEVTOOLS_GLOBAL_HOOK__",c="remotex_req_",u=function(e){return"function"==typeof e},l=0;function d(e){if(!e||"object"!=typeof e)return{};var t={};return Object.keys(e).forEach((function(n){t[n]=""+e[n]})),t}function f(e){var t=e.name,n=e.params;/^(http)?Request$/i.test(t)&&r.ChannelPot.sendToMainChannel({method:a.RemoteXMethods.requestWillBeSent,params:{reqId:c+e.reqId,url:n.url,method:(n.method||"GET").toUpperCase(),body:"string"==typeof n.data?n.data:JSON.stringify(n.data),headers:d(n.headers)}})}function h(e){var t=e.name,n=e.res,o=e.params;/^clearStorage(Sync)?$/.test(t)&&n.success?r.ChannelPot.sendToMainChannel({method:a.RemoteXMethods.syncStorage,params:{data:{}}}):/^removeStorage(Sync)?$/.test(t)&&n.success?r.ChannelPot.sendToMainChannel({method:a.RemoteXMethods.removeStorage,params:{key:o.key}}):/^setStorage(Sync)?$/.test(t)&&n.success?r.ChannelPot.sendToMainChannel({method:a.RemoteXMethods.setStorage,params:{key:o.key,value:o.data}}):/^(http)?Request$/i.test(t)&&r.ChannelPot.sendToMainChannel({method:a.RemoteXMethods.requestFinished,params:{reqId:c+e.reqId,url:o.url,status:n.status,body:"string"==typeof n.data?n.data:JSON.stringify(n.data),headers:d(n.headers)}})}t.hookGlobalApi=function(){if(!(s.compareVersion(s.getAlipayVersion(),"10.1.75")>=0)){var e=self.AFAppX.bridge;e?["clearStorage","removeStorage","setStorage","httpRequest","request"].forEach((function(t){e[t]&&(e[t]=function(e,t){return function(n){var r=++l,a=o({},n),s=a.success,i=a.fail;f({name:e,params:n,reqId:r}),a.success=function(t){u(s)&&s(t),h({name:e,params:n,res:t,reqId:r})},a.fail=function(t){u(i)&&i(t),h({name:e,params:n,res:t,reqId:r})},t(a)}}(t,e[t]));var n=t+"Sync";e[n]&&(e[n]=function(e,t){return function(n){var o=++l;f({name:e,params:n,reqId:o});var r=t(n);return h({name:e,params:n,res:r,reqId:o}),r}}(n,e[n]))})):self[i]={onApiCallback:h,onApiSyncCallback:h,onApiCall:f}}};var p=/^https?:\/\/hpmweb\.alipay\.com/;function g(e,t){switch(e){case"tinyAppRemoteDebug_network_request":if(p.test(t.url))return;r.ChannelPot.sendToMainChannel({method:a.RemoteXMethods.requestWillBeSent,params:{reqId:t.requestId,url:t.url,method:(t.method||"GET").toUpperCase(),body:t.postBody,headers:d(t.headers)}});break;case"tinyAppRemoteDebug_network_response":if(p.test(t.url))return;r.ChannelPot.sendToMainChannel({method:a.RemoteXMethods.requestFinished,params:{reqId:t.requestId,url:t.url,status:t.status,body:t.body,headers:d(t.headers)}});break;case"tinyAppRemoteDebug_network_error":if(p.test(t.url))return;r.ChannelPot.sendToMainChannel({method:a.RemoteXMethods.requestFinished,params:{reqId:t.requestId,url:t.url,status:null}});break;case"tinyAppRemoteDebug_storage":var n={};Object.keys(t.data).forEach((function(e){try{n[e]=JSON.parse(t.data[e]).APDataStorage}catch(e){}})),r.ChannelPot.sendToMainChannel({method:a.RemoteXMethods.syncStorage,params:{data:n}})}}t.listenTinyDebug=function(e){var t=e.func,n=e.param;if(/^tinyAppRemoteDebug_/.test(t))g(t,n);else if("onTinyDebugConsole"===t){if(!n.data)return;var o=n.data,r=o.type,a=o.content;try{a=JSON.parse(a)}catch(e){}g(r,a)}}},5:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(12),r=n(0),a=console.log;t.ChannelPot={_mainViewId:null,_activeViewId:null,_map:{},get:function(e){return this._map[e]||null},set:function(e,t){this._map[e]=t},remove:function(e){delete this._map[e]},setActiveId:function(e){this._activeViewId=e},setMainId:function(e){this._mainViewId=e},sendToMainChannel:function(e){o.SocketConn.send(e)},sendToActiveChannel:function(e){this.get(this._activeViewId)?this.get(this._activeViewId).postMessage(e):a("[remotex] missing active channel",e,this._activeViewId)}};var s=function(){function e(e){var t=this;this._port=e,this._port.onmessage=this.onMessage,Object.defineProperty(e,"onmessage",{get:function(){return t.onMessage},set:function(){}})}return e.prototype.onMessage=function(e){if(e.data){var n=e.data,o=n.method,a=n.params;o===r.RemoteXMethods.PassByWorker&&t.ChannelPot.sendToMainChannel(a)}},e.prototype.postMessage=function(e){this._port.postMessage(e)},e}();t.ChannelHandler=s}});
const
__BUGME_END__
=
1
;
/*BUGME_END*/
if
(
!
self
.
__appxInited
)
{
self
.
__appxInited
=
1
;
...
...
@@ -50,11 +77,6 @@ require('../../pages/integralMallDetail/integralMallDetail?hash=156a812558d5337e
require
(
'../../pages/activateCard/activateCardCallback?hash=32d7d2807ed4e666ef03b4b3fe8c38ecf2e34e68'
);
require
(
'../../pages/pointList/pointList?hash=eb17aa2f4ba7cc997fe708841f1fe01cde8cc03d'
);
require
(
'../../pages/pointDetail/pointDetail?hash=d7bedad42ed1e6b4887fbf6bc8af0dfc84d5e21b'
);
require
(
'../../subPackage/page/pages/subPage/subPage?hash=8e626b248a992afa8f9f3584872c5d6c18593805'
);
require
(
'../../subPackage/page/pages/h5/h5page?hash=32d7d2807ed4e666ef03b4b3fe8c38ecf2e34e68'
);
require
(
'../../subPackage/page/pages/pointGoodsList/pointGoodsList?hash=32d7d2807ed4e666ef03b4b3fe8c38ecf2e34e68'
);
require
(
'../../subPackage/page/pages/goToHome/goToHome?hash=32d7d2807ed4e666ef03b4b3fe8c38ecf2e34e68'
);
require
(
'../../subPackage/page/pages/aliPayCoupon/aliPayCoupon?hash=32d7d2807ed4e666ef03b4b3fe8c38ecf2e34e68'
);
}
self
.
bootstrapApp
?
self
.
bootstrapApp
({
success
})
:
success
();
}
\ No newline at end of file
debug.log
View file @
7afcda4f
This source diff could not be displayed because it is too large. You can
view the blob
instead.
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