提交 1b5ebcc4 authored 作者: 刘旭's avatar 刘旭

测试

上级 d712389b
...@@ -25,7 +25,12 @@ ...@@ -25,7 +25,12 @@
<view <view
style="display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; background-color: #fff;" style="display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; background-color: #fff;"
> >
<u-section title="今日热门" :right="false" style="margin-left: 20rpx;" :show-line="false"></u-section> <u-section
title="今日热门"
:right="false"
style="margin-left: 20rpx;"
:show-line="false"
></u-section>
<!-- <view class="">上班级系列</view> --> <!-- <view class="">上班级系列</view> -->
<!-- <image :src="item.url" style="width: 80%; height: 80%;" /> --> <!-- <image :src="item.url" style="width: 80%; height: 80%;" /> -->
</view> </view>
...@@ -121,7 +126,6 @@ export default { ...@@ -121,7 +126,6 @@ export default {
/** 处理手指触摸后移动 */ /** 处理手指触摸后移动 */
handleTouchmove(event) { handleTouchmove(event) {
console.log(event);
const { pageX, pageY } = event.touches[0]; const { pageX, pageY } = event.touches[0];
// 获取移动的差 // 获取移动的差
......
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
/> />
</view> </view>
<view class="u-menu-wrap"> <view class="u-menu-wrap">
<view style="position: fixed; left: 0;"> <view style="position: fixed; left: 2%; top: 15%;">
<!-- <scroll-view <!-- <scroll-view
scroll-y scroll-y
scroll-with-animation scroll-with-animation
...@@ -69,6 +69,11 @@ ...@@ -69,6 +69,11 @@
<text class="u-line-1">{{ item.name }}</text> <text class="u-line-1">{{ item.name }}</text>
</view> </view>
</scroll-view> --> </scroll-view> -->
<block v-for="item in 15">
<view class="">
<image style="width: 80px; height: 80px;" src="../../static/logo.png" mode=""></image>
</view>
</block>
</view> </view>
</view> </view>
</view> </view>
...@@ -159,11 +164,11 @@ initIndex(); ...@@ -159,11 +164,11 @@ initIndex();
} }
.u-wrap { .u-wrap {
height: calc(100vh); // height: calc(100vh);
/* #ifdef H5 */ /* #ifdef H5 */
// height: calc(100vh - var(--window-top)); // height: calc(100vh - var(--window-top));
min-height: 100vh; // min-height: 100vh;
max-height: 2000px; // max-height: 2000px;
/* #endif */ /* #endif */
display: flex; display: flex;
flex-direction: column; flex-direction: column;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论