congzc 1 年之前
父節點
當前提交
87192d5a1f
共有 1 個檔案被更改,包括 27 行新增2 行删除
  1. +27
    -2
      src/components/home/home.vue

+ 27
- 2
src/components/home/home.vue 查看文件

@@ -151,6 +151,13 @@
alt=""
style="width: 100px; height: 100px"
/>
<div
class="title_btn"
@click.stop="toPhotoTalk"
:style="characters != 1 ? ' margin-top: 14px;' : ''"
>
{{ characters == 1 ? "立刻体验" : "Try it now" }}
</div>
</div>
<video
@click="clickVideo('video3')"
@@ -723,7 +730,10 @@ export default {
},
methods: {
...mapActions(["setCharacters"]),
// 去照片说话网页
toPhotoTalk() {
window.open("https://photo.metavatar.cc/#/");
},
// 播放视频
playVideo() {
this.videoPlayBtn = false;
@@ -1219,7 +1229,22 @@ export default {
position: relative;
overflow: hidden;
background-color: #202020;
.title_btn {
position: absolute;
top: 100%;
left: 50%;
transform: translate(-50%, -50%);
margin-top: 24px;
height: 22px;
width: 80px;
text-align: center;
line-height: 22px;
border-radius: 16px;
color: #16e9d6;
border: #16e9d6 solid 2px;
font-size: 14px;
cursor: pointer;
}
.imgBox1 {
width: 100%;
height: 228px;


Loading…
取消
儲存