-
Notifications
You must be signed in to change notification settings - Fork 3
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
1 parent
2dc6d72
commit b24de1d
Showing
18 changed files
with
566 additions
and
120 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
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 |
---|---|---|
|
@@ -42,7 +42,8 @@ export default { | |
'divider', | ||
'float-ball', | ||
'rate', | ||
'switch' | ||
'switch', | ||
'loading' | ||
] | ||
}, | ||
{ | ||
|
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,29 @@ | ||
## Cube-Segment-Picker | ||
|
||
<card> | ||
|
||
### 介绍 | ||
|
||
段选择器,用于实现多段的选择,比如选择时间段:2010年9月1日 - 2014年6月30日。 | ||
|
||
</card> | ||
|
||
## 示例 | ||
|
||
<card> | ||
|
||
### 城市选择器 | ||
|
||
可以配置多段城市选择。 | ||
|
||
<!-- @example: segment-city-picker --> | ||
|
||
</card> | ||
|
||
<card> | ||
|
||
### 日期选择器 | ||
|
||
<!-- @example: segment-date-picker --> | ||
|
||
</card> |
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,41 @@ | ||
<template> | ||
<view class="loading-page"> | ||
<base-container> | ||
<view class="describe">默认大小</view> | ||
<cube-loading></cube-loading> | ||
<view class="describe">36大小</view> | ||
<cube-loading size="{{36}}"></cube-loading> | ||
<view class="describe">48大小</view> | ||
<cube-loading size="{{48}}"></cube-loading> | ||
</base-container> | ||
</view> | ||
</template> | ||
|
||
<script> | ||
import { createPage } from '@mpxjs/core' | ||
|
||
createPage({ | ||
data: { | ||
}, | ||
methods: { | ||
} | ||
}) | ||
</script> | ||
|
||
<style lang="stylus"> | ||
.loading-page | ||
padding-top: 10px | ||
height 100% | ||
background-color rgba(239, 239, 244, .7) | ||
.describe | ||
margin: 10px 0 | ||
</style> | ||
|
||
<script type="application/json"> | ||
{ | ||
"usingComponents": { | ||
"base-container": "../../components/base-container/index.mpx", | ||
"cube-loading": "@mpxjs/mpx-cube-ui/src/components/loading/index" | ||
} | ||
} | ||
</script> |
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.