diff --git a/pages/API/download-file/download-file.uvue b/pages/API/download-file/download-file.uvue
index 6bb7cebbaa6bcd1dfc1466d86d6aa86c7e7dd1a1..202c5f44e7087aad12e2cc6b8708b4058f57da6c 100644
--- a/pages/API/download-file/download-file.uvue
+++ b/pages/API/download-file/download-file.uvue
@@ -1,83 +1,89 @@
-
-
-
-
-
-
-
-
- 点击按钮下载服务端示例图片(下载网络文件到本地临时目录)
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+ 点击按钮下载服务端示例图片(下载网络文件到本地临时目录)
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
+.image-container {
+ display: flex;
+ justify-content: center;
+ align-items: center;
+}
+
diff --git a/pages/API/event-bus/event-bus.uvue b/pages/API/event-bus/event-bus.uvue
index 6abf994423dcf2b4dba93b7841d277901c711efa..c33737a8a15ea83d5d8243fb2658e6e29178601f 100644
--- a/pages/API/event-bus/event-bus.uvue
+++ b/pages/API/event-bus/event-bus.uvue
@@ -1,24 +1,30 @@
-
-
-
-
-
-
-
- 收到的消息:
-
- {{ item }}
+
+
+
+
+
+
+
+
+
+
+ 收到的消息:
+
+ {{ item }}
+
-
+
+
+
@@ -48,4 +54,4 @@ export default {
.box {
padding: 10px;
}
-
\ No newline at end of file
+
diff --git a/pages/API/get-device-info/get-device-info.uvue b/pages/API/get-device-info/get-device-info.uvue
index 0dc56465df9b8bf7b3b28af5d0c107b98955bdac..9f64d3d31a926a1954baec993d3c1fc8b7e16abe 100644
--- a/pages/API/get-device-info/get-device-info.uvue
+++ b/pages/API/get-device-info/get-device-info.uvue
@@ -1,62 +1,79 @@
-
-
-
-
-
-
-
- {{item.label}}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+ {{
+ item.label
+ }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
diff --git a/pages/API/get-system-info/get-system-info.uvue b/pages/API/get-system-info/get-system-info.uvue
index 9a8705f1315684f9b0cb57898e76073b0a7b144d..62bfa7c3b7a6b09ccf13782d863528f1f2854688 100644
--- a/pages/API/get-system-info/get-system-info.uvue
+++ b/pages/API/get-system-info/get-system-info.uvue
@@ -1,63 +1,82 @@
-
-
-
-
-
-
- {{item.label}}
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+ {{
+ item.label
+ }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
+.uni-pd {
+ padding-left: 30rpx;
+}
+
diff --git a/pages/API/modal/modal.uvue b/pages/API/modal/modal.uvue
index 9167fe80e83f50a1829e081de0419b74d67a6052..a2dab955169bfcabd624e7fda47c1dc683d2b4ff 100644
--- a/pages/API/modal/modal.uvue
+++ b/pages/API/modal/modal.uvue
@@ -1,78 +1,85 @@
-
-
-
-
-
- {{item.name}}
-
-
+
+
+
+
+
+
+
+
+ {{ item.name }}
+
+
+
+
+
+ 是否显示取消按钮
+
+
+
+ 定制取消文案
+
+
+
+ 定制确认文案
+
+
+
+ 是否显示输入框
+
+
+
+ 是否定制输入提示词
+
+
+
+
+
+
+
+ {{ exeRet }}
+
-
-
- 是否显示取消按钮
-
-
-
- 定制取消文案
-
-
-
- 定制确认文案
-
-
-
- 是否显示输入框
-
-
-
- 是否定制输入提示词
-
-
-
-
-
-
-
- {{exeRet}}
-
-
-
+
+
+
\ No newline at end of file
diff --git a/pages/API/navigator/navigator.uvue b/pages/API/navigator/navigator.uvue
index 67d7afbffdd97a440709f1e9c697dd6adeaf73f5..bad361612e673be90705d30c55e53236889ed826 100644
--- a/pages/API/navigator/navigator.uvue
+++ b/pages/API/navigator/navigator.uvue
@@ -1,48 +1,56 @@
-
-
-
-
- onLoad触发时间戳:
- {{ onLoadTime }}
-
-
- onShow触发时间戳:
- {{ onShowTime }}
-
-
- onReady触发时间戳:
- {{ onReadyTime }}
-
-
- onHide触发时间戳:
- {{ onHideTime }}
-
-
- onBackPress触发时间戳:
- 见控制台
-
-
- onUnload触发时间戳:
- 见控制台
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+ onLoad触发时间戳:
+ {{ onLoadTime }}
+
+
+ onShow触发时间戳:
+ {{ onShowTime }}
+
+
+ onReady触发时间戳:
+ {{ onReadyTime }}
+
+
+ onHide触发时间戳:
+ {{ onHideTime }}
+
+
+ onBackPress触发时间戳:
+ 见控制台
+
+
+ onUnload触发时间戳:
+ 见控制台
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
+.list-item {
+ height: 100px;
+ padding-left: 30px;
+}
+
diff --git a/pages/API/preview-image/preview-image.uvue b/pages/API/preview-image/preview-image.uvue
index 64e0dd61ca219fed96ead1f26bb374f6e451ef18..69b1400d913666b0de78c618cc1416a0156016b2 100644
--- a/pages/API/preview-image/preview-image.uvue
+++ b/pages/API/preview-image/preview-image.uvue
@@ -1,111 +1,145 @@
-
-
- 图片指示器样式
-
-
- {{item.name}}
-
-
-
-
-
- 循环播放
-
-
-
- 点击图片开始预览
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+ 图片指示器样式
+
+
+ {{
+ item.name
+ }}
+
+
+
+
+
+ 循环播放
+
+
+
+ 点击图片开始预览
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
+.indicator-it {
+ margin: 16rpx;
+}
+
diff --git a/pages/API/storage/storage.uvue b/pages/API/storage/storage.uvue
index 974f490c53254a040fb68ecca7f5494969f55a07..884d0769051eb89ca3f7ac623c792bdbc50695b2 100644
--- a/pages/API/storage/storage.uvue
+++ b/pages/API/storage/storage.uvue
@@ -1,282 +1,340 @@
-
-
-
-
-
-
- key
-
-
-
-
-
-
-
- value
-
-
-
-
-
-
-
-
-
-
-
-
- {{storageInfo}}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+ key
+
+
+
+
+
+
+
+ value
+
+
+
+
+
+
+
+
+
+
+
+ {{ storageInfo }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
+.button-sp-area {
+ flex-direction: row;
+ margin: 0 auto;
+}
+
diff --git a/pages/API/upload-file/upload-file.uvue b/pages/API/upload-file/upload-file.uvue
index edcb14d31045a3a0256fc5f917f8de9091c590e5..9df35c459dea4cd1e695ded48fbced4a5c90022a 100644
--- a/pages/API/upload-file/upload-file.uvue
+++ b/pages/API/upload-file/upload-file.uvue
@@ -1,105 +1,118 @@
-
-
-
-
-
- + 选择图片
-
-
-
+
+
+
+
+
+
+
+
+ + 选择图片
+
+
+
+
+
+
\ No newline at end of file
+.uni-hello-addfile {
+ text-align: center;
+ line-height: 300rpx;
+ background: #fff;
+ padding: 50rpx;
+ margin-top: 10px;
+ font-size: 38rpx;
+ color: #808080;
+}
+
diff --git a/pages/CSS/background/background-color.uvue b/pages/CSS/background/background-color.uvue
index 36c63c44f188583891831a932f8a98d24ba86851..d320cd2d287f54c62f7c677a1c6bbd8e14b4677a 100644
--- a/pages/CSS/background/background-color.uvue
+++ b/pages/CSS/background/background-color.uvue
@@ -1,39 +1,44 @@
-
-
- background-color: red
-
-
+
+
+
+
+
+ background-color: red
+
+
-
- background-color: #ff0000
-
-
-
-
- background-color: #f00
-
-
+
+ background-color: #ff0000
+
+
-
- background-color: rgb(255, 0, 0)
-
-
-
-
- background-color: rgba(255, 0, 0, 0.5)
-
-
-
-
+
+ background-color: #f00
+
+
-
+
+ background-color: rgba(255, 0, 0, 0.5)
+
+
+
+
+
+
+
\ No newline at end of file
+.common {
+ width: 500rpx;
+ height: 500rpx;
+}
+
diff --git a/pages/CSS/border/border-color.uvue b/pages/CSS/border/border-color.uvue
index ae03864d8049dd1aa6b987d1b74a0d86d8991d66..31a7392d96b6ce7c2432a6cf7b9be8fbe74142b5 100644
--- a/pages/CSS/border/border-color.uvue
+++ b/pages/CSS/border/border-color.uvue
@@ -1,40 +1,57 @@
-
-
- border-color: red
-
-
-
-
- border-left-color: red
-
-
-
-
- border-top-color: green
-
-
-
-
- border-right-color: yellow
-
-
-
-
- border-bottom-color: blue
-
-
-
-
+
+
+
+
+
+ border-color: red
+
+
+
+
+ border-left-color: red
+
+
-
+
+ border-right-color: yellow
+
+
+
+
+ border-bottom-color: blue
+
+
+
+
+
+
+
\ No newline at end of file
+.common {
+ width: 500rpx;
+ height: 500rpx;
+ background-color: gray;
+}
+
diff --git a/pages/CSS/border/border-radius.uvue b/pages/CSS/border/border-radius.uvue
index 35447a38abfd9f8e7713aeda333f467cf7b116c3..e18738d2c0ceefb27063eddcc0c3264dab3efcae 100644
--- a/pages/CSS/border/border-radius.uvue
+++ b/pages/CSS/border/border-radius.uvue
@@ -1,40 +1,42 @@
-
-
- border-radius: 20rpx
-
-
-
-
- border-top-left-radius: 20rpx
-
-
-
-
- border-top-right-radius: 20rpx
-
-
-
-
- border-bottom-left-radius: 20rpx
-
-
-
-
- border-bottom-right-radius: 20rpx
-
-
-
-
+
+
+
+
+
+ border-radius: 20rpx
+
+
+
+
+ border-top-left-radius: 20rpx
+
+
-
+
+ border-bottom-left-radius: 20rpx
+
+
+
+
+ border-bottom-right-radius: 20rpx
+
+
+
+
+
+
+
\ No newline at end of file
+.common {
+ width: 500rpx;
+ height: 500rpx;
+ background-color: gray;
+}
+
diff --git a/pages/CSS/border/border-style.uvue b/pages/CSS/border/border-style.uvue
index 6420c8506e5ee88bce061cc863d22207595dcae5..b3fb8536fb4940011f6873eab1a9cc98c0422b95 100644
--- a/pages/CSS/border/border-style.uvue
+++ b/pages/CSS/border/border-style.uvue
@@ -1,40 +1,57 @@
-
-
- border-style: dashed
-
-
-
-
- border-left-style: dashed
-
-
-
-
- border-top-style: dashed
-
-
-
-
- border-right-style: dotted
-
-
-
-
- border-bottom-style: dotted
-
-
-
-
+
+
+
+
+
+ border-style: dashed
+
+
+
+
+ border-left-style: dashed
+
+
-
+
+ border-right-style: dotted
+
+
+
+
+ border-bottom-style: dotted
+
+
+
+
+
+
+
\ No newline at end of file
+.common {
+ width: 500rpx;
+ height: 500rpx;
+ background-color: gray;
+}
+
diff --git a/pages/CSS/border/border-width.uvue b/pages/CSS/border/border-width.uvue
index 40005a134bb0cd75f36ab774f226d0398c8093dc..1de2a19d70af4ef4f8b0c26f762a5b8c1ea3f2f5 100644
--- a/pages/CSS/border/border-width.uvue
+++ b/pages/CSS/border/border-width.uvue
@@ -1,40 +1,42 @@
-
-
- border-width: 10rpx
-
-
-
-
- border-left-width: 10rpx
-
-
-
-
- border-top-width: 20rpx
-
-
-
-
- border-right-width: 30rpx
-
-
-
-
- border-bottom-width: 40rpx
-
-
-
-
+
+
+
+
+
+ border-width: 10rpx
+
+
+
+
+ border-left-width: 10rpx
+
+
-
+
+ border-right-width: 30rpx
+
+
+
+
+ border-bottom-width: 40rpx
+
+
+
+
+
+
+
\ No newline at end of file
+.common {
+ width: 500rpx;
+ height: 500rpx;
+ background-color: gray;
+}
+
diff --git a/pages/CSS/box-shadow/box-shadow.uvue b/pages/CSS/box-shadow/box-shadow.uvue
index 1bd18e9ec53623ac5c75b1b606a13bce9eb9dee3..1448eecae5cfe503bf5d9a22d14e3dd113f70861 100644
--- a/pages/CSS/box-shadow/box-shadow.uvue
+++ b/pages/CSS/box-shadow/box-shadow.uvue
@@ -1,144 +1,180 @@
-
-
- box-shadow: 5px 5px black
-
-
-
-
-
-
- box-shadow: 5px 5px 5px black
-
-
-
-
-
-
- box-shadow: 5px 10px 5px black
-
-
-
-
-
-
- box-shadow: 5px 5px 5px 5px black
-
-
-
-
-
-
- box-shadow: -5px -5px 5px black
-
-
-
-
-
-
- box-shadow: inset 5px 5px black
-
-
-
-
-
-
- box-shadow: inset 5px 5px 5px black
-
-
-
-
-
-
- box-shadow: inset 5px 10px 5px black
-
-
-
-
-
-
- box-shadow: inset 5px 5px 5px 5px black
-
-
-
-
-
-
- box-shadow: inset -5px -5px 5px black
-
-
-
-
-
-
- box-shadow: 0px 1px 3px rgba(0,0,0,0.4)
-
-
-
-
-
-
- circle: box-shadow: 5px 5px black
-
-
-
-
-
-
-
- circle: box-shadow: 5px 5px 5px black
-
-
-
-
-
-
- circle: box-shadow: 5px 10px 5px black
-
-
-
-
-
-
- circle: box-shadow: 5px 5px 5px 5px black
-
-
-
-
-
-
- circle: box-shadow: -5px -5px 5px black
-
-
-
-
-
-
- circle: box-shadow: 0px 1px 3px rgba(0,0,0,0.4)
-
-
-
-
-
-
+
+
+
+
+
+ box-shadow: 5px 5px black
+
+
+
+
+
+
+ box-shadow: 5px 5px 5px black
+
+
+
+
+
+
+ box-shadow: 5px 10px 5px black
+
+
+
+
+
+
+ box-shadow: 5px 5px 5px 5px black
+
+
+
+
+
+
+ box-shadow: -5px -5px 5px black
+
+
+
+
+
+
+ box-shadow: inset 5px 5px black
+
+
+
+
+
+
+ box-shadow: inset 5px 5px 5px black
+
+
+
+
+
+
+ box-shadow: inset 5px 10px 5px black
+
+
+
+
+
+
+ box-shadow: inset 5px 5px 5px 5px black
+
+
+
+
+
+
+ box-shadow: inset -5px -5px 5px black
+
+
+
+
+
+
+ box-shadow: 0px 1px 3px rgba(0,0,0,0.4)
+
+
+
+
+
+
+ circle: box-shadow: 5px 5px black
+
+
+
+
+
+
+ circle: box-shadow: 5px 5px 5px black
+
+
+
+
+
+
+ circle: box-shadow: 5px 10px 5px black
+
+
+
+
+
+
+ circle: box-shadow: 5px 5px 5px 5px black
+
+
+
+
+
+
+ circle: box-shadow: -5px -5px 5px black
+
+
+
+
+
+
+ circle: box-shadow: 0px 1px 3px rgba(0,0,0,0.4)
+
+
+
+
+
+
+
+
-
-
\ No newline at end of file
+.common {
+ width: 250rpx;
+ height: 250rpx;
+ background-color: brown;
+}
+
+.backgroundview {
+ width: 500rpx;
+ height: 500rpx;
+ background-color: white;
+ justify-content: center;
+ align-items: center;
+}
+
diff --git a/pages/CSS/flex/align-content.uvue b/pages/CSS/flex/align-content.uvue
index af2c205524d492fd64823fb9926aee7d1d916d71..a90f8c522c6a500ac2517ce2b17bcae54c85ba3a 100644
--- a/pages/CSS/flex/align-content.uvue
+++ b/pages/CSS/flex/align-content.uvue
@@ -1,89 +1,150 @@
-
-
- align-content: center
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+ align-content: center
+
+
+
+
+
+
+
+
+
-
- align-content: flex-start
-
-
-
-
-
-
-
-
-
+
+ align-content: flex-start
+
+
+
+
+
+
+
+
+
-
- align-content: flex-end
-
-
-
-
-
-
-
-
-
+
+ align-content: flex-end
+
+
+
+
+
+
+
+
+
-
- align-content: space-between
-
-
-
-
-
-
-
-
-
+
+ align-content: space-between
+
+
+
+
+
+
+
+
+
-
- align-content: space-around
-
-
-
-
-
-
-
-
-
-
-
- align-content: stretch
-
-
-
-
-
-
-
-
-
-
+
+ align-content: space-around
+
+
+
+
+
+
+
+
+
+
+ align-content: stretch
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
\ No newline at end of file
+.common {
+ width: 500rpx;
+ height: 500rpx;
+ background-color: gray;
+ flex-flow: row wrap;
+}
+
diff --git a/pages/CSS/flex/align-items.uvue b/pages/CSS/flex/align-items.uvue
index d52d1b0a40d7a58f9e9b7c940ac8e09079ea83fe..ca6b05862d47d444e0a41a0031f30e48725340fe 100644
--- a/pages/CSS/flex/align-items.uvue
+++ b/pages/CSS/flex/align-items.uvue
@@ -1,52 +1,72 @@
-
-
- align-items: center
-
-
-
-
-
-
+
+
+
+
+
+ align-items: center
+
+
+
+
+
+
-
- align-items: flex-start
-
-
-
-
-
-
+
+ align-items: flex-start
+
+
+
+
+
+
-
- align-items: flex-end
-
-
-
-
-
-
+
+ align-items: flex-end
+
+
+
+
+
+
-
- align-items: stretch
-
-
-
-
-
-
-
+
+ align-items: stretch
+
+
+
+
+
+
+
+
+
+
-
-
\ No newline at end of file
+.common {
+ width: 500rpx;
+ height: 500rpx;
+ background-color: gray;
+ flex-direction: row;
+}
+
diff --git a/pages/CSS/flex/flex-basis.uvue b/pages/CSS/flex/flex-basis.uvue
index f94abb3f044d34ecaef400357edeb8ad7340866a..e1bd3221210b8ef0f7f978f6fd63db7878b32d02 100644
--- a/pages/CSS/flex/flex-basis.uvue
+++ b/pages/CSS/flex/flex-basis.uvue
@@ -1,28 +1,35 @@
-
-
- flex-basis
-
-
- 300rpx
-
-
-
-
-
-
+
+
+ flex-basis
+
+
+ 300rpx
+
+
+
+
+
+
-
-
\ No newline at end of file
+.common {
+ width: 100rpx;
+ height: 100rpx;
+ background-color: red;
+ justify-content: center;
+ align-items: center;
+}
+
diff --git a/pages/CSS/flex/flex-direction.uvue b/pages/CSS/flex/flex-direction.uvue
index c7e3afc30da36d4a29d9b7129fc710b4ebf16d37..bc89c94dea5c65f89032639a5ee2851aaee60e6d 100644
--- a/pages/CSS/flex/flex-direction.uvue
+++ b/pages/CSS/flex/flex-direction.uvue
@@ -1,51 +1,77 @@
-
-
- flex-direction: row
-
-
-
-
-
-
+
+
+
+
+
+ flex-direction: row
+
+
+
+
+
+
-
- flex-direction: row-reverse
-
-
-
-
-
-
+
+ flex-direction: row-reverse
+
+
+
+
+
+
-
- flex-direction: column
-
-
-
-
-
-
+
+ flex-direction: column
+
+
+
+
+
+
-
- flex-direction: column-reverse
-
-
-
-
-
-
-
+
+ flex-direction: column-reverse
+
+
+
+
+
+
+
+
+
+
-
-
\ No newline at end of file
+.common {
+ width: 500rpx;
+ height: 500rpx;
+ background-color: gray;
+}
+
diff --git a/pages/CSS/flex/flex-flow.uvue b/pages/CSS/flex/flex-flow.uvue
index 7a021ff3e391ddb26c6cc3750fcd8c610919409e..6072a2735e10924b979de45e0df118f06d22e1d9 100644
--- a/pages/CSS/flex/flex-flow.uvue
+++ b/pages/CSS/flex/flex-flow.uvue
@@ -1,63 +1,233 @@
-
-
- flex-flow: row nowrap
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+ flex-flow: row nowrap
+
+
+
+
+
+
+
+
+
-
- flex-flow: row wrap
-
-
-
-
-
-
-
-
-
+
+ flex-flow: row wrap
+
+
+
+
+
+
+
+
+
-
- flex-flow: column nowrap
-
-
-
-
-
-
-
-
-
+
+ flex-flow: column nowrap
+
+
+
+
+
+
+
+
+
-
- flex-flow: column wrap
-
-
-
-
-
-
-
-
-
-
+
+ flex-flow: column wrap
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
\ No newline at end of file
+.common {
+ width: 500rpx;
+ height: 500rpx;
+ background-color: gray;
+}
+
diff --git a/pages/CSS/flex/flex-grow.uvue b/pages/CSS/flex/flex-grow.uvue
index e40fa97a4b2d64f61daf5e40721381ed7ccb1268..35a5f4b83fe87b2e403c94590650716592d092d2 100644
--- a/pages/CSS/flex/flex-grow.uvue
+++ b/pages/CSS/flex/flex-grow.uvue
@@ -1,31 +1,34 @@
-
-
- flex-grow
-
-
- 0.5
-
-
- 1
-
-
- 2
-
-
-
-
+
+
+ flex-grow
+
+
+ 0.5
+
+
+ 1
+
+
+ 2
+
+
+
+
-
-
\ No newline at end of file
+.common {
+ width: 100rpx;
+ height: 100rpx;
+ justify-content: center;
+ align-items: center;
+}
+
diff --git a/pages/CSS/flex/flex-shrink.uvue b/pages/CSS/flex/flex-shrink.uvue
index 04d5431d36a81600bdd6ae1ee99f9c82cbdc0fc2..5f0dda6dc85a15ba82a2ec53594e047b8d884c19 100644
--- a/pages/CSS/flex/flex-shrink.uvue
+++ b/pages/CSS/flex/flex-shrink.uvue
@@ -1,31 +1,34 @@
-
-
- flex-shrink
-
-
- 1
-
-
- 2
-
-
- 3
-
-
-
-
+
+
+ flex-shrink
+
+
+ 1
+
+
+ 2
+
+
+ 3
+
+
+
+
-
-
\ No newline at end of file
+.common {
+ width: 250rpx;
+ height: 100rpx;
+ justify-content: center;
+ align-items: center;
+}
+
diff --git a/pages/CSS/flex/flex.uvue b/pages/CSS/flex/flex.uvue
index 87cf159f7e4d4e5b22d72278af88b59ab19b71f3..381947c261c4e7b1a90920cdd191d36bd7441c37 100644
--- a/pages/CSS/flex/flex.uvue
+++ b/pages/CSS/flex/flex.uvue
@@ -1,51 +1,97 @@
-
-
- flex: 0
-
-
-
-
-
-
+
+
+
+
+
+ flex: 0
+
+
+
+
+
+
-
- flex: 1
-
-
-
-
-
-
+
+ flex: 1
+
+
+
+
+
+
-
- flex: auto
-
-
-
-
-
-
+
+ flex: auto
+
+
+
+
+
+
-
- flex: none
-
-
-
-
-
-
-
+
+ flex: none
+
+
+
+
+
+
+
+
+
+
-
-
\ No newline at end of file
+.common {
+ width: 100rpx;
+ height: 100rpx;
+ background-color: red;
+}
+
diff --git a/pages/CSS/flex/justify-content.uvue b/pages/CSS/flex/justify-content.uvue
index 74c78e44c1add871d5493bca20c8129cb3b62bbe..ecbd13043b4d1f9b86e8f34757247e45472d4192 100644
--- a/pages/CSS/flex/justify-content.uvue
+++ b/pages/CSS/flex/justify-content.uvue
@@ -1,61 +1,93 @@
-
-
- justify-content: center
-
-
-
-
-
-
+
+
+
+
+
+ justify-content: center
+
+
+
+
+
+
-
- justify-content: flex-start
-
-
-
-
-
-
+
+ justify-content: flex-start
+
+
+
+
+
+
-
- justify-content: flex-end
-
-
-
-
-
-
+
+ justify-content: flex-end
+
+
+
+
+
+
-
- justify-content: space-between
-
-
-
-
-
-
+
+ justify-content: space-between
+
+
+
+
+
+
-
- justify-content: space-around
-
-
-
-
-
-
-
+
+ justify-content: space-around
+
+
+
+
+
+
+
+
+
+
-
-
\ No newline at end of file
+.common {
+ width: 500rpx;
+ height: 500rpx;
+ background-color: gray;
+ flex-direction: row;
+}
+
diff --git a/pages/CSS/layout/position.uvue b/pages/CSS/layout/position.uvue
index bbfa86a1640a660843865090252bb4a5fe76884e..130ff813b5fa2a0c393366552338a01281577630 100644
--- a/pages/CSS/layout/position.uvue
+++ b/pages/CSS/layout/position.uvue
@@ -1,70 +1,126 @@
-
-
- position: relative
-
-
-
- relative
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+ position: relative
+
+
+
+ relative
+
+
+
+
+
+
+
+
+
+
-
- position: absolute
-
-
-
- absolute
-
-
-
-
-
-
-
-
-
-
+
+ position: absolute
+
+
+
+ absolute
+
+
+
+
+
+
+
+
+
+
-
- position: fixed
-
-
-
- fixed
-
-
-
-
-
-
-
-
-
-
-
+
+ position: fixed
+
+
+
+ fixed
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
\ No newline at end of file
+.common {
+ width: 100rpx;
+ height: 100rpx;
+ background-color: green;
+ top: 50rpx;
+ left: 50rpx;
+ justify-content: center;
+ align-items: center;
+}
+
diff --git a/pages/CSS/transform/transform.uvue b/pages/CSS/transform/transform.uvue
index 284581d60d2f835c351972b9ce50f07a225ab8df..25338cb5317fec2ac6a54fe8e5af6aaab4997a05 100644
--- a/pages/CSS/transform/transform.uvue
+++ b/pages/CSS/transform/transform.uvue
@@ -1,36 +1,57 @@
-
- translateX(120%)
- translateY(-30rpx)
- translate(120%,50%)
- scaleX(0.8)
- scaleY(0.8)
- scale(0.8,0.8)
- rotate(20deg)
- rotateX(50deg)
- rotateY(50deg)
- rotateZ(50deg)
-
+
+
+
+
+ translateX(120%)
+ translateY(-30rpx)
+ translate(120%,50%)
+ scaleX(0.8)
+ scaleY(0.8)
+ scale(0.8,0.8)
+ rotate(20deg)
+ rotateX(50deg)
+ rotateY(50deg)
+ rotateZ(50deg)
+
+
+
+
\ No newline at end of file
+.baseStyle {
+ background-color: cadetblue;
+ margin: 10rpx;
+ width: 300rpx;
+ height: 300rpx;
+ align-items: center;
+ flex: 1;
+ justify-content: center;
+}
+
diff --git a/pages/CSS/transition/transition.uvue b/pages/CSS/transition/transition.uvue
index b79445df65cb11a7b0b20cd08e49f54a28a6e190..6d39432ce8f44271f04c859fb25bc0f9013ade6c 100644
--- a/pages/CSS/transition/transition.uvue
+++ b/pages/CSS/transition/transition.uvue
@@ -1,142 +1,192 @@
-
-
- 点击修改宽度
-
-
-
- 点击修改Margin
-
-
-
- 点击修改Padding
-
-
-
-
-
- 点击修改Background
-
-
-
- 点击修改Transform
-
-
-
- 点击修改Border
-
-
-
- 点击修改Position
-
-
-
+
+
+
+
+
+ 点击修改宽度
+
+
+
+ 点击修改Margin
+
+
+
+ 点击修改Padding
+
+
+
+
+
+ 点击修改Background
+
+
+
+ 点击修改Transform
+
+
+
+ 点击修改Border
+
+
+
+ 点击修改Position
+
+
+
+
+
+
\ No newline at end of file
+.transition-position {
+ transition-property: left;
+ transition-duration: 1000;
+}
+
diff --git a/pages/component/button/button.uvue b/pages/component/button/button.uvue
index da997de57435989f11fceed3f621babeb4638596..cb3c3646c9874fc649c98c2d9c87540693ae19b7 100644
--- a/pages/component/button/button.uvue
+++ b/pages/component/button/button.uvue
@@ -1,86 +1,119 @@
+
+
+
-
-
-
-
-
+
+
+
+
+
-
-
+
+
-
-
+
+
-
-
-
+
+
+
-
-
+
+
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
\ No newline at end of file
+.mini-btn {
+ margin-right: 10rpx;
+ margin-bottom: 30rpx;
+}
+
diff --git a/pages/component/checkbox/checkbox.uvue b/pages/component/checkbox/checkbox.uvue
index 2734e84d2ca1e17924b8bfc4fd1b1364222ce479..d9b24e6f0635c9902bf37a71b2cb697d0f1e51f9 100644
--- a/pages/component/checkbox/checkbox.uvue
+++ b/pages/component/checkbox/checkbox.uvue
@@ -1,129 +1,166 @@
+
+
+
-
-
-
-
- 默认样式
-
-
-
-
- 选中
- {{text}}
- 禁用
-
- {{wrapText}}
-
-
-
-
-
- 不同颜色和尺寸的checkbox
-
-
-
-
- 选中
-
- 未选中
-
-
+
+
+
+ 默认样式
-
-
-
-
- 推荐展示样式
-
-
+
+
+ 选中
+ {{ text }}
+ 禁用
+
+ {{ wrapText }}
+
+
+
+
+ 不同颜色和尺寸的checkbox
-
-
-
- {{item.name}}
-
-
+
+
+ 选中
+
+ 未选中
+
+
+
+
+
+
+ 推荐展示样式
+
+
+
+
+ {{ item.name }}
+
+
+
+
+
+
\ No newline at end of file
+.uni-list-cell {
+ justify-content: flex-start;
+}
+
diff --git a/pages/component/input/input.uvue b/pages/component/input/input.uvue
index 6c1ae1867a6fd22cede6d3be1e5cd4c284777946..f2472eb72101ef1adb6b90324025f8710eb16f63 100644
--- a/pages/component/input/input.uvue
+++ b/pages/component/input/input.uvue
@@ -1,202 +1,307 @@
+
+
+
-
-
-
- 可自动聚焦的 input
-
-
-
-
-
-
+
-
-
- 键盘右下角按钮显示为搜索
-
-
-
-
-
-
- 键盘右下角按钮显示为发送
-
-
-
-
-
-
- 控制最大输入长度的 input
-
-
-
-
-
- 实时获取输入值:{{inputValue}}
-
-
-
-
-
- 控制输入的 input
-
-
-
-
-
-
+
+ 键盘右下角按钮显示为搜索
+
+
+
+
+
+
+ 键盘右下角按钮显示为发送
+
+
+
+
+
+
+ 控制最大输入长度的 input
+
+
+
+
+
+ 实时获取输入值:{{ inputValue }}
+
+
+
+
+
+ 控制输入的 input
+
+
+
+
+
+
-
-
- 数字输入的 input
-
-
-
-
-
- 密码输入的 input
-
-
-
-
-
- 带小数点的 input
-
-
-
-
-
+
+ 数字输入的 input
+
+
+
+
+
+ 密码输入的 input
+
+
+
+
+
+ 带小数点的 input
+
+
+
+
+
-
- 控制占位符颜色的 input
-
-
-
-
-
- 带清除按钮的输入框
-
-
-
-
-
-
- 可查看密码的输入框
-
-
-
-
-
+
+ 控制占位符颜色的 input
+
+
+
+
+
+ 带清除按钮的输入框
+
+
+
+
+
+ 可查看密码的输入框
+
+
+
+
+
+
+
+
+
\ No newline at end of file
+.uni-icon {
+ width: 24px;
+ height: 24px;
+}
+
diff --git a/pages/component/radio/radio.uvue b/pages/component/radio/radio.uvue
index c431801fb7fe6d927cb7afcb80b0fa7afb6f8acd..726c1a367205ffe1795602134f4f50d139db1676 100644
--- a/pages/component/radio/radio.uvue
+++ b/pages/component/radio/radio.uvue
@@ -1,118 +1,148 @@
+
+
+
-
-
-
-
- 默认样式
-
-
-
- 选中
-
- {{text}}
- 禁用
- {{wrapText}}
-
+
+
+
+ 默认样式
+
+ 选中
+
+ {{
+ text
+ }}
+ 禁用
+ {{
+ wrapText
+ }}
+
+
-
-
-
- 不同颜色和尺寸的radio
-
-
-
- 选中
-
- 未选中
-
+
+
+ 不同颜色和尺寸的radio
+
+ 选中
+
+ 未选中
+
+
-
-
-
- 推荐展示样式
-
-
-
-
-
-
- {{item.name}}
-
-
+
+
+ 推荐展示样式
+
+
+
+
+ {{ item.name }}
+
+
+
+
+
+
\ No newline at end of file
+.uni-list-cell {
+ justify-content: flex-start;
+}
+
diff --git a/pages/component/scroll-view/scroll-view.uvue b/pages/component/scroll-view/scroll-view.uvue
index 66f005d7c9f2843214490efdaea5bea74cc64c91..7362a137b6fe6d63c9129a01311532f5bf6d7039 100644
--- a/pages/component/scroll-view/scroll-view.uvue
+++ b/pages/component/scroll-view/scroll-view.uvue
@@ -1,112 +1,148 @@
+
+
+
-
-
-
- Vertical Scroll
- 纵向滚动
-
-
-
- A
- B
- C
-
-
-
- 点击这里返回顶部
-
+
+
+
+ Vertical Scroll
+ 纵向滚动
+
+
+
+ A
+ B
+ C
+
+
+
+ 点击这里返回顶部
+
-
- 下拉刷新
-
-
-
-
- Horizontal Scroll
- 横向滚动
-
-
-
- A
- B
- C
-
-
-
+
+ 下拉刷新
+
+
+
+
+ Horizontal Scroll
+ 横向滚动
+
+
+
+ A
+ B
+ C
+
+
+
+
+
+
\ No newline at end of file
+.text {
+ font-size: 36rpx;
+ color: #ffffff;
+}
+.button {
+ margin-top: 30rpx;
+}
+
diff --git a/pages/component/slider-100/slider-100.uvue b/pages/component/slider-100/slider-100.uvue
index f9f97da5d13bfa0378a3a2d823e6a09af37e7f91..eb0922c3b135aba242efa311aff2d9a79d6e9c30 100644
--- a/pages/component/slider-100/slider-100.uvue
+++ b/pages/component/slider-100/slider-100.uvue
@@ -1,64 +1,104 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
+
+
\ No newline at end of file
+.slider {
+ margin: 2px 0.5px;
+}
+
diff --git a/pages/component/swiper/swiper.uvue b/pages/component/swiper/swiper.uvue
index 240e9d48aeeb14804fb30f24c23a34f0c76315b5..d0dd5525eaa23c1022be70cc52167acbfd4c75b4 100644
--- a/pages/component/swiper/swiper.uvue
+++ b/pages/component/swiper/swiper.uvue
@@ -1,201 +1,208 @@
-
-
-
-
-
-
- A
-
-
- B
-
-
- C
-
-
-
-
-
- 是否显示面板指示点
-
-
-
- 是否自动切换
-
-
-
- 是否循环
-
-
- 间隔时间
-
-
-
-
- 定制指示器颜色
-
-
-
- 纵向
-
-
-
- 指定current为最后一个元素
-
-
-
- 指定current-item-id为最后一个元素
-
-
-
- 禁止用户 touch 操作
-
-
-
- swiperTransition 是否打印
-
-
-
- swiperAnimationfinish 是否打印
-
-
-
- swiperChange 是否打印
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+ A
+
+
+ B
+
+
+ C
+
+
+
+
+
+ 是否显示面板指示点
+
+
+
+ 是否自动切换
+
+
+
+ 是否循环
+
+
+ 间隔时间
+
+
+
+
+ 定制指示器颜色
+
+
+
+ 纵向
+
+
+
+ 指定current为最后一个元素
+
+
+
+ 指定current-item-id为最后一个元素
+
+
+
+ 禁止用户 touch 操作
+
+
+
+ swiperTransition 是否打印
+
+
+
+ swiperAnimationfinish 是否打印
+
+
+
+ swiperChange 是否打印
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/pages/component/view/view.uvue b/pages/component/view/view.uvue
index ffa1158f6d476f66683c38d53c71a487fad261a7..2bb870afccf4469123e5b8b8cf8fbc49fc82eed7 100644
--- a/pages/component/view/view.uvue
+++ b/pages/component/view/view.uvue
@@ -1,173 +1,280 @@
+
+
+
-
-
-
-
- Flex是Flexible Box的缩写,意为“弹性布局”,用来为盒状模型提供最大的灵活性。当设置display: flex后,继续给view等容器组件设置flex-direction:
- row或column,就可以在该容器内按行或列排布子组件。uni-app推荐使用flex布局。因为flex布局有利于跨更多平台,尤其是采用原生渲染的平台。
-
-
+
+
+
+
+ Flex是Flexible
+ Box的缩写,意为“弹性布局”,用来为盒状模型提供最大的灵活性。当设置display:
+ flex后,继续给view等容器组件设置flex-direction:
+ row或column,就可以在该容器内按行或列排布子组件。uni-app推荐使用flex布局。因为flex布局有利于跨更多平台,尤其是采用原生渲染的平台。
+
+
-
-
- flex-direction: row
-
-
- 横向布局
-
-
-
- A
- B
- C
-
+
+ flex-direction: row
+ 横向布局
+
+
+ A
+ B
+ C
+
-
-
- flex-direction: column
-
-
- 纵向布局
-
-
-
- A
- B
- C
-
+
+ flex-direction: column
+ 纵向布局
+
+
+ A
+ B
+ C
+
-
-
- 更多布局示例
-
-
- flex布局演示
-
-
-
- 纵向布局-自动宽度
- 纵向布局-固定宽度
- 横向布局-自动宽度
- 横向布局-自动宽度
-
-
- 横向布局-居中
- 横向布局-居中
-
-
- 横向布局-居右
- 横向布局-居右
-
-
- 横向布局-平均分布
- 横向布局-平均分布
-
-
- 横向布局-两端对齐
- 横向布局-两端对齐
-
-
- 固定宽度
- 自动占满余量
-
-
- 固定宽度
- 自动占满
- 固定宽度
-
-
- 一行显示不全,wrap折行
- 一行显示不全,wrap折行
- 一行显示不全,wrap折行
-
-
-
- 垂直居顶
-
-
- 垂直居中
-
-
- 垂直居底
-
-
+
+ 更多布局示例
+ flex布局演示
+
+
+ 纵向布局-自动宽度
+ 纵向布局-固定宽度
+ 横向布局-自动宽度
+ 横向布局-自动宽度
+
+
+ 横向布局-居中
+ 横向布局-居中
+
+
+ 横向布局-居右
+ 横向布局-居右
+
+
+ 横向布局-平均分布
+ 横向布局-平均分布
+
+
+ 横向布局-两端对齐
+ 横向布局-两端对齐
+
+
+ 固定宽度
+ 自动占满余量
+
+
+ 固定宽度
+ 自动占满
+ 固定宽度
+
+
+ 一行显示不全,wrap折行
+ 一行显示不全,wrap折行
+ 一行显示不全,wrap折行
+
+
+
+ 垂直居顶
+
+
+ 垂直居中
+
+
+ 垂直居底
+
+
-
-
- 组合示例
-
-
- flex布局演示
-
+
+ 组合示例
+ flex布局演示
+
+
+
+
+
+
+
+ 文字居左,留出左间距
-
-
-
-
-
-
- 文字居左,留出左间距
-
-
-
-
- 剩余数量
-
-
- 立即购买
-
-
-
+
+
+ 剩余数量
+
+
+ 立即购买
+
+
+
+
+
+
\ No newline at end of file
+.text {
+ color: #777;
+ font-size: 26rpx;
+}
+
diff --git a/pages/tabBar/API.uvue b/pages/tabBar/API.uvue
index 8a75187e5cf1383b0a6b0c261336a4f7cc3f5ac9..d671d7a33dfbf6d35fc77cb843a9b973d5de89e7 100644
--- a/pages/tabBar/API.uvue
+++ b/pages/tabBar/API.uvue
@@ -1,516 +1,522 @@
-
-
-
-
- 以下将演示uni-app接口能力,详细文档见:
-
-
-
-
- {{ item.name }}
-
-
-
-
- {{ page.name }}
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+ 以下将演示uni-app接口能力,详细文档见:
+
+
+
+
+ {{ item.name }}
+
+
+
+
+ {{ page.name }}
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/tabBar/CSS.uvue b/pages/tabBar/CSS.uvue
index edcb0a53313f2a241ae6a051ec3c9f6098a67cf4..7e1b600943e095af7d8161ec9ca024933376d431 100644
--- a/pages/tabBar/CSS.uvue
+++ b/pages/tabBar/CSS.uvue
@@ -1,370 +1,376 @@
-
-
-
-
- uni-app x目前已支持的CSS属性,展示样式仅供参考,文档详见:
-
-
-
-
- {{ item.name }}
-
-
-
-
- {{ page.name }}
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+ uni-app x目前已支持的CSS属性,展示样式仅供参考,文档详见:
+
+
+
+
+ {{ item.name }}
+
+
+
+
+ {{ page.name }}
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/tabBar/component.uvue b/pages/tabBar/component.uvue
index c00a2021f6161048a33844c0a9bf0a44714de592..ceb71e3803cdb456d60a209f69304eb94860cb50 100644
--- a/pages/tabBar/component.uvue
+++ b/pages/tabBar/component.uvue
@@ -1,315 +1,324 @@
-
-
-
-
- uni-app内置组件,展示样式仅供参考,文档详见:
-
-
-
-
- {{ item.name }}
-
-
-
-
- {{ page.name }}
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+ uni-app内置组件,展示样式仅供参考,文档详见:
+
+
+
+
+ {{ item.name }}
+
+
+
+
+ {{ page.name }}
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/tabBar/template.uvue b/pages/tabBar/template.uvue
index 6e87be7f6984c7354b73d0dc0951b389cd5c6081..2cc87344d9c2219336ec89829150382dd78f81a9 100644
--- a/pages/tabBar/template.uvue
+++ b/pages/tabBar/template.uvue
@@ -1,57 +1,63 @@
-
-
-
- 以下是部分模板示例,更多模板见插件市场:
-
-
-
-
- {{ item.name }}
-
-
+
+
+
+
+
-
+
+ 以下是部分模板示例,更多模板见插件市场:
+
+
+
{{ page.name }}{{ item.name }}
+
+
+
+
+
-
+ {{ page.name }}
+
+
+
+