Skip to content

Commit

Permalink
v0.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
defaultProps committed Jun 19, 2018
1 parent 2c7479e commit c735602
Show file tree
Hide file tree
Showing 131 changed files with 2,260 additions and 0 deletions.
10 changes: 10 additions & 0 deletions Desktop/Himalayan (1)/app.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
//app.js
App({
onLaunch: function () {


},
globalData: {
urlImages:'../images/'
}
})
50 changes: 50 additions & 0 deletions Desktop/Himalayan (1)/app.json
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": "登录"
}]
}
}
7 changes: 7 additions & 0 deletions Desktop/Himalayan (1)/app.wxss
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.
Binary file added Desktop/Himalayan (1)/pages/images/listen/add.png
169 changes: 169 additions & 0 deletions Desktop/Himalayan (1)/pages/index/index.js
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]
})
}

})
Loading

0 comments on commit c735602

Please sign in to comment.