Skip to content

Commit

Permalink
底部导航栏的图标
Browse files Browse the repository at this point in the history
  • Loading branch information
Hunlongyu committed Nov 16, 2020
1 parent a8de0db commit c3c1cdf
Show file tree
Hide file tree
Showing 19 changed files with 1,043 additions and 1,011 deletions.
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "zyplayer",
"version": "1.0.0",
"description": "",
"description": "ZY Player Android by Uni-app",
"main": "main.js",
"dependencies": {
"axios": "^0.21.0",
Expand All @@ -12,7 +12,7 @@
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"keywords": [],
"author": "",
"license": "ISC"
"keywords": ["ZY Player", "zy"],
"author": "Hunlongyu",
"license": "MIT"
}
82 changes: 54 additions & 28 deletions pages.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,42 +2,68 @@
"easycom": {
"^u-(.*)": "uview-ui/components/u-$1/u-$1.vue"
},
"pages": [
{
"path": "pages/film/film",
"style": {
"navigationBarTitleText": "首页"
}
},
"pages": [
{
"path": "pages/star/star",
"style": {
"navigationBarTitleText": "收藏"
}
"path": "pages/film/film",
"style": {
"navigationBarTitleText": "首页"
}
},
{
"path": "pages/me/me",
"style": {
"navigationBarTitleText": ""
}
"path": "pages/star/star",
"style": {
"navigationBarTitleText": "收藏"
}
},
{
"path": "pages/detail/detail",
"style": {
"navigationStyle": "custom"
}
"path": "pages/me/me",
"style": {
"navigationBarTitleText": ""
}
},
{
"path": "pages/play/play",
"style": {
"navigationBarTitleText": "播放"
}
"path": "pages/detail/detail",
"style": {
"navigationStyle": "custom"
}
},
{
"path": "pages/play/play",
"style": {
"navigationBarTitleText": "播放"
}
}
],
"globalStyle": {
"navigationBarTextStyle": "black",
],
"globalStyle": {
"navigationBarTextStyle": "black",
"navigationBarTitleText": "ZY Player",
"navigationBarBackgroundColor": "#FFFFFF",
"backgroundColor": "#FFFFFF"
}
}
},
"tabBar": {
"color": "#909399",
"selectedColor": "#303133",
"backgroundColor": "#FFFFFF",
"borderStyle": "black",
"list": [
{
"pagePath": "pages/film/film",
"iconPath": "static/images/home1.png",
"selectedIconPath": "static/images/home2.png",
"text": "首页"
},
{
"pagePath": "pages/star/star",
"iconPath": "static/images/star1.png",
"selectedIconPath": "static/images/star2.png",
"text": "收藏"
},
{
"pagePath": "pages/me/me",
"iconPath": "static/images/me1.png",
"selectedIconPath": "static/images/me2.png",
"text": ""
}
]
}
}
8 changes: 7 additions & 1 deletion pages/film/film.vue
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@
methods: {
async searchEvent () {
// const lala = await db.siteGetAll()
// console.log(lala, 'lala')
// console.log(this.search, 'search');
// const doc = {
// id: 2,
Expand All @@ -124,7 +125,12 @@
type: 'success',
duration: '2000'
})
console.log(lala)
// console.log(lala)
// this.$refs.uTips.show({
// title: 'lala',
// type: 'success',
// duration: '20000'
// })
},
searchClearEvent () {
console.log('search clear event');
Expand Down
Binary file added static/images/home1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/images/home2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/images/me1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/images/me2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/images/star1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/images/star2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions unpackage/dist/dev/app-plus/app-config-service.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit c3c1cdf

Please sign in to comment.