forked from OpenAtomFoundation/TobudOS
-
Notifications
You must be signed in to change notification settings - Fork 0
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
Showing
20 changed files
with
1,792 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,2 @@ | ||
## 蓝牙升级微信小程序源码 | ||
|
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,12 @@ | ||
//app.js | ||
App({ | ||
globalData: { | ||
}, | ||
onLaunch: function () { | ||
this.globalData.SystemInfo = wx.getSystemInfoSync() | ||
//console.log(this.globalData.SystemInfo) | ||
wx.setKeepScreenOn({ | ||
keepScreenOn: true | ||
}) | ||
}, | ||
}) |
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,14 @@ | ||
{ | ||
"pages": [ | ||
"pages/hardware/ble/index/index", | ||
"pages/hardware/ble/device/index" | ||
], | ||
"window": { | ||
"backgroundTextStyle": "light", | ||
"navigationBarBackgroundColor": "#f8f8f8", | ||
"navigationBarTitleText": "TencentOS tiny 蓝牙OTA示例", | ||
"navigationBarTextStyle": "black", | ||
"backgroundColor": "#f8f8f8" | ||
}, | ||
"sitemapLocation": "sitemap.json" | ||
} |
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,51 @@ | ||
/**app.wxss**/ | ||
/* .container { | ||
height: 100%; | ||
display: flex; | ||
flex-direction: column; | ||
align-items: center; | ||
justify-content: space-between; | ||
padding: 100rpx 0; | ||
box-sizing: border-box; | ||
} */ | ||
|
||
|
||
.flex-row { | ||
display: flex; | ||
flex-flow: row nowrap; | ||
} | ||
|
||
.flex-row-wrap { | ||
display: flex; | ||
flex-flow: row wrap; | ||
} | ||
|
||
.flex-column-reverse { | ||
display: flex; | ||
flex-flow: column-reverse nowrap; | ||
} | ||
|
||
.center { | ||
justify-content: center; | ||
align-items: center; | ||
} | ||
|
||
.left { | ||
justify-content: flex-start; | ||
align-items: center; | ||
} | ||
|
||
.right { | ||
justify-content: flex-end; | ||
align-items: center; | ||
} | ||
|
||
.space-between { | ||
justify-content: space-between; | ||
align-items: center; | ||
} | ||
|
||
.space-around { | ||
justify-content: space-around; | ||
align-items: center; | ||
} |
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.