Commit 037c12f8 authored by Damon's avatar Damon

完工页滚动

parent 25bb9b43
......@@ -11,7 +11,7 @@
<!-- <view style="background-color: #FF9900;height: 40rpx;width: 100%;">
aaaa
</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>
<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">
......@@ -20,7 +20,7 @@
<text class="u-line-1">{{item.name}}</text>
</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">
<template v-for="(groupItem, groupIndex) in (list.length>0?list[tabIndex].items:[])">
<view class="class-item" :key="groupIndex">
......@@ -99,8 +99,8 @@
</view>
</template>
</u-form>
<!-- </scroll-view> -->
</view>
</scroll-view>
</view>
</view>
<view :class="['btn-wrap', 'flex-xc', {'btn-bottom': tabIndex > 0}]">
<u-button class="btn-submit" @click="saveComplete"
......@@ -897,11 +897,11 @@
}
.u-menu-wrap {
// flex: 1;
// height: 100%;
// display: flex;
// overflow: hidden;
// border-radius: 12rpx 12rpx 0 0;
flex: 1;
height: 100%;
display: flex;
overflow: hidden;
border-radius: 12rpx 12rpx 0 0;
}
.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