Commit e8febf3e authored by Damon's avatar Damon

拍照项增加区域滚动

parent 4e5c22c8
...@@ -13,6 +13,7 @@ ...@@ -13,6 +13,7 @@
<view class="rightView"> <view class="rightView">
<view class="right-view-title">拍照项有:</view> <view class="right-view-title">拍照项有:</view>
<scroll-view scroll-y="true" class="scroll-y">
<template v-for="(item,ikey) in rightList"> <template v-for="(item,ikey) in rightList">
<view class="rightItemView" @click="take(item,ikey)" :key="ikey"> <view class="rightItemView" @click="take(item,ikey)" :key="ikey">
<view :class="['rightContentView', {'active':item.orderImages[0]}]"> <view :class="['rightContentView', {'active':item.orderImages[0]}]">
...@@ -27,6 +28,7 @@ ...@@ -27,6 +28,7 @@
</view> </view>
</view> </view>
</template> </template>
</scroll-view>
<take-photo type="test" v-if="takeStatus" :currentItem="currentItemDate" @close="closeTake"></take-photo> <take-photo type="test" v-if="takeStatus" :currentItem="currentItemDate" @close="closeTake"></take-photo>
<!-- <u-button v-if="activeTop + 1 === dataList.length" class="ph-list-button" type="error" shape="circle" <!-- <u-button v-if="activeTop + 1 === dataList.length" class="ph-list-button" type="error" shape="circle"
:disabled="buttonDisabled" :custom-style="buttonStyle" @click="isPopShow = true">一键清空展示图片</u-button> --> :disabled="buttonDisabled" :custom-style="buttonStyle" @click="isPopShow = true">一键清空展示图片</u-button> -->
...@@ -495,4 +497,8 @@ ...@@ -495,4 +497,8 @@
justify-content: center; justify-content: center;
margin-top: 150rpx; margin-top: 150rpx;
} }
.scroll-y {
height: 80vh;
}
</style> </style>
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