-
Notifications
You must be signed in to change notification settings - Fork 66
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
36 changed files
with
152 additions
and
168 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,2 +1,3 @@ | ||
.vscode | ||
node_modules | ||
node_modules | ||
.DS_Store |
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,7 +1,7 @@ | ||
{ | ||
"component": true, | ||
"usingComponents": { | ||
"w-input": "../../dist/w-input/index", | ||
"w-input": "/dist/w-input/index", | ||
"w-cell-group": "../w-cell-group/index" | ||
} | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
{ | ||
"usingComponents": { | ||
"w-calendar": "../../dist/w-calendar/index", | ||
"w-drop-menu": "../../dist/w-drop-menu/index", | ||
"w-mask-shadow": "../../dist/w-mask-shadow/index", | ||
"w-popup": "../../dist/w-popup/index", | ||
"w-activity-indicator": "../../dist/w-activity-indicator/index", | ||
"w-button": "../../dist/w-button/index", | ||
"w-icon": "../../dist/w-icon/index", | ||
"w-pane": "../../dist/w-pane/index", | ||
"w-cell": "../../dist/w-cell/index", | ||
"w-cell-group": "../../dist/w-cell-group/index" | ||
"w-calendar": "/dist/w-calendar/index", | ||
"w-drop-menu": "/dist/w-drop-menu/index", | ||
"w-mask-shadow": "/dist/w-mask-shadow/index", | ||
"w-popup": "/dist/w-popup/index", | ||
"w-activity-indicator": "/dist/w-activity-indicator/index", | ||
"w-button": "/dist/w-button/index", | ||
"w-icon": "/dist/w-icon/index", | ||
"w-pane": "/dist/w-pane/index", | ||
"w-cell": "/dist/w-cell/index", | ||
"w-cell-group": "/dist/w-cell-group/index" | ||
} | ||
} | ||
} |
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,7 +1,7 @@ | ||
{ | ||
"usingComponents": { | ||
"w-pane": "../../dist/w-pane/index", | ||
"w-button": "../../dist/w-button/index", | ||
"w-action-sheet": "../../dist/w-action-sheet/index" | ||
"w-pane": "/dist/w-pane/index", | ||
"w-button": "/dist/w-button/index", | ||
"w-action-sheet": "/dist/w-action-sheet/index" | ||
} | ||
} | ||
} |
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,6 +1,6 @@ | ||
{ | ||
"usingComponents": { | ||
"w-indicator": "../../dist/w-activity-indicator/index", | ||
"w-pane": "../../dist/w-pane/index" | ||
"w-indicator": "/dist/w-activity-indicator/index", | ||
"w-pane": "/dist/w-pane/index" | ||
} | ||
} | ||
} |
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,96 +1,76 @@ | ||
/* | ||
* @Author: Github.Caitingwei[https://github.com/Caitingwei] | ||
* @Date: 2018-09-10 15:51:06 | ||
* @Last Modified by: Github.Caitingwei[https://github.com/Caitingwei] | ||
* @Last Modified time: 2018-09-10 17:23:30 | ||
* @Last Modified by: cnyballk[https://github.com/cnyballk] | ||
* @Last Modified time: 2018-09-19 09:20:34 | ||
*/ | ||
import { | ||
Alert | ||
} from '../../dist/common/index'; | ||
import { Alert } from '../../dist/common/index'; | ||
|
||
Page({ | ||
|
||
/** | ||
* 页面的初始数据 | ||
*/ | ||
data: { | ||
|
||
}, | ||
data: {}, | ||
|
||
/** | ||
* 生命周期函数--监听页面加载 | ||
*/ | ||
onLoad: function (options) { | ||
|
||
}, | ||
onLoad: function(options) {}, | ||
|
||
/** | ||
* 生命周期函数--监听页面初次渲染完成 | ||
*/ | ||
onReady: function () { | ||
|
||
}, | ||
onReady: function() {}, | ||
handleClick() { | ||
Alert({ | ||
title: '提示', | ||
content: 'wuss weapp is good', | ||
confirm: () => { | ||
console.log('ok') | ||
console.log('ok'); | ||
}, | ||
}) | ||
}); | ||
}, | ||
handleClick2() { | ||
Alert({ | ||
title: 'ButtonColor', | ||
content: '按钮字体颜色是#28a2f3', | ||
buttonColor: '#28a2f3', | ||
}) | ||
}); | ||
}, | ||
handleClick3() { | ||
Alert({ | ||
title: 'MoreText', | ||
content: '更多文字更多文字更多文字更多文字更多文字更多文字更多文字更多文字更多文字更多文字更多文字更多文字更多文字更多文字更多文字更多文字更多文字更多文字更多文字更多文字更多文字更多文字更多文字更多文字更多文字更多文字更多文字更多文字更多文字更多文字更多文字更多文字更多文字更多文字更多文字更多文字更多文字更多文字更多文字更多文字更多文字更多文字更多文字更多文字更多文字更多文字更多文字更多文字更多文字更多文字更多文字更多文字', | ||
}) | ||
content: | ||
'更多文字更多文字更多文字更多文字更多文字更多文字更多文字更多文字更多文字更多文字更多文字更多文字更多文字更多文字更多文字更多文字更多文字更多文字更多文字更多文字更多文字更多文字更多文字更多文字更多文字更多文字更多文字更多文字更多文字更多文字更多文字更多文字更多文字更多文字更多文字更多文字更多文字更多文字更多文字更多文字更多文字更多文字更多文字更多文字更多文字更多文字更多文字更多文字更多文字更多文字更多文字更多文字', | ||
}); | ||
}, | ||
/** | ||
* 生命周期函数--监听页面显示 | ||
*/ | ||
onShow: function () { | ||
|
||
}, | ||
onShow: function() {}, | ||
|
||
/** | ||
* 生命周期函数--监听页面隐藏 | ||
*/ | ||
onHide: function () { | ||
|
||
}, | ||
onHide: function() {}, | ||
|
||
/** | ||
* 生命周期函数--监听页面卸载 | ||
*/ | ||
onUnload: function () { | ||
|
||
}, | ||
onUnload: function() {}, | ||
|
||
/** | ||
* 页面相关事件处理函数--监听用户下拉动作 | ||
*/ | ||
onPullDownRefresh: function () { | ||
|
||
}, | ||
onPullDownRefresh: function() {}, | ||
|
||
/** | ||
* 页面上拉触底事件的处理函数 | ||
*/ | ||
onReachBottom: function () { | ||
|
||
}, | ||
onReachBottom: function() {}, | ||
|
||
/** | ||
* 用户点击右上角分享 | ||
*/ | ||
onShareAppMessage: function () { | ||
|
||
} | ||
}) | ||
onShareAppMessage: function() {}, | ||
}); |
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,7 +1,7 @@ | ||
{ | ||
"usingComponents": { | ||
"w-alert": "../../dist/w-alert/index", | ||
"w-button": "../../dist/w-button/index", | ||
"w-pane": "../../dist/w-pane/index" | ||
"w-alert": "/dist/w-alert/index", | ||
"w-button": "/dist/w-button/index", | ||
"w-pane": "/dist/w-pane/index" | ||
} | ||
} | ||
} |
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,7 +1,7 @@ | ||
{ | ||
"navigationBarTitleText": "Avtar 头像", | ||
"usingComponents": { | ||
"w-avatar": "../../dist/w-avatar/index", | ||
"w-pane": "../../dist/w-pane/index" | ||
"w-avatar": "/dist/w-avatar/index", | ||
"w-pane": "/dist/w-pane/index" | ||
} | ||
} | ||
} |
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,9 @@ | ||
{ | ||
"navigationBarTitleText": "badge 徽章", | ||
"usingComponents": { | ||
"w-badge": "../../dist/w-badge/index", | ||
"w-button": "../../dist/w-button/index", | ||
"w-pane": "../../dist/w-pane/index", | ||
"w-icon": "../../dist/w-icon/index" | ||
"w-badge": "/dist/w-badge/index", | ||
"w-button": "/dist/w-button/index", | ||
"w-pane": "/dist/w-pane/index", | ||
"w-icon": "/dist/w-icon/index" | ||
} | ||
} |
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,8 +1,8 @@ | ||
{ | ||
"usingComponents": { | ||
"w-button": "../../dist/w-button/index", | ||
"w-pane": "../../dist/w-pane/index", | ||
"w-cell": "../../dist/w-cell/index", | ||
"w-cell-group": "../../dist/w-cell-group/index" | ||
"w-button": "/dist/w-button/index", | ||
"w-pane": "/dist/w-pane/index", | ||
"w-cell": "/dist/w-cell/index", | ||
"w-cell-group": "/dist/w-cell-group/index" | ||
} | ||
} | ||
} |
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,7 +1,7 @@ | ||
{ | ||
"usingComponents": { | ||
"w-calendar": "../../dist/w-calendar/index", | ||
"w-button": "../../dist/w-button/index", | ||
"w-pane": "../../dist/w-pane/index" | ||
"w-calendar": "/dist/w-calendar/index", | ||
"w-button": "/dist/w-button/index", | ||
"w-pane": "/dist/w-pane/index" | ||
} | ||
} | ||
} |
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,8 +1,8 @@ | ||
{ | ||
"usingComponents": { | ||
"w-cell": "../../dist/w-cell/index", | ||
"w-cell-group": "../../dist/w-cell-group/index", | ||
"w-button": "../../dist/w-button/index", | ||
"w-pane": "../../dist/w-pane/index" | ||
"w-cell": "/dist/w-cell/index", | ||
"w-cell-group": "/dist/w-cell-group/index", | ||
"w-button": "/dist/w-button/index", | ||
"w-pane": "/dist/w-pane/index" | ||
} | ||
} | ||
} |
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 @@ | ||
{ | ||
"navigationBarTitleText": "Checkbox 复选框", | ||
"usingComponents": { | ||
"w-cell": "../../dist/w-cell/index", | ||
"w-cell-group": "../../dist/w-cell-group/index", | ||
"w-button": "../../dist/w-button/index", | ||
"w-checkbox": "../../dist/w-checkbox/index", | ||
"w-pane": "../../dist/w-pane/index" | ||
"w-cell": "/dist/w-cell/index", | ||
"w-cell-group": "/dist/w-cell-group/index", | ||
"w-button": "/dist/w-button/index", | ||
"w-checkbox": "/dist/w-checkbox/index", | ||
"w-pane": "/dist/w-pane/index" | ||
} | ||
} |
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,8 +1,8 @@ | ||
{ | ||
"navigationBarTitleText": "Countdown 倒计时", | ||
"usingComponents": { | ||
"w-countdown": "../../dist/w-countdown/index", | ||
"w-button": "../../dist/w-button/index", | ||
"w-pane": "../../dist/w-pane/index" | ||
"w-countdown": "/dist/w-countdown/index", | ||
"w-button": "/dist/w-button/index", | ||
"w-pane": "/dist/w-pane/index" | ||
} | ||
} | ||
} |
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,7 +1,7 @@ | ||
{ | ||
"usingComponents": { | ||
"w-dialog": "../../dist/w-dialog/index", | ||
"w-button": "../../dist/w-button/index", | ||
"w-pane": "../../dist/w-pane/index" | ||
"w-dialog": "/dist/w-dialog/index", | ||
"w-button": "/dist/w-button/index", | ||
"w-pane": "/dist/w-pane/index" | ||
} | ||
} | ||
} |
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,6 +1,6 @@ | ||
{ | ||
"usingComponents": { | ||
"w-drop-menu": "../../dist/w-drop-menu/index", | ||
"w-pane": "../../dist/w-pane/index" | ||
"w-drop-menu": "/dist/w-drop-menu/index", | ||
"w-pane": "/dist/w-pane/index" | ||
} | ||
} | ||
} |
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,16 +1,16 @@ | ||
{ | ||
"navigationBarTitleText": "Form 表单", | ||
"usingComponents": { | ||
"w-cell": "../../dist/w-cell/index", | ||
"w-cell-group": "../../dist/w-cell-group/index", | ||
"w-input": "../../dist/w-input/index", | ||
"w-checkbox": "../../dist/w-checkbox/index", | ||
"w-button": "../../dist/w-button/index", | ||
"w-form": "../../dist/w-form/index", | ||
"w-switch": "../../dist/w-switch/index", | ||
"w-radio": "../../dist/w-radio/index", | ||
"w-validate": "../../dist/w-validate/index", | ||
"w-picker": "../../dist/w-picker/index", | ||
"w-pane": "../../dist/w-pane/index" | ||
"w-cell": "/dist/w-cell/index", | ||
"w-cell-group": "/dist/w-cell-group/index", | ||
"w-input": "/dist/w-input/index", | ||
"w-checkbox": "/dist/w-checkbox/index", | ||
"w-button": "/dist/w-button/index", | ||
"w-form": "/dist/w-form/index", | ||
"w-switch": "/dist/w-switch/index", | ||
"w-radio": "/dist/w-radio/index", | ||
"w-validate": "/dist/w-validate/index", | ||
"w-picker": "/dist/w-picker/index", | ||
"w-pane": "/dist/w-pane/index" | ||
} | ||
} |
Oops, something went wrong.