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
92c423be
Commit
92c423be
authored
Jul 08, 2022
by
李嘉林
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
代码还原
parent
7a6ada7c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
10 deletions
+4
-10
src/components/tabbarPage.vue
+4
-10
No files found.
src/components/tabbarPage.vue
View file @
92c423be
...
...
@@ -30,8 +30,7 @@ export default {
return
{
link
:
process
.
env
.
BASE_URL
,
page
:
"/"
,
// params: "?mixid=" + this.$store.state.mixid,
params
:
""
,
params
:
"?mixid="
+
this
.
$store
.
state
.
mixid
,
ss
:
""
,
timestamp
:
""
,
isMiniPage
:
false
,
...
...
@@ -41,9 +40,9 @@ export default {
computed
:
{
pageUrl
()
{
console
.
log
(
this
.
link
,
'******'
,
this
.
page
,
'-------'
,
this
.
params
,
'++++++++'
)
let
pageUrl
=
this
.
page
.
startsWith
(
"http"
)
?
this
.
page
:
(
this
.
link
+
this
.
page
);
return
(
pageUrl
+
this
.
link
+
this
.
page
+
this
.
params
+
`&native_test=1&tabbar=
${
this
.
index
}
&location_obj=
${
wx
.
getStorageSync
(
"location"
...
...
@@ -56,7 +55,6 @@ export default {
console
.
log
(
'--onLoad'
)
let
tabIndex
=
this
.
index
>=
this
.
mpApp
.
globalData
.
footerVal
.
componentData
.
list
.
length
?
this
.
mpApp
.
globalData
.
footerVal
.
componentData
.
list
.
length
-
1
:
this
.
index
;
this
.
params
=
this
.
$options
.
data
.
call
(
this
).
params
console
.
log
(
options
,
'---------------onLoad--params'
)
let
ss
=
wx
.
getStorageSync
(
"sessionid"
);
this
.
ss
=
ss
?
`&sessionid=
${
ss
}
`
:
""
;
...
...
@@ -83,11 +81,7 @@ export default {
console
.
log
(
query
,
'=================='
,
this
.
params
,
'-----------------'
,
urlPrams
)
// // 只兼容底部导航进入活动页面添加参数,跳转完成删除
if
(
query
){
if
(
this
.
params
)
{
this
.
params
+=
'&'
+
query
}
else
{
this
.
params
+=
'?'
+
query
}
this
.
params
+=
'&'
+
query
}
else
{
this
.
params
+=
urlPrams
?
'&'
+
urlPrams
:
''
}
...
...
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