Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
sheng du
yzwy_parking_mini_uni
Commits
7b3b321d
Commit
7b3b321d
authored
6 months ago
by
sheng du
Browse files
Options
Download
Email Patches
Plain Diff
1
parent
d6f60c41
Changes
66
Hide whitespace changes
Inline
Side-by-side
Showing
20 changed files
with
94 additions
and
59 deletions
+94
-59
api/http.js
api/http.js
+13
-1
config/development.js
config/development.js
+4
-4
config/index.js
config/index.js
+31
-24
config/production.js
config/production.js
+4
-4
manifest.json
manifest.json
+1
-1
pages/index/index.vue
pages/index/index.vue
+2
-0
pages/visit/qrcode.vue
pages/visit/qrcode.vue
+1
-1
unpackage/dist/build/mp-alipay/.mini-ide/compileMode.json
unpackage/dist/build/mp-alipay/.mini-ide/compileMode.json
+1
-8
unpackage/dist/build/mp-alipay/common/main.js
unpackage/dist/build/mp-alipay/common/main.js
+1
-1
unpackage/dist/build/mp-alipay/common/vendor.js
unpackage/dist/build/mp-alipay/common/vendor.js
+24
-3
unpackage/dist/build/mp-alipay/components/codecook-carnumber/codecook-carnumber.js
...lipay/components/codecook-carnumber/codecook-carnumber.js
+2
-2
unpackage/dist/build/mp-alipay/components/codecook-keyboard/codecook-keyboard.acss
...lipay/components/codecook-keyboard/codecook-keyboard.acss
+1
-1
unpackage/dist/build/mp-alipay/components/codecook-keyboard/codecook-keyboard.js
...-alipay/components/codecook-keyboard/codecook-keyboard.js
+2
-2
unpackage/dist/build/mp-alipay/pages/index/index.js
unpackage/dist/build/mp-alipay/pages/index/index.js
+1
-1
unpackage/dist/build/mp-alipay/pages/index/invoice/invoice.js
...ckage/dist/build/mp-alipay/pages/index/invoice/invoice.js
+1
-1
unpackage/dist/build/mp-alipay/pages/index/jfSuccess/jfSuccess.js
...e/dist/build/mp-alipay/pages/index/jfSuccess/jfSuccess.js
+1
-1
unpackage/dist/build/mp-alipay/pages/index/tcjf/tcjf.js
unpackage/dist/build/mp-alipay/pages/index/tcjf/tcjf.js
+1
-1
unpackage/dist/build/mp-alipay/pages/index/tclist/tclist.js
unpackage/dist/build/mp-alipay/pages/index/tclist/tclist.js
+1
-1
unpackage/dist/build/mp-alipay/pages/index/yhj/yhj.js
unpackage/dist/build/mp-alipay/pages/index/yhj/yhj.js
+1
-1
unpackage/dist/build/mp-alipay/pages/pay/pay.js
unpackage/dist/build/mp-alipay/pages/pay/pay.js
+1
-1
No files found.
api/http.js
View file @
7b3b321d
...
...
@@ -69,8 +69,19 @@ export function fetch(url, options) {
}
console
.
log
(
aesResObj
.
data
);
if
(
+
aesResObj
.
data
.
code
!==
200
)
{
// 同步获取账号信息
const
accountInfo
=
uni
.
getAccountInfoSync
();
// 打印小程序ID
console
.
log
(
accountInfo
.
miniProgram
.
appId
);
if
(
accountInfo
.
miniProgram
.
appId
==
'
wx4e337f60e395754c
'
&&
aesResObj
.
data
.
message
==
'
授权失败
'
)
{
return
reject
(
aesResObj
||
{});
}
if
(
aesResObj
.
data
.
message
===
'
登录过期,请重新登录!
'
)
{
console
.
log
(
"
fdsa
"
)
uni
.
removeStorageSync
(
'
token
'
);
...
...
@@ -85,6 +96,7 @@ export function fetch(url, options) {
});
hasError
=
true
;
}
return
reject
(
aesResObj
||
{});
}
...
...
This diff is collapsed.
Click to expand it.
config/development.js
View file @
7b3b321d
...
...
@@ -6,11 +6,11 @@ const phpRoot = '';
// const baseUrl = 'https://pmdc.hklcn.com'; // 本地
const
baseUrl
=
'
https://hkland.kupurui.cn
'
;
// 测试服
const
imageView
=
'
https://hkland.kupurui.cn
'
;
// 测试服
//
const baseUrl = 'https://hkland.kupurui.cn'; // 测试服
//
const imageView = 'https://hkland.kupurui.cn'; // 测试服
//
const baseUrl = 'https://pmdc.hklcn.com'; // 正式服
//
const imageView = 'https://pmdc.hklcn.com'; // 正式服
const
baseUrl
=
'
https://pmdc.hklcn.com
'
;
// 正式服
const
imageView
=
'
https://pmdc.hklcn.com
'
;
// 正式服
export
default
{
baseUrl
,
...
...
This diff is collapsed.
Click to expand it.
config/index.js
View file @
7b3b321d
/**
* 系统配置参数
*/
import
development
from
'
./development
'
;
import
production
from
'
./production
'
;
const
{
NODE_ENV
}
=
process
.
env
;
let
base
=
{};
if
(
NODE_ENV
===
'
development
'
)
{
base
=
development
;
}
else
if
(
NODE_ENV
===
'
production
'
)
{
base
=
production
;
}
const
Config
=
{
propertyId
:
1
,
apiRoot
:
`
${
base
.
baseUrl
}
`
,
...
base
,
};
export
default
Config
;
\ No newline at end of file
/**
* 系统配置参数
*/
import
development
from
'
./development
'
;
import
production
from
'
./production
'
;
const
{
NODE_ENV
}
=
process
.
env
;
let
getOpenIdType
=
1
//#ifdef MP-ALIPAY
getOpenIdType
=
2
//#endif
let
base
=
{};
if
(
NODE_ENV
===
'
development
'
)
{
base
=
development
;
}
else
if
(
NODE_ENV
===
'
production
'
)
{
base
=
production
;
}
const
Config
=
{
getOpenIdType
,
propertyId
:
1
,
apiRoot
:
`
${
base
.
baseUrl
}
`
,
...
base
,
};
export
default
Config
;
\ No newline at end of file
This diff is collapsed.
Click to expand it.
config/production.js
View file @
7b3b321d
...
...
@@ -4,10 +4,10 @@ const baseUrl = '';
const
phpRoot
=
''
;
// const baseUrl = 'https://pmdc.hklcn.com'; // 本地
const
baseUrl
=
'
https://hkland.kupurui.cn
'
;
// 测试服
const
imageView
=
'
https://hkland.kupurui.cn
'
;
// 测试服
//
const baseUrl = 'https://pmdc.hklcn.com'; // 正式服
//
const imageView = 'https://pmdc.hklcn.com'; // 正式服
//
const baseUrl = 'https://hkland.kupurui.cn'; // 测试服
//
const imageView = 'https://hkland.kupurui.cn'; // 测试服
const
baseUrl
=
'
https://pmdc.hklcn.com
'
;
// 正式服
const
imageView
=
'
https://pmdc.hklcn.com
'
;
// 正式服
export
default
{
baseUrl
,
...
...
This diff is collapsed.
Click to expand it.
manifest.json
View file @
7b3b321d
...
...
@@ -42,7 +42,7 @@
},
"quickapp"
:
{},
"mp-weixin"
:
{
"appid"
:
"wx
8fef5f0844535860
"
,
"appid"
:
"wx
4e337f60e395754c
"
,
"setting"
:
{
"urlCheck"
:
false
},
...
...
This diff is collapsed.
Click to expand it.
pages/index/index.vue
View file @
7b3b321d
...
...
@@ -166,6 +166,7 @@
<
script
>
import
api
from
'
@/api
'
import
config
from
'
@/config
'
//index.js
//获取应用实例
const
app
=
getApp
();
...
...
@@ -450,6 +451,7 @@
if
(
loginres
.
code
)
{
// console.log(loginres.code);
api
.
main
.
parkingGetopenid
({
type
:
config
.
getOpenIdType
,
code
:
loginres
.
code
}).
then
(
res
=>
{
...
...
This diff is collapsed.
Click to expand it.
pages/visit/qrcode.vue
View file @
7b3b321d
...
...
@@ -39,7 +39,7 @@
id
:
this
.
id
})
console
.
log
(
res
)
this
.
info
=
res
.
data
this
.
info
=
res
.
data
.
data
},
reflash
()
{
this
.
info
=
{}
...
...
This diff is collapsed.
Click to expand it.
unpackage/dist/build/mp-alipay/.mini-ide/compileMode.json
View file @
7b3b321d
{
"modes"
:
[
{
"title"
:
"支付"
,
"page"
:
"pages/pay/pay"
,
"launchMode"
:
"common"
,
"pageQuery"
:
"order_num=sdsa234234234"
}
]
"modes"
:
[]
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
unpackage/dist/build/mp-alipay/common/main.js
View file @
7b3b321d
(
my
[
"
webpackJsonp
"
]
=
my
[
"
webpackJsonp
"
]
||
[]).
push
([[
"
common/main
"
],{
"
356d
"
:
function
(
e
,
t
,
n
){
"
use strict
"
;
n
.
r
(
t
);
var
r
=
n
(
"
cf4b
"
),
o
=
n
.
n
(
r
);
for
(
var
c
in
r
)[
"
default
"
].
indexOf
(
c
)
<
0
&&
function
(
e
){
n
.
d
(
t
,
e
,(
function
(){
return
r
[
e
]}))}(
c
);
t
[
"
default
"
]
=
o
.
a
},
"
556c
"
:
function
(
e
,
t
,
n
){},
"
5d02
"
:
function
(
e
,
t
,
n
){
"
use strict
"
;
var
r
=
n
(
"
556c
"
),
o
=
n
.
n
(
r
);
o
.
a
},
"
89b9
"
:
function
(
e
,
t
,
n
){
"
use strict
"
;
n
.
r
(
t
);
var
r
=
n
(
"
356d
"
);
for
(
var
o
in
r
)[
"
default
"
].
indexOf
(
o
)
<
0
&&
function
(
e
){
n
.
d
(
t
,
e
,(
function
(){
return
r
[
e
]}))}(
o
);
n
(
"
5d02
"
);
var
c
=
n
(
"
f0c5
"
),
u
=
Object
(
c
[
"
a
"
])(
r
[
"
default
"
],
void
0
,
void
0
,
!
1
,
null
,
null
,
null
,
!
1
,
void
0
,
void
0
);
t
[
"
default
"
]
=
u
.
exports
},
cf4b
:
function
(
e
,
t
,
n
){
"
use strict
"
;(
function
(
e
){
var
r
=
n
(
"
4ea4
"
);
Object
.
defineProperty
(
t
,
"
__esModule
"
,{
value
:
!
0
}),
t
.
default
=
void
0
;
var
o
=
r
(
n
(
"
bf5e
"
)),
c
=
{
data
:
function
(){
return
{}},
onLaunch
:
function
(){
var
t
=
this
,
n
=
e
.
getStorageSync
(
"
logs
"
)
||
[];
n
.
unshift
(
Date
.
now
()),
e
.
setStorageSync
(
"
logs
"
,
n
),
e
.
getSetting
({
success
:
function
(
n
){
n
.
authSetting
[
"
scope.userInfo
"
]
&&
e
.
getUserInfo
({
success
:
function
(
e
){
t
.
globalData
.
userInfo
=
e
.
userInfo
,
t
.
userInfoReadyCallback
&&
t
.
userInfoReadyCallback
(
e
)}})}})},
globalData
:{
userInfo
:
null
,
url
:
o
.
default
.
apiRoot
,
tcid
:
""
}};
t
.
default
=
c
}).
call
(
this
,
n
(
"
c11b
"
)[
"
default
"
])},
fb07
:
function
(
e
,
t
,
n
){
"
use strict
"
;(
function
(
e
){
var
t
=
n
(
"
4ea4
"
),
r
=
t
(
n
(
"
9523
"
));
n
(
"
c72b
"
);
var
o
=
t
(
n
(
"
89b9
"
)),
c
=
t
(
n
(
"
2166
"
)),
u
=
t
(
n
(
"
66fd
"
));
function
a
(
e
,
t
){
var
n
=
Object
.
keys
(
e
);
if
(
Object
.
getOwnPropertySymbols
){
var
r
=
Object
.
getOwnPropertySymbols
(
e
);
t
&&
(
r
=
r
.
filter
((
function
(
t
){
return
Object
.
getOwnPropertyDescriptor
(
e
,
t
).
enumerable
}))),
n
.
push
.
apply
(
n
,
r
)}
return
n
}
my
.
__webpack_require_UNI_MP_PLUGIN__
=
n
,
u
.
default
.
use
(
c
.
default
),
u
.
default
.
config
.
productionTip
=!
1
,
o
.
default
.
mpType
=
"
app
"
;
var
f
=
new
u
.
default
(
function
(
e
){
for
(
var
t
=
1
;
t
<
arguments
.
length
;
t
++
){
var
n
=
null
!=
arguments
[
t
]?
arguments
[
t
]:{};
t
%
2
?
a
(
Object
(
n
),
!
0
).
forEach
((
function
(
t
){(
0
,
r
.
default
)(
e
,
t
,
n
[
t
])})):
Object
.
getOwnPropertyDescriptors
?
Object
.
defineProperties
(
e
,
Object
.
getOwnPropertyDescriptors
(
n
)):
a
(
Object
(
n
)).
forEach
((
function
(
t
){
Object
.
defineProperty
(
e
,
t
,
Object
.
getOwnPropertyDescriptor
(
n
,
t
))}))}
return
e
}({},
o
.
default
));
e
(
f
).
$mount
()}).
call
(
this
,
n
(
"
c11b
"
)[
"
createApp
"
])}},[[
"
fb07
"
,
"
common/runtime
"
,
"
common/vendor
"
]]]);
\ No newline at end of file
(
my
[
"
webpackJsonp
"
]
=
my
[
"
webpackJsonp
"
]
||
[]).
push
([[
"
common/main
"
],{
"
0ba7
"
:
function
(
t
,
e
,
n
){
"
use strict
"
;
n
.
r
(
e
);
var
r
=
n
(
"
c449
"
),
o
=
n
.
n
(
r
);
for
(
var
c
in
r
)[
"
default
"
].
indexOf
(
c
)
<
0
&&
function
(
t
){
n
.
d
(
e
,
t
,(
function
(){
return
r
[
t
]}))}(
c
);
e
[
"
default
"
]
=
o
.
a
},
"
2ead
"
:
function
(
t
,
e
,
n
){
"
use strict
"
;(
function
(
t
){
var
e
=
n
(
"
47a9
"
),
r
=
e
(
n
(
"
7ca3
"
));
n
(
"
0d45
"
);
var
o
=
e
(
n
(
"
32bc
"
)),
c
=
e
(
n
(
"
d9c0
"
)),
a
=
e
(
n
(
"
3240
"
));
function
u
(
t
,
e
){
var
n
=
Object
.
keys
(
t
);
if
(
Object
.
getOwnPropertySymbols
){
var
r
=
Object
.
getOwnPropertySymbols
(
t
);
e
&&
(
r
=
r
.
filter
((
function
(
e
){
return
Object
.
getOwnPropertyDescriptor
(
t
,
e
).
enumerable
}))),
n
.
push
.
apply
(
n
,
r
)}
return
n
}
my
.
__webpack_require_UNI_MP_PLUGIN__
=
n
,
a
.
default
.
use
(
c
.
default
),
a
.
default
.
config
.
productionTip
=!
1
,
o
.
default
.
mpType
=
"
app
"
;
var
i
=
new
a
.
default
(
function
(
t
){
for
(
var
e
=
1
;
e
<
arguments
.
length
;
e
++
){
var
n
=
null
!=
arguments
[
e
]?
arguments
[
e
]:{};
e
%
2
?
u
(
Object
(
n
),
!
0
).
forEach
((
function
(
e
){(
0
,
r
.
default
)(
t
,
e
,
n
[
e
])})):
Object
.
getOwnPropertyDescriptors
?
Object
.
defineProperties
(
t
,
Object
.
getOwnPropertyDescriptors
(
n
)):
u
(
Object
(
n
)).
forEach
((
function
(
e
){
Object
.
defineProperty
(
t
,
e
,
Object
.
getOwnPropertyDescriptor
(
n
,
e
))}))}
return
t
}({},
o
.
default
));
t
(
i
).
$mount
()}).
call
(
this
,
n
(
"
6861
"
)[
"
createApp
"
])},
"
32bc
"
:
function
(
t
,
e
,
n
){
"
use strict
"
;
n
.
r
(
e
);
var
r
=
n
(
"
0ba7
"
);
for
(
var
o
in
r
)[
"
default
"
].
indexOf
(
o
)
<
0
&&
function
(
t
){
n
.
d
(
e
,
t
,(
function
(){
return
r
[
t
]}))}(
o
);
n
(
"
a544
"
);
var
c
=
n
(
"
828b
"
),
a
=
Object
(
c
[
"
a
"
])(
r
[
"
default
"
],
void
0
,
void
0
,
!
1
,
null
,
null
,
null
,
!
1
,
void
0
,
void
0
);
e
[
"
default
"
]
=
a
.
exports
},
"
8ecc
"
:
function
(
t
,
e
,
n
){},
a544
:
function
(
t
,
e
,
n
){
"
use strict
"
;
var
r
=
n
(
"
8ecc
"
),
o
=
n
.
n
(
r
);
o
.
a
},
c449
:
function
(
t
,
e
,
n
){
"
use strict
"
;(
function
(
t
){
var
r
=
n
(
"
47a9
"
);
Object
.
defineProperty
(
e
,
"
__esModule
"
,{
value
:
!
0
}),
e
.
default
=
void
0
;
var
o
=
r
(
n
(
"
4f15
"
)),
c
=
{
data
:
function
(){
return
{}},
onLaunch
:
function
(){
var
e
=
t
.
getStorageSync
(
"
logs
"
)
||
[];
e
.
unshift
(
Date
.
now
()),
t
.
setStorageSync
(
"
logs
"
,
e
)},
globalData
:{
userInfo
:
null
,
url
:
o
.
default
.
apiRoot
,
tcid
:
""
}};
e
.
default
=
c
}).
call
(
this
,
n
(
"
6861
"
)[
"
default
"
])}},[[
"
2ead
"
,
"
common/runtime
"
,
"
common/vendor
"
]]]);
\ No newline at end of file
This diff is collapsed.
Click to expand it.
unpackage/dist/build/mp-alipay/common/vendor.js
View file @
7b3b321d
This source diff could not be displayed because it is too large. You can
view the blob
instead.
This diff is collapsed.
Click to expand it.
unpackage/dist/build/mp-alipay/components/codecook-carnumber/codecook-carnumber.js
View file @
7b3b321d
;
my
.
defineComponent
||
(
my
.
defineComponent
=
Component
);(
my
[
"
webpackJsonp
"
]
=
my
[
"
webpackJsonp
"
]
||
[]).
push
([[
"
components/codecook-carnumber/codecook-carnumber
"
],{
"
0
770
"
:
function
(
t
,
n
,
e
){
"
use strict
"
;
var
i
=
e
(
"
18dc
"
),
u
=
e
.
n
(
i
);
u
.
a
},
1222
:
function
(
t
,
n
,
e
){
"
use strict
"
;
e
.
r
(
n
);
var
i
=
e
(
"
d79d
"
),
u
=
e
.
n
(
i
);
for
(
var
c
in
i
)[
"
default
"
].
indexOf
(
c
)
<
0
&&
function
(
t
){
e
.
d
(
n
,
t
,(
function
(){
return
i
[
t
]}))}(
c
);
n
[
"
default
"
]
=
u
.
a
},
"
18dc
"
:
function
(
t
,
n
,
e
){},
c94b
:
function
(
t
,
n
,
e
){
"
use strict
"
;
e
.
d
(
n
,
"
b
"
,(
function
(){
return
i
})),
e
.
d
(
n
,
"
c
"
,(
function
(){
return
u
})),
e
.
d
(
n
,
"
a
"
,(
function
(){
}));
var
i
=
function
(){
var
t
=
this
.
$createElement
;
this
.
_self
.
_c
},
u
=
[]},
ce49
:
function
(
t
,
n
,
e
){
"
use strict
"
;
e
.
r
(
n
);
var
i
=
e
(
"
c94b
"
),
u
=
e
(
"
1222
"
);
for
(
var
c
in
u
)[
"
default
"
].
indexOf
(
c
)
<
0
&&
function
(
t
){
e
.
d
(
n
,
t
,(
function
(){
return
u
[
t
]}))}(
c
);
e
(
"
0770
"
);
var
r
=
e
(
"
f0c5
"
),
o
=
Object
(
r
[
"
a
"
])(
u
[
"
default
"
],
i
[
"
b
"
],
i
[
"
c
"
],
!
1
,
null
,
"
3dbbb873
"
,
null
,
!
1
,
i
[
"
a
"
],
void
0
);
n
[
"
default
"
]
=
o
.
exports
},
d
79d
:
function
(
t
,
n
,
e
){
"
use strict
"
;
Object
.
defineProperty
(
n
,
"
__esModule
"
,{
value
:
!
0
}),
n
.
default
=
void
0
;
var
i
=
{
name
:
"
CarNumber
"
,
components
:{
KeyBoard
:
function
(){
e
.
e
(
"
components/codecook-keyboard/codecook-keyboard
"
).
then
(
function
(){
return
resolve
(
e
(
"
20a8
"
))}.
bind
(
null
,
e
)).
catch
(
e
.
oe
)}},
props
:{
value
:{
type
:
String
,
default
:
""
},
length
:{
type
:
Number
,
default
:
8
}},
data
:
function
(){
return
{
focus
:
!
1
,
current
:
0
,
fill
:
new
Array
(
this
.
length
).
fill
(
""
)}},
computed
:{
kType
:
function
(){
return
0
===
this
.
current
?
"
provinces
"
:
"
areas
"
}},
watch
:{
fill
:
function
(
t
){
this
.
$emit
(
"
input
"
,
t
.
join
(
""
)),
this
.
$emit
(
"
change
"
,
t
)},
value
:
function
(
t
){
t
&&
t
!==
this
.
fill
.
join
(
""
)
&&
this
.
defaultFill
()}},
methods
:{
defaultFill
:
function
(){
var
t
=
this
;
this
.
value
.
split
(
""
).
forEach
((
function
(
n
,
e
){
e
>=
t
.
length
||
t
.
$set
(
t
.
fill
,
e
,
n
)})),
this
.
current
=
Math
.
min
(
this
.
value
.
length
,
this
.
length
-
1
)},
focusHandler
:
function
(){
var
t
=
arguments
.
length
>
0
&&
void
0
!==
arguments
[
0
]?
arguments
[
0
]:
0
;
this
.
focus
=!
0
,
this
.
current
=
t
,
console
.
log
(
this
.
current
)},
keyDeleteHandler
:
function
(){
this
.
$set
(
this
.
fill
,
this
.
current
,
""
),
this
.
current
<=
0
||
(
this
.
current
-=
1
)},
keyInputHandler
:
function
(
t
){
this
.
$set
(
this
.
fill
,
this
.
current
,
t
),
this
.
current
>=
this
.
length
-
1
||
(
this
.
current
+=
1
)},
keyHideHandler
:
function
(){
this
.
$emit
(
"
on-hide
"
),
this
.
focus
=!
1
}},
beforeMount
:
function
(){
this
.
value
&&
this
.
defaultFill
()},
mounted
:
function
(){
this
.
focus
=!
1
}};
n
.
default
=
i
}}]);
;
my
.
defineComponent
||
(
my
.
defineComponent
=
Component
);(
my
[
"
webpackJsonp
"
]
=
my
[
"
webpackJsonp
"
]
||
[]).
push
([[
"
components/codecook-carnumber/codecook-carnumber
"
],{
"
0
cf1
"
:
function
(
t
,
n
,
e
){
},
"
20ec
"
:
function
(
t
,
n
,
e
){
"
use strict
"
;
e
.
d
(
n
,
"
b
"
,(
function
(){
return
i
})),
e
.
d
(
n
,
"
c
"
,(
function
(){
return
u
})),
e
.
d
(
n
,
"
a
"
,(
function
(){
}));
var
i
=
function
(){
var
t
=
this
.
$createElement
;
this
.
_self
.
_c
},
u
=
[]},
2518
:
function
(
t
,
n
,
e
){
"
use strict
"
;
var
i
=
e
(
"
0cf1
"
),
u
=
e
.
n
(
i
);
u
.
a
},
"
30b9
"
:
function
(
t
,
n
,
e
){
"
use strict
"
;
e
.
r
(
n
);
var
i
=
e
(
"
dc55
"
),
u
=
e
.
n
(
i
);
for
(
var
c
in
i
)[
"
default
"
].
indexOf
(
c
)
<
0
&&
function
(
t
){
e
.
d
(
n
,
t
,(
function
(){
return
i
[
t
]}))}(
c
);
n
[
"
default
"
]
=
u
.
a
},
af53
:
function
(
t
,
n
,
e
){
"
use strict
"
;
e
.
r
(
n
);
var
i
=
e
(
"
20ec
"
),
u
=
e
(
"
30b9
"
);
for
(
var
c
in
u
)[
"
default
"
].
indexOf
(
c
)
<
0
&&
function
(
t
){
e
.
d
(
n
,
t
,(
function
(){
return
u
[
t
]}))}(
c
);
e
(
"
2518
"
);
var
r
=
e
(
"
828b
"
),
o
=
Object
(
r
[
"
a
"
])(
u
[
"
default
"
],
i
[
"
b
"
],
i
[
"
c
"
],
!
1
,
null
,
"
3dbbb873
"
,
null
,
!
1
,
i
[
"
a
"
],
void
0
);
n
[
"
default
"
]
=
o
.
exports
},
d
c55
:
function
(
t
,
n
,
e
){
"
use strict
"
;
Object
.
defineProperty
(
n
,
"
__esModule
"
,{
value
:
!
0
}),
n
.
default
=
void
0
;
var
i
=
{
name
:
"
CarNumber
"
,
components
:{
KeyBoard
:
function
(){
e
.
e
(
"
components/codecook-keyboard/codecook-keyboard
"
).
then
(
function
(){
return
resolve
(
e
(
"
a3e6
"
))}.
bind
(
null
,
e
)).
catch
(
e
.
oe
)}},
props
:{
value
:{
type
:
String
,
default
:
""
},
length
:{
type
:
Number
,
default
:
8
}},
data
:
function
(){
return
{
focus
:
!
1
,
current
:
0
,
fill
:
new
Array
(
this
.
length
).
fill
(
""
)}},
computed
:{
kType
:
function
(){
return
0
===
this
.
current
?
"
provinces
"
:
"
areas
"
}},
watch
:{
fill
:
function
(
t
){
this
.
$emit
(
"
input
"
,
t
.
join
(
""
)),
this
.
$emit
(
"
change
"
,
t
)},
value
:
function
(
t
){
t
&&
t
!==
this
.
fill
.
join
(
""
)
&&
this
.
defaultFill
()}},
methods
:{
defaultFill
:
function
(){
var
t
=
this
;
this
.
value
.
split
(
""
).
forEach
((
function
(
n
,
e
){
e
>=
t
.
length
||
t
.
$set
(
t
.
fill
,
e
,
n
)})),
this
.
current
=
Math
.
min
(
this
.
value
.
length
,
this
.
length
-
1
)},
focusHandler
:
function
(){
var
t
=
arguments
.
length
>
0
&&
void
0
!==
arguments
[
0
]?
arguments
[
0
]:
0
;
this
.
focus
=!
0
,
this
.
current
=
t
,
console
.
log
(
this
.
current
)},
keyDeleteHandler
:
function
(){
this
.
$set
(
this
.
fill
,
this
.
current
,
""
),
this
.
current
<=
0
||
(
this
.
current
-=
1
)},
keyInputHandler
:
function
(
t
){
this
.
$set
(
this
.
fill
,
this
.
current
,
t
),
this
.
current
>=
this
.
length
-
1
||
(
this
.
current
+=
1
)},
keyHideHandler
:
function
(){
this
.
$emit
(
"
on-hide
"
),
this
.
focus
=!
1
}},
beforeMount
:
function
(){
this
.
value
&&
this
.
defaultFill
()},
mounted
:
function
(){
this
.
focus
=!
1
}};
n
.
default
=
i
}}]);
;(
my
[
"
webpackJsonp
"
]
=
my
[
"
webpackJsonp
"
]
||
[]).
push
([
'
components/codecook-carnumber/codecook-carnumber-create-component
'
,
{
'
components/codecook-carnumber/codecook-carnumber-create-component
'
:(
function
(
module
,
exports
,
__webpack_require__
){
__webpack_require__
(
'
c11b
'
)[
'
createComponent
'
](
__webpack_require__
(
"
ce49
"
))
__webpack_require__
(
'
6861
'
)[
'
createComponent
'
](
__webpack_require__
(
"
af53
"
))
})
},
[[
'
components/codecook-carnumber/codecook-carnumber-create-component
'
]]
...
...
This diff is collapsed.
Click to expand it.
unpackage/dist/build/mp-alipay/components/codecook-keyboard/codecook-keyboard.acss
View file @
7b3b321d
.car-keyboard.data-v-785f477e{position:fixed;bottom:100rpx;left:0;width:100%;background-color:#f5f5f5;z-index:2}.status-bar.data-v-785f477e{height:80rpx;background:#dfe8e7;color:#323330;display:flex;flex-direction:row-reverse}.close.data-v-785f477e{font-size:30rpx;height:100%;padding:0 20rpx;display:flex;align-items:center}.keys-container.data-v-785f477e{padding:23rpx 13rpx 30rpx 13rpx}.row.data-v-785f477e{display:flex;flex-wrap:wrap;justify-content:center;margin-bottom:14rpx}.key.data-v-785f477e{width:60rpx;height:72rpx;background:#fff;border:1rpx solid #e6e6e6;box-sizing:border-box;border-radius:4rpx;color:#323330;font-size:36rpx;display:flex;align-items:center;justify-content:center;margin-right:14rpx}.key .delete.data-v-785f477e{width:66rpx;height:40rpx;background:url(../../static/icon_delete.png) no-repeat;background-size:100% 100%}.key.is-delete.data-v-785f477e{width:134rpx}.key.last.data-v-785f477e{margin-right:0}
\ No newline at end of file
.car-keyboard.data-v-785f477e{position:fixed;bottom:100rpx;left:0;width:100%;background-color:#f5f5f5;z-index:2}.status-bar.data-v-785f477e{height:80rpx;background:#dfe8e7;color:#323330;display:flex;flex-direction:row-reverse}.close.data-v-785f477e{font-size:30rpx;height:100%;padding:0 20rpx;display:flex;align-items:center}.keys-container.data-v-785f477e{padding:23rpx 13rpx 30rpx 13rpx}.row.data-v-785f477e{display:flex;flex-wrap:wrap;justify-content:center;margin-bottom:14rpx}.key.data-v-785f477e{width:60rpx;height:72rpx;background:#fff;border:1rpx solid #e6e6e6;box-sizing:border-box;border-radius:4rpx;color:#323330;font-size:36rpx;display:flex;align-items:center;justify-content:center;margin-right:14rpx}.key .delete.data-v-785f477e{width:66rpx;height:40rpx;background:url(/static/icon_delete.png) no-repeat;background-size:100% 100%}.key.is-delete.data-v-785f477e{width:134rpx}.key.last.data-v-785f477e{margin-right:0}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
unpackage/dist/build/mp-alipay/components/codecook-keyboard/codecook-keyboard.js
View file @
7b3b321d
;
my
.
defineComponent
||
(
my
.
defineComponent
=
Component
);(
my
[
"
webpackJsonp
"
]
=
my
[
"
webpackJsonp
"
]
||
[]).
push
([[
"
components/codecook-keyboard/codecook-keyboard
"
],{
"
056d
"
:
function
(
e
,
t
,
n
){
"
use strict
"
;
Object
.
defineProperty
(
t
,
"
__esModule
"
,{
value
:
!
0
}),
t
.
default
=
void
0
;
var
o
=
{
name
:
"
KeyBoard
"
,
components
:{},
props
:{
value
:{
type
:
Boolean
,
default
:
!
1
},
type
:{
type
:
String
,
default
:
"
provinces
"
,
validator
:
function
(
e
){
return
-
1
!==
[
"
provinces
"
,
"
areas
"
].
indexOf
(
e
)}}},
data
:
function
(){
return
{
deleteKeys
:[
"
-
"
,
"
=
"
],
provinces
:[[
"
京
"
,
"
津
"
,
"
沪
"
,
"
渝
"
,
"
川
"
,
"
新
"
,
"
藏
"
,
"
宁
"
,
"
桂
"
,
"
贵
"
],[
"
云
"
,
"
黑
"
,
"
吉
"
,
"
辽
"
,
"
晋
"
,
"
冀
"
,
"
青
"
,
"
鲁
"
,
"
豫
"
,
"
苏
"
],[
"
皖
"
,
"
浙
"
,
"
闽
"
,
"
赣
"
,
"
湘
"
,
"
鄂
"
,
"
粤
"
,
"
琼
"
,
"
甘
"
,
"
陕
"
],[
"
蒙
"
,
"
港
"
,
"
澳
"
,
"
台
"
,
"
使
"
,
"
领
"
,
"
警
"
,
"
学
"
,
"
=
"
]],
areas
:[[
"
1
"
,
"
2
"
,
"
3
"
,
"
4
"
,
"
5
"
,
"
6
"
,
"
7
"
,
"
8
"
,
"
9
"
,
"
0
"
],[
"
Q
"
,
"
W
"
,
"
E
"
,
"
R
"
,
"
T
"
,
"
Y
"
,
"
U
"
,
"
I
"
,
"
O
"
,
"
P
"
],[
"
A
"
,
"
S
"
,
"
D
"
,
"
F
"
,
"
G
"
,
"
H
"
,
"
J
"
,
"
K
"
,
"
L
"
],[
"
Z
"
,
"
X
"
,
"
C
"
,
"
V
"
,
"
B
"
,
"
N
"
,
"
M
"
,
"
-
"
]]}},
watch
:{},
computed
:{
keys
:
function
(){
return
this
[
this
.
type
]}},
methods
:{
keyTapHandler
:
function
(
e
){
this
.
deleteKeys
.
includes
(
e
)?
this
.
$emit
(
"
on-delete
"
):
this
.
$emit
(
"
on-input
"
,
e
)},
hideHandler
:
function
(){
this
.
$emit
(
"
on-hide
"
)}},
beforeMount
:
function
(){},
mounted
:
function
(){}};
t
.
default
=
o
},
"
20a8
"
:
function
(
e
,
t
,
n
){
"
use strict
"
;
n
.
r
(
t
);
var
o
=
n
(
"
2ada
"
),
i
=
n
(
"
2a2b
"
);
for
(
var
a
in
i
)[
"
default
"
].
indexOf
(
a
)
<
0
&&
function
(
e
){
n
.
d
(
t
,
e
,(
function
(){
return
i
[
e
]}))}(
a
);
n
(
"
aff5
"
);
var
r
=
n
(
"
f0c5
"
),
u
=
Object
(
r
[
"
a
"
])(
i
[
"
default
"
],
o
[
"
b
"
],
o
[
"
c
"
],
!
1
,
null
,
"
785f477e
"
,
null
,
!
1
,
o
[
"
a
"
],
void
0
);
t
[
"
default
"
]
=
u
.
exports
},
"
2a2b
"
:
function
(
e
,
t
,
n
){
"
use strict
"
;
n
.
r
(
t
);
var
o
=
n
(
"
056d
"
),
i
=
n
.
n
(
o
);
for
(
var
a
in
o
)[
"
default
"
].
indexOf
(
a
)
<
0
&&
function
(
e
){
n
.
d
(
t
,
e
,(
function
(){
return
o
[
e
]}))}(
a
);
t
[
"
default
"
]
=
i
.
a
},
"
2ada
"
:
function
(
e
,
t
,
n
){
"
use strict
"
;
n
.
d
(
t
,
"
b
"
,(
function
(){
return
o
})),
n
.
d
(
t
,
"
c
"
,(
function
(){
return
i
})),
n
.
d
(
t
,
"
a
"
,(
function
(){}));
var
o
=
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
n
=
(
e
.
_self
.
_c
,
e
.
__map
(
e
.
keys
,(
function
(
t
,
n
){
var
o
=
e
.
__get_orig
(
t
),
i
=
e
.
__map
(
t
,(
function
(
t
,
n
){
var
o
=
e
.
__get_orig
(
t
),
i
=
e
.
deleteKeys
.
includes
(
t
),
a
=
e
.
deleteKeys
.
includes
(
t
);
return
{
$orig
:
o
,
g0
:
i
,
g1
:
a
}}));
return
{
$orig
:
o
,
l0
:
i
}})));
e
.
$mp
.
data
=
Object
.
assign
({},{
$root
:{
l1
:
n
}})},
i
=
[]},
"
942b
"
:
function
(
e
,
t
,
n
){},
aff5
:
function
(
e
,
t
,
n
){
"
use strict
"
;
var
o
=
n
(
"
942b
"
),
i
=
n
.
n
(
o
);
i
.
a
}}]);
;
my
.
defineComponent
||
(
my
.
defineComponent
=
Component
);(
my
[
"
webpackJsonp
"
]
=
my
[
"
webpackJsonp
"
]
||
[]).
push
([[
"
components/codecook-keyboard/codecook-keyboard
"
],{
"
748e
"
:
function
(
e
,
t
,
n
){},
"
7d47
"
:
function
(
e
,
t
,
n
){
"
use strict
"
;
n
.
d
(
t
,
"
b
"
,(
function
(){
return
o
})),
n
.
d
(
t
,
"
c
"
,(
function
(){
return
i
})),
n
.
d
(
t
,
"
a
"
,(
function
(){}));
var
o
=
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
n
=
(
e
.
_self
.
_c
,
e
.
__map
(
e
.
keys
,(
function
(
t
,
n
){
var
o
=
e
.
__get_orig
(
t
),
i
=
e
.
__map
(
t
,(
function
(
t
,
n
){
var
o
=
e
.
__get_orig
(
t
),
i
=
e
.
deleteKeys
.
includes
(
t
),
r
=
e
.
deleteKeys
.
includes
(
t
);
return
{
$orig
:
o
,
g0
:
i
,
g1
:
r
}}));
return
{
$orig
:
o
,
l0
:
i
}})));
e
.
$mp
.
data
=
Object
.
assign
({},{
$root
:{
l1
:
n
}})},
i
=
[]},
"
7ea2
"
:
function
(
e
,
t
,
n
){
"
use strict
"
;
Object
.
defineProperty
(
t
,
"
__esModule
"
,{
value
:
!
0
}),
t
.
default
=
void
0
;
var
o
=
{
name
:
"
KeyBoard
"
,
components
:{},
props
:{
value
:{
type
:
Boolean
,
default
:
!
1
},
type
:{
type
:
String
,
default
:
"
provinces
"
,
validator
:
function
(
e
){
return
-
1
!==
[
"
provinces
"
,
"
areas
"
].
indexOf
(
e
)}}},
data
:
function
(){
return
{
deleteKeys
:[
"
-
"
,
"
=
"
],
provinces
:[[
"
京
"
,
"
津
"
,
"
沪
"
,
"
渝
"
,
"
川
"
,
"
新
"
,
"
藏
"
,
"
宁
"
,
"
桂
"
,
"
贵
"
],[
"
云
"
,
"
黑
"
,
"
吉
"
,
"
辽
"
,
"
晋
"
,
"
冀
"
,
"
青
"
,
"
鲁
"
,
"
豫
"
,
"
苏
"
],[
"
皖
"
,
"
浙
"
,
"
闽
"
,
"
赣
"
,
"
湘
"
,
"
鄂
"
,
"
粤
"
,
"
琼
"
,
"
甘
"
,
"
陕
"
],[
"
蒙
"
,
"
港
"
,
"
澳
"
,
"
台
"
,
"
使
"
,
"
领
"
,
"
警
"
,
"
学
"
,
"
=
"
]],
areas
:[[
"
1
"
,
"
2
"
,
"
3
"
,
"
4
"
,
"
5
"
,
"
6
"
,
"
7
"
,
"
8
"
,
"
9
"
,
"
0
"
],[
"
Q
"
,
"
W
"
,
"
E
"
,
"
R
"
,
"
T
"
,
"
Y
"
,
"
U
"
,
"
I
"
,
"
O
"
,
"
P
"
],[
"
A
"
,
"
S
"
,
"
D
"
,
"
F
"
,
"
G
"
,
"
H
"
,
"
J
"
,
"
K
"
,
"
L
"
],[
"
Z
"
,
"
X
"
,
"
C
"
,
"
V
"
,
"
B
"
,
"
N
"
,
"
M
"
,
"
-
"
]]}},
watch
:{},
computed
:{
keys
:
function
(){
return
this
[
this
.
type
]}},
methods
:{
keyTapHandler
:
function
(
e
){
this
.
deleteKeys
.
includes
(
e
)?
this
.
$emit
(
"
on-delete
"
):
this
.
$emit
(
"
on-input
"
,
e
)},
hideHandler
:
function
(){
this
.
$emit
(
"
on-hide
"
)}},
beforeMount
:
function
(){},
mounted
:
function
(){}};
t
.
default
=
o
},
8571
:
function
(
e
,
t
,
n
){
"
use strict
"
;
var
o
=
n
(
"
748e
"
),
i
=
n
.
n
(
o
);
i
.
a
},
a3e6
:
function
(
e
,
t
,
n
){
"
use strict
"
;
n
.
r
(
t
);
var
o
=
n
(
"
7d47
"
),
i
=
n
(
"
cbf2
"
);
for
(
var
r
in
i
)[
"
default
"
].
indexOf
(
r
)
<
0
&&
function
(
e
){
n
.
d
(
t
,
e
,(
function
(){
return
i
[
e
]}))}(
r
);
n
(
"
8571
"
);
var
u
=
n
(
"
828b
"
),
a
=
Object
(
u
[
"
a
"
])(
i
[
"
default
"
],
o
[
"
b
"
],
o
[
"
c
"
],
!
1
,
null
,
"
785f477e
"
,
null
,
!
1
,
o
[
"
a
"
],
void
0
);
t
[
"
default
"
]
=
a
.
exports
},
cbf2
:
function
(
e
,
t
,
n
){
"
use strict
"
;
n
.
r
(
t
);
var
o
=
n
(
"
7ea2
"
),
i
=
n
.
n
(
o
);
for
(
var
r
in
o
)[
"
default
"
].
indexOf
(
r
)
<
0
&&
function
(
e
){
n
.
d
(
t
,
e
,(
function
(){
return
o
[
e
]}))}(
r
);
t
[
"
default
"
]
=
i
.
a
}}]);
;(
my
[
"
webpackJsonp
"
]
=
my
[
"
webpackJsonp
"
]
||
[]).
push
([
'
components/codecook-keyboard/codecook-keyboard-create-component
'
,
{
'
components/codecook-keyboard/codecook-keyboard-create-component
'
:(
function
(
module
,
exports
,
__webpack_require__
){
__webpack_require__
(
'
c11b
'
)[
'
createComponent
'
](
__webpack_require__
(
"
20a8
"
))
__webpack_require__
(
'
6861
'
)[
'
createComponent
'
](
__webpack_require__
(
"
a3e6
"
))
})
},
[[
'
components/codecook-keyboard/codecook-keyboard-create-component
'
]]
...
...
This diff is collapsed.
Click to expand it.
unpackage/dist/build/mp-alipay/pages/index/index.js
View file @
7b3b321d
(
my
[
"
webpackJsonp
"
]
=
my
[
"
webpackJsonp
"
]
||
[]).
push
([[
"
pages/index/index
"
],{
"
17a5
"
:
function
(
a
,
t
,
e
){
"
use strict
"
;(
function
(
a
){
var
n
=
e
(
"
4ea4
"
);
Object
.
defineProperty
(
t
,
"
__esModule
"
,{
value
:
!
0
}),
t
.
default
=
void
0
;
var
i
=
n
(
e
(
"
9523
"
)),
o
=
getApp
(),
c
=
{
data
:
function
(){
return
{
jcbol
:
!
1
,
animationData
:{},
menubol
:
!
1
,
jcval
:
"
渝
"
,
endnum
:[],
a
:
1
,
index
:
0
,
isnew
:
!
1
,
buslist
:[],
istc
:
1
,
tcjname
:
"
请选择
"
}},
onLoad
:
function
(
t
){
console
.
log
(
t
,
"
options....
"
);
var
e
=
""
;
if
(
t
&&
t
.
q
){
var
n
=
decodeURIComponent
(
t
.
q
).
split
(
"
?
"
)[
0
].
split
(
"
/
"
);
e
=
n
[
n
.
length
-
1
]}
else
e
=
t
.
pid
;
if
(
e
)
this
.
setData
({
istc
:
1
}),
a
.
clearStorageSync
(
"
cname
"
),
a
.
clearStorageSync
(
"
cid
"
),
a
.
clearStorageSync
(
"
shortname
"
),
o
.
globalData
.
tcid
=
e
,
this
.
searchParkingInfo
();
else
{
var
i
=
a
.
getStorageSync
(
"
shortname
"
)
||
"
渝
"
;
console
.
log
(
i
),
this
.
setData
({
istc
:
0
,
tcjname
:
a
.
getStorageSync
(
"
cname
"
)
||
"
请选择
"
,
jcval
:
i
}),
o
.
globalData
.
tcid
=
a
.
getStorageSync
(
"
cid
"
)}},
onShow
:
function
(){
this
.
getMyCar
()},
methods
:{
payMoneyFn
:
function
(){
a
.
navigateTo
({
url
:
"
tcjf/tcjf
"
})},
checkboxChange
:
function
(){
this
.
setData
({
isnew
:
!
this
.
isnew
,
endnum
:[],
a
:
0
})},
keydis
:
function
(){
var
t
=
a
.
createAnimation
((
0
,
i
.
default
)({
duration
:
500
,
timingFunction
:
"
ease-out
"
},
"
timingFunction
"
,
"
linear
"
));
this
.
menubol
?(
t
.
translateY
(
0
).
step
(),
this
.
setData
({
animationData
:
t
.
export
()})):(
t
.
translateY
(
"
100%
"
).
step
(),
this
.
setData
({
animationData
:
t
.
export
()}))},
tclistfn
:
function
(){
a
.
navigateTo
({
url
:
"
tclist/tclist
"
})},
keynumfun
:
function
(
a
){
this
.
a
<=
7
&&
(
""
==
this
.
jcval
?
this
.
setData
({
jcval
:
a
.
currentTarget
.
dataset
.
i
,
jcbol
:
!
1
}):(
this
.
endnum
.
push
(
a
.
currentTarget
.
dataset
.
i
),
this
.
setData
({
endnum
:
this
.
endnum
,
jcbol
:
!
1
})),
this
.
setData
({
a
:
this
.
a
+
1
}))},
keyinfn
:
function
(){
this
.
setData
({
menubol
:
!
0
}),
this
.
keydis
()},
wanchengfn
:
function
(){
this
.
setData
({
menubol
:
!
1
}),
this
.
keydis
()},
searchParkingInfo
:
function
(){
var
t
=
this
;
a
.
request
({
url
:
o
.
globalData
.
url
+
"
/api/parking/index
"
,
data
:{
pid
:
o
.
globalData
.
tcid
},
header
:{
key
:
"
bdc27dab6487a7f4b94cefdfea8da8b8
"
,
token
:
"
bdc27dab6487a7f4b94cefdfea8da8b8
"
},
success
:
function
(
e
){
if
(
200
==
e
.
data
.
code
){
var
n
=
e
.
data
.
data
.
title
||
"
请选择
"
,
i
=
e
.
data
.
data
.
short_name
;
t
.
setData
({
tcjname
:
n
}),
i
&&
t
.
setData
({
jcval
:
i
}),
console
.
log
(
e
,
"
res...
"
,
n
)}
else
a
.
showToast
({
title
:
"
信息有误
"
,
icon
:
"
none
"
,
duration
:
2
e3
})}})},
searchpay1
:
function
(
t
){
var
e
=
t
.
currentTarget
.
dataset
.
sn
;
a
.
request
({
url
:
o
.
globalData
.
url
+
"
/api/parking/getCarInfo
"
,
data
:{
pid
:
o
.
globalData
.
tcid
,
car_code
:
e
,
openid
:
a
.
getStorageSync
(
"
openid
"
)},
header
:{
key
:
"
bdc27dab6487a7f4b94cefdfea8da8b8
"
,
token
:
"
bdc27dab6487a7f4b94cefdfea8da8b8
"
},
success
:
function
(
t
){
200
==
t
.
data
.
code
?
a
.
navigateTo
({
url
:
"
tcjf/tcjf?datajson=
"
+
JSON
.
stringify
(
t
.
data
.
data
)
+
"
&pid=
"
+
o
.
globalData
.
tcid
}):
a
.
showToast
({
title
:
"
车牌号有误
"
,
icon
:
"
none
"
,
duration
:
2
e3
})}})},
searchpay
:
function
(){
var
t
=
this
;
a
.
getSetting
({
success
:
function
(
e
){
console
.
log
(
e
),
a
.
getUserInfo
({
success
:
function
(
e
){
console
.
log
(
e
),
o
.
globalData
.
userInfo
=
e
.
userInfo
;
for
(
var
n
=
t
.
jcval
,
i
=
0
;
i
<
t
.
endnum
.
length
;
i
++
)
n
+=
t
.
endnum
[
i
];
a
.
request
({
url
:
o
.
globalData
.
url
+
"
/api/parking/getCarInfo
"
,
data
:{
pid
:
o
.
globalData
.
tcid
,
car_code
:
n
,
openid
:
a
.
getStorageSync
(
"
openid
"
)},
header
:{
key
:
"
bdc27dab6487a7f4b94cefdfea8da8b8
"
,
token
:
"
bdc27dab6487a7f4b94cefdfea8da8b8
"
},
success
:
function
(
e
){
t
.
addMyCar
(
n
),
200
==
e
.
data
.
code
?
a
.
navigateTo
({
url
:
"
tcjf/tcjf?datajson=
"
+
JSON
.
stringify
(
e
.
data
.
data
)
+
"
&pid=
"
+
o
.
globalData
.
tcid
}):
a
.
showToast
({
title
:
"
车牌号有误
"
,
icon
:
"
none
"
,
duration
:
2
e3
})}})}})}})},
getOpenId
:
function
(
t
){
var
e
=
a
.
getStorageSync
(
"
openid
"
);
e
?
t
&&
t
(
e
):
a
.
login
({
success
:
function
(
e
){
e
.
code
?(
console
.
log
(
e
.
code
),
a
.
request
({
url
:
o
.
globalData
.
url
+
"
/api/parking/getopenid
"
,
data
:{
code
:
e
.
code
},
header
:{
key
:
"
bdc27dab6487a7f4b94cefdfea8da8b8
"
,
token
:
"
bdc27dab6487a7f4b94cefdfea8da8b8
"
},
success
:
function
(
e
){
console
.
log
(
e
),
a
.
setStorageSync
(
"
openid
"
,
e
.
data
.
data
.
openid
),
t
&&
t
(
e
.
data
.
data
.
openid
)}})):
a
.
showToast
({
title
:
"
登录失败
"
,
icon
:
"
none
"
,
duration
:
2
e3
})}})},
deletefn
:
function
(){
if
(
0
==
this
.
endnum
.
length
)
this
.
setData
({
jcval
:
""
,
jcbol
:
!
0
,
a
:
this
.
a
-
1
});
else
if
(
this
.
endnum
.
length
>=
1
){
var
a
=
this
.
endnum
.
splice
(
0
,
this
.
endnum
.
length
-
1
);
this
.
setData
({
endnum
:
a
,
a
:
this
.
a
-
1
})}},
clearbus
:
function
(){
var
t
=
this
;
this
.
getOpenId
((
function
(
e
){
a
.
request
({
url
:
o
.
globalData
.
url
+
"
/api/parking/usercardel
"
,
data
:{
openid
:
e
},
method
:
"
POST
"
,
header
:{
key
:
"
bdc27dab6487a7f4b94cefdfea8da8b8
"
,
token
:
"
bdc27dab6487a7f4b94cefdfea8da8b8
"
},
success
:
function
(
a
){
t
.
getMyCar
()},
fail
:
function
(){
a
.
showToast
({
title
:
"
操作失败
"
,
icon
:
"
none
"
,
duration
:
2
e3
})}})}))},
addMyCar
:
function
(
t
){
var
e
=
this
;
this
.
getOpenId
((
function
(
n
){
a
.
request
({
url
:
o
.
globalData
.
url
+
"
/api/parking/usercaradd
"
,
data
:{
openid
:
n
,
car_code
:
t
},
method
:
"
POST
"
,
header
:{
key
:
"
bdc27dab6487a7f4b94cefdfea8da8b8
"
,
token
:
"
bdc27dab6487a7f4b94cefdfea8da8b8
"
},
success
:
function
(
a
){
e
.
getMyCar
()},
fail
:
function
(){
a
.
showToast
({
title
:
"
操作失败
"
,
icon
:
"
none
"
,
duration
:
2
e3
})}})}))},
getMyCar
:
function
(){
var
t
=
this
;
this
.
getOpenId
((
function
(
e
){
a
.
request
({
url
:
o
.
globalData
.
url
+
"
/api/parking/usercar
"
,
data
:{
openid
:
e
},
header
:{
key
:
"
bdc27dab6487a7f4b94cefdfea8da8b8
"
,
token
:
"
bdc27dab6487a7f4b94cefdfea8da8b8
"
},
success
:
function
(
a
){
console
.
log
(
a
.
data
.
data
),
t
.
setData
({
buslist
:
a
.
data
.
data
})},
fail
:
function
(){
a
.
showToast
({
title
:
"
获取失败
"
,
icon
:
"
none
"
,
duration
:
2
e3
})}})}))}}};
t
.
default
=
c
}).
call
(
this
,
e
(
"
c11b
"
)[
"
default
"
])},
"
3ed6
"
:
function
(
a
,
t
,
e
){
"
use strict
"
;
e
.
d
(
t
,
"
b
"
,(
function
(){
return
n
})),
e
.
d
(
t
,
"
c
"
,(
function
(){
return
i
})),
e
.
d
(
t
,
"
a
"
,(
function
(){}));
var
n
=
function
(){
var
a
=
this
.
$createElement
;
this
.
_self
.
_c
},
i
=
[]},
"
4f1b
"
:
function
(
a
,
t
,
e
){},
"
6b99
"
:
function
(
a
,
t
,
e
){
"
use strict
"
;
var
n
=
e
(
"
4f1b
"
),
i
=
e
.
n
(
n
);
i
.
a
},
"
6e42
"
:
function
(
a
,
t
,
e
){
"
use strict
"
;
e
.
r
(
t
);
var
n
=
e
(
"
3ed6
"
),
i
=
e
(
"
7f98
"
);
for
(
var
o
in
i
)[
"
default
"
].
indexOf
(
o
)
<
0
&&
function
(
a
){
e
.
d
(
t
,
a
,(
function
(){
return
i
[
a
]}))}(
o
);
e
(
"
6b99
"
);
var
c
=
e
(
"
f0c5
"
),
d
=
Object
(
c
[
"
a
"
])(
i
[
"
default
"
],
n
[
"
b
"
],
n
[
"
c
"
],
!
1
,
null
,
null
,
null
,
!
1
,
n
[
"
a
"
],
void
0
);
t
[
"
default
"
]
=
d
.
exports
},
"
7f98
"
:
function
(
a
,
t
,
e
){
"
use strict
"
;
e
.
r
(
t
);
var
n
=
e
(
"
17a5
"
),
i
=
e
.
n
(
n
);
for
(
var
o
in
n
)[
"
default
"
].
indexOf
(
o
)
<
0
&&
function
(
a
){
e
.
d
(
t
,
a
,(
function
(){
return
n
[
a
]}))}(
o
);
t
[
"
default
"
]
=
i
.
a
},
ba6c
:
function
(
a
,
t
,
e
){
"
use strict
"
;(
function
(
a
){
var
t
=
e
(
"
4ea4
"
);
e
(
"
c72b
"
);
t
(
e
(
"
66fd
"
));
var
n
=
t
(
e
(
"
6e42
"
));
my
.
__webpack_require_UNI_MP_PLUGIN__
=
e
,
a
(
n
.
default
)}).
call
(
this
,
e
(
"
c11b
"
)[
"
createPage
"
])}},[[
"
ba6c
"
,
"
common/runtime
"
,
"
common/vendor
"
]]]);
\ No newline at end of file
(
my
[
"
webpackJsonp
"
]
=
my
[
"
webpackJsonp
"
]
||
[]).
push
([[
"
pages/index/index
"
],{
"
0572
"
:
function
(
t
,
a
,
n
){
"
use strict
"
;(
function
(
t
){
var
e
=
n
(
"
47a9
"
);
Object
.
defineProperty
(
a
,
"
__esModule
"
,{
value
:
!
0
}),
a
.
default
=
void
0
;
var
i
=
e
(
n
(
"
7ca3
"
)),
o
=
e
(
n
(
"
25f0
"
)),
c
=
e
(
n
(
"
4f15
"
)),
s
=
getApp
(),
d
=
{
data
:
function
(){
return
{
jcbol
:
!
1
,
animationData
:{},
menubol
:
!
1
,
jcval
:
"
渝
"
,
endnum
:[],
a
:
1
,
index
:
0
,
isnew
:
!
1
,
buslist
:[],
istc
:
1
,
tcjname
:
"
请选择
"
}},
onLoad
:
function
(
a
){
var
n
=
""
;
if
(
a
&&
a
.
q
){
var
e
=
decodeURIComponent
(
a
.
q
).
split
(
"
?
"
)[
0
].
split
(
"
/
"
);
n
=
e
[
e
.
length
-
1
]}
else
n
=
a
.
pid
;
if
(
n
)
this
.
setData
({
istc
:
1
}),
t
.
clearStorageSync
(
"
cname
"
),
t
.
clearStorageSync
(
"
cid
"
),
t
.
clearStorageSync
(
"
shortname
"
),
s
.
globalData
.
tcid
=
n
,
this
.
searchParkingInfo
();
else
{
var
i
=
t
.
getStorageSync
(
"
shortname
"
)
||
"
渝
"
;
this
.
setData
({
istc
:
0
,
tcjname
:
t
.
getStorageSync
(
"
cname
"
)
||
"
请选择
"
,
jcval
:
i
}),
s
.
globalData
.
tcid
=
t
.
getStorageSync
(
"
cid
"
)}},
onShow
:
function
(){
this
.
getMyCar
()},
methods
:{
payMoneyFn
:
function
(){
t
.
navigateTo
({
url
:
"
tcjf/tcjf
"
})},
checkboxChange
:
function
(){
this
.
setData
({
isnew
:
!
this
.
isnew
,
endnum
:[],
a
:
0
})},
keydis
:
function
(){
var
a
=
t
.
createAnimation
((
0
,
i
.
default
)({
duration
:
500
,
timingFunction
:
"
ease-out
"
},
"
timingFunction
"
,
"
linear
"
));
this
.
menubol
?(
a
.
translateY
(
0
).
step
(),
this
.
setData
({
animationData
:
a
.
export
()})):(
a
.
translateY
(
"
100%
"
).
step
(),
this
.
setData
({
animationData
:
a
.
export
()}))},
tclistfn
:
function
(){
t
.
navigateTo
({
url
:
"
tclist/tclist
"
})},
keynumfun
:
function
(
t
){
this
.
a
<=
7
&&
(
""
==
this
.
jcval
?
this
.
setData
({
jcval
:
t
.
currentTarget
.
dataset
.
i
,
jcbol
:
!
1
}):(
this
.
endnum
.
push
(
t
.
currentTarget
.
dataset
.
i
),
this
.
setData
({
endnum
:
this
.
endnum
,
jcbol
:
!
1
})),
this
.
setData
({
a
:
this
.
a
+
1
}))},
keyinfn
:
function
(){
this
.
setData
({
menubol
:
!
0
}),
this
.
keydis
()},
wanchengfn
:
function
(){
this
.
setData
({
menubol
:
!
1
}),
this
.
keydis
()},
searchParkingInfo
:
function
(){
var
a
=
this
;
o
.
default
.
main
.
parkingIndex
({
pid
:
s
.
globalData
.
tcid
}).
then
((
function
(
n
){
if
(
200
==
n
.
data
.
code
){
var
e
=
n
.
data
.
data
.
title
||
"
请选择
"
,
i
=
n
.
data
.
data
.
short_name
;
a
.
setData
({
tcjname
:
e
}),
i
&&
a
.
setData
({
jcval
:
i
})}
else
t
.
showToast
({
title
:
"
信息有误
"
,
icon
:
"
none
"
,
duration
:
2
e3
})}))},
searchpay1
:
function
(
a
){
var
n
=
a
.
currentTarget
.
dataset
.
sn
;
o
.
default
.
main
.
parkingGetCarInfo
({
pid
:
s
.
globalData
.
tcid
,
car_code
:
n
,
openid
:
t
.
getStorageSync
(
"
openid
"
)}).
then
((
function
(
a
){
200
==
a
.
data
.
code
?
t
.
navigateTo
({
url
:
"
tcjf/tcjf?datajson=
"
+
JSON
.
stringify
(
a
.
data
.
data
)
+
"
&pid=
"
+
s
.
globalData
.
tcid
}):
t
.
showToast
({
title
:
"
车牌号有误
"
,
icon
:
"
none
"
,
duration
:
2
e3
})}))},
searchpay
:
function
(){
var
a
=
this
;
t
.
getSetting
({
success
:
function
(
n
){
s
.
globalData
.
userInfo
=
n
.
userInfo
;
for
(
var
e
=
a
.
jcval
,
i
=
0
;
i
<
a
.
endnum
.
length
;
i
++
)
e
+=
a
.
endnum
[
i
];
o
.
default
.
main
.
parkingGetCarInfo
({
pid
:
s
.
globalData
.
tcid
,
car_code
:
e
,
openid
:
t
.
getStorageSync
(
"
openid
"
)}).
then
((
function
(
n
){
a
.
addMyCar
(
e
),
200
==
n
.
data
.
code
?
t
.
navigateTo
({
url
:
"
tcjf/tcjf?datajson=
"
+
JSON
.
stringify
(
n
.
data
.
data
)
+
"
&pid=
"
+
s
.
globalData
.
tcid
}):
t
.
showToast
({
title
:
"
车牌号有误
"
,
icon
:
"
none
"
,
duration
:
2
e3
})}))}})},
getOpenId
:
function
(
a
){
var
n
=
t
.
getStorageSync
(
"
openid
"
);
n
?
a
&&
a
(
n
):
t
.
login
({
success
:
function
(
n
){
n
.
code
?
o
.
default
.
main
.
parkingGetopenid
({
type
:
c
.
default
.
getOpenIdType
,
code
:
n
.
code
}).
then
((
function
(
n
){
t
.
setStorageSync
(
"
openid
"
,
n
.
data
.
data
.
openid
),
a
&&
a
(
n
.
data
.
data
.
openid
)})):
t
.
showToast
({
title
:
"
登录失败
"
,
icon
:
"
none
"
,
duration
:
2
e3
})}})},
deletefn
:
function
(){
if
(
0
==
this
.
endnum
.
length
)
this
.
setData
({
jcval
:
""
,
jcbol
:
!
0
,
a
:
this
.
a
-
1
});
else
if
(
this
.
endnum
.
length
>=
1
){
var
t
=
this
.
endnum
.
splice
(
0
,
this
.
endnum
.
length
-
1
);
this
.
setData
({
endnum
:
t
,
a
:
this
.
a
-
1
})}},
clearbus
:
function
(){
var
t
=
this
;
this
.
getOpenId
((
function
(
a
){
o
.
default
.
main
.
parkingUsercardel
({
openid
:
a
}).
then
((
function
(
a
){
t
.
getMyCar
()}))}))},
addMyCar
:
function
(
t
){
var
a
=
this
;
this
.
getOpenId
((
function
(
n
){
o
.
default
.
main
.
parkingUsercaradd
({
openid
:
n
,
car_code
:
t
}).
then
((
function
(
t
){
a
.
getMyCar
()}))}))},
getMyCar
:
function
(){
var
t
=
this
;
this
.
getOpenId
((
function
(
a
){
o
.
default
.
main
.
parkingUsercar
({
openid
:
a
}).
then
((
function
(
a
){
t
.
setData
({
buslist
:
a
.
data
.
data
})}))}))}}};
a
.
default
=
d
}).
call
(
this
,
n
(
"
6861
"
)[
"
default
"
])},
"
55a9
"
:
function
(
t
,
a
,
n
){
"
use strict
"
;
n
.
r
(
a
);
var
e
=
n
(
"
58dc
"
),
i
=
n
(
"
f0e3
"
);
for
(
var
o
in
i
)[
"
default
"
].
indexOf
(
o
)
<
0
&&
function
(
t
){
n
.
d
(
a
,
t
,(
function
(){
return
i
[
t
]}))}(
o
);
n
(
"
f2aa
"
);
var
c
=
n
(
"
828b
"
),
s
=
Object
(
c
[
"
a
"
])(
i
[
"
default
"
],
e
[
"
b
"
],
e
[
"
c
"
],
!
1
,
null
,
null
,
null
,
!
1
,
e
[
"
a
"
],
void
0
);
a
[
"
default
"
]
=
s
.
exports
},
"
58dc
"
:
function
(
t
,
a
,
n
){
"
use strict
"
;
n
.
d
(
a
,
"
b
"
,(
function
(){
return
e
})),
n
.
d
(
a
,
"
c
"
,(
function
(){
return
i
})),
n
.
d
(
a
,
"
a
"
,(
function
(){}));
var
e
=
function
(){
var
t
=
this
.
$createElement
;
this
.
_self
.
_c
},
i
=
[]},
"
6e9c
"
:
function
(
t
,
a
,
n
){
"
use strict
"
;(
function
(
t
){
var
a
=
n
(
"
47a9
"
);
n
(
"
0d45
"
);
a
(
n
(
"
3240
"
));
var
e
=
a
(
n
(
"
55a9
"
));
my
.
__webpack_require_UNI_MP_PLUGIN__
=
n
,
t
(
e
.
default
)}).
call
(
this
,
n
(
"
6861
"
)[
"
createPage
"
])},
f0e3
:
function
(
t
,
a
,
n
){
"
use strict
"
;
n
.
r
(
a
);
var
e
=
n
(
"
0572
"
),
i
=
n
.
n
(
e
);
for
(
var
o
in
e
)[
"
default
"
].
indexOf
(
o
)
<
0
&&
function
(
t
){
n
.
d
(
a
,
t
,(
function
(){
return
e
[
t
]}))}(
o
);
a
[
"
default
"
]
=
i
.
a
},
f2aa
:
function
(
t
,
a
,
n
){
"
use strict
"
;
var
e
=
n
(
"
fd79
"
),
i
=
n
.
n
(
e
);
i
.
a
},
fd79
:
function
(
t
,
a
,
n
){}},[[
"
6e9c
"
,
"
common/runtime
"
,
"
common/vendor
"
]]]);
\ No newline at end of file
This diff is collapsed.
Click to expand it.
unpackage/dist/build/mp-alipay/pages/index/invoice/invoice.js
View file @
7b3b321d
(
my
[
"
webpackJsonp
"
]
=
my
[
"
webpackJsonp
"
]
||
[]).
push
([[
"
pages/index/invoice/invoice
"
],{
"
111e
"
:
function
(
e
,
t
,
n
){},
"
3c48
"
:
function
(
e
,
t
,
n
){
"
use strict
"
;(
function
(
e
){
var
t
=
n
(
"
4ea4
"
);
n
(
"
c72b
"
);
t
(
n
(
"
66fd
"
));
var
i
=
t
(
n
(
"
91a5
"
));
my
.
__webpack_require_UNI_MP_PLUGIN__
=
n
,
e
(
i
.
default
)}).
call
(
this
,
n
(
"
c11b
"
)[
"
createPage
"
])},
"
851e
"
:
function
(
e
,
t
,
n
){
"
use strict
"
;(
function
(
e
){
Object
.
defineProperty
(
t
,
"
__esModule
"
,{
value
:
!
0
}),
t
.
default
=
void
0
;
var
n
=
getApp
(),
i
=
{
data
:
function
(){
return
{
invoice_title
:
""
,
invoice_tax_number
:
""
,
mail
:
""
,
datamess
:{
amount
:
""
},
order_num
:
""
,
isDisabled
:
!
1
}},
onLoad
:
function
(
t
){
e
.
request
({
url
:
n
.
globalData
.
url
+
"
/api/invoice/getinvoice
"
,
data
:{
openid
:
e
.
getStorageSync
(
"
openid
"
)},
header
:{
key
:
"
bdc27dab6487a7f4b94cefdfea8da8b8
"
,
token
:
"
bdc27dab6487a7f4b94cefdfea8da8b8
"
},
success
:
function
(
e
){
200
==
e
.
data
.
code
&&
i
.
setData
({
invoice_title
:
e
.
data
.
data
.
title
,
invoice_tax_number
:
e
.
data
.
data
.
tax_number
,
mail
:
e
.
data
.
data
.
email
})}});
var
i
=
this
;
console
.
log
(
t
,
"
开票options
"
),
i
.
setData
({
order_num
:
t
.
sn
,
datamess
:
JSON
.
parse
(
t
.
datamess
),
isDisabled
:
!
1
});
e
.
getStorageSync
(
"
invoice
"
)},
onReady
:
function
(){},
onShow
:
function
(){},
onHide
:
function
(){},
onUnload
:
function
(){},
onPullDownRefresh
:
function
(){},
onReachBottom
:
function
(){},
onShareAppMessage
:
function
(){},
methods
:{
bindRiseInput
:
function
(
e
){
this
.
setData
({
invoice_title
:
e
.
detail
.
value
})},
bindTaxInput
:
function
(
e
){
this
.
setData
({
invoice_tax_number
:
e
.
detail
.
value
})},
bindEmailInput
:
function
(
e
){
this
.
setData
({
mail
:
e
.
detail
.
value
})},
submitHandle
:
function
(){
var
t
=
this
;
!
this
.
invoice_title
||
this
.
invoice_title
.
trim
().
length
<=
0
?
e
.
showToast
({
title
:
"
请填写发票抬头
"
,
icon
:
"
none
"
,
duration
:
1500
}):
!
this
.
mail
&&
this
.
mail
.
trim
().
length
<=
0
?
e
.
showToast
({
title
:
"
请填写收票邮箱
"
,
icon
:
"
none
"
,
duration
:
1500
}):(
this
.
setData
({
isDisabled
:
!
0
}),
e
.
request
({
url
:
n
.
globalData
.
url
+
"
/api/invoice/tempbilling
"
,
method
:
"
POST
"
,
data
:{
order_num
:
this
.
order_num
,
invoice_title
:
this
.
invoice_title
,
invoice_tax_number
:
this
.
invoice_tax_number
,
mail
:
this
.
mail
,
openid
:
e
.
getStorageSync
(
"
openid
"
)},
header
:{
key
:
"
bdc27dab6487a7f4b94cefdfea8da8b8
"
,
token
:
"
bdc27dab6487a7f4b94cefdfea8da8b8
"
},
success
:
function
(
n
){
console
.
log
(
n
,
"
res
"
),
200
!=
n
.
data
.
code
?
e
.
showToast
({
title
:
""
.
concat
(
n
.
data
.
message
),
icon
:
"
none
"
,
duration
:
1500
}):(
console
.
log
(
"
开票成功!
"
),
e
.
setStorageSync
(
"
invoice
"
,{
invoice_title
:
t
.
invoice_title
,
invoice_tax_number
:
t
.
invoice_tax_number
,
mail
:
t
.
mail
}),
e
.
showModal
({
title
:
"
提示
"
,
content
:
""
.
concat
(
n
.
data
.
message
),
showCancel
:
!
1
,
success
:
function
(
t
){
t
.
confirm
?
e
.
redirectTo
({
url
:
"
../index
"
}):
t
.
cancel
&&
console
.
log
(
"
用户点击取消
"
)}}))},
complete
:
function
(
e
){
t
.
setData
({
isDisabled
:
!
1
})}}))}}};
t
.
default
=
i
}).
call
(
this
,
n
(
"
c11b
"
)[
"
default
"
])},
"
8e8c
"
:
function
(
e
,
t
,
n
){
"
use strict
"
;
n
.
d
(
t
,
"
b
"
,(
function
(){
return
i
})),
n
.
d
(
t
,
"
c
"
,(
function
(){
return
a
})),
n
.
d
(
t
,
"
a
"
,(
function
(){}));
var
i
=
function
(){
var
e
=
this
.
$createElement
;
this
.
_self
.
_c
},
a
=
[]},
"
91a5
"
:
function
(
e
,
t
,
n
){
"
use strict
"
;
n
.
r
(
t
);
var
i
=
n
(
"
8e8c
"
),
a
=
n
(
"
a60b
"
);
for
(
var
o
in
a
)[
"
default
"
].
indexOf
(
o
)
<
0
&&
function
(
e
){
n
.
d
(
t
,
e
,(
function
(){
return
a
[
e
]}))}(
o
);
n
(
"
a885
"
);
var
c
=
n
(
"
f0c5
"
),
s
=
Object
(
c
[
"
a
"
])(
a
[
"
default
"
],
i
[
"
b
"
],
i
[
"
c
"
],
!
1
,
null
,
null
,
null
,
!
1
,
i
[
"
a
"
],
void
0
);
t
[
"
default
"
]
=
s
.
exports
},
a60b
:
function
(
e
,
t
,
n
){
"
use strict
"
;
n
.
r
(
t
);
var
i
=
n
(
"
851e
"
),
a
=
n
.
n
(
i
);
for
(
var
o
in
i
)[
"
default
"
].
indexOf
(
o
)
<
0
&&
function
(
e
){
n
.
d
(
t
,
e
,(
function
(){
return
i
[
e
]}))}(
o
);
t
[
"
default
"
]
=
a
.
a
},
a885
:
function
(
e
,
t
,
n
){
"
use strict
"
;
var
i
=
n
(
"
111e
"
),
a
=
n
.
n
(
i
);
a
.
a
}},[[
"
3c48
"
,
"
common/runtime
"
,
"
common/vendor
"
]]]);
\ No newline at end of file
(
my
[
"
webpackJsonp
"
]
=
my
[
"
webpackJsonp
"
]
||
[]).
push
([[
"
pages/index/invoice/invoice
"
],{
"
0f45
"
:
function
(
t
,
n
,
i
){
"
use strict
"
;(
function
(
t
){
var
e
=
i
(
"
47a9
"
);
Object
.
defineProperty
(
n
,
"
__esModule
"
,{
value
:
!
0
}),
n
.
default
=
void
0
;
var
a
=
e
(
i
(
"
25f0
"
)),
o
=
(
getApp
(),{
data
:
function
(){
return
{
invoice_title
:
""
,
invoice_tax_number
:
""
,
mail
:
""
,
datamess
:{
amount
:
""
},
order_num
:
""
,
isDisabled
:
!
1
}},
onLoad
:
function
(
n
){
a
.
default
.
main
.
invoiceGetinvoice
({
openid
:
t
.
getStorageSync
(
"
openid
"
)}).
then
((
function
(
t
){
200
==
t
.
data
.
code
&&
i
.
setData
({
invoice_title
:
t
.
data
.
data
.
title
,
invoice_tax_number
:
t
.
data
.
data
.
tax_number
,
mail
:
t
.
data
.
data
.
email
})}));
var
i
=
this
;
console
.
log
(
n
,
"
开票options
"
),
i
.
setData
({
order_num
:
n
.
sn
,
datamess
:
JSON
.
parse
(
n
.
datamess
),
isDisabled
:
!
1
});
t
.
getStorageSync
(
"
invoice
"
)},
onReady
:
function
(){},
onShow
:
function
(){},
onHide
:
function
(){},
onUnload
:
function
(){},
onPullDownRefresh
:
function
(){},
onReachBottom
:
function
(){},
onShareAppMessage
:
function
(){},
methods
:{
bindRiseInput
:
function
(
t
){
this
.
setData
({
invoice_title
:
t
.
detail
.
value
})},
bindTaxInput
:
function
(
t
){
this
.
setData
({
invoice_tax_number
:
t
.
detail
.
value
})},
bindEmailInput
:
function
(
t
){
this
.
setData
({
mail
:
t
.
detail
.
value
})},
submitHandle
:
function
(){
var
n
=
this
;
!
this
.
invoice_title
||
this
.
invoice_title
.
trim
().
length
<=
0
?
t
.
showToast
({
title
:
"
请填写发票抬头
"
,
icon
:
"
none
"
,
duration
:
1500
}):
!
this
.
mail
&&
this
.
mail
.
trim
().
length
<=
0
?
t
.
showToast
({
title
:
"
请填写收票邮箱
"
,
icon
:
"
none
"
,
duration
:
1500
}):(
this
.
setData
({
isDisabled
:
!
0
}),
a
.
default
.
main
.
invoiceTempbilling
({
order_num
:
this
.
order_num
,
invoice_title
:
this
.
invoice_title
,
invoice_tax_number
:
this
.
invoice_tax_number
,
mail
:
this
.
mail
,
openid
:
t
.
getStorageSync
(
"
openid
"
)}).
then
((
function
(
i
){
console
.
log
(
i
,
"
res
"
),
200
!=
i
.
data
.
code
?
t
.
showToast
({
title
:
""
.
concat
(
i
.
data
.
message
),
icon
:
"
none
"
,
duration
:
1500
}):(
console
.
log
(
"
开票成功!
"
),
t
.
setStorageSync
(
"
invoice
"
,{
invoice_title
:
n
.
invoice_title
,
invoice_tax_number
:
n
.
invoice_tax_number
,
mail
:
n
.
mail
}),
t
.
showModal
({
title
:
"
提示
"
,
content
:
""
.
concat
(
i
.
data
.
message
),
showCancel
:
!
1
,
success
:
function
(
n
){
n
.
confirm
?
t
.
redirectTo
({
url
:
"
../index
"
}):
n
.
cancel
&&
console
.
log
(
"
用户点击取消
"
)}}))})))}}});
n
.
default
=
o
}).
call
(
this
,
i
(
"
6861
"
)[
"
default
"
])},
"
19cf
"
:
function
(
t
,
n
,
i
){
"
use strict
"
;
i
.
r
(
n
);
var
e
=
i
(
"
9d93
"
),
a
=
i
(
"
6b8a
"
);
for
(
var
o
in
a
)[
"
default
"
].
indexOf
(
o
)
<
0
&&
function
(
t
){
i
.
d
(
n
,
t
,(
function
(){
return
a
[
t
]}))}(
o
);
i
(
"
4bbd
"
);
var
c
=
i
(
"
828b
"
),
u
=
Object
(
c
[
"
a
"
])(
a
[
"
default
"
],
e
[
"
b
"
],
e
[
"
c
"
],
!
1
,
null
,
null
,
null
,
!
1
,
e
[
"
a
"
],
void
0
);
n
[
"
default
"
]
=
u
.
exports
},
"
4bbd
"
:
function
(
t
,
n
,
i
){
"
use strict
"
;
var
e
=
i
(
"
ceb8
"
),
a
=
i
.
n
(
e
);
a
.
a
},
"
54d8
"
:
function
(
t
,
n
,
i
){
"
use strict
"
;(
function
(
t
){
var
n
=
i
(
"
47a9
"
);
i
(
"
0d45
"
);
n
(
i
(
"
3240
"
));
var
e
=
n
(
i
(
"
19cf
"
));
my
.
__webpack_require_UNI_MP_PLUGIN__
=
i
,
t
(
e
.
default
)}).
call
(
this
,
i
(
"
6861
"
)[
"
createPage
"
])},
"
6b8a
"
:
function
(
t
,
n
,
i
){
"
use strict
"
;
i
.
r
(
n
);
var
e
=
i
(
"
0f45
"
),
a
=
i
.
n
(
e
);
for
(
var
o
in
e
)[
"
default
"
].
indexOf
(
o
)
<
0
&&
function
(
t
){
i
.
d
(
n
,
t
,(
function
(){
return
e
[
t
]}))}(
o
);
n
[
"
default
"
]
=
a
.
a
},
"
9d93
"
:
function
(
t
,
n
,
i
){
"
use strict
"
;
i
.
d
(
n
,
"
b
"
,(
function
(){
return
e
})),
i
.
d
(
n
,
"
c
"
,(
function
(){
return
a
})),
i
.
d
(
n
,
"
a
"
,(
function
(){}));
var
e
=
function
(){
var
t
=
this
.
$createElement
;
this
.
_self
.
_c
},
a
=
[]},
ceb8
:
function
(
t
,
n
,
i
){}},[[
"
54d8
"
,
"
common/runtime
"
,
"
common/vendor
"
]]]);
\ No newline at end of file
This diff is collapsed.
Click to expand it.
unpackage/dist/build/mp-alipay/pages/index/jfSuccess/jfSuccess.js
View file @
7b3b321d
(
my
[
"
webpackJsonp
"
]
=
my
[
"
webpackJsonp
"
]
||
[]).
push
([[
"
pages/index/jfSuccess/jfSuccess
"
],{
"
17e7
"
:
function
(
n
,
e
,
t
){
"
use strict
"
;(
function
(
n
){
Object
.
defineProperty
(
e
,
"
__esModule
"
,{
value
:
!
0
}),
e
.
default
=
void
0
;
var
t
=
new
Date
,
a
=
t
.
toLocaleDateString
(),
o
=
{
data
:
function
(){
return
{
datamess
:{
leave_time
:
""
,
car_code
:
""
,
parking_title
:
""
,
amount
:
""
},
ordernum
:
""
,
nowdata
:
a
}},
onLoad
:
function
(
n
){
console
.
log
(
n
),
this
.
setData
({
ordernum
:
n
.
sn
,
datamess
:
JSON
.
parse
(
n
.
datamess
)})},
onReady
:
function
(){},
onShow
:
function
(){},
onHide
:
function
(){},
onUnload
:
function
(){},
onPullDownRefresh
:
function
(){},
onReachBottom
:
function
(){},
onShareAppMessage
:
function
(){},
methods
:{
billingHandle
:
function
(){
n
.
navigateTo
({
url
:
"
../invoice/invoice?datamess=
"
+
JSON
.
stringify
(
this
.
datamess
)
+
"
&sn=
"
+
this
.
ordernum
})},
wanchengfn
:
function
(){
n
.
reLaunch
({
url
:
"
../index
"
})}}};
e
.
default
=
o
}).
call
(
this
,
t
(
"
c11b
"
)[
"
default
"
])},
"
449f
"
:
function
(
n
,
e
,
t
){
"
use strict
"
;
var
a
=
t
(
"
6a22
"
),
o
=
t
.
n
(
a
);
o
.
a
},
"
5f41
"
:
function
(
n
,
e
,
t
){
"
use strict
"
;
t
.
r
(
e
);
var
a
=
t
(
"
17e7
"
),
o
=
t
.
n
(
a
);
for
(
var
c
in
a
)[
"
default
"
].
indexOf
(
c
)
<
0
&&
function
(
n
){
t
.
d
(
e
,
n
,(
function
(){
return
a
[
n
]}))}(
c
);
e
[
"
default
"
]
=
o
.
a
},
"
6a22
"
:
function
(
n
,
e
,
t
){},
"
76ec
"
:
function
(
n
,
e
,
t
){
"
use strict
"
;
t
.
d
(
e
,
"
b
"
,(
function
(){
return
a
})),
t
.
d
(
e
,
"
c
"
,(
function
(){
return
o
})),
t
.
d
(
e
,
"
a
"
,(
function
(){}));
var
a
=
function
(){
var
n
=
this
.
$createElement
;
this
.
_self
.
_c
},
o
=
[]},
"
82ef
"
:
function
(
n
,
e
,
t
){
"
use strict
"
;(
function
(
n
){
var
e
=
t
(
"
4ea4
"
);
t
(
"
c72b
"
);
e
(
t
(
"
66fd
"
));
var
a
=
e
(
t
(
"
c0bb
"
));
my
.
__webpack_require_UNI_MP_PLUGIN__
=
t
,
n
(
a
.
default
)}).
call
(
this
,
t
(
"
c11b
"
)[
"
createPage
"
])},
c0bb
:
function
(
n
,
e
,
t
){
"
use strict
"
;
t
.
r
(
e
);
var
a
=
t
(
"
76ec
"
),
o
=
t
(
"
5f41
"
);
for
(
var
c
in
o
)[
"
default
"
].
indexOf
(
c
)
<
0
&&
function
(
n
){
t
.
d
(
e
,
n
,(
function
(){
return
o
[
n
]}))}(
c
);
t
(
"
449f
"
);
var
i
=
t
(
"
f0c5
"
),
u
=
Object
(
i
[
"
a
"
])(
o
[
"
default
"
],
a
[
"
b
"
],
a
[
"
c
"
],
!
1
,
null
,
null
,
null
,
!
1
,
a
[
"
a
"
],
void
0
);
e
[
"
default
"
]
=
u
.
exports
}},[[
"
82ef
"
,
"
common/runtime
"
,
"
common/vendor
"
]]]);
\ No newline at end of file
(
my
[
"
webpackJsonp
"
]
=
my
[
"
webpackJsonp
"
]
||
[]).
push
([[
"
pages/index/jfSuccess/jfSuccess
"
],{
"
0a98
"
:
function
(
n
,
t
,
e
){},
3740
:
function
(
n
,
t
,
e
){
"
use strict
"
;
e
.
d
(
t
,
"
b
"
,(
function
(){
return
a
})),
e
.
d
(
t
,
"
c
"
,(
function
(){
return
o
})),
e
.
d
(
t
,
"
a
"
,(
function
(){}));
var
a
=
function
(){
var
n
=
this
.
$createElement
;
this
.
_self
.
_c
},
o
=
[]},
"
41a7
"
:
function
(
n
,
t
,
e
){
"
use strict
"
;
var
a
=
e
(
"
0a98
"
),
o
=
e
.
n
(
a
);
o
.
a
},
"
45a4
"
:
function
(
n
,
t
,
e
){
"
use strict
"
;(
function
(
n
){
var
t
=
e
(
"
47a9
"
);
e
(
"
0d45
"
);
t
(
e
(
"
3240
"
));
var
a
=
t
(
e
(
"
c4fd
"
));
my
.
__webpack_require_UNI_MP_PLUGIN__
=
e
,
n
(
a
.
default
)}).
call
(
this
,
e
(
"
6861
"
)[
"
createPage
"
])},
8952
:
function
(
n
,
t
,
e
){
"
use strict
"
;
e
.
r
(
t
);
var
a
=
e
(
"
8e3f
"
),
o
=
e
.
n
(
a
);
for
(
var
i
in
a
)[
"
default
"
].
indexOf
(
i
)
<
0
&&
function
(
n
){
e
.
d
(
t
,
n
,(
function
(){
return
a
[
n
]}))}(
i
);
t
[
"
default
"
]
=
o
.
a
},
"
8e3f
"
:
function
(
n
,
t
,
e
){
"
use strict
"
;(
function
(
n
){
Object
.
defineProperty
(
t
,
"
__esModule
"
,{
value
:
!
0
}),
t
.
default
=
void
0
;
var
e
=
new
Date
,
a
=
e
.
toLocaleDateString
(),
o
=
{
data
:
function
(){
return
{
datamess
:{
leave_time
:
""
,
car_code
:
""
,
parking_title
:
""
,
amount
:
""
},
ordernum
:
""
,
nowdata
:
a
}},
onLoad
:
function
(
n
){
console
.
log
(
n
),
this
.
setData
({
ordernum
:
n
.
sn
,
datamess
:
JSON
.
parse
(
n
.
datamess
)})},
onReady
:
function
(){},
onShow
:
function
(){},
onHide
:
function
(){},
onUnload
:
function
(){},
onPullDownRefresh
:
function
(){},
onReachBottom
:
function
(){},
onShareAppMessage
:
function
(){},
methods
:{
billingHandle
:
function
(){
n
.
navigateTo
({
url
:
"
../invoice/invoice?datamess=
"
+
JSON
.
stringify
(
this
.
datamess
)
+
"
&sn=
"
+
this
.
ordernum
})},
wanchengfn
:
function
(){
n
.
reLaunch
({
url
:
"
../index
"
})}}};
t
.
default
=
o
}).
call
(
this
,
e
(
"
6861
"
)[
"
default
"
])},
c4fd
:
function
(
n
,
t
,
e
){
"
use strict
"
;
e
.
r
(
t
);
var
a
=
e
(
"
3740
"
),
o
=
e
(
"
8952
"
);
for
(
var
i
in
o
)[
"
default
"
].
indexOf
(
i
)
<
0
&&
function
(
n
){
e
.
d
(
t
,
n
,(
function
(){
return
o
[
n
]}))}(
i
);
e
(
"
41a7
"
);
var
u
=
e
(
"
828b
"
),
c
=
Object
(
u
[
"
a
"
])(
o
[
"
default
"
],
a
[
"
b
"
],
a
[
"
c
"
],
!
1
,
null
,
null
,
null
,
!
1
,
a
[
"
a
"
],
void
0
);
t
[
"
default
"
]
=
c
.
exports
}},[[
"
45a4
"
,
"
common/runtime
"
,
"
common/vendor
"
]]]);
\ No newline at end of file
This diff is collapsed.
Click to expand it.
unpackage/dist/build/mp-alipay/pages/index/tcjf/tcjf.js
View file @
7b3b321d
(
my
[
"
webpackJsonp
"
]
=
my
[
"
webpackJsonp
"
]
||
[]).
push
([[
"
pages/index/tcjf/tcjf
"
],{
"
19e3
"
:
function
(
a
,
e
,
t
){
"
use strict
"
;(
function
(
a
){
Object
.
defineProperty
(
e
,
"
__esModule
"
,{
value
:
!
0
}),
e
.
default
=
void
0
;
var
t
=
getApp
(),
n
=
{
data
:
function
(){
return
{
newsbol
:
!
1
,
datamess
:{
parking_image
:
""
,
parking_title
:
""
,
parking_rule
:
""
,
car_code
:
""
,
res_time
:
""
,
total_amount
:
""
,
deduction_amount
:
""
},
pid
:
""
,
isDisabled
:
!
1
}},
onLoad
:
function
(
a
){
this
.
setData
({
datamess
:
JSON
.
parse
(
a
.
datajson
),
pid
:
a
.
pid
,
isDisabled
:
!
1
})},
onReady
:
function
(){},
onShow
:
function
(){},
onHide
:
function
(){},
onUnload
:
function
(){},
onPullDownRefresh
:
function
(){},
onReachBottom
:
function
(){},
onShareAppMessage
:
function
(){},
methods
:{
querenPay
:
function
(){
var
e
=
this
;
e
.
setData
({
isDisabled
:
!
0
}),
a
.
request
({
url
:
t
.
globalData
.
url
+
"
/api/parking/createTempOrder
"
,
data
:{
pid
:
e
.
pid
,
car_code
:
e
.
datamess
.
car_code
,
openid
:
a
.
getStorageSync
(
"
openid
"
)},
header
:{
key
:
"
bdc27dab6487a7f4b94cefdfea8da8b8
"
,
token
:
"
bdc27dab6487a7f4b94cefdfea8da8b8
"
},
success
:
function
(
n
){
var
o
=
n
.
data
.
data
.
order_num
;
if
(
0
==
e
.
datamess
.
amount
)
return
console
.
log
(
"
没有费用
"
),
void
a
.
redirectTo
({
url
:
"
../jfSuccess/jfSuccess?datamess=
"
+
JSON
.
stringify
(
e
.
datamess
)
+
"
&sn=
"
+
o
});
a
.
login
({
success
:
function
(
n
){
n
.
code
&&
a
.
request
({
url
:
t
.
globalData
.
url
+
"
/api/pay/mini
"
,
data
:{
order_num
:
o
,
code
:
n
.
code
,
pay_mode
:
"
02
"
},
header
:{
key
:
"
bdc27dab6487a7f4b94cefdfea8da8b8
"
,
token
:
"
bdc27dab6487a7f4b94cefdfea8da8b8
"
},
success
:
function
(
t
){
200
==
t
.
data
.
code
?
a
.
requestPayment
({
orderInfo
:
t
.
data
.
data
.
tradeNO
,
timeStamp
:
t
.
data
.
data
.
timeStamp
,
nonceStr
:
t
.
data
.
data
.
nonceStr
,
package
:
t
.
data
.
data
.
package
,
signType
:
t
.
data
.
data
.
signType
,
paySign
:
t
.
data
.
data
.
paySign
,
success
:
function
(
t
){
"
9000
"
==
t
.
resultCode
?(
a
.
showToast
({
title
:
"
支付成功
"
,
icon
:
"
success
"
,
duration
:
1500
}),
setTimeout
((
function
(){
a
.
redirectTo
({
url
:
"
../jfSuccess/jfSuccess?datamess=
"
+
JSON
.
stringify
(
e
.
datamess
)
+
"
&sn=
"
+
o
})}),
1
e3
)):
a
.
showToast
({
title
:
"
支付失败
"
,
icon
:
"
none
"
,
duration
:
1500
})},
fail
:
function
(
e
){
a
.
showToast
({
title
:
"
支付失败
"
,
icon
:
"
none
"
,
duration
:
1500
})},
complete
:
function
(
a
){
e
.
setData
({
isDisabled
:
!
1
})}}):
a
.
showModal
({
title
:
"
提示
"
,
content
:
t
.
data
.
message
,
showCancel
:
!
1
,
success
:
function
(
a
){}})}})}})},
error
:
function
(
a
){
e
.
setData
({
isDisabled
:
!
1
})}})}}};
e
.
default
=
n
}).
call
(
this
,
t
(
"
c11b
"
)[
"
default
"
])},
4971
:
function
(
a
,
e
,
t
){
"
use strict
"
;
t
.
r
(
e
);
var
n
=
t
(
"
adec
"
),
o
=
t
(
"
a56f
"
);
for
(
var
c
in
o
)[
"
default
"
].
indexOf
(
c
)
<
0
&&
function
(
a
){
t
.
d
(
e
,
a
,(
function
(){
return
o
[
a
]}))}(
c
);
t
(
"
9f4d
"
);
var
i
=
t
(
"
f0c5
"
),
d
=
Object
(
i
[
"
a
"
])(
o
[
"
default
"
],
n
[
"
b
"
],
n
[
"
c
"
],
!
1
,
null
,
null
,
null
,
!
1
,
n
[
"
a
"
],
void
0
);
e
[
"
default
"
]
=
d
.
exports
},
"
4cf5
"
:
function
(
a
,
e
,
t
){
"
use strict
"
;(
function
(
a
){
var
e
=
t
(
"
4ea4
"
);
t
(
"
c72b
"
);
e
(
t
(
"
66fd
"
));
var
n
=
e
(
t
(
"
4971
"
));
my
.
__webpack_require_UNI_MP_PLUGIN__
=
t
,
a
(
n
.
default
)}).
call
(
this
,
t
(
"
c11b
"
)[
"
createPage
"
])},
7668
:
function
(
a
,
e
,
t
){},
"
9f4d
"
:
function
(
a
,
e
,
t
){
"
use strict
"
;
var
n
=
t
(
"
7668
"
),
o
=
t
.
n
(
n
);
o
.
a
},
a56f
:
function
(
a
,
e
,
t
){
"
use strict
"
;
t
.
r
(
e
);
var
n
=
t
(
"
19e3
"
),
o
=
t
.
n
(
n
);
for
(
var
c
in
n
)[
"
default
"
].
indexOf
(
c
)
<
0
&&
function
(
a
){
t
.
d
(
e
,
a
,(
function
(){
return
n
[
a
]}))}(
c
);
e
[
"
default
"
]
=
o
.
a
},
adec
:
function
(
a
,
e
,
t
){
"
use strict
"
;
t
.
d
(
e
,
"
b
"
,(
function
(){
return
n
})),
t
.
d
(
e
,
"
c
"
,(
function
(){
return
o
})),
t
.
d
(
e
,
"
a
"
,(
function
(){}));
var
n
=
function
(){
var
a
=
this
.
$createElement
;
this
.
_self
.
_c
},
o
=
[]}},[[
"
4cf5
"
,
"
common/runtime
"
,
"
common/vendor
"
]]]);
\ No newline at end of file
(
my
[
"
webpackJsonp
"
]
=
my
[
"
webpackJsonp
"
]
||
[]).
push
([[
"
pages/index/tcjf/tcjf
"
],{
"
015b
"
:
function
(
t
,
n
,
e
){
"
use strict
"
;
e
.
r
(
n
);
var
a
=
e
(
"
9f58
"
),
o
=
e
(
"
60f5
"
);
for
(
var
i
in
o
)[
"
default
"
].
indexOf
(
i
)
<
0
&&
function
(
t
){
e
.
d
(
n
,
t
,(
function
(){
return
o
[
t
]}))}(
i
);
e
(
"
c221
"
);
var
c
=
e
(
"
828b
"
),
s
=
Object
(
c
[
"
a
"
])(
o
[
"
default
"
],
a
[
"
b
"
],
a
[
"
c
"
],
!
1
,
null
,
null
,
null
,
!
1
,
a
[
"
a
"
],
void
0
);
n
[
"
default
"
]
=
s
.
exports
},
"
60f5
"
:
function
(
t
,
n
,
e
){
"
use strict
"
;
e
.
r
(
n
);
var
a
=
e
(
"
f242
"
),
o
=
e
.
n
(
a
);
for
(
var
i
in
a
)[
"
default
"
].
indexOf
(
i
)
<
0
&&
function
(
t
){
e
.
d
(
n
,
t
,(
function
(){
return
a
[
t
]}))}(
i
);
n
[
"
default
"
]
=
o
.
a
},
"
908e
"
:
function
(
t
,
n
,
e
){},
"
9f58
"
:
function
(
t
,
n
,
e
){
"
use strict
"
;
e
.
d
(
n
,
"
b
"
,(
function
(){
return
a
})),
e
.
d
(
n
,
"
c
"
,(
function
(){
return
o
})),
e
.
d
(
n
,
"
a
"
,(
function
(){}));
var
a
=
function
(){
var
t
=
this
.
$createElement
;
this
.
_self
.
_c
},
o
=
[]},
c221
:
function
(
t
,
n
,
e
){
"
use strict
"
;
var
a
=
e
(
"
908e
"
),
o
=
e
.
n
(
a
);
o
.
a
},
f188
:
function
(
t
,
n
,
e
){
"
use strict
"
;(
function
(
t
){
var
n
=
e
(
"
47a9
"
);
e
(
"
0d45
"
);
n
(
e
(
"
3240
"
));
var
a
=
n
(
e
(
"
015b
"
));
my
.
__webpack_require_UNI_MP_PLUGIN__
=
e
,
t
(
a
.
default
)}).
call
(
this
,
e
(
"
6861
"
)[
"
createPage
"
])},
f242
:
function
(
t
,
n
,
e
){
"
use strict
"
;(
function
(
t
){
var
a
=
e
(
"
47a9
"
);
Object
.
defineProperty
(
n
,
"
__esModule
"
,{
value
:
!
0
}),
n
.
default
=
void
0
;
var
o
=
a
(
e
(
"
25f0
"
)),
i
=
(
getApp
(),{
data
:
function
(){
return
{
newsbol
:
!
1
,
datamess
:{
parking_image
:
""
,
parking_title
:
""
,
parking_rule
:
""
,
car_code
:
""
,
res_time
:
""
,
total_amount
:
""
,
deduction_amount
:
""
},
pid
:
""
,
isDisabled
:
!
1
}},
onLoad
:
function
(
t
){
this
.
setData
({
datamess
:
JSON
.
parse
(
t
.
datajson
),
pid
:
t
.
pid
,
isDisabled
:
!
1
})},
onReady
:
function
(){},
onShow
:
function
(){},
onHide
:
function
(){},
onUnload
:
function
(){},
onPullDownRefresh
:
function
(){},
onReachBottom
:
function
(){},
onShareAppMessage
:
function
(){},
methods
:{
querenPay
:
function
(){
var
n
=
this
;
n
.
setData
({
isDisabled
:
!
0
}),
o
.
default
.
main
.
createTempOrder
({
pid
:
n
.
pid
,
car_code
:
n
.
datamess
.
car_code
,
openid
:
t
.
getStorageSync
(
"
openid
"
)}).
then
((
function
(
e
){
var
a
=
e
.
data
.
data
.
order_num
;
if
(
0
==
n
.
datamess
.
amount
)
return
console
.
log
(
"
没有费用
"
),
void
t
.
redirectTo
({
url
:
"
../jfSuccess/jfSuccess?datamess=
"
+
JSON
.
stringify
(
n
.
datamess
)
+
"
&sn=
"
+
a
});
t
.
login
({
success
:
function
(
e
){
e
.
code
&&
o
.
default
.
main
.
payMini
({
order_num
:
a
,
code
:
e
.
code
,
pay_mode
:
"
02
"
}).
then
((
function
(
e
){
200
==
e
.
data
.
code
?
t
.
requestPayment
({
orderInfo
:
e
.
data
.
data
.
tradeNO
,
timeStamp
:
e
.
data
.
data
.
timeStamp
,
nonceStr
:
e
.
data
.
data
.
nonceStr
,
package
:
e
.
data
.
data
.
package
,
signType
:
e
.
data
.
data
.
signType
,
paySign
:
e
.
data
.
data
.
paySign
,
success
:
function
(
e
){
"
9000
"
==
e
.
resultCode
?(
t
.
showToast
({
title
:
"
支付成功
"
,
icon
:
"
success
"
,
duration
:
1500
}),
setTimeout
((
function
(){
t
.
redirectTo
({
url
:
"
../jfSuccess/jfSuccess?datamess=
"
+
JSON
.
stringify
(
n
.
datamess
)
+
"
&sn=
"
+
a
})}),
1
e3
)):
t
.
showToast
({
title
:
"
支付失败
"
,
icon
:
"
none
"
,
duration
:
1500
})},
fail
:
function
(
n
){
t
.
showToast
({
title
:
"
支付失败
"
,
icon
:
"
none
"
,
duration
:
1500
})},
complete
:
function
(
t
){
n
.
setData
({
isDisabled
:
!
1
})}}):
t
.
showModal
({
title
:
"
提示
"
,
content
:
e
.
data
.
message
,
showCancel
:
!
1
,
success
:
function
(
t
){}})}))}})}))}}});
n
.
default
=
i
}).
call
(
this
,
e
(
"
6861
"
)[
"
default
"
])}},[[
"
f188
"
,
"
common/runtime
"
,
"
common/vendor
"
]]]);
\ No newline at end of file
This diff is collapsed.
Click to expand it.
unpackage/dist/build/mp-alipay/pages/index/tclist/tclist.js
View file @
7b3b321d
(
my
[
"
webpackJsonp
"
]
=
my
[
"
webpackJsonp
"
]
||
[]).
push
([[
"
pages/index/tclist/tclist
"
],{
"
3a41
"
:
function
(
t
,
e
,
n
){
"
use strict
"
;(
function
(
t
){
Object
.
defineProperty
(
e
,
"
__esModule
"
,{
value
:
!
0
}),
e
.
default
=
void
0
;
var
n
=
getApp
(),
a
=
{
data
:
function
(){
return
{
list
:[]}},
onLoad
:
function
(
t
){},
onReady
:
function
(){},
onShow
:
function
(){
var
e
=
this
;
t
.
request
({
url
:
n
.
globalData
.
url
+
"
/api/parking/parkingList
"
,
header
:{
key
:
"
bdc27dab6487a7f4b94cefdfea8da8b8
"
,
token
:
"
bdc27dab6487a7f4b94cefdfea8da8b8
"
},
success
:
function
(
t
){
console
.
log
(
t
.
data
.
data
),
e
.
setData
({
list
:
t
.
data
.
data
})}})},
onHide
:
function
(){},
onUnload
:
function
(){},
onPullDownRefresh
:
function
(){},
onReachBottom
:
function
(){},
onShareAppMessage
:
function
(){},
methods
:{
selecttc
:
function
(
e
){
t
.
setStorageSync
(
"
cname
"
,
e
.
currentTarget
.
dataset
.
name
),
t
.
setStorageSync
(
"
cid
"
,
e
.
currentTarget
.
dataset
.
cid
),
t
.
setStorageSync
(
"
shortname
"
,
e
.
currentTarget
.
dataset
.
shortname
),
t
.
redirectTo
({
url
:
"
../index
"
})}}};
e
.
default
=
a
}).
call
(
this
,
n
(
"
c11b
"
)[
"
default
"
])},
"
79cb
"
:
function
(
t
,
e
,
n
){
"
use strict
"
;
n
.
d
(
e
,
"
b
"
,(
function
(){
return
a
})),
n
.
d
(
e
,
"
c
"
,(
function
(){
return
c
})),
n
.
d
(
e
,
"
a
"
,(
function
(){}));
var
a
=
function
(){
var
t
=
this
.
$createElement
;
this
.
_self
.
_c
},
c
=
[]},
"
8d4e
"
:
function
(
t
,
e
,
n
){
"
use strict
"
;
n
.
r
(
e
);
var
a
=
n
(
"
3a41
"
),
c
=
n
.
n
(
a
);
for
(
var
o
in
a
)[
"
default
"
].
indexOf
(
o
)
<
0
&&
function
(
t
){
n
.
d
(
e
,
t
,(
function
(){
return
a
[
t
]}))}(
o
);
e
[
"
default
"
]
=
c
.
a
},
b322
:
function
(
t
,
e
,
n
){
"
use strict
"
;
var
a
=
n
(
"
f46e
"
),
c
=
n
.
n
(
a
);
c
.
a
},
e933
:
function
(
t
,
e
,
n
){
"
use strict
"
;
n
.
r
(
e
);
var
a
=
n
(
"
79cb
"
),
c
=
n
(
"
8d4e
"
);
for
(
var
o
in
c
)[
"
default
"
].
indexOf
(
o
)
<
0
&&
function
(
t
){
n
.
d
(
e
,
t
,(
function
(){
return
c
[
t
]}))}(
o
);
n
(
"
b322
"
);
var
r
=
n
(
"
f0c5
"
),
u
=
Object
(
r
[
"
a
"
])(
c
[
"
default
"
],
a
[
"
b
"
],
a
[
"
c
"
],
!
1
,
null
,
null
,
null
,
!
1
,
a
[
"
a
"
],
void
0
);
e
[
"
default
"
]
=
u
.
exports
},
e959
:
function
(
t
,
e
,
n
){
"
use strict
"
;(
function
(
t
){
var
e
=
n
(
"
4ea4
"
);
n
(
"
c72b
"
);
e
(
n
(
"
66fd
"
));
var
a
=
e
(
n
(
"
e933
"
));
my
.
__webpack_require_UNI_MP_PLUGIN__
=
n
,
t
(
a
.
default
)}).
call
(
this
,
n
(
"
c11b
"
)[
"
createPage
"
])},
f46e
:
function
(
t
,
e
,
n
){}},[[
"
e959
"
,
"
common/runtime
"
,
"
common/vendor
"
]]]);
\ No newline at end of file
(
my
[
"
webpackJsonp
"
]
=
my
[
"
webpackJsonp
"
]
||
[]).
push
([[
"
pages/index/tclist/tclist
"
],{
3300
:
function
(
t
,
n
,
e
){
"
use strict
"
;
e
.
r
(
n
);
var
a
=
e
(
"
f810
"
),
c
=
e
(
"
ed16
"
);
for
(
var
o
in
c
)[
"
default
"
].
indexOf
(
o
)
<
0
&&
function
(
t
){
e
.
d
(
n
,
t
,(
function
(){
return
c
[
t
]}))}(
o
);
e
(
"
f769
"
);
var
r
=
e
(
"
828b
"
),
i
=
Object
(
r
[
"
a
"
])(
c
[
"
default
"
],
a
[
"
b
"
],
a
[
"
c
"
],
!
1
,
null
,
null
,
null
,
!
1
,
a
[
"
a
"
],
void
0
);
n
[
"
default
"
]
=
i
.
exports
},
"
46ac
"
:
function
(
t
,
n
,
e
){},
6828
:
function
(
t
,
n
,
e
){
"
use strict
"
;(
function
(
t
){
var
n
=
e
(
"
47a9
"
);
e
(
"
0d45
"
);
n
(
e
(
"
3240
"
));
var
a
=
n
(
e
(
"
3300
"
));
my
.
__webpack_require_UNI_MP_PLUGIN__
=
e
,
t
(
a
.
default
)}).
call
(
this
,
e
(
"
6861
"
)[
"
createPage
"
])},
ed16
:
function
(
t
,
n
,
e
){
"
use strict
"
;
e
.
r
(
n
);
var
a
=
e
(
"
f2fc
"
),
c
=
e
.
n
(
a
);
for
(
var
o
in
a
)[
"
default
"
].
indexOf
(
o
)
<
0
&&
function
(
t
){
e
.
d
(
n
,
t
,(
function
(){
return
a
[
t
]}))}(
o
);
n
[
"
default
"
]
=
c
.
a
},
f2fc
:
function
(
t
,
n
,
e
){
"
use strict
"
;(
function
(
t
){
var
a
=
e
(
"
47a9
"
);
Object
.
defineProperty
(
n
,
"
__esModule
"
,{
value
:
!
0
}),
n
.
default
=
void
0
;
var
c
=
a
(
e
(
"
25f0
"
)),
o
=
(
getApp
(),{
data
:
function
(){
return
{
list
:[]}},
onLoad
:
function
(
t
){},
onReady
:
function
(){},
onShow
:
function
(){
var
t
=
this
;
c
.
default
.
main
.
parkingParkingList
({}).
then
((
function
(
n
){
console
.
log
(
n
.
data
.
data
),
t
.
setData
({
list
:
n
.
data
.
data
})}))},
onHide
:
function
(){},
onUnload
:
function
(){},
onPullDownRefresh
:
function
(){},
onReachBottom
:
function
(){},
onShareAppMessage
:
function
(){},
methods
:{
selecttc
:
function
(
n
){
t
.
setStorageSync
(
"
cname
"
,
n
.
currentTarget
.
dataset
.
name
),
t
.
setStorageSync
(
"
cid
"
,
n
.
currentTarget
.
dataset
.
cid
),
t
.
setStorageSync
(
"
shortname
"
,
n
.
currentTarget
.
dataset
.
shortname
),
t
.
redirectTo
({
url
:
"
../index
"
})}}});
n
.
default
=
o
}).
call
(
this
,
e
(
"
6861
"
)[
"
default
"
])},
f769
:
function
(
t
,
n
,
e
){
"
use strict
"
;
var
a
=
e
(
"
46ac
"
),
c
=
e
.
n
(
a
);
c
.
a
},
f810
:
function
(
t
,
n
,
e
){
"
use strict
"
;
e
.
d
(
n
,
"
b
"
,(
function
(){
return
a
})),
e
.
d
(
n
,
"
c
"
,(
function
(){
return
c
})),
e
.
d
(
n
,
"
a
"
,(
function
(){}));
var
a
=
function
(){
var
t
=
this
.
$createElement
;
this
.
_self
.
_c
},
c
=
[]}},[[
"
6828
"
,
"
common/runtime
"
,
"
common/vendor
"
]]]);
\ No newline at end of file
This diff is collapsed.
Click to expand it.
unpackage/dist/build/mp-alipay/pages/index/yhj/yhj.js
View file @
7b3b321d
(
my
[
"
webpackJsonp
"
]
=
my
[
"
webpackJsonp
"
]
||
[]).
push
([[
"
pages/index/yhj/yhj
"
],{
"
12f0
"
:
function
(
e
,
n
,
a
){
"
use strict
"
;(
function
(
e
){
var
n
=
a
(
"
4ea4
"
);
a
(
"
c72b
"
);
n
(
a
(
"
66fd
"
));
var
t
=
n
(
a
(
"
8b1a
"
));
my
.
__webpack_require_UNI_MP_PLUGIN__
=
a
,
e
(
t
.
default
)}).
call
(
this
,
a
(
"
c11b
"
)[
"
createPage
"
])},
"
15d1
"
:
function
(
e
,
n
,
a
){},
"
37b2
"
:
function
(
e
,
n
,
a
){
"
use strict
"
;(
function
(
e
){
Object
.
defineProperty
(
n
,
"
__esModule
"
,{
value
:
!
0
}),
n
.
default
=
void
0
;
var
a
=
getApp
(),
t
=
{
data
:
function
(){
return
{
message
:
""
,
isDisabled
:
!
1
}},
onLoad
:
function
(
n
){
console
.
log
();
var
t
=
decodeURIComponent
(
n
.
scene
),
o
=
this
;
e
.
getStorageSync
(
"
openid
"
)
||
e
.
login
({
success
:
function
(
n
){
n
.
code
?
e
.
request
({
url
:
a
.
globalData
.
url
+
"
/api/parking/getopenid
"
,
data
:{
code
:
n
.
code
},
header
:{
key
:
"
bdc27dab6487a7f4b94cefdfea8da8b8
"
,
token
:
"
bdc27dab6487a7f4b94cefdfea8da8b8
"
},
success
:
function
(
n
){
console
.
log
(
n
),
e
.
setStorageSync
(
"
openid
"
,
n
.
data
.
data
.
openid
),
callback
&&
callback
(
n
.
data
.
data
.
openid
)}}):
e
.
showToast
({
title
:
"
登录失败
"
,
icon
:
"
none
"
,
duration
:
2
e3
})}}),
e
.
request
({
url
:
a
.
globalData
.
url
+
"
/api/parking/getcoupon
"
,
method
:
"
post
"
,
data
:{
pid
:
this
.
getUrlParam
(
"
pid
"
,
t
),
id
:
this
.
getUrlParam
(
"
id
"
,
t
),
openid
:
e
.
getStorageSync
(
"
openid
"
)},
header
:{
key
:
"
bdc27dab6487a7f4b94cefdfea8da8b8
"
,
token
:
"
bdc27dab6487a7f4b94cefdfea8da8b8
"
},
success
:
function
(
n
){
200
==
n
.
data
.
code
?
o
.
setData
({
message
:
"
领取成功
"
}):
o
.
setData
({
message
:
"
领取失败
"
+
n
.
data
.
message
}),
e
.
showModal
({
title
:
"
领取优惠卷
"
,
content
:
n
.
data
.
message
,
showCancel
:
!
1
,
success
:
function
(
n
){
n
.
confirm
,
e
.
redirectTo
({
url
:
"
../index
"
})}})}})},
onReady
:
function
(){},
onShow
:
function
(){},
onHide
:
function
(){},
onUnload
:
function
(){},
onPullDownRefresh
:
function
(){},
onReachBottom
:
function
(){},
onShareAppMessage
:
function
(){},
methods
:{
getUrlParam
:
function
(
e
,
n
){
var
a
=
new
RegExp
(
"
(^|&)
"
+
e
+
"
=([^&]*)(&|$)
"
),
t
=
n
.
match
(
a
);
return
null
!=
t
?
t
[
2
]:
null
},
querenPay
:
function
(){
this
.
setData
({
isDisabled
:
!
0
}),
e
.
redirectTo
({
url
:
"
../index
"
})}}};
n
.
default
=
t
}).
call
(
this
,
a
(
"
c11b
"
)[
"
default
"
])},
4094
:
function
(
e
,
n
,
a
){
"
use strict
"
;
a
.
r
(
n
);
var
t
=
a
(
"
37b2
"
),
o
=
a
.
n
(
t
);
for
(
var
c
in
t
)[
"
default
"
].
indexOf
(
c
)
<
0
&&
function
(
e
){
a
.
d
(
n
,
e
,(
function
(){
return
t
[
e
]}))}(
c
);
n
[
"
default
"
]
=
o
.
a
},
"
799a
"
:
function
(
e
,
n
,
a
){
"
use strict
"
;
a
.
d
(
n
,
"
b
"
,(
function
(){
return
t
})),
a
.
d
(
n
,
"
c
"
,(
function
(){
return
o
})),
a
.
d
(
n
,
"
a
"
,(
function
(){}));
var
t
=
function
(){
var
e
=
this
.
$createElement
;
this
.
_self
.
_c
},
o
=
[]},
"
8b1a
"
:
function
(
e
,
n
,
a
){
"
use strict
"
;
a
.
r
(
n
);
var
t
=
a
(
"
799a
"
),
o
=
a
(
"
4094
"
);
for
(
var
c
in
o
)[
"
default
"
].
indexOf
(
c
)
<
0
&&
function
(
e
){
a
.
d
(
n
,
e
,(
function
(){
return
o
[
e
]}))}(
c
);
a
(
"
bed1
"
);
var
d
=
a
(
"
f0c5
"
),
i
=
Object
(
d
[
"
a
"
])(
o
[
"
default
"
],
t
[
"
b
"
],
t
[
"
c
"
],
!
1
,
null
,
null
,
null
,
!
1
,
t
[
"
a
"
],
void
0
);
n
[
"
default
"
]
=
i
.
exports
},
bed1
:
function
(
e
,
n
,
a
){
"
use strict
"
;
var
t
=
a
(
"
15d1
"
),
o
=
a
.
n
(
t
);
o
.
a
}},[[
"
12f0
"
,
"
common/runtime
"
,
"
common/vendor
"
]]]);
\ No newline at end of file
(
my
[
"
webpackJsonp
"
]
=
my
[
"
webpackJsonp
"
]
||
[]).
push
([[
"
pages/index/yhj/yhj
"
],{
"
05e2
"
:
function
(
n
,
e
,
t
){
"
use strict
"
;
t
.
d
(
e
,
"
b
"
,(
function
(){
return
o
})),
t
.
d
(
e
,
"
c
"
,(
function
(){
return
i
})),
t
.
d
(
e
,
"
a
"
,(
function
(){}));
var
o
=
function
(){
var
n
=
this
.
$createElement
;
this
.
_self
.
_c
},
i
=
[]},
1448
:
function
(
n
,
e
,
t
){},
"
2cb2
"
:
function
(
n
,
e
,
t
){
"
use strict
"
;
t
.
r
(
e
);
var
o
=
t
(
"
e56b
"
),
i
=
t
.
n
(
o
);
for
(
var
a
in
o
)[
"
default
"
].
indexOf
(
a
)
<
0
&&
function
(
n
){
t
.
d
(
e
,
n
,(
function
(){
return
o
[
n
]}))}(
a
);
e
[
"
default
"
]
=
i
.
a
},
3487
:
function
(
n
,
e
,
t
){
"
use strict
"
;
var
o
=
t
(
"
1448
"
),
i
=
t
.
n
(
o
);
i
.
a
},
"
69e0
"
:
function
(
n
,
e
,
t
){
"
use strict
"
;(
function
(
n
){
var
e
=
t
(
"
47a9
"
);
t
(
"
0d45
"
);
e
(
t
(
"
3240
"
));
var
o
=
e
(
t
(
"
d41e
"
));
my
.
__webpack_require_UNI_MP_PLUGIN__
=
t
,
n
(
o
.
default
)}).
call
(
this
,
t
(
"
6861
"
)[
"
createPage
"
])},
d41e
:
function
(
n
,
e
,
t
){
"
use strict
"
;
t
.
r
(
e
);
var
o
=
t
(
"
05e2
"
),
i
=
t
(
"
2cb2
"
);
for
(
var
a
in
i
)[
"
default
"
].
indexOf
(
a
)
<
0
&&
function
(
n
){
t
.
d
(
e
,
n
,(
function
(){
return
i
[
n
]}))}(
a
);
t
(
"
3487
"
);
var
c
=
t
(
"
828b
"
),
u
=
Object
(
c
[
"
a
"
])(
i
[
"
default
"
],
o
[
"
b
"
],
o
[
"
c
"
],
!
1
,
null
,
null
,
null
,
!
1
,
o
[
"
a
"
],
void
0
);
e
[
"
default
"
]
=
u
.
exports
},
e56b
:
function
(
n
,
e
,
t
){
"
use strict
"
;(
function
(
n
){
var
o
=
t
(
"
47a9
"
);
Object
.
defineProperty
(
e
,
"
__esModule
"
,{
value
:
!
0
}),
e
.
default
=
void
0
;
var
i
=
o
(
t
(
"
25f0
"
)),
a
=
(
getApp
(),{
data
:
function
(){
return
{
message
:
""
,
isDisabled
:
!
1
,
id
:
""
,
pid
:
""
}},
onLoad
:
function
(
e
){
var
t
=
this
;
console
.
log
();
var
o
=
decodeURIComponent
(
e
.
scene
);
this
.
pid
=
this
.
getUrlParam
(
"
pid
"
,
o
),
this
.
id
=
this
.
getUrlParam
(
"
id
"
,
o
),
n
.
getStorageSync
(
"
openid
"
)?
this
.
getCoupon
():
n
.
login
({
success
:
function
(
e
){
e
.
code
?
i
.
default
.
main
.
parkingGetopenid
({
code
:
e
.
code
}).
then
((
function
(
e
){
console
.
log
(
e
),
n
.
setStorageSync
(
"
openid
"
,
e
.
data
.
data
.
openid
),
t
.
getCoupon
()})):
n
.
showToast
({
title
:
"
登录失败
"
,
icon
:
"
none
"
,
duration
:
2
e3
})}})},
onReady
:
function
(){},
onShow
:
function
(){},
onHide
:
function
(){},
onUnload
:
function
(){},
onPullDownRefresh
:
function
(){},
onReachBottom
:
function
(){},
onShareAppMessage
:
function
(){},
methods
:{
getCoupon
:
function
(){
var
e
=
this
;
i
.
default
.
main
.
parkingGetcoupon
({
pid
:
this
.
pid
,
id
:
this
.
id
,
openid
:
n
.
getStorageSync
(
"
openid
"
)}).
then
((
function
(
t
){
200
==
t
.
data
.
code
?
e
.
setData
({
message
:
"
领取成功
"
}):
e
.
setData
({
message
:
"
领取失败
"
+
t
.
data
.
message
}),
n
.
showModal
({
title
:
"
领取优惠卷
"
,
content
:
t
.
data
.
message
,
showCancel
:
!
1
,
success
:
function
(
t
){
t
.
confirm
?
n
.
redirectTo
({
url
:
"
../index?pid=
"
.
concat
(
e
.
pid
)}):
n
.
redirectTo
({
url
:
"
../index?pid=
"
.
concat
(
e
.
id
)})}})}))},
getUrlParam
:
function
(
n
,
e
){
var
t
=
new
RegExp
(
"
(^|&)
"
+
n
+
"
=([^&]*)(&|$)
"
),
o
=
e
.
match
(
t
);
return
null
!=
o
?
o
[
2
]:
null
},
querenPay
:
function
(){
this
.
setData
({
isDisabled
:
!
0
}),
n
.
redirectTo
({
url
:
"
../index
"
})}}});
e
.
default
=
a
}).
call
(
this
,
t
(
"
6861
"
)[
"
default
"
])}},[[
"
69e0
"
,
"
common/runtime
"
,
"
common/vendor
"
]]]);
\ No newline at end of file
This diff is collapsed.
Click to expand it.
unpackage/dist/build/mp-alipay/pages/pay/pay.js
View file @
7b3b321d
(
my
[
"
webpackJsonp
"
]
=
my
[
"
webpackJsonp
"
]
||
[]).
push
([[
"
pages/pay/pay
"
],{
"
054e
"
:
function
(
t
,
e
,
n
){
"
use strict
"
;
n
.
r
(
e
);
var
a
=
n
(
"
ee68
"
),
o
=
n
.
n
(
a
);
for
(
var
c
in
a
)[
"
default
"
].
indexOf
(
c
)
<
0
&&
function
(
t
){
n
.
d
(
e
,
t
,(
function
(){
return
a
[
t
]}))}(
c
);
e
[
"
default
"
]
=
o
.
a
},
"
11f9
"
:
function
(
t
,
e
,
n
){},
bbb3
:
function
(
t
,
e
,
n
){
"
use strict
"
;
var
a
=
n
(
"
11f9
"
),
o
=
n
.
n
(
a
);
o
.
a
},
d2c3
:
function
(
t
,
e
,
n
){
"
use strict
"
;
n
.
d
(
e
,
"
b
"
,(
function
(){
return
a
})),
n
.
d
(
e
,
"
c
"
,(
function
(){
return
o
})),
n
.
d
(
e
,
"
a
"
,(
function
(){}));
var
a
=
function
(){
var
t
=
this
.
$createElement
;
this
.
_self
.
_c
},
o
=
[]},
ed7e
:
function
(
t
,
e
,
n
){
"
use strict
"
;(
function
(
t
){
var
e
=
n
(
"
4ea4
"
);
n
(
"
c72b
"
);
e
(
n
(
"
66fd
"
));
var
a
=
e
(
n
(
"
f013
"
));
my
.
__webpack_require_UNI_MP_PLUGIN__
=
n
,
t
(
a
.
default
)}).
call
(
this
,
n
(
"
c11b
"
)[
"
createPage
"
])},
ee68
:
function
(
t
,
e
,
n
){
"
use strict
"
;(
function
(
t
){
Object
.
defineProperty
(
e
,
"
__esModule
"
,{
value
:
!
0
}),
e
.
default
=
void
0
;
var
n
=
getApp
(),
a
=
{
data
:
function
(){
return
{
pay_btn_text
:
"
支付中
"
,
platform
:
""
}},
onLoad
:
function
(
e
){
var
a
=
e
.
order_num
;
if
(
!
e
.
order_num
){
var
o
=
t
.
getLaunchOptionsSync
();
a
=
o
.
query
.
order_num
}
var
c
=
this
;
t
.
getSystemInfo
({
success
:
function
(
t
){
c
.
setData
({
platform
:
t
.
platform
})}}),
a
&&
t
.
login
({
success
:
function
(
e
){
e
.
code
?(
console
.
log
(
e
),
t
.
request
({
url
:
n
.
globalData
.
url
+
"
/api/pay/mini
"
,
data
:{
code
:
e
.
code
,
order_num
:
a
,
pay_mode
:
"
02
"
},
success
:
function
(
e
){
console
.
log
(
e
.
data
),
200
==
e
.
data
.
code
?
t
.
requestPayment
({
orderInfo
:
e
.
data
.
data
.
tradeNO
,
timeStamp
:
e
.
data
.
data
.
timeStamp
,
nonceStr
:
e
.
data
.
data
.
nonceStr
,
package
:
e
.
data
.
data
.
package
,
signType
:
e
.
data
.
data
.
signType
,
paySign
:
e
.
data
.
data
.
paySign
,
success
:
function
(
e
){
"
9000
"
==
e
.
resultCode
?(
t
.
showToast
({
title
:
"
支付成功
"
,
icon
:
"
success
"
,
duration
:
1500
}),
setTimeout
((
function
(){
t
.
redirectTo
({
url
:
"
../jfSuccess/jfSuccess?datamess=
"
+
JSON
.
stringify
(
c
.
datamess
)
+
"
&sn=
"
+
a
})}),
1
e3
)):(
t
.
showToast
({
title
:
"
支付失败
"
,
icon
:
"
none
"
,
duration
:
1500
}),
c
.
setData
({
pay_btn_text
:
"
支付失败
"
}))},
fail
:
function
(
e
){
t
.
showToast
({
title
:
"
支付失败
"
,
icon
:
"
none
"
,
duration
:
1500
}),
c
.
setData
({
pay_btn_text
:
"
支付失败
"
})}}):(
t
.
showModal
({
title
:
"
提示
"
,
content
:
e
.
data
.
message
,
showCancel
:
!
1
,
success
:
function
(
t
){}}),
c
.
setData
({
pay_btn_text
:
e
.
data
.
message
}))}})):
console
.
log
(
"
登录失败!
"
+
e
.
errMsg
)}})},
methods
:{
launchApp
:
function
(){
my
.
exitMiniProgram
()},
exitMiniProgram
:
function
(){
my
.
exitMiniProgram
({
complete
:
function
(
t
){
console
.
log
(
t
)}})},
launchAppError
:
function
(
t
){
console
.
log
(
"
占位:函数 launchAppError 未声明
"
)}}};
e
.
default
=
a
}).
call
(
this
,
n
(
"
c11b
"
)[
"
default
"
])},
f013
:
function
(
t
,
e
,
n
){
"
use strict
"
;
n
.
r
(
e
);
var
a
=
n
(
"
d2c3
"
),
o
=
n
(
"
054e
"
);
for
(
var
c
in
o
)[
"
default
"
].
indexOf
(
c
)
<
0
&&
function
(
t
){
n
.
d
(
e
,
t
,(
function
(){
return
o
[
t
]}))}(
c
);
n
(
"
bbb3
"
);
var
i
=
n
(
"
f0c5
"
),
r
=
Object
(
i
[
"
a
"
])(
o
[
"
default
"
],
a
[
"
b
"
],
a
[
"
c
"
],
!
1
,
null
,
null
,
null
,
!
1
,
a
[
"
a
"
],
void
0
);
e
[
"
default
"
]
=
r
.
exports
}},[[
"
ed7e
"
,
"
common/runtime
"
,
"
common/vendor
"
]]]);
\ No newline at end of file
(
my
[
"
webpackJsonp
"
]
=
my
[
"
webpackJsonp
"
]
||
[]).
push
([[
"
pages/pay/pay
"
],{
"
0c27
"
:
function
(
t
,
a
,
n
){
"
use strict
"
;
var
e
=
n
(
"
5751
"
),
o
=
n
.
n
(
e
);
o
.
a
},
5751
:
function
(
t
,
a
,
n
){},
"
94ba
"
:
function
(
t
,
a
,
n
){
"
use strict
"
;(
function
(
t
){
var
e
=
n
(
"
47a9
"
);
Object
.
defineProperty
(
a
,
"
__esModule
"
,{
value
:
!
0
}),
a
.
default
=
void
0
;
var
o
=
e
(
n
(
"
25f0
"
)),
c
=
(
getApp
(),{
data
:
function
(){
return
{
pay_btn_text
:
"
支付中
"
,
platform
:
""
}},
onLoad
:
function
(
a
){
var
n
=
a
.
order_num
;
if
(
!
a
.
order_num
){
var
e
=
t
.
getLaunchOptionsSync
();
n
=
e
.
query
.
order_num
}
var
c
=
this
;
t
.
getSystemInfo
({
success
:
function
(
t
){
c
.
setData
({
platform
:
t
.
platform
})}}),
n
&&
t
.
login
({
success
:
function
(
a
){
a
.
code
?(
console
.
log
(
a
),
o
.
default
.
main
.
payMini
({
code
:
a
.
code
,
order_num
:
n
,
pay_mode
:
"
02
"
}).
then
((
function
(
a
){
console
.
log
(
a
.
data
),
200
==
a
.
data
.
code
?
t
.
requestPayment
({
orderInfo
:
a
.
data
.
data
.
tradeNO
,
timeStamp
:
a
.
data
.
data
.
timeStamp
,
nonceStr
:
a
.
data
.
data
.
nonceStr
,
package
:
a
.
data
.
data
.
package
,
signType
:
a
.
data
.
data
.
signType
,
paySign
:
a
.
data
.
data
.
paySign
,
success
:
function
(
a
){
"
9000
"
==
a
.
resultCode
?(
t
.
showToast
({
title
:
"
支付成功
"
,
icon
:
"
success
"
,
duration
:
1500
}),
setTimeout
((
function
(){
t
.
redirectTo
({
url
:
"
../jfSuccess/jfSuccess?datamess=
"
+
JSON
.
stringify
(
c
.
datamess
)
+
"
&sn=
"
+
n
})}),
1
e3
)):(
t
.
showToast
({
title
:
"
支付失败
"
,
icon
:
"
none
"
,
duration
:
1500
}),
c
.
setData
({
pay_btn_text
:
"
支付失败
"
}))},
fail
:
function
(
a
){
t
.
showToast
({
title
:
"
支付失败
"
,
icon
:
"
none
"
,
duration
:
1500
}),
c
.
setData
({
pay_btn_text
:
"
支付失败
"
})}}):(
t
.
showModal
({
title
:
"
提示
"
,
content
:
a
.
data
.
message
,
showCancel
:
!
1
,
success
:
function
(
t
){}}),
c
.
setData
({
pay_btn_text
:
a
.
data
.
message
}))}))):
console
.
log
(
"
登录失败!
"
+
a
.
errMsg
)}})},
methods
:{
launchApp
:
function
(){
my
.
exitMiniProgram
()},
exitMiniProgram
:
function
(){
my
.
exitMiniProgram
({
complete
:
function
(
t
){
console
.
log
(
t
)}})},
launchAppError
:
function
(
t
){
console
.
log
(
"
占位:函数 launchAppError 未声明
"
)}}});
a
.
default
=
c
}).
call
(
this
,
n
(
"
6861
"
)[
"
default
"
])},
"
9e74
"
:
function
(
t
,
a
,
n
){
"
use strict
"
;
n
.
r
(
a
);
var
e
=
n
(
"
94ba
"
),
o
=
n
.
n
(
e
);
for
(
var
c
in
e
)[
"
default
"
].
indexOf
(
c
)
<
0
&&
function
(
t
){
n
.
d
(
a
,
t
,(
function
(){
return
e
[
t
]}))}(
c
);
a
[
"
default
"
]
=
o
.
a
},
a67a
:
function
(
t
,
a
,
n
){
"
use strict
"
;(
function
(
t
){
var
a
=
n
(
"
47a9
"
);
n
(
"
0d45
"
);
a
(
n
(
"
3240
"
));
var
e
=
a
(
n
(
"
dfc7
"
));
my
.
__webpack_require_UNI_MP_PLUGIN__
=
n
,
t
(
e
.
default
)}).
call
(
this
,
n
(
"
6861
"
)[
"
createPage
"
])},
cd74
:
function
(
t
,
a
,
n
){
"
use strict
"
;
n
.
d
(
a
,
"
b
"
,(
function
(){
return
e
})),
n
.
d
(
a
,
"
c
"
,(
function
(){
return
o
})),
n
.
d
(
a
,
"
a
"
,(
function
(){}));
var
e
=
function
(){
var
t
=
this
.
$createElement
;
this
.
_self
.
_c
},
o
=
[]},
dfc7
:
function
(
t
,
a
,
n
){
"
use strict
"
;
n
.
r
(
a
);
var
e
=
n
(
"
cd74
"
),
o
=
n
(
"
9e74
"
);
for
(
var
c
in
o
)[
"
default
"
].
indexOf
(
c
)
<
0
&&
function
(
t
){
n
.
d
(
a
,
t
,(
function
(){
return
o
[
t
]}))}(
c
);
n
(
"
0c27
"
);
var
i
=
n
(
"
828b
"
),
r
=
Object
(
i
[
"
a
"
])(
o
[
"
default
"
],
e
[
"
b
"
],
e
[
"
c
"
],
!
1
,
null
,
null
,
null
,
!
1
,
e
[
"
a
"
],
void
0
);
a
[
"
default
"
]
=
r
.
exports
}},[[
"
a67a
"
,
"
common/runtime
"
,
"
common/vendor
"
]]]);
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Prev
1
2
3
4
Next
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