123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566 |
- <navigator class="common_fix common_home" wx:if="{{currentPages == 1}}" open-type="reLaunch" url="/pages/home/index" hover-class="none">
- <text class="icon icon-home"></text>
- </navigator>
- <view class="picker">
- <view class='selector'>
- <picker bindchange="childsPickerChange" disabled="{{childs.length > 0 ? false : true}}" value="{{childIndex}}" range="{{childs}}">
- <text wx:if="{{childs.length > 0}}">{{childName!=""?childName:childs[childIndex]}}</text>
- <text wx:else>还没有儿童</text>
- </picker>
- </view>
- <view class='selector' wx:if="{{liveFlag==true}}">
- <picker bindchange="activesPickerChange" disabled="{{actives.length > 0 ? false : true}}" value="{{activityIndex}}" range="{{actives}}">
- <text wx:if="{{actives.length > 0}}">{{actives[activityIndex]}}</text>
- <text wx:else>暂无活动</text>
- </picker>
- </view>
- <view class='selector' wx:else>
- <picker bindchange="activesPickerChange" disabled="{{actives.length > 0 ? false : true}}" value="{{activityIndex}}" range="{{actives}}">
- <text wx:if="{{actives.length > 0}}">{{actives[activityIndex]}}</text>
- <text wx:else>暂无活动</text>
- </picker>
- </view>
- </view>
- <!-- 内容 -->
- <view class="photo-content" wx:if="{{(teamInfo.cameraPhotos&&teamInfo.cameraPhotos.length>0)||(teamInfo.teamPhotos&&teamInfo.teamPhotos.length>0)}}">
- <view class="font14 photo-tabs {{teamInfo.cameraPhotos.length>0&&teamInfo.teamPhotos.length>0?'photo-tabs-two':'photo-tabs-one'}}">
- <view bindtap="tabsChange" data-index="0" class="tabs-item {{activeIndex==0?'tabs-bottom-line':''}}" wx:if="{{teamInfo.cameraPhotos.length>0}}">摄影师照片</view>
- <view bindtap="tabsChange" data-index="1" class="tabs-item {{activeIndex==1?'tabs-bottom-line':''}}" wx:if="{{teamInfo.teamPhotos.length>0}}">小队照片</view>
- </view>
- <view class="photo-date-list">
- <view class="font14 center photo-date-list-title"><b>拍摄日期</b></view>
- <scroll-view class="date-tabs-wrap" scroll-x="true" scroll-with-animation="true">
- <view class="date-tabs" style="width:{{picGroup.cameraPhotoslength*140}}rpx">
- <text wx:if="{{dateList.length==0}}" wx:for="{{picGroup.cameraPhotos}}" wx:key="unique" class="date-tabs-item {{index==activeDate?'subtitleColor':''}}" data-index="{{index}}" bindtap="dataChange">{{item.date}}</text>
- <text wx:if="{{dateList.length!=0}}" wx:for="{{dateList}}" wx:key="unique" class="date-tabs-item {{index==activeDate?'subtitleColor':''}}" data-index="{{index}}" bindtap="dataChange">{{item}}</text>
- </view>
- </scroll-view>
- </view>
- <view class="scoreImg">
- <view wx:for="{{imgArr}}" wx:key="unique" class="img-item">
- <image src="{{item.url}}?x-oss-process=image/resize,m_fill,w_400,h_400" wx:if="{{butFlag==true}}" mode="aspectFill" data-url="{{item.url}}" binderror="imgListBinderror" bindtap="previewImage" data-index="{{index}}" ></image>
- <image wx:else src="{{item.url}}" mode="aspectFill" data-id="{{index}}" data-flag="{{item.flag}}" bindtap="checkRadio" data-url="{{item.url}}"></image>
- <text wx:if="{{butFlag==false}}" class="icon {{item.flag==true?'icon-uncheck':'icon-checked'}}" data-id="{{index}}" data-flag="{{item.flag}}" bindtap="checkRadio"></text>
- </view>
- </view>
- <!-- <view class="scoreImg">
- <view wx:for="{{imgArr}}" wx:key="unique" class="img-item">
- <image wx:for="{{photos}}" wx:key="unique" src="{{item}}?x-oss-process=image/resize,m_mfit,h_300,w_300" mode="aspectFill" data-index="{{index}}" binderror="imgListBinderror" bindtap="previewImage"></image>
- <text wx:if="{{butFlag==false}}" class="icon {{item.flag==true?'icon-uncheck':'icon-checked'}}" data-id="{{index}}" data-flag="{{item.flag}}" bindtap="checkRadio"></text>
- </view>
- </view> -->
- <view class="center font14 gray" wx:if="{{finished}}">{{finishedText}}</view>
- </view>
- <view class='noData' wx:else><text class="icon icon-info"></text><text>暂无照片</text></view>
- <view class="btn-bottom" wx:if="{{butFlag==false}}">
- <block>
- <view bindtap="cancel">取消</view>
- <view bindtap="save">保存图片</view>
- </block>
- </view>
- <view class="save-photo" bindtap="selectMore" wx:if="{{butFlag==true}}">
- <view>批量</view>
- <view>保存</view>
- </view>
|