diff --git a/pages/API/compress-image/compress-image.uvue b/pages/API/compress-image/compress-image.uvue
index 916a1dba3d6eb3b27af3e611bc40725c80dac966..cf1394ebf90d9e32a27754baa30f3f04f26e8cbe 100644
--- a/pages/API/compress-image/compress-image.uvue
+++ b/pages/API/compress-image/compress-image.uvue
@@ -2,32 +2,34 @@
-
-
-
-
-
-
-
- 压缩前图片信息
-
- {{beforeCompressImageInfo}}
-
- 压缩后图片信息
-
- {{afterCompressImageInfo}}
-
-
-
-
-
+
+
+
+
+
+
+
+
+ 压缩前图片信息
+
+ {{beforeCompressImageInfo}}
+
+ 压缩后图片信息
+
+ {{afterCompressImageInfo}}
+
+
+
+
+
+
+
+
+
+
-
-
-
-
@@ -144,7 +146,7 @@
uni.getImageInfo({
src: res.tempFilePath,
success: (_res) => {
- let beforeCompressSize: number, afterComoressSize: number;
+ let beforeCompressSize : number, afterComoressSize : number;
// #ifdef APP-ANDROID
beforeCompressSize = new FileInputStream(UTSAndroid.convert2AbsFullPath(this.imageSrcForTest)).available();
afterComoressSize = new FileInputStream(res.tempFilePath.substring("file://".length)).available();
diff --git a/pages/API/compress-video/compress-video.uvue b/pages/API/compress-video/compress-video.uvue
index 306ebbc636fad7d3231d3dec69c8b1d1af46d9ee..b06d526e4b0407112803e4fec3be4cc3266e7d4b 100644
--- a/pages/API/compress-video/compress-video.uvue
+++ b/pages/API/compress-video/compress-video.uvue
@@ -3,27 +3,29 @@
-
-
-
- 压缩前视频信息
-
- {{beforeCompressVideoInfo}}
-
-
- 压缩后视频信息
-
- {{afterCompressVideoInfo}}
-
-
-
-
-
-
-
-
- 相对于原视频的分辨率比例,取值范围(0, 1]
-
+
+
+
+
+ 压缩前视频信息
+
+ {{beforeCompressVideoInfo}}
+
+
+ 压缩后视频信息
+
+ {{afterCompressVideoInfo}}
+
+
+
+
+
+
+
+
+ 相对于原视频的分辨率比例,取值范围(0, 1]
+
+
@@ -116,7 +118,7 @@
this.resolution = event.detail.value;
},
testCompressVideo() {
- let beforeCompressSize: number, afterComoressSize: number;
+ let beforeCompressSize : number, afterComoressSize : number;
uni.compressVideo({
src: this.videoSrcForTest,
quality: 'medium',
diff --git a/pages/API/get-current-pages/get-current-pages.uvue b/pages/API/get-current-pages/get-current-pages.uvue
index 34f2ab5948c164a9ffa62bc76a25aad2eba43e4a..82fa34f74040b5cec20ef8c74f006bf81ed569c3 100644
--- a/pages/API/get-current-pages/get-current-pages.uvue
+++ b/pages/API/get-current-pages/get-current-pages.uvue
@@ -2,40 +2,44 @@
-
-
-
-
- 当前页面栈中 {{ pages.length }} 个页面,列表如下:
-
- index: {{ index }}, route: {{ page.route }}
-
+
+
+
+
+
+ 当前页面栈中 {{ pages.length }} 个页面,列表如下:
+
+ index: {{ index }}, route: {{ page.route }}
+
+
-
-
-
-
-
- {{item.key}}:
- {{currentPageStyle[item.key]}}
-
-
-
-
-
-
-
+
+
+
+
+ {{item.key}}:
+ {{currentPageStyle[item.key]}}
+
+
+
+
+
+
+
+
+
+
+ {{item2}}
+
+
+
-
-
- {{item2}}
-
-
-
-
+
+
+
@@ -117,6 +121,11 @@
const currentPage = pages[pages.length - 1];
currentPage.$setPageStyle(style);
},
+ goSetDisablePullDownRefresh() {
+ uni.navigateTo({
+ url: '/pages/API/get-current-pages/set-page-style-disable-pull-down-refresh'
+ });
+ }
// getCurrentPage(): Page {
// const pages = getCurrentPages();
// const currentPage = pages[pages.length - 1];
@@ -163,7 +172,7 @@
flex-direction: row;
}
- .radio-value {
- margin-left: 10px;
+ .radio-value {
+ margin-left: 10px;
}
-
+
diff --git a/pages/API/get-current-pages/set-page-style-disable-pull-down-refresh.uvue b/pages/API/get-current-pages/set-page-style-disable-pull-down-refresh.uvue
index f9853ea700db0a2eb63ffbebde184eb698320f42..f190e74ef85553723e27a05d117d4c2d91e0ad91 100644
--- a/pages/API/get-current-pages/set-page-style-disable-pull-down-refresh.uvue
+++ b/pages/API/get-current-pages/set-page-style-disable-pull-down-refresh.uvue
@@ -3,12 +3,12 @@
-
+
当前 PageStyle
- {{pageStyleText}}
- 状态:
-
- enablePullDownRefresh: {{enablePullDownRefreshStatus}}
+ {{pageStyleText}}
+ 状态:
+
+ enablePullDownRefresh: {{enablePullDownRefreshStatus}}
当前版本仅支持设置属性 enablePullDownRefresh
@@ -25,8 +25,8 @@
return {
checked: false,
pages: [] as Page[],
- currentPageStyle: {} as UTSJSONObject,
- // TODO
+ currentPageStyle: {} as UTSJSONObject,
+ // TODO
enablePullDownRefreshStatus: true
}
},
@@ -52,11 +52,11 @@
const currentPage = pages[pages.length - 1];
currentPage.$setPageStyle({
enablePullDownRefresh: enable
- });
+ });
this.enablePullDownRefreshStatus = enable
- },
- startPullDownRefresh() {
- uni.startPullDownRefresh()
+ },
+ startPullDownRefresh() {
+ uni.startPullDownRefresh()
}
},
}
@@ -66,28 +66,28 @@
diff --git a/pages/CSS/transform/rotate.uvue b/pages/CSS/transform/rotate.uvue
index c2fe93335177c675bf77b028e839c1b72a19eccd..3492b45f57def23a77eb1df1d4c759437d94f363 100644
--- a/pages/CSS/transform/rotate.uvue
+++ b/pages/CSS/transform/rotate.uvue
@@ -1,84 +1,98 @@
-
-
-
-
-
- rotate(20deg)
- 转变前位置
-
-
- rotateX(50deg)
- 转变前位置
-
-
- rotateY(50deg)
- 转变前位置
-
-
- rotateZ(50deg)
- 转变前位置
-
-
-
-
- rotate(20deg)
- 转变后位置
-
-
- rotateX(50deg)
- 转变后位置
-
-
- rotateY(50deg)
- 转变后位置
-
-
- rotateZ(50deg)
- 转变后位置
-
-
-
-
-
-
-
-
diff --git a/pages/CSS/transform/scale.uvue b/pages/CSS/transform/scale.uvue
index 0ed5e5ca46621a099d979c4b3716fd7938ba97ef..da8fad849ad82206e9120e852630074af9a5b66b 100644
--- a/pages/CSS/transform/scale.uvue
+++ b/pages/CSS/transform/scale.uvue
@@ -1,77 +1,86 @@
-
-
-
-
- scaleX(0.6)
- 转变前位置
-
-
- scaleY(0.8)
- 转变前位置
-
-
- scale(0.8,0.8)
- 转变前位置
-
-
-
-
- scaleX(0.6)
- 转变后位置
-
-
- scaleY(0.6)
- 转变后位置
-
-
- scale(1.2,1.2)
- 转变后位置
-
-
-
- 通过scaleY(0.5)实现0.5px的线
-
-
-
-
-
-
-
-
-
diff --git a/pages/CSS/transform/translate.uvue b/pages/CSS/transform/translate.uvue
index c9031cd15de58c869f2da9412d8e587113e25c86..5c1cd93249eadcc5af8627e3f4d86099d78fb345 100644
--- a/pages/CSS/transform/translate.uvue
+++ b/pages/CSS/transform/translate.uvue
@@ -1,74 +1,89 @@
-
-
-
- translateX(80%)
- 转变前位置
-
-
- translateY(50px)
- 转变前位置
-
-
- translate(-50%,50%)
- 转变前位置
-
-
+
+
+
+
+
+
+ translateX(80%)
+ 转变前位置
+
+
+ translateY(50px)
+ 转变前位置
+
+
+ translate(-50%,50%)
+ 转变前位置
+
+
-
- translateX(80%)
- 转变后位置
-
-
- translateY(50px)
- 转变后位置
-
-
- translate(-50%,50%)
- 转变后位置
-
-
+
+ translateX(80%)
+ 转变后位置
+
+
+ translateY(50px)
+ 转变后位置
+
+
+ translate(-50%,50%)
+ 转变后位置
+
+
+
+
+
diff --git a/pages/pages.test.js b/pages/pages.test.js
index 4cab72cd788217759a8b10fe7d1be7303f36edbb..a87f7c0cfeb96c403d8e262a23279b49c28e09bd 100755
--- a/pages/pages.test.js
+++ b/pages/pages.test.js
@@ -80,7 +80,8 @@ const pages = [
// '/pages/component/unicloud-db/unicloud-db/contacts/edit',
// 动态内容
// '/pages/component/unicloud-db/unicloud-db/contacts/detail',
- '/pages/component/unicloud-db/unicloud-db/mixin-datacom/mixin-datacom',
+ // 动态内容
+ // '/pages/component/unicloud-db/unicloud-db/mixin-datacom/mixin-datacom',
// 单独测试例截图
// '/pages/component/global-properties/global-properties',
'/pages/component/global-events/global-events',