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

测试

上级 d712389b
......@@ -25,7 +25,12 @@
<view
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> -->
<!-- <image :src="item.url" style="width: 80%; height: 80%;" /> -->
</view>
......@@ -121,7 +126,6 @@ export default {
/** 处理手指触摸后移动 */
handleTouchmove(event) {
console.log(event);
const { pageX, pageY } = event.touches[0];
// 获取移动的差
......
......@@ -11,7 +11,7 @@
/>
</view>
<view class="u-menu-wrap">
<view style="position: fixed; left: 0;">
<view style="position: fixed; left: 2%; top: 15%;">
<!-- <scroll-view
scroll-y
scroll-with-animation
......@@ -69,6 +69,11 @@
<text class="u-line-1">{{ item.name }}</text>
</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>
......@@ -159,11 +164,11 @@ initIndex();
}
.u-wrap {
height: calc(100vh);
// height: calc(100vh);
/* #ifdef H5 */
// height: calc(100vh - var(--window-top));
min-height: 100vh;
max-height: 2000px;
// min-height: 100vh;
// max-height: 2000px;
/* #endif */
display: flex;
flex-direction: column;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论