-
Notifications
You must be signed in to change notification settings - Fork 58
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2c7479e
commit c735602
Showing
131 changed files
with
2,260 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
//app.js | ||
App({ | ||
onLaunch: function () { | ||
|
||
|
||
}, | ||
globalData: { | ||
urlImages:'../images/' | ||
} | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
{ | ||
"pages":[ | ||
"pages/index/index", | ||
"pages/player/player", | ||
"pages/personal/personal", | ||
"pages/listen/listen" | ||
|
||
], | ||
"window":{ | ||
"backgroundTextStyle":"light", | ||
"navigationBarBackgroundColor": "#fff", | ||
"navigationBarTitleText": "喜马拉雅电台", | ||
"navigationBarTextStyle":"black" | ||
}, | ||
"tabBar": { | ||
"color": "#444444", | ||
"selectedColor": "#ff5721", | ||
"backgroundColor": "#fff", | ||
"borderStyle": "#fff", | ||
"list": [{ | ||
"selectedIconPath": "pages/images/tabBar/starSelect.png", | ||
"iconPath": "pages/images/tabBar/starBlur.png", | ||
"pagePath": "pages/index/index", | ||
"text": "首页" | ||
},{ | ||
"selectedIconPath": "pages/images/tabBar/listenSelect.png", | ||
"iconPath": "pages/images/tabBar/listenBlur.png", | ||
"pagePath": "pages/listen/listen", | ||
"text": "我听" | ||
},{ | ||
"selectedIconPath": "pages/images/tabBar/pauseSelect.png", | ||
"iconPath": "pages/images/tabBar/pauseBlur.png", | ||
"pagePath": "pages/player/player", | ||
"text": "播放", | ||
"positon": "top", | ||
"width": 600, | ||
"height": 600 | ||
},{ | ||
"selectedIconPath": "pages/images/tabBar/findSelect.png", | ||
"iconPath": "pages/images/tabBar/findBlur.png", | ||
"pagePath": "pages/index/index", | ||
"text": "发现" | ||
},{ | ||
"selectedIconPath": "pages/images/tabBar/loginSelect.png", | ||
"iconPath": "pages/images/tabBar/loginBlur.png", | ||
"pagePath": "pages/personal/personal", | ||
"text": "登录" | ||
}] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
|
||
@import 'weui.wxss'; | ||
::-webkit-scrollbar { | ||
width: 0; | ||
height: 0; | ||
color: transparent; | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,169 @@ | ||
//index.js | ||
//获取应用实例 | ||
const app = getApp() | ||
|
||
Page({ | ||
data: { | ||
swiperCl: ['../images/recommend/ad1.jpg','../images/recommend/ad6.jpg','../images/recommend/ad1.jpg','../images/recommend/ad6.jpg','../images/recommend/ad1.jpg','../images/recommend/ad6.jpg','../images/recommend/ad1.jpg'], | ||
swiperRe: ['../images/recommend/ad1.jpg','../images/recommend/ad6.jpg','../images/recommend/ad1.jpg','../images/recommend/ad6.jpg','../images/recommend/ad1.jpg','../images/recommend/ad6.jpg','../images/recommend/ad1.jpg'], | ||
choiceIcon1: [ | ||
{ | ||
imageUrl: '../images/recommend/recommend-trophy.png', | ||
title: '经典必听', | ||
navUrl: '', | ||
backgroundColor:'#f09eae' | ||
},{ | ||
imageUrl: '../images/recommend/recommend-trophy.png', | ||
title: '每日必听', | ||
navUrl: '', | ||
backgroundColor:'#ff9494' | ||
},{ | ||
imageUrl: '../images/recommend/recommend-trophy.png', | ||
title: '听头条', | ||
navUrl: '', | ||
backgroundColor:'#85aff0' | ||
},{ | ||
imageUrl: '../images/recommend/recommend-trophy.png', | ||
title: '听南昌', | ||
navUrl: '', | ||
backgroundColor:'#bed497' | ||
},{ | ||
imageUrl: '../images/recommend/recommend-trophy.png', | ||
title: 'VIP会员', | ||
navUrl: '', | ||
backgroundColor:'#e9d585' | ||
}], | ||
choiceIcon2: [ | ||
{ | ||
imageUrl: '../images/recommend/recommend-trophy.png', | ||
title: '直播微课', | ||
navUrl: '', | ||
backgroundColor:'#aeee52' | ||
},{ | ||
imageUrl: '../images/recommend/recommend-trophy.png', | ||
title: '边听边看', | ||
navUrl: '', | ||
backgroundColor:'#85aff0' | ||
},{ | ||
imageUrl: '../images/recommend/recommend-trophy.png', | ||
title: '一键听', | ||
navUrl: '', | ||
backgroundColor:'#bfa0ee' | ||
},{ | ||
imageUrl: '../images/recommend/recommend-trophy.png', | ||
title: '马东职场课', | ||
navUrl: '', | ||
backgroundColor:'#e5c144' | ||
},{ | ||
imageUrl: '../images/recommend/recommend-trophy.png', | ||
title: '大师课', | ||
navUrl: '', | ||
backgroundColor:'#f0a887' | ||
}], | ||
choiceIcon3: [ | ||
{ | ||
imageUrl: '../images/recommend/recommend-trophy.png', | ||
title: '直播微课', | ||
navUrl: '', | ||
backgroundColor:'#aeee52' | ||
},{ | ||
imageUrl: '../images/recommend/recommend-trophy.png', | ||
title: '边听边看', | ||
navUrl: '', | ||
backgroundColor:'#85aff0' | ||
},{ | ||
imageUrl: '../images/recommend/recommend-trophy.png', | ||
title: '一键听', | ||
navUrl: '', | ||
backgroundColor:'#bfa0ee' | ||
},{ | ||
imageUrl: '../images/recommend/recommend-trophy.png', | ||
title: '马东职场课', | ||
navUrl: '', | ||
backgroundColor:'#e5c144' | ||
},{ | ||
imageUrl: '../images/recommend/recommend-trophy.png', | ||
title: '大师课', | ||
navUrl: '', | ||
backgroundColor:'#f0a887' | ||
},{ | ||
imageUrl: '../images/recommend/recommend-trophy.png', | ||
title: '经典必听', | ||
navUrl: '', | ||
backgroundColor:'#f09eae' | ||
},{ | ||
imageUrl: '../images/recommend/recommend-trophy.png', | ||
title: '每日必听', | ||
navUrl: '', | ||
backgroundColor:'#ff9494' | ||
},{ | ||
imageUrl: '../images/recommend/recommend-trophy.png', | ||
title: '听头条', | ||
navUrl: '', | ||
backgroundColor:'#85aff0' | ||
},{ | ||
imageUrl: '../images/recommend/recommend-trophy.png', | ||
title: '听南昌', | ||
navUrl: '', | ||
backgroundColor:'#bed497' | ||
},{ | ||
imageUrl: '../images/recommend/recommend-trophy.png', | ||
title: 'VIP会员', | ||
navUrl: '', | ||
backgroundColor:'#e9d585' | ||
}], | ||
guessImg: [{ | ||
navUrl: '', | ||
title: '盗墓笔记 周建龙精简高音质版', | ||
url: ' ' | ||
},{ | ||
navUrl: '', | ||
title: '阴阳师', | ||
url: ' ' | ||
},{ | ||
navUrl: '', | ||
title: '阴阳鬼术-韩若波讲师', | ||
url: ' ' | ||
},{ | ||
navUrl: '', | ||
title: '罪恶调查师', | ||
url: ' ' | ||
},{ | ||
navUrl: '', | ||
title: '归去来(电视剧同名小说)', | ||
url: ' ' | ||
},{ | ||
navUrl: '', | ||
title: '撒海', | ||
url: ' ' | ||
}], | ||
navLeft: 15, | ||
current: 0, | ||
navArr: [15,180,345,510,675] | ||
}, | ||
|
||
onLoad: function () { | ||
|
||
}, | ||
handletouchtart: function(e) { | ||
console.log('点击'+e.touches[0].pageX); | ||
}, | ||
handletouchmove: function(e) { | ||
|
||
}, | ||
handleChange:function (e) { | ||
var index = e.currentTarget.dataset.index; | ||
// console.log(index); | ||
this.setData({ | ||
navLeft: this.data.navArr[index-1], | ||
current: index-1 | ||
}) | ||
}, | ||
pageChange: function(e) { | ||
// console.log("滑动"+e.detail.current); | ||
this.setData({ | ||
navLeft:this.data.navArr[e.detail.current] | ||
}) | ||
} | ||
|
||
}) |
Oops, something went wrong.