|
|
|
|
@ -29,7 +29,9 @@
|
|
|
|
|
</view>
|
|
|
|
|
<div class="con-obj" style="background-color: #caf1e0 !important"
|
|
|
|
|
>
|
|
|
|
|
<view class="m-info g_p_20 g_pt_12 g_pb_0 g_bg_f g_position_rela" hover-class="none" style="margin-top: 0; border-radius: 8px 8px 0 0">
|
|
|
|
|
<view class="m-info g_p_20 g_pt_12 g_pb_0 g_bg_f g_position_rela" hover-class="none"
|
|
|
|
|
style="margin-top: 0; border-radius: 8px 8px 0 0;width: calc(100% - 40px);"
|
|
|
|
|
>
|
|
|
|
|
<view class="g_flex_row_start">
|
|
|
|
|
<view class="g_w_71">
|
|
|
|
|
<view class="g_position_abso g_p_4 g_radius_50 g_bg_f" style="top: -20px">
|
|
|
|
|
@ -348,8 +350,8 @@ export default {
|
|
|
|
|
// 只有在滚动到顶部且向下拉动时才执行缩放
|
|
|
|
|
if (scrollTop <= 0) {
|
|
|
|
|
// 根据移动距离计算缩放值,使效果更自然
|
|
|
|
|
this.backgroundScale = Math.min(moveDistance * 0.05, 10); // 限制最大缩放值
|
|
|
|
|
this.mtScroll = Math.min(moveDistance * 0.05, 10);
|
|
|
|
|
this.backgroundScale = Math.min(moveDistance * 0.2, 300); // 限制最大缩放值
|
|
|
|
|
this.mtScroll = Math.min(moveDistance * 0.2, 300);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}).exec();
|
|
|
|
|
|