This commit is contained in:
jqtmviyu@gmail.com 2021-02-21 09:54:23 +08:00
parent 794787a120
commit dbdcfd5128
14 changed files with 91 additions and 2 deletions

View File

@ -6,7 +6,25 @@
{ {
"path": "pages/index/index", "path": "pages/index/index",
"style": { "style": {
"navigationBarTitleText": "uni-app" "navigationBarTitleText": "首页"
}
},
{
"path": "pages/category/category",
"style": {
"navigationBarTitleText": "分类"
}
},
{
"path": "pages/cart/cart",
"style": {
"navigationBarTitleText": "购物车"
}
},
{
"path": "pages/my/my",
"style": {
"navigationBarTitleText": "我的"
} }
} }
], ],
@ -15,5 +33,35 @@
"navigationBarTitleText": "uni-app", "navigationBarTitleText": "uni-app",
"navigationBarBackgroundColor": "#F8F8F8", "navigationBarBackgroundColor": "#F8F8F8",
"backgroundColor": "#F8F8F8" "backgroundColor": "#F8F8F8"
},
"tabBar": {
"color": "#7A7E83",
"selectedColor": "#3cc51f",
"borderStyle": "black",
"backgroundColor": "#ffffff",
"list": [{
"pagePath": "pages/index/index",
"iconPath": "static/icons/home.png",
"selectedIconPath": "static/icons/home-o.png",
"text": "首页"
},
{
"pagePath": "pages/category/category",
"iconPath": "static/icons/order.png",
"selectedIconPath": "static/icons/order-o.png",
"text": "分类"
},
{
"pagePath": "pages/cart/cart",
"iconPath": "static/icons/cart.png",
"selectedIconPath": "static/icons/cart-o.png",
"text": "购物车"
},
{
"pagePath": "pages/my/my",
"iconPath": "static/icons/user.png",
"selectedIconPath": "static/icons/user-o.png",
"text": "我的"
}]
} }
} }

13
src/pages/cart/cart.vue Normal file
View File

@ -0,0 +1,13 @@
<template>
<view>cart</view>
</template>
<script>
export default {
}
</script>
<style>
</style>

View File

@ -0,0 +1,15 @@
<template>
<view>
category
</view>
</template>
<script>
export default {
}
</script>
<style>
</style>

13
src/pages/my/my.vue Normal file
View File

@ -0,0 +1,13 @@
<template>
<view>my</view>
</template>
<script>
export default {
}
</script>
<style>
</style>

BIN
src/static/icons/cart-o.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

BIN
src/static/icons/cart.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

BIN
src/static/icons/home-o.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1013 B

BIN
src/static/icons/home.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

BIN
src/static/icons/more-o.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

BIN
src/static/icons/more.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

BIN
src/static/icons/order.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

BIN
src/static/icons/user-o.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

BIN
src/static/icons/user.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB