提交 a0b51dc1 编写于 作者: H hulinNeil

更新部分示例

上级 00088d93
......@@ -237,6 +237,7 @@
width: 4px;
height: 80px;
transform: translate(-50%, -50%);
-webkit-transform: translate(-50%, -50%);
}
.image-plus-vertical {
......@@ -247,6 +248,7 @@
width: 80px;
height: 4px;
transform: translate(-50%, -50%);
-webkit-transform: translate(-50%, -50%);
}
.color1 {
......
......@@ -16,16 +16,16 @@
</view>
</view>
<view class="page-body-info">
<block v-if="src === ''">
<template v-if="!src">
<view class="image-plus image-plus-nb" @tap="chooseVideo">
<view class="image-plus-horizontal"></view>
<view class="image-plus-vertical"></view>
</view>
<view class="image-plus-text">添加视频</view>
</block>
<block v-if="src != ''">
</template>
<template v-else>
<video :src="src" class="video"></video>
</block>
</template>
</view>
</view>
</view>
......
......@@ -22,6 +22,12 @@
banner: {},
htmlString: ""
},
onShareAppMessage() {
return {
title: this.banner.title,
path: '/pages/template/list2detail-detail/list2detail-detail?detailDate=' + JSON.stringify(this.banner)
}
},
onLoad(e) {
this.banner = JSON.parse(e.detailDate);
this.getDetail();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册