Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
J
jd-vx-app
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
Administrator
jd-vx-app
Commits
88204685
Commit
88204685
authored
May 07, 2022
by
肖健
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
跳转选中tabbar
parent
36db1918
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
+5
-4
main.vue
pages/main.vue
+4
-3
getPrice.vue
pagesA/pages/index/getPrice.vue
+1
-1
No files found.
pages/main.vue
View file @
88204685
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
<personal
v-if=
"tab=='personal'"
></personal>
<personal
v-if=
"tab=='personal'"
></personal>
<u-gap
bgColor=
"transparent"
height=
"055"
></u-gap>
<u-gap
bgColor=
"transparent"
height=
"055"
></u-gap>
<view
class=
"tabbar"
>
<view
class=
"tabbar"
>
<v-tabbar
:list=
"tabbar"
style=
"position:fixed;bottom:0;width:100%;left:0;right:0;"
@
tabChange=
"tabChange"
></v-tabbar>
<v-tabbar
ref=
"myTab"
:list=
"tabbar"
style=
"position:fixed;bottom:0;width:100%;left:0;right:0;"
@
tabChange=
"tabChange"
></v-tabbar>
</view>
</view>
</view>
</view>
</
template
>
</
template
>
...
@@ -126,8 +126,9 @@ export default {
...
@@ -126,8 +126,9 @@ export default {
console
.
log
(
"---------------------------"
)
console
.
log
(
"---------------------------"
)
this
.
$nextTick
(()
=>
{
this
.
$nextTick
(()
=>
{
this
.
tabChange
(
parseInt
(
option
.
index
))
let
i
=
parseInt
(
option
.
index
);
this
.
$forceUpdate
()
this
.
tabChange
(
i
)
this
.
$refs
.
myTab
.
current
=
i
;
});
});
}
}
...
...
pagesA/pages/index/getPrice.vue
View file @
88204685
...
@@ -171,7 +171,7 @@ export default {
...
@@ -171,7 +171,7 @@ export default {
},
},
getMoveCode
()
{
getMoveCode
()
{
let
opts
=
{
let
opts
=
{
url
:
'/app/free/code'
,
url
:
'/app/
index/
free/code'
,
method
:
'get'
method
:
'get'
};
};
this
.
http
.
httpRequest
(
opts
,
{}).
then
(
res
=>
{
this
.
http
.
httpRequest
(
opts
,
{}).
then
(
res
=>
{
...
...
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