Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mayi-mp-shop
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
程默
mayi-mp-shop
Commits
9cc1b989
Commit
9cc1b989
authored
Dec 26, 2019
by
程默
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
jj test
parent
f056857c
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
2 deletions
+8
-2
config/dev.env.js
+1
-1
src/pages/address/index.vue
+6
-1
src/pages/index/index.vue
+1
-0
No files found.
config/dev.env.js
View file @
9cc1b989
...
...
@@ -2,7 +2,7 @@ var merge = require('webpack-merge')
var
prodEnv
=
require
(
'./prod.env'
)
module
.
exports
=
merge
(
prodEnv
,
{
module
.
exports
=
merge
(
prodEnv
,
{
//zjgyl
SHOP_MIXID
:
"'zjgyl'"
,
NODE_ENV
:
'"development"'
,
BASE_URL
:
"'https://shop.mayi888.com'"
,
...
...
src/pages/address/index.vue
View file @
9cc1b989
<
template
>
<div
class=
"domain"
>
获取微信地址
获取微信地址
{{
address
}}
--111
</div>
</
template
>
...
...
@@ -10,6 +10,7 @@ import addres from "@/api/userAddress";
export
default
{
data
()
{
return
{
address
:
wx
.
getStorageSync
(
'sessionid'
),
options
:
""
,
weChatInfo
:
""
,
userAddressReq
:
{
...
...
@@ -36,6 +37,7 @@ export default {
},
onLoad
(
options
)
{
Object
.
assign
(
this
.
$data
,
this
.
$options
.
data
());
console
.
log
(
'token'
,
this
.
address
);
this
.
options
=
options
;
let
that
=
this
;
wx
.
chooseAddress
({
...
...
@@ -110,8 +112,11 @@ export default {
});
},
200
);
}
else
{
wx
.
showToast
({
title
:
res
.
data
.
msg
,
icon
:
"none"
});
}
});
}
else
{
wx
.
showToast
({
title
:
res
.
data
.
msg
,
icon
:
"none"
});
}
});
}
...
...
src/pages/index/index.vue
View file @
9cc1b989
...
...
@@ -17,6 +17,7 @@ export default {
link
:
this
.
baseUrl
,
page
:
"/"
,
params
:
"?mixid="
+
this
.
shopId
,
userInfo
:
{
nickName
:
"mpvue"
,
avatarUrl
:
"http://mpvue.com/assets/logo.png"
...
...
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