Skip to content

Commit

Permalink
微信小程序--e生活
Browse files Browse the repository at this point in the history
  • Loading branch information
yllg committed Dec 3, 2017
0 parents commit c7ba49c
Show file tree
Hide file tree
Showing 134 changed files with 3,178 additions and 0 deletions.
26 changes: 26 additions & 0 deletions app.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
App({

/**
* 当小程序初始化完成时,会触发 onLaunch(全局只触发一次)
*/
onLaunch: function () {
},

globalData: {
defaultCity: '',
defaultCounty: '',
weatherData: '',
air: '',
day: '',
g_isPlayingMusic: false,
g_currentMusicPostId: null,
doubanBase: "https://api.douban.com",
heWeatherBase: "https://free-api.heweather.com",
juhetoutiaoBase:"https://v.juhe.cn/toutiao/index",
tencentMapKey: "4HYBZ-EB23D-SLC42-HQ5R3-LP3LQ-OZFU5",
heWeatherKey: "4a817b4338e04cc59bdb92da7771411e",
juhetoutiaoKey:"a9f703a0200d68926f707f3f13629078",
curBook: ""
}

})
49 changes: 49 additions & 0 deletions app.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
{
"pages": [
"pages/welcome/welcome",
"pages/index/index",
"pages/movies/movies",
"pages/switchcity/switchcity",
"pages/weather/weather",
"pages/news/news",
"pages/movies/movie-detail/movie-detail",
"pages/movies/more-movie/more-movie",
"pages/map/map",
"pages/logs/logs",
"pages/more/more"
],
"window": {
"backgroundTextStyle": "light",
"navigationBarBackgroundColor": "#2a579a",
"navigationBarTitleText": "e 生活",
"navigationBarTextStyle": "white"
},
"tabBar": {
"position": "top",
"backgroundColor": "#2a579a",
"color": "#DCEDC8",
"selectedColor": "#DCEDC8",
"list": [
{
"pagePath": "pages/index/index",
"text": "首页"
},
{
"pagePath": "pages/map/map",
"text": "周边"
},
{
"pagePath": "pages/movies/movies",
"text": "电影"
},
{
"pagePath": "pages/news/news",
"text": "新闻"
},
{
"pagePath": "pages/more/more",
"text": "更多"
}
]
}
}
10 changes: 10 additions & 0 deletions app.wxss
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
/**app.wxss**/
text{
font-family: MicroSoft Yahei;
font-size: 24rpx;
color: #666;
}

input{
font-family: MicroSoft YaHei;
}
Binary file added images/2.jpg
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 images/UNSLEEP.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 images/cidian.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 images/food.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 images/hotel.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 images/icon/arrow-right.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 images/icon/none-star.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 images/icon/star.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 images/icon/xx.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 images/keji.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 images/kuaidi.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 images/marker_blue.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 images/marker_red.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 images/more.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 images/more/more1.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 images/more/more2.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 images/more/more3.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 images/more/more4.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 images/more/more5.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 images/purse.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 images/report.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 images/service.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 images/tiyu.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 images/weather/100.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 images/weather/101.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 images/weather/102.png
Binary file added images/weather/103.png
Binary file added images/weather/104.png
Binary file added images/weather/200.png
Binary file added images/weather/201.png
Binary file added images/weather/202.png
Binary file added images/weather/203.png
Binary file added images/weather/204.png
Binary file added images/weather/205.png
Binary file added images/weather/206.png
Binary file added images/weather/207.png
Binary file added images/weather/208.png
Binary file added images/weather/209.png
Binary file added images/weather/210.png
Binary file added images/weather/211.png
Binary file added images/weather/212.png
Binary file added images/weather/213.png
Binary file added images/weather/300.png
Binary file added images/weather/301.png
Binary file added images/weather/302.png
Binary file added images/weather/303.png
Binary file added images/weather/304.png
Binary file added images/weather/305.png
Binary file added images/weather/306.png
Binary file added images/weather/307.png
Binary file added images/weather/308.png
Binary file added images/weather/309.png
Binary file added images/weather/310.png
Binary file added images/weather/311.png
Binary file added images/weather/312.png
Binary file added images/weather/313.png
Binary file added images/weather/400.png
Binary file added images/weather/401.png
Binary file added images/weather/402.png
Binary file added images/weather/403.png
Binary file added images/weather/404.png
Binary file added images/weather/405.png
Binary file added images/weather/406.png
Binary file added images/weather/407.png
Binary file added images/weather/500.png
Binary file added images/weather/501.png
Binary file added images/weather/502.png
Binary file added images/weather/503.png
Binary file added images/weather/504.png
Binary file added images/weather/507.png
Binary file added images/weather/508.png
Binary file added images/weather/900.png
Binary file added images/weather/901.png
Binary file added images/weather/999.png
Binary file added images/yule.png
Loading

0 comments on commit c7ba49c

Please sign in to comment.