Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
dev
/
baohui-jewelry-pro
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
c5645636
authored
2019-11-14 10:51:43 +0800
by
simon
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
默认提交
1 parent
e2d96b10
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
7 deletions
src/App.vue
src/pages/index/index.scss
src/pages/product-detail/product-detail.js
src/router.js
src/App.vue
View file @
c564563
...
...
@@ -4,7 +4,7 @@
<van-tabbar
route
v-model=
"active"
@
change=
"onTabbarChange()"
>
<van-tabbar-item
to=
"/"
icon=
"wap-home-o"
>
首页
</van-tabbar-item>
<van-tabbar-item
icon=
"cluster-o"
>
分类
</van-tabbar-item>
<
van-tabbar-item
icon=
"balance-list-o"
>
订单
</van-tabbar-item
>
<
!--
<van-tabbar-item
icon=
"balance-list-o"
>
订单
</van-tabbar-item>
--
>
<van-tabbar-item
to=
"/favorite"
icon=
"manager-o"
>
我的
</van-tabbar-item>
</van-tabbar>
</div>
...
...
@@ -23,7 +23,7 @@ export default {
},
methods
:
{
onTabbarChange
()
{
if
(
this
.
active
!=
0
&&
this
.
active
!=
3
)
{
if
(
this
.
active
!=
0
&&
this
.
active
!=
2
)
{
Toast
(
"该场景暂未开放,敬请期待"
);
}
}
...
...
src/pages/index/index.scss
View file @
c564563
...
...
@@ -32,7 +32,7 @@
&
-item
{
@extend
.fcc
;
@extend
.bb
;
padding
:
0
14
px
;
padding
:
0
20
px
;
text-align
:
center
;
margin
:
0
22px
;
color
:
#ffffff
;
...
...
src/pages/product-detail/product-detail.js
View file @
c564563
...
...
@@ -39,7 +39,6 @@ export default {
}
})
}
},
// 请求产品详情
queryProductDetail
()
{
...
...
src/router.js
View file @
c564563
...
...
@@ -9,7 +9,7 @@ const routes = [{
name
:
'index'
,
component
:
Index
,
meta
:
{
title
:
'
首页
'
title
:
''
}
},
{
...
...
@@ -41,7 +41,7 @@ const routes = [{
name
:
'demo'
,
component
:
()
=>
import
(
'./pages/demo/demo.vue'
),
meta
:
{
title
:
'
模板
'
title
:
''
}
},
{
...
...
@@ -49,7 +49,7 @@ const routes = [{
name
:
'about'
,
component
:
()
=>
import
(
'./pages/About.vue'
),
meta
:
{
title
:
'
关于
'
title
:
''
}
}
]
...
...
Please
register
or
sign in
to post a comment