Commit 037c12f8 authored by Damon's avatar Damon

完工页滚动

parent 25bb9b43
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
<!-- <view style="background-color: #FF9900;height: 40rpx;width: 100%;"> <!-- <view style="background-color: #FF9900;height: 40rpx;width: 100%;">
aaaa aaaa
</view> --> </view> -->
<u-tabs class="order-tabs" ref="tabs" :current="tabIndex" name="panelName" :list="tabList" @change="tabsChange" :is-scroll="false" bg-color="#2272FF" inactive-color="#a6c6ff" active-color="#fff" height="80" font-size="32"></u-tabs> <u-tabs class="order-tabs" ref="tabs" :current="current" name="panelName" :list="tabList" @change="swichMenu" bg-color="#2272FF" inactive-color="#a6c6ff" active-color="#fff" height="80" font-size="32"></u-tabs>
</u-sticky> </u-sticky>
<view class="u-menu-wrap"> <view class="u-menu-wrap">
<!-- <scroll-view scroll-y scroll-with-animation class="u-tab-view menu-scroll-view" :scroll-top="scrollTop" v-if="list[tabIndex].items.length > 1 && showTab"> <!-- <scroll-view scroll-y scroll-with-animation class="u-tab-view menu-scroll-view" :scroll-top="scrollTop" v-if="list[tabIndex].items.length > 1 && showTab">
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
<text class="u-line-1">{{item.name}}</text> <text class="u-line-1">{{item.name}}</text>
</view> </view>
</scroll-view> --> </scroll-view> -->
<!-- <scroll-view :scroll-top="scrollRightTop" scroll-y scroll-with-animation class="right-box" @scroll="rightScroll" :scroll-into-view="itemId"> --> <scroll-view :scroll-top="scrollRightTop" scroll-y scroll-with-animation class="right-box" @scroll="rightScroll" :scroll-into-view="itemId">
<u-form :model="form" ref="uForm"> <u-form :model="form" ref="uForm">
<template v-for="(groupItem, groupIndex) in (list.length>0?list[tabIndex].items:[])"> <template v-for="(groupItem, groupIndex) in (list.length>0?list[tabIndex].items:[])">
<view class="class-item" :key="groupIndex"> <view class="class-item" :key="groupIndex">
...@@ -99,8 +99,8 @@ ...@@ -99,8 +99,8 @@
</view> </view>
</template> </template>
</u-form> </u-form>
<!-- </scroll-view> --> </scroll-view>
</view> </view>
</view> </view>
<view :class="['btn-wrap', 'flex-xc', {'btn-bottom': tabIndex > 0}]"> <view :class="['btn-wrap', 'flex-xc', {'btn-bottom': tabIndex > 0}]">
<u-button class="btn-submit" @click="saveComplete" <u-button class="btn-submit" @click="saveComplete"
...@@ -897,11 +897,11 @@ ...@@ -897,11 +897,11 @@
} }
.u-menu-wrap { .u-menu-wrap {
// flex: 1; flex: 1;
// height: 100%; height: 100%;
// display: flex; display: flex;
// overflow: hidden; overflow: hidden;
// border-radius: 12rpx 12rpx 0 0; border-radius: 12rpx 12rpx 0 0;
} }
.detail-view { .detail-view {
......
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