12.2提交
This commit is contained in:
@@ -74,15 +74,15 @@
|
||||
<!-- 内容区 -->
|
||||
<view v-if="activeTab === 'info'" class="intro">
|
||||
<!-- 显示传递过来的视频信息 -->
|
||||
<view v-if="pageParams.title" class="video-info">
|
||||
<!-- <view v-if="pageParams.title" class="video-info">
|
||||
<view class="video-title">{{
|
||||
decodeURIComponent(pageParams.title)
|
||||
}}</view>
|
||||
<view v-if="pageParams.author" class="video-author">{{
|
||||
decodeURIComponent(pageParams.author)
|
||||
}}</view>
|
||||
</view>
|
||||
<view class="speaker">{{ videoInfo.public_name }}</view>
|
||||
</view> -->
|
||||
<!-- <view class="speaker">{{ videoInfo.public_name }}</view> -->
|
||||
<text class="intro-text">{{ videoInfo.note }}</text>
|
||||
</view>
|
||||
<view v-else class="comments">
|
||||
@@ -277,6 +277,7 @@ const startDownload = (index) => {
|
||||
uni.getSavedFileInfo({
|
||||
filePath: res2.savedFilePath,
|
||||
success: function (res) {
|
||||
|
||||
console.log("res:"+JSON.stringify(res));
|
||||
console.log("size:"+res.size);
|
||||
downloadStore.updateTask(index, {
|
||||
@@ -284,6 +285,7 @@ const startDownload = (index) => {
|
||||
localPath: res2.savedFilePath,
|
||||
size: res.size,
|
||||
});
|
||||
VideoDownloadRecord();
|
||||
},
|
||||
});
|
||||
},
|
||||
@@ -1032,7 +1034,7 @@ $theme-color: #8b2316;
|
||||
}
|
||||
.intro {
|
||||
// background: #fff;
|
||||
padding: 24rpx 28rpx 100rpx;
|
||||
padding: 30rpx 28rpx 100rpx;
|
||||
// margin-top: calc(var(--status-bar-height) + 44px + 220px + 88rpx);
|
||||
// height: calc(100vh - var(--status-bar-height) - 44px - 220px - 88rpx);
|
||||
// overflow-y: scroll;
|
||||
@@ -1054,6 +1056,9 @@ $theme-color: #8b2316;
|
||||
.video-author {
|
||||
font-size: 26rpx;
|
||||
color: #666;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user