绿满眶商城微信小程序-uniapp
xiangpei
2025-07-09 da1e3dbfc622f7f581d19a56c7e4d3abe13563e1
pages/tabbar/index/home.vue
@@ -120,13 +120,15 @@
        <!-- 视频信息层 -->
        <view class="video-info" :style="{bottom: marginBottom + 20 + 'px'}">
        <view>
           <text class="video-author" @click="jumpToSearch">@{{item.authorName}}</text>
        <view style="width: 100%; position: relative;">
           <text class="video-author">@{{item.authorName}}</text>
           <text class="iconfont" @click="jumpToSearch" style="position: absolute;right: 45px;">&#xe64e;</text>
        </view>
          <view style="width: 100%;word-wrap: break-word;white-space: normal;overflow-wrap: break-word;">
           <text class="video-title">{{item.title}}</text>
           <text class="video-tag" v-for="(tag, index) in item.tagList" :key="tag.id">#{{tag.tagName}}</text>
        </view>
        </view>
       <!-- 右侧互动按钮 -->
@@ -365,6 +367,9 @@
     // } else {
     //      this.loadVideos();
     // }
     if (this.videoList.length < 1) {
        this.loadVideos();
     }
     // 如果视频按下暂停后切换页面再回到页面时,只算暂停时间(因为暂停时间和离开页面时间是重复的,只算一个)
     if(this.startHidenTime !== 0 && this.currentVideoIsPlaying) {
        const duration = Date.now() - this.startHidenTime
@@ -1116,7 +1121,7 @@
   }
   .video-info {
     width: 70%;
     width: 100%;
     position: absolute;
     bottom: 20px;
     left: 20px;