123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566 |
- <style>
- </style>
- <template>
- <div class="moment-share">
- <header class="moment-header" id="share_header">
- <div class="user-cover">
- <img :src="user.head" :alt="user.nick">
- </div>
- <div class="user-info">
- <h2>{{user.nick}}</h2>
- <p>{{createTime}}</p>
- </div>
- </header>
- <section class="moment-content">
- <div v-if="type==1" class="type1">
- <div class="txt">{{articleDetail.title}}</div>
- <video class="moment-video" preload="meta" controls="" :poster="articleDetail.cover">
- <source :src="articleDetail.video.videoUrls[0].urls[0]" type="video/mp4">
- 您的浏览器不支持 video 标签
- </video>
- </div>
- </section>
- <section class="moment-comment">
- <h2 class="comment-header">评论</h2>
- <ul class="list-comment">
- <li v-for="barrage in barrages">
- <section class="item-cover">
- <img :src="barrage.user.head" alt="">
- </section>
- <section class="item-cont">
- <div class="item-info">
- <span class="item-nick">{{barrage.user.nick}}</span>
- <span class="item-date">{{barrage.createTime}}</span>
- </div>
- <div class="item-comment">{{barrage.content}}</div>
- </section>
- </li>
- </ul>
- <p v-if="barrages.length==0">(@@)暂无评论哦</p>
- </section>
- <footer class="moment-footer">
- <a :href='url' class='footer-link'>
- <section class="f-left-content">
- <i class="icon-logo"></i>
-
- </section>
- <section class="f-middle-content">
- <strong>饭盒视频</strong>
- <p>发现更精彩的游戏世界</p>
- </section>
- <section class="f-right-content">
- <div class="btn-dl"></div>
- </section>
- </a>
- </footer>
- </div>
- </template>
- <script>
- import page from './js/video';
- export default page;
- </script>
|