| | |
| | | <!-- 视频信息层 --> |
| | | <view class="video-info" :style="{bottom: marginBottom + 20 + 'px'}"> |
| | | <view> |
| | | <text class="video-author">@{{item.authorName}}</text> |
| | | <text class="video-author" @click="jumpToSearch">@{{item.authorName}}</text> |
| | | </view> |
| | | <view style="width: 100%;word-wrap: break-word;white-space: normal;overflow-wrap: break-word;"> |
| | | <text class="video-title">{{item.title}}</text> |
| | |
| | | } |
| | | }, |
| | | methods: { |
| | | jumpToSearch() { |
| | | uni.navigateTo({ |
| | | url: '/pages/video/video-search' |
| | | }); |
| | | }, |
| | | // 切换顶部导航栏 |
| | | topBarChange(titleObj) { |
| | | if (titleObj.index === 'home') { |
| | | uni.switchTab({ |