Skip to content

Commit

Permalink
QuickView
Browse files Browse the repository at this point in the history
  • Loading branch information
JasonLin1230 committed Aug 9, 2020
1 parent 6279746 commit 30d4a4d
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 12 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* [ECharts微信小程序版](https://github.com/ecomfe/echarts-for-weixin)

### QuickView
![QuickView](pics/QuickView.gif)
![QuickView](pics/QuickView-v2.0.0.gif)

### QRCode
![QRCode](pics/weather-now.jpg)
![QRCode](pics/weather-now-v2.0.0.jpg)
18 changes: 8 additions & 10 deletions pages/index/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,16 +38,14 @@ Page({
},
networkNotOk: function(){
// 请求失败
if(isAllSuccess != 0){
wx.showToast({
title: '网络出问题了',
icon: 'loading',
duration: 2000
})
setTimeout(function () {
wx.hideToast()
}, 2000)
}
wx.showToast({
title: '网络出问题了',
icon: 'loading',
duration: 2000
})
setTimeout(function () {
wx.hideToast()
}, 2000)
},
// 获取天气数据
getWeatherData: function (that, address, latitude, longitude) {
Expand Down
Binary file added pics/QuickView-v2.0.0.gif
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 pics/weather-now-v2.0.0.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 removed pics/weather-now.jpg
Binary file not shown.

0 comments on commit 30d4a4d

Please sign in to comment.