Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
taobaominiDemo
Project
Project
Details
Activity
Releases
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
wildfirecode13
taobaominiDemo
Commits
c3b12abf
Commit
c3b12abf
authored
Jun 26, 2020
by
lujinlei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
-a
parent
474506b4
Changes
6
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
7405 additions
and
1097 deletions
+7405
-1097
config$.js
.tea/entryFiles-production/config$.js
+7
-0
importScripts$.js
.tea/entryFiles-production/importScripts$.js
+4
-0
index$.web.js
.tea/entryFiles-production/index$.web.js
+5
-0
index$.worker.js
.tea/entryFiles-production/index$.worker.js
+61
-0
index.js
client/pages/index/index.js
+9
-3
output.js
client/pages/index/output.js
+7319
-1094
No files found.
.tea/entryFiles-production/config$.js
0 → 100644
View file @
c3b12abf
const
g
=
typeof
global
!==
'undefined'
?
global
:
self
;
g
.
appXAppJson
=
{
"app"
:
{
"$homepage"
:
"pages/index/index"
}
};
.tea/entryFiles-production/importScripts$.js
0 → 100644
View file @
c3b12abf
if
(
!
self
.
Map
||
!
self
.
Set
||
!
self
.
Symbol
)
{
importScripts
(
'https://gw.alipayobjects.com/as/g/appx_release/deps/1.0.3/es6-set-map-symbol.js'
);
}
importScripts
(
`https://appx/af-appx.worker.min.js`
);
.tea/entryFiles-production/index$.web.js
0 → 100644
View file @
c3b12abf
require
(
'@alipay/appx-compiler/lib/sjsEnvInit'
);
require
(
'./config$'
);
require
(
'../../client/pages/index/index?hash=32d7d2807ed4e666ef03b4b3fe8c38ecf2e34e68'
);
require
(
'../../client/pages/index2/index2?hash=5158fa18297db3fbaac119609b168d20fcdf1eea'
);
.tea/entryFiles-production/index$.worker.js
0 → 100644
View file @
c3b12abf
This diff is collapsed.
Click to expand it.
client/pages/index/index.js
View file @
c3b12abf
...
...
@@ -106,7 +106,7 @@ Page({
this
.
postMessage
(
'mine.getUserAddress'
,
{
success
:
false
})
})
if
(
userAddress
)
{
//格式需要修改具体
const
{
name
,
phone
,
address
}
=
userAddress
.
duibaAddress
const
{
name
,
phone
,
provinceName
,
receiveName
,
cityName
,
countyName
,
streetName
,
detailInfo
,
cityCode
,
address
}
=
userAddress
.
duibaAddress
my
.
confirm
({
title
:
'提示'
,
content
:
'确认使用该收货地址:'
+
name
+
phone
+
address
,
...
...
@@ -120,11 +120,17 @@ Page({
cloud
.
function
.
invoke
(
cloudName
,
{
activityId
,
_id
:
prizeId
,
address
,
provinceName
,
name
,
phone
,
receiveName
,
cityName
,
countyName
,
streetName
,
detailInfo
,
cityCode
,
// address: JSON.stringify(userAddress.duibaAddress)
},
"receiveObjectPrize"
)
},
"
filaStar2.
receiveObjectPrize"
)
.
then
(
res
=>
{
if
(
res
&&
res
.
success
)
{
//确认发送成功信息
...
...
client/pages/index/output.js
View file @
c3b12abf
This diff is collapsed.
Click to expand it.
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