123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657 |
- <wxs src='../../wxs/util.wxs' module='filter' />
- <view wx:if="{{!noData}}" class='record'>
- <!-- 引入雷达图 -->
- <import src="../../../components/radar/radar.wxml"/>
- <navigator class="common_fix common_home" wx:if="{{currentPages == 1 && load}}" open-type="reLaunch" url="/pages/home/index" hover-class="none">
- <text class="icon icon-home"></text>
- </navigator>
- <view class="record">
- <childs list="{{user}}" share="{{share}}" bind:getChildIndex="choose">
- <block wx:if="{{!noChildData}}">
- <view class="recordCol septal-bottom-line" wx:for="{{datas}}" wx:key="unique" wx:if="{{!noData}}">
- <view style="padding:0 40rpx">
- <view data-index="{{index}}"class="tab_item">
- <view class="rightTop_Btn" data-item="{{item}}" catchtap="showPoster" wx:if="{{item.comment && item.pics.length > 0&&item.picWidthHeight}}">分享给家人 ></view>
- <view class="col sname">{{filter.formatDate(item.startTimesStr, 'yyyy年MM月dd日')}}<text class="gray font12"> {{filter.getAge(user[current].birthdayStr, item.startTimesStr)}}</text></view>
- <view class="col">{{item.sname}}-{{item.atitle}}</view>
- <view class="col" wx:if="{{item.team && item.job}}">队伍(职责):<text>{{item.team || ""}} ({{item.job || ''}})</text></view>
- <view class="col">{{item.call || ""}}</view>
- </view>
- <block>
- <!-- 有图片的 -->
- <view wx:if="{{item.pics && item.pics.length > 0}}" class="swiper_content">
- <swiper style="height:400rpx" data-index="{{index}}" bindchange="bindchange">
- <block wx:for="{{item.pics}}" wx:for-item="el" wx:for-index="i" wx:key="*this">
- <swiper-item>
- <view class="imgSwipe" style="position:relative;width:100%;height:100%">
- <image src="{{el}}" mode="aspectFit" data-item="{{item.pics}}" data-url="{{el}}" bindtap="showImg"></image>
- </view>
- </swiper-item>
- </block>
- </swiper>
- <view class="indicator">{{item.currentInx ||1}}/{{item.pics.length}}</view>
- <view class="comment" wx:if="{{item.comment && item.comment.length > 0}}">
- {{item.comment}}
- </view>
- </view>
- <!-- 没有图片的 -->
- <view class="haveImg" wx:if="{{item.pics && item.pics.length == 0}}">
- <view class="comment" wx:if="{{item.comment && item.comment.length > 0}}">{{item.comment}}</view>
- <template is="radar" data="{{radarData: item.canvasId}}" wx:if="{{item.scores && item.scores.length > 0}}" />
- <view class="comment center subtitleColor" wx:if="{{item.comment && item.comment.length > 0}}">{{item.status == 1 ? '暂无点评信息':'活动还未开始哦'}}</view>
- </view>
- </block>
- </view>
- </view>
- </block>
- <empty wx:else>~该儿童暂无成长记录~</empty>
- <view class='load-more' hidden='{{isLoadMore}}'>下面没有了哦</view>
- </childs>
- </view>
- </view>
- <view wx:else>
- <empty wx:if="{{noData}}">~该用户还没有儿童参加过任何活动~</empty>
- </view>
- <nps show="{{npsStatus}}" options="{{npsOptons}}" catchtouchmove="ture" bindmyevent="close" bind:selectImage="selectImage" />
- <poster show="{{showPoter}}" posterInfo="{{posterInfo}}" bind:close="closePoster"></poster>
|