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
f50a3513
Commit
f50a3513
authored
May 16, 2024
by
李嘉林
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'xhyx/release' into xhyx/hotfix
parents
3bd6e2b9
239dea40
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
19 additions
and
2 deletions
+19
-2
src/App.vue
+3
-2
src/components/tabbarPage.vue
+4
-0
src/pages/home/index.vue
+4
-0
src/pages/index/index.vue
+4
-0
src/pages/wxArticle/index.vue
+4
-0
No files found.
src/App.vue
View file @
f50a3513
...
@@ -28,13 +28,14 @@ export default {
...
@@ -28,13 +28,14 @@ export default {
// development: { mixid: "ytVVdX", "shopid": 3812}, // 驿联科技uat
// development: { mixid: "ytVVdX", "shopid": 3812}, // 驿联科技uat
// production: { "mixid":"xhyxshop", "shopid": 1095 }, // 小工蚁新零售
// production: { "mixid":"xhyxshop", "shopid": 1095 }, // 小工蚁新零售
// production: { "mixid":"AntTechnology", "shopid": 1095 }, // 小工蚁新零售
// production: { "mixid":"AntTechnology", "shopid": 1095 }, // 小工蚁新零售
production
:
{
"mixid"
:
"ZJRH"
,
"shopid"
:
1706
},
//
// production: { "mixid":"ZJRH", "shopid": 1706 }, //
// production: { "mixid":"LFX", "shopid": 1710 }, // 老凤祥
// production: { "mixid":"SWQ", "shopid": 1641 }, // 麦贝思
// production: { "mixid":"SWQ", "shopid": 1641 }, // 麦贝思
// production: { "mixid":"metasense_doctors", "shopid": 1238 }, // 册为医护端
// production: { "mixid":"metasense_doctors", "shopid": 1238 }, // 册为医护端
// production: { "mixid":"3QqsFT", "shopid": 1337 },
// production: { "mixid":"3QqsFT", "shopid": 1337 },
// production: { "mixid":"notSHOWROOM", "shopid": 1274 }, // 诸色
// production: { "mixid":"notSHOWROOM", "shopid": 1274 }, // 诸色
// production: { "mixid":"LLGW", "shopid": 981 }, // 贺砚堂
// production: { "mixid":"LLGW", "shopid": 981 }, // 贺砚堂
//
production: { "mixid":"5I5Dyk", "shopid": 1306 }, // 星期八
production
:
{
"mixid"
:
"5I5Dyk"
,
"shopid"
:
1306
},
// 星期八
// production: { "mixid":"RON", "shopid": 1503 }, // 荣恩
// production: { "mixid":"RON", "shopid": 1503 }, // 荣恩
// production: { "mixid":"ant", "shopid": 6 }, // 小工蚁
// production: { "mixid":"ant", "shopid": 6 }, // 小工蚁
// production: { "mixid":"MetaSense", "shopid": 1237 }, // 册为
// production: { "mixid":"MetaSense", "shopid": 1237 }, // 册为
...
...
src/components/tabbarPage.vue
View file @
f50a3513
...
@@ -54,6 +54,10 @@ export default {
...
@@ -54,6 +54,10 @@ export default {
if
(
offlineShopCode
)
{
if
(
offlineShopCode
)
{
this
.
params
+=
`&offlineShopCode=
${
offlineShopCode
}
&offlineShopName=
${
offlineShopName
}
`
this
.
params
+=
`&offlineShopCode=
${
offlineShopCode
}
&offlineShopName=
${
offlineShopName
}
`
}
}
// 加_ma_uid
if
(
wx
.
getStorageSync
(
"_ma_uid"
))
{
this
.
params
+=
`&_ma_uid=
${
wx
.
getStorageSync
(
"_ma_uid"
)}
`
;
}
let
pageUrl1
=
(
this
.
page
.
startsWith
(
'http://'
)
||
this
.
page
.
startsWith
(
'https://'
))?
(
this
.
page
+
this
.
params
)
:
this
.
link
+
this
.
page
+
this
.
params
let
pageUrl1
=
(
this
.
page
.
startsWith
(
'http://'
)
||
this
.
page
.
startsWith
(
'https://'
))?
(
this
.
page
+
this
.
params
)
:
this
.
link
+
this
.
page
+
this
.
params
let
pageUrl
=
forUrlAddKey
(
decodeURIComponent
(
pageUrl1
));
let
pageUrl
=
forUrlAddKey
(
decodeURIComponent
(
pageUrl1
));
console
.
log
(
pageUrl
,
'--pageUrl'
)
console
.
log
(
pageUrl
,
'--pageUrl'
)
...
...
src/pages/home/index.vue
View file @
f50a3513
...
@@ -678,7 +678,10 @@ export default {
...
@@ -678,7 +678,10 @@ export default {
distributionOfficerShopCode
:
""
distributionOfficerShopCode
:
""
});
});
if
(
res
.
data
.
code
==
200
&&
!
isNaN
(
res
.
data
.
data
-
0
))
{
if
(
res
.
data
.
code
==
200
&&
!
isNaN
(
res
.
data
.
data
-
0
))
{
if
(
res
.
data
.
data
!=
null
&&
res
.
data
.
data
!=
'null'
)
{
this
.
preEntryStoreId
=
res
.
data
.
data
;
this
.
preEntryStoreId
=
res
.
data
.
data
;
}
if
(
this
.
preEntryStoreId
)
{
let
storeDetail
=
await
shop
.
getOfflineStoreDetail
({
let
storeDetail
=
await
shop
.
getOfflineStoreDetail
({
shopId
:
this
.
preEntryStoreId
,
shopId
:
this
.
preEntryStoreId
,
});
});
...
@@ -687,6 +690,7 @@ export default {
...
@@ -687,6 +690,7 @@ export default {
}
}
await
this
.
enterStore
(
this
.
preEntryStoreId
);
await
this
.
enterStore
(
this
.
preEntryStoreId
);
}
}
}
}
catch
(
error
)
{
}
catch
(
error
)
{
console
.
log
(
'getEnterShopIdV1-error->'
,
error
)
console
.
log
(
'getEnterShopIdV1-error->'
,
error
)
}
}
...
...
src/pages/index/index.vue
View file @
f50a3513
...
@@ -83,6 +83,10 @@ export default {
...
@@ -83,6 +83,10 @@ export default {
let
{
latitude
,
longitude
}
=
locationObj
;
let
{
latitude
,
longitude
}
=
locationObj
;
this
.
params
+=
`&latitude=
${
latitude
}
&longitude=
${
longitude
}
`
this
.
params
+=
`&latitude=
${
latitude
}
&longitude=
${
longitude
}
`
}
}
// 加_ma_uid
if
(
wx
.
getStorageSync
(
"_ma_uid"
))
{
this
.
params
+=
`&_ma_uid=
${
wx
.
getStorageSync
(
"_ma_uid"
)}
`
;
}
// 判断当前是否为导购分享
// 判断当前是否为导购分享
const
setGuideEmployeeId
=
wx
.
getStorageSync
(
this
.
$store
.
state
.
mixid
+
'setGuideEmployeeId'
);
const
setGuideEmployeeId
=
wx
.
getStorageSync
(
this
.
$store
.
state
.
mixid
+
'setGuideEmployeeId'
);
if
(
setGuideEmployeeId
&&
!
this
.
params
.
includes
(
"setGuideEmployeeId"
))
{
if
(
setGuideEmployeeId
&&
!
this
.
params
.
includes
(
"setGuideEmployeeId"
))
{
...
...
src/pages/wxArticle/index.vue
View file @
f50a3513
...
@@ -204,6 +204,10 @@ export default {
...
@@ -204,6 +204,10 @@ export default {
if
((
!
this
.
link
.
includes
(
'sessionid'
))
&&
wx
.
getStorageSync
(
"sessionid"
))
{
if
((
!
this
.
link
.
includes
(
'sessionid'
))
&&
wx
.
getStorageSync
(
"sessionid"
))
{
this
.
link
+=
`
${
this
.
link
.
includes
(
'?'
)
&&
!
this
.
link
.
includes
(
'#/'
)
||
(
this
.
link
.
split
(
'?'
).
length
-
1
>
1
)
?
'&'
:
'?'
}
sessionid=
${
wx
.
getStorageSync
(
"sessionid"
)}
`
this
.
link
+=
`
${
this
.
link
.
includes
(
'?'
)
&&
!
this
.
link
.
includes
(
'#/'
)
||
(
this
.
link
.
split
(
'?'
).
length
-
1
>
1
)
?
'&'
:
'?'
}
sessionid=
${
wx
.
getStorageSync
(
"sessionid"
)}
`
}
}
// 加_ma_uid
if
(
wx
.
getStorageSync
(
"_ma_uid"
))
{
this
.
link
+=
`&_ma_uid=
${
wx
.
getStorageSync
(
"_ma_uid"
)}
`
;
}
this
.
useLink
=
this
.
link
;
this
.
useLink
=
this
.
link
;
console
.
log
(
this
.
useLink
,
'--this.useLink'
)
console
.
log
(
this
.
useLink
,
'--this.useLink'
)
},
},
...
...
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