Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
Y
ybf
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
xulili
ybf
Commits
766f1d3d
Commit
766f1d3d
authored
Apr 17, 2020
by
xd
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
精准营销活动页测试成功
parent
072d05c7
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
index.vue
wx_application/src/views/mainSale/active/main/index.vue
+4
-3
No files found.
wx_application/src/views/mainSale/active/main/index.vue
View file @
766f1d3d
...
@@ -232,7 +232,7 @@ export default {
...
@@ -232,7 +232,7 @@ export default {
};
};
},
},
created
()
{
created
()
{
this
.
overlayShow
=
true
//
this.overlayShow = true
this
.
checkNowMenuBar
()
this
.
checkNowMenuBar
()
// this.zcache.userId = 'ShanDian'
// this.zcache.userId = 'ShanDian'
// this.getUserFromId(this.zcache.userId)
// this.getUserFromId(this.zcache.userId)
...
@@ -451,7 +451,6 @@ export default {
...
@@ -451,7 +451,6 @@ export default {
return
new
Promise
((
resolve
,
reject
)
=>
{
return
new
Promise
((
resolve
,
reject
)
=>
{
getStoreDetail
(
params
).
then
(
res
=>
{
getStoreDetail
(
params
).
then
(
res
=>
{
if
(
res
.
data
.
stallInfo
!=
null
)
{
if
(
res
.
data
.
stallInfo
!=
null
)
{
this
.
test
.
manInfo
.
barName
=
res
.
data
.
stallInfo
.
name
sessionStorage
.
setItem
(
"barName"
,
res
.
data
.
stallInfo
.
name
)
sessionStorage
.
setItem
(
"barName"
,
res
.
data
.
stallInfo
.
name
)
resolve
(
res
.
data
.
stallInfo
.
name
)
resolve
(
res
.
data
.
stallInfo
.
name
)
}
}
...
@@ -462,7 +461,7 @@ export default {
...
@@ -462,7 +461,7 @@ export default {
},
},
getAllInfo
(
list
)
{
getAllInfo
(
list
)
{
console
.
log
(
'getAllInfo'
);
console
.
log
(
'getAllInfo'
);
Promise
.
all
([
this
.
getUserInfo
(),
this
.
getFans
(),
this
.
getAllFans
(),
this
.
getAddFans
(
1
,
this
.
zcache
.
userId
),
this
.
getAddFans
(
2
,
list
)]).
then
(
res
=>
{
Promise
.
all
([
this
.
getUserInfo
(),
this
.
getFans
(),
this
.
getAllFans
(),
this
.
getAddFans
(
1
,
this
.
zcache
.
userId
),
this
.
getAddFans
(
2
,
list
)
,
this
.
getStore
()
]).
then
(
res
=>
{
console
.
log
(
'进来了'
);
console
.
log
(
'进来了'
);
console
.
log
(
res
,
'promise'
);
console
.
log
(
res
,
'promise'
);
this
.
test
.
manInfo
.
logoUrl
=
res
[
0
]
this
.
test
.
manInfo
.
logoUrl
=
res
[
0
]
...
@@ -470,6 +469,7 @@ export default {
...
@@ -470,6 +469,7 @@ export default {
this
.
test
.
barInfo
.
fans
=
res
[
2
]
this
.
test
.
barInfo
.
fans
=
res
[
2
]
this
.
test
.
barInfo
.
newFans
=
res
[
3
]
this
.
test
.
barInfo
.
newFans
=
res
[
3
]
this
.
test
.
barInfo
.
allNewFans
=
res
[
4
]
this
.
test
.
barInfo
.
allNewFans
=
res
[
4
]
this
.
test
.
manInfo
.
barName
=
res
[
5
]
this
.
overlayShow
=
false
this
.
overlayShow
=
false
// this.getAddFans(2,this.memberList).then(res => {
// this.getAddFans(2,this.memberList).then(res => {
// this.test.barInfo.allNewFans = res
// this.test.barInfo.allNewFans = res
...
@@ -535,6 +535,7 @@ export default {
...
@@ -535,6 +535,7 @@ export default {
this
.
zTestPreAuthCode
();
this
.
zTestPreAuthCode
();
}
else
{
}
else
{
// alert('有code')
// alert('有code')
this
.
overlayShow
=
true
this
.
zTestGetNowUrlInfo
();
this
.
zTestGetNowUrlInfo
();
this
.
zTestGetUserInfoByOldToken
();
this
.
zTestGetUserInfoByOldToken
();
}
}
...
...
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