Commit e8febf3e authored by Damon's avatar Damon

拍照项增加区域滚动

parent 4e5c22c8
...@@ -13,20 +13,22 @@ ...@@ -13,20 +13,22 @@
<view class="rightView"> <view class="rightView">
<view class="right-view-title">拍照项有:</view> <view class="right-view-title">拍照项有:</view>
<template v-for="(item,ikey) in rightList"> <scroll-view scroll-y="true" class="scroll-y">
<view class="rightItemView" @click="take(item,ikey)" :key="ikey"> <template v-for="(item,ikey) in rightList">
<view :class="['rightContentView', {'active':item.orderImages[0]}]"> <view class="rightItemView" @click="take(item,ikey)" :key="ikey">
<text class="ph-lst-item-index">{{ ikey + 1 }}</text> <view :class="['rightContentView', {'active':item.orderImages[0]}]">
<text class="">{{item.name}}</text> <text class="ph-lst-item-index">{{ ikey + 1 }}</text>
<image class="ph-list-item-arrow" src="/static/photo/arrow.png"></image> <text class="">{{item.name}}</text>
<!-- <text class="rightContent u-m-t-14 u-m-l-30 u-p-b-30">{{item.describe}}</text> --> <image class="ph-list-item-arrow" src="/static/photo/arrow.png"></image>
<!-- <text class="rightContent u-m-t-14 u-m-l-30 u-p-b-30">{{item.describe}}</text> -->
</view>
<view class="rightImageView" v-if="item.orderImages && item.orderImages.length > 0">
<image class="rightImage" v-for="(image, index) in item.orderImages.slice(0 , 10)" :src="image"
:key="index" @click.stop="handleClickImage(item, index)" mode="aspectFill"></image>
</view>
</view> </view>
<view class="rightImageView" v-if="item.orderImages && item.orderImages.length > 0"> </template>
<image class="rightImage" v-for="(image, index) in item.orderImages.slice(0 , 10)" :src="image" </scroll-view>
:key="index" @click.stop="handleClickImage(item, index)" mode="aspectFill"></image>
</view>
</view>
</template>
<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