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
uniquexiaobai
committed
Oct 12, 2016
1 parent
8943727
commit f1b9895
Showing
47 changed files
with
291 additions
and
293 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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
### 微信小程序试玩,踩坑中。。。 | ||
参考:[react-native-gitfeed](https://github.com/xiekw2010/react-native-gitfeed) | ||
|
||
![](./screenshot/githubfeed.gif) | ||
![](./screenshots/githubfeed.gif) |
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 |
---|---|---|
@@ -1,9 +1,5 @@ | ||
App({ | ||
onLaunch () { | ||
//调用API从本地缓存中获取数据 | ||
var logs = wx.getStorageSync('logs') || [] | ||
logs.unshift(Date.now()) | ||
wx.setStorageSync('logs', logs); | ||
|
||
} | ||
|
||
}) | ||
}); |
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
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
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
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
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 |
---|---|---|
@@ -1,10 +1,10 @@ | ||
<view class="container col align_center"> | ||
<image class="octocat" mode="aspectFit" src="{{avatar_url}}"></image> | ||
<view class="container align_center"> | ||
<image class="avatar" mode="aspectFit" src="{{avatar_url}}"></image> | ||
<view class="error_view"> | ||
<text hidden="{{error_msg_hidden}}" class="error_text"> Not Found </text> | ||
</view> | ||
<form class="col onboard" bindsubmit="handleOnboardSubmit"> | ||
<input class="input" name="username" bindinput="handleInputChange" placeholder="请填写 GitHub 用户名" placeholder-class="placeholder"/> | ||
<form class='col' bindsubmit="handleOnboardSubmit"> | ||
<input name="username" bindinput="handleInputChange" placeholder="请填写 GitHub 用户名" placeholder-class="placeholder"/> | ||
<button class="btn" formType="submit" type="primary" size="mini">Go</button> | ||
</form> | ||
</view> |
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
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
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
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
Oops, something went wrong.