Commit 15d9fc7c authored by youjie's avatar youjie

修复大红包规则滚动

parent 213e2929
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
:style="[item.formatStyle]" :style="[item.formatStyle]"
@click="clickHandler(item.link[0].new_link_url)" @click="clickHandler(item.link[0].new_link_url)"
> >
<img :src="item.pic_url" mode="widthFix" style="display: block;"/> <img :src="item.pic_url" mode="widthFix"/>
</view> </view>
<view class="hots" v-for="(x, i) in hotspots" :key="i" :style="[x.formatStyle]" @click="clickHots(x.link)">&nbsp;</view> <view class="hots" v-for="(x, i) in hotspots" :key="i" :style="[x.formatStyle]" @click="clickHots(x.link)">&nbsp;</view>
</view> </view>
...@@ -88,5 +88,6 @@ export default { ...@@ -88,5 +88,6 @@ export default {
} }
.ad-box .ad-chi img { .ad-box .ad-chi img {
width: 100%; width: 100%;
display: block;
} }
</style> </style>
<template> <template>
<view style="height: 100vh;"> <view style="height: 100vh;"
:class="[showheader&&showtabs?'':'scrollHeight']">
<scroll-view :bounces="false" scroll-y="true" style="height: 100vh;" @scroll="handleScroll"> <scroll-view :bounces="false" scroll-y="true" style="height: 100vh;" @scroll="handleScroll">
<view v-if="showStart == true" style="width: 100vw; height: 100vh"> <view v-if="showStart == true" style="width: 100vw; height: 100vh">
<image :src="startData.PicUrl" mode="aspectFit" style="width: 100%; height: 100%; position: relative"> <image :src="startData.PicUrl" mode="aspectFit" style="width: 100%; height: 100%; position: relative">
...@@ -468,4 +469,7 @@ ...@@ -468,4 +469,7 @@
height: unset !important; height: unset !important;
padding-bottom: 0rpx !important; padding-bottom: 0rpx !important;
} }
.scrollHeight .safe-top,.scrollHeight .content{
height: 100% !important;
}
</style> </style>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment