Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mallapp
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
viitto
mallapp
Commits
78a21be4
Commit
78a21be4
authored
Sep 25, 2020
by
Mac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
分享参数修改
parent
75b9fd84
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
15 additions
and
10 deletions
+15
-10
goodsaction.vue
pages/goods/components/goodsaction.vue
+1
-1
draw.vue
pages/goods/draw.vue
+1
-1
goods.vue
pages/goods/goods.vue
+1
-1
guidecarDraw.vue
pages/guidecar/components/guidecarDraw.vue
+1
-1
guidecarGoodsdetails.vue
pages/guidecar/guidecarGoodsdetails.vue
+1
-1
index.vue
pages/index/index.vue
+8
-3
share-qrcode.vue
pages/share-qrcode/share-qrcode.vue
+1
-1
index.vue
pages/share/index/index.vue
+1
-1
No files found.
pages/goods/components/goodsaction.vue
View file @
78a21be4
...
...
@@ -84,7 +84,7 @@ export default {
let
t
=
getCurrentPages
();
let
u
=
uni
.
getStorageSync
(
"mall_UserInfo"
);
let
uid
=
u
.
UserId
?
u
.
UserId
:
0
;
let
Up
=
uni
.
getStorageSync
(
"
UserPageType"
)?
uni
.
getStorageSync
(
"UserPageType
"
).
UserPageType
:
0
;
let
Up
=
uni
.
getStorageSync
(
"
mall_UserInfo"
)?
uni
.
getStorageSync
(
"mall_UserInfo
"
).
UserPageType
:
0
;
this
.
path
=
'/pages/index/index?id='
+
this
.
goodId
+
"&user_id="
+
uid
+
"&Up="
+
Up
+
'&JumpType=1'
;
//console.log(t[t.length - 1]);
...
...
pages/goods/draw.vue
View file @
78a21be4
...
...
@@ -305,7 +305,7 @@ export default {
?
uni
.
getStorageSync
(
"mall_UserInfo"
).
UserSmallShopId
:
0
;
}
let
Up
=
uni
.
getStorageSync
(
"
UserPageType"
)?
uni
.
getStorageSync
(
"UserPageType
"
).
UserPageType
:
0
;
let
Up
=
uni
.
getStorageSync
(
"
mall_UserInfo"
)?
uni
.
getStorageSync
(
"mall_UserInfo
"
).
UserPageType
:
0
;
var
IsOpenSchool
=
uni
.
getStorageSync
(
"mall_UserInfo"
).
IsOpenSchool
;
this
.
request2
(
{
...
...
pages/goods/goods.vue
View file @
78a21be4
...
...
@@ -393,7 +393,7 @@ export default {
if
(
option
&&
option
.
Up
)
{
//分享进入校园id
uni
.
setStorageSync
(
"Up"
,
{
Up
:
option
.
Up
});
}
this
.
Up
=
uni
.
getStorageSync
(
"
UserPageType"
)?
uni
.
getStorageSync
(
"UserPageType
"
).
UserPageType
:
0
;
//用于分享出去的参数
this
.
Up
=
uni
.
getStorageSync
(
"
mall_UserInfo"
)?
uni
.
getStorageSync
(
"mall_UserInfo
"
).
UserPageType
:
0
;
//用于分享出去的参数
if
(
option
&&
option
.
AnchorName
)
{
//当传过来有主播名称的时候 存入缓存
uni
.
setStorageSync
(
"AnchorName"
,
{
AnchorName
:
option
.
AnchorName
});
...
...
pages/guidecar/components/guidecarDraw.vue
View file @
78a21be4
...
...
@@ -299,7 +299,7 @@ export default {
?
uni
.
getStorageSync
(
"mall_UserInfo"
).
UserSmallShopId
:
0
;
}
let
Up
=
uni
.
getStorageSync
(
"
UserPageType"
)?
uni
.
getStorageSync
(
"UserPageType
"
).
UserPageType
:
0
;
let
Up
=
uni
.
getStorageSync
(
"
mall_UserInfo"
)?
uni
.
getStorageSync
(
"mall_UserInfo
"
).
UserPageType
:
0
;
var
IsOpenSchool
=
uni
.
getStorageSync
(
"mall_UserInfo"
).
IsOpenSchool
;
this
.
request2
(
{
...
...
pages/guidecar/guidecarGoodsdetails.vue
View file @
78a21be4
...
...
@@ -418,7 +418,7 @@
if
(
option
&&
option
.
Up
)
{
//分享进入校园id
uni
.
setStorageSync
(
"Up"
,
{
Up
:
option
.
Up
});
}
this
.
Up
=
uni
.
getStorageSync
(
"
UserPageType"
)?
uni
.
getStorageSync
(
"UserPageType
"
).
UserPageType
:
0
;
//用于分享出去的参数
this
.
Up
=
uni
.
getStorageSync
(
"
mall_UserInfo"
)?
uni
.
getStorageSync
(
"mall_UserInfo
"
).
UserPageType
:
0
;
//用于分享出去的参数
if
(
option
&&
option
.
StartTime
&&
option
.
EndTime
){
let
startTime
=
new
Date
(
option
.
StartTime
);
// 开始时间
...
...
pages/index/index.vue
View file @
78a21be4
...
...
@@ -380,7 +380,7 @@ export default {
if
(
SmallShopId
!=
0
){
title
=
this
.
shopData
.
Name
}
let
Up
=
uni
.
getStorageSync
(
"
UserPageType"
)?
uni
.
getStorageSync
(
"UserPageType
"
).
UserPageType
:
0
;
let
Up
=
uni
.
getStorageSync
(
"
mall_UserInfo"
)?
uni
.
getStorageSync
(
"mall_UserInfo
"
).
UserPageType
:
0
;
return
{
title
:
title
,
query
:
"user_id="
+
uid
+
"&SmallShopId="
+
SmallShopId
+
"&Up="
+
Up
,
...
...
@@ -413,7 +413,7 @@ export default {
if
(
SmallShopId
!=
0
){
title
=
this
.
shopData
.
Name
}
let
Up
=
uni
.
getStorageSync
(
"
UserPageType"
)?
uni
.
getStorageSync
(
"UserPageType
"
).
UserPageType
:
0
;
let
Up
=
uni
.
getStorageSync
(
"
mall_UserInfo"
)?
uni
.
getStorageSync
(
"mall_UserInfo
"
).
UserPageType
:
0
;
return
{
title
:
title
,
path
:
...
...
@@ -839,7 +839,12 @@ export default {
data
:
{},
},
(
res
)
=>
{
uni
.
setStorageSync
(
'UserPageType'
,
res
.
data
);
// uni.setStorageSync('UserPageType', res.data);
let
mall_UserInfo
=
uni
.
getStorageSync
(
"mall_UserInfo"
)?
uni
.
getStorageSync
(
"mall_UserInfo"
):{};
mall_UserInfo
.
IsOpenSchool
=
res
.
data
.
IsOpenSchool
;
mall_UserInfo
.
UserPageType
=
res
.
data
.
UserPageType
;
uni
.
setStorageSync
(
"mall_UserInfo"
,
mall_UserInfo
);
}
);
},
...
...
pages/share-qrcode/share-qrcode.vue
View file @
78a21be4
...
...
@@ -123,7 +123,7 @@
{
url
:
'/api/AppletUser/GetWeiXinQRCodeForApplet'
,
data
:
{
Path
:
'/pages/index/index?user_id='
+
that
.
UserInfo
.
UserId
+
'&SmallShopId='
+
SmallShopId
+
'&Up=
'
+
that
.
UserInfo
.
UserPageType
,
Path
:
'/pages/index/index?user_id='
+
that
.
UserInfo
.
UserId
+
'&SmallShopId='
+
SmallShopId
+
'&Up=
2'
,
With
:
that
.
qrcode
.
QrCodeSize
,
}
},
...
...
pages/share/index/index.vue
View file @
78a21be4
...
...
@@ -261,7 +261,7 @@
this
.
secondary
=
this
.
$uiConfig
.
secondary
;
this
.
nav
=
uni
.
getMenuButtonBoundingClientRect
().
top
;
this
.
headStyle
.
paddingTop
=
this
.
nav
+
'px'
;
this
.
UserPageType
=
uni
.
getStorageSync
(
"
UserPageType"
)?
uni
.
getStorageSync
(
"UserPageType
"
):{};
this
.
UserPageType
=
uni
.
getStorageSync
(
"
mall_UserInfo"
)?
uni
.
getStorageSync
(
"mall_UserInfo
"
):{};
},
mounted
()
{
let
currentPages
=
getCurrentPages
();
...
...
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