提交 b19f2c19 编写于 作者: DCloud_JSON's avatar DCloud_JSON

更新 示例模板 相关资源

上级 aace64f0
...@@ -127,14 +127,21 @@ ...@@ -127,14 +127,21 @@
Promise<void> Promise<void>
return new Promise((resolve) => { return new Promise((resolve) => {
resolve(); resolve();
});*/ });*/
let videoUrlList = [
'https://qiniu-web-assets.dcloud.net.cn/unidoc/zh/video/sea.mp4',
'https://qiniu-web-assets.dcloud.net.cn/unidoc/zh/video/uni-admin-01.mp4',
'https://qiniu-web-assets.dcloud.net.cn/unidoc/zh/video/uni-admin-02.mp4'
] as string[]
let list = [] as ListItem[]; let list = [] as ListItem[];
for (let i = 0; i < 6; i++) { for (let i = 0; i < 6; i++) {
let index = this.list.length + i; let index = this.list.length + i;
let listItem : ListItem = { let listItem : ListItem = {
"_id": "a00" + index, "_id": "a00" + index,
"content": "这是第" + index + "条数据", "content": "这是第" + index + "条数据"+videoUrlList[i%3],
"src": "https://img.cdn.aliyun.dcloud.net.cn/guide/uniapp/hellouniapp/hello-nvue-swiper-vertical-0"+(i%3+1)+".mp4" "src": videoUrlList[i%3]
} }
list.push(listItem) list.push(listItem)
} }
...@@ -167,12 +174,12 @@ ...@@ -167,12 +174,12 @@
.swiper { .swiper {
flex: 1; flex: 1;
border: 1px solid #000; /* border: 1px solid #000; */
} }
.swiper-item { .swiper-item {
flex: 1; flex: 1;
border: 1px solid red; /* border: 1px solid red; */
padding: 10px 5px; padding: 10px 5px;
position: relative; position: relative;
} }
...@@ -186,7 +193,7 @@ ...@@ -186,7 +193,7 @@
justify-content: center; justify-content: center;
align-items: center; align-items: center;
align-content: center; align-content: center;
border: 1px solid red; /* border: 1px solid red; */
flex: 1; flex: 1;
width: 750rpx; width: 750rpx;
} }
......
static/template/drop-card/1.png

496.4 KB | W: | H:

static/template/drop-card/1.png

70.3 KB | W: | H:

static/template/drop-card/1.png
static/template/drop-card/1.png
static/template/drop-card/1.png
static/template/drop-card/1.png
  • 2-up
  • Swipe
  • Onion skin
static/template/drop-card/2.png

300.8 KB | W: | H:

static/template/drop-card/2.png

80.3 KB | W: | H:

static/template/drop-card/2.png
static/template/drop-card/2.png
static/template/drop-card/2.png
static/template/drop-card/2.png
  • 2-up
  • Swipe
  • Onion skin
static/template/drop-card/3.png

593.3 KB | W: | H:

static/template/drop-card/3.png

32.4 KB | W: | H:

static/template/drop-card/3.png
static/template/drop-card/3.png
static/template/drop-card/3.png
static/template/drop-card/3.png
  • 2-up
  • Swipe
  • Onion skin
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册