10.15上午更新

This commit is contained in:
zoujiandong
2025-10-15 11:40:13 +08:00
parent b16601baa6
commit 2532aa055c
7 changed files with 26 additions and 13 deletions
+10 -5
View File
@@ -43,10 +43,10 @@
<!-- 顶部轮播 -->
<view class="banner-container">
<view class="swipemask">
<view class="banner-subtitle" v-if="bannerList.length>0">{{bannerList[currentBannerIndex].summary}}</view>
<view class="banner-subtitle" v-if="bannerList.length>0">{{bannerList[currentBannerIndex].title}}</view>
<view class="dotbox">
<view class="circle" :class="{active:currentBannerIndex==index} "v-for="(banner, index) in bannerList"
:key="banner.id"></view>
:key="banner.id" ></view>
</view>
</view>
<swiper
@@ -166,7 +166,12 @@
const onSwiperChange = (e) => {
currentBannerIndex.value = e.detail.current;
};
const playBannerVideo = (banner) => {
let url=encodeURIComponent(docUrl+banner.path)
uni.navigateTo({
url: `/pages_app/webview/webview?url=${url}&title=${banner.title}`
});
};
// scroll-view 下拉刷新
const onRefresh = async () => {
console.log('scroll-view 下拉刷新触发');
@@ -604,8 +609,8 @@
position: fixed;
bottom:0;
width:100%;
top:200rpx;
height: calc(100vh - 200rpx); // 减去导航栏、标签栏和banner的高度
top:240rpx;
height: calc(100vh - 240rpx); // 减去导航栏、标签栏和banner的高度
background-color: #f8f8f8;
}