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
7e715025
Commit
7e715025
authored
Dec 10, 2024
by
罗超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化入口
parent
43386f4f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
1 deletion
+19
-1
index.vue
components/tabbar/index.vue
+6
-0
index.vue
pages/index/index.vue
+13
-1
No files found.
components/tabbar/index.vue
View file @
7e715025
...
...
@@ -217,6 +217,12 @@
});
},
goUrl
(
url
)
{
const
replace
=
uni
.
getStorageSync
(
'replace_page_index'
)
if
(
url
==
'/pages/index/index'
&&
replace
&&
replace
.
url
){
url
=
replace
.
url
}
console
.
log
(
url
,
replace
)
if
(
this
.
crtPath
!=
url
)
{
uni
.
redirectTo
({
url
:
url
,
...
...
pages/index/index.vue
View file @
7e715025
...
...
@@ -91,7 +91,7 @@
</button>
</view>
<view
v-if=
"showtabs == true"
>
<tabbar></tabbar>
<tabbar
></tabbar>
</view>
<view
class=
"tips_t"
v-if=
"
...
...
@@ -349,6 +349,18 @@
if
(
options
&&
options
.
type
)
{
this
.
carrierType
=
options
.
type
;
}
if
(
options
&&
options
.
setnav
){
let
current_url
=
"/"
+
this
.
currentParent
+
'?'
for
(
let
key
in
options
)
{
current_url
+=
key
+
'='
+
options
[
key
]
+
'&'
;
}
current_url
=
current_url
.
slice
(
0
,
-
1
);
const
replacePageData
=
{
url
:
current_url
,
state
:
options
.
setnav
}
uni
.
setStorageSync
(
"replace_page_index"
,
replacePageData
)
}
// #ifdef MP-WEIXIN
wx
.
showShareMenu
({
...
...
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