11.13早上提交
This commit is contained in:
@@ -1,10 +1,9 @@
|
||||
<template>
|
||||
<uni-nav-bar left-icon="left"
|
||||
@clickLeft="goBack" title="患教视频" fixed color="#8B2316" height="180rpx" :border="false" backgroundColor="#eeeeee"></uni-nav-bar>
|
||||
<navBar title="患教视频" />
|
||||
<view class="video-page">
|
||||
<!-- Header -->
|
||||
|
||||
|
||||
|
||||
<!-- Fixed Filter Tabs -->
|
||||
<view class="filter-tabs-container">
|
||||
<view class="filter-tabs">
|
||||
@@ -67,7 +66,7 @@
|
||||
<text class="author">{{video.public_name}}</text>
|
||||
<view class="stats">
|
||||
<uni-icons type="eye" size="14" color="#999"></uni-icons>
|
||||
<text class="view-count">{{video.readnum}}</text>
|
||||
<text class="view-count">{{formatNumber(video.readnum)}}</text>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
@@ -153,6 +152,8 @@
|
||||
import docUrl from '@/utils/docUrl';
|
||||
import navTo from '@/utils/navTo';
|
||||
import empty from '@/components/empty/empty.vue';
|
||||
import formatNumber from '@/utils/formatNumber.js';
|
||||
import navBar from '@/components/navBar/navBar.vue';
|
||||
const isAllActive=ref(false)
|
||||
// 响应式数据
|
||||
const videoList = ref([]);
|
||||
@@ -515,9 +516,9 @@
|
||||
.scroll-view {
|
||||
position: fixed;
|
||||
bottom: 0rpx;
|
||||
height: calc(100vh - 180rpx); /* 固定高度,减去导航栏高度 */
|
||||
height: calc(100vh - var(--status-bar-height) - 44px); /* 固定高度,减去导航栏高度 */
|
||||
background-color: #f5f5f5;
|
||||
top: 172rpx; /* 为导航栏留出空间 */
|
||||
top: calc(var(--status-bar-height) + 65px); /* 为导航栏留出空间 */
|
||||
}
|
||||
|
||||
|
||||
@@ -569,7 +570,7 @@
|
||||
/* Fixed Filter Tabs Container */
|
||||
.filter-tabs-container {
|
||||
position: fixed;
|
||||
top: 180rpx; /* uni-nav-bar height */
|
||||
top: calc(var(--status-bar-height) + 44px); /* uni-nav-bar height */
|
||||
left: 0;
|
||||
right: 0;
|
||||
z-index: 40;
|
||||
|
||||
Reference in New Issue
Block a user