1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283 |
- <wxs src='../wxs/util.wxs' module='filter' />
- <view class="growup-content-pad">
- <view class="font16 center"><text class="subtitleColor icon-growth font30 middle"></text><b class="subtitleColor middle font-weight mLeft5">宝贝成长</b><view class="growup-gray font12 mTop5">这里,藏着孩子的未来</view>
- </view>
- <view wx:if="{{userInfo}}">
- <view class="m-top10 content-pad" wx:if="{{childs.length>0}}">
- <view class="growup-head-child" wx:for="{{childs}}" wx:key="unique">
- <image src="{{item.avatar}}" lazy-load="true" binderror="childsBinderror" data-index="{{index}}" mode="aspectFill"></image>
- <text class="growup-head-child-item font14">{{item.name}}</text>
- <text class="growup-head-child-item font12 right">印章超越<text class="subtitleColor font18 font-weight">{{item.percent}}%</text>儿童</text>
- </view>
- </view>
- <view class="m-top10 center content-nochild-pad" wx:else>
- <navigator url='/pages/account/cards/index' hover-class='none'>
- <button class="button button-warn button-radius button-bind" type="danger" round to="/card">无儿童,去绑定></button>
- </navigator>
- </view>
- </view>
- <view class="growup-nav" wx:if="{{userInfo}}">
- <navigator class="growup-nav-item" url="/pages/growup/passport/passport" hover-class="none">
- <text class="icon-passport subtitleColor font40"></text><text>宝贝荣誉</text>
- </navigator>
- <navigator class="growup-nav-item" url="/pages/growup/record/record" hover-class="none">
- <text class="icon-growup subtitleColor font40"></text><text>活动点评</text>
- </navigator>
- <navigator class="growup-nav-item" url="/pages/growup/photo/index" hover-class="none">
- <text class="icon-photo subtitleColor font40"></text><text>活动照片</text>
- </navigator>
- <navigator class="growup-nav-item" url="/pages/growup/take/take" hover-class="none">
- <text class="icon-take subtitleColor font40"></text><text>每日记录</text>
- </navigator>
- </view>
- <view class="center mTop20" wx:if="{{!userInfo}}">
- <navigator url='/pages/home/login' hover-class='none'>
- <button class="button button-warn button-radius button-login">登录/注册</button>
- </navigator>
- </view>
- </view>
- <!-- 列表 -->
- <view class="growup-content septal-top-line">
- <view class="font16 center growup-content-title"><text class="subtitleColor icon-says font30 middle"></text><b class="subtitleColor middle font-weight mLeft5">家长心声</b><view class="growup-gray font12 mTop5">收获、惊喜、蜕变、感动</view>
- </view>
- <view wx:if="{{list.length>0}}">
- <view class="growup-content-list" wx:for="{{list}}" wx:key="unique">
- <view class="growup-content-list-head">
- <image class="growup-content-list-photo" src="{{item.ownerAvatar}}" lazy-load="true" binderror="binderror" data-index="{{index}}" mode="aspectFill"></image>
- <view class="growup-content-list-name">
- <text class="font14">{{item.ownerNick}}</text>
- <text class="growup-gray font12">{{item.childName}}宝贝 {{item.age ? item.age+'岁':''}} {{item.joinCnt ? '独立成长'+(item.joinCnt||1)+'次':''}}</text>
- </view>
- </view>
- <text class="font14">{{item.content}}<text class="subtitleColor"><text wx:for="{{item.tags}}" wx:for-item="items" wx:key="i">{{items}}</text></text></text>
- <view class="scoreImg mTop15" wx:if="{{item.imageList.length>0}}" bindtap="previewImage" data-index="{{index}}">
- <image wx:for="{{item.imageList}}" wx:for-index="i" wx:key="unique" data-index="{{index}}" data-i="{{i}}" wx:for-item="itemImg" src="{{itemImg}}?x-oss-process=image/resize,m_fill,w_400,h_400" mode="aspectFill" binderror="imgListBinderror"></image>
- </view>
- <navigator class="bg growup-example mTop15" url='/pages/product/activity/index?aid={{item.article.aid}}' hover-class='none'>
- <image src="{{filter.formatImg(img, item.article.logo)}}" lazy-load="true" binderror="activeLogoBinderror" data-index="{{index}}" mode="aspectFill"></image>
- <view class="growup-example-content">
- <view class="activity-title font14 growup-gray">{{item.article.title}}</view>
- <text class='growup-gray font12 growup-example-content-price'>
- <text wx:if="{{item.article.price}}">¥<text class="font14">{{item.article.price}}</text>
- <text class='growup-gray' style="text-decoration:line-through" wx:if="{{item.article.tcprice}}">¥{{item.article.tcprice}}</text>
- </text>
- <text class="growup-gray1 mLeft10">累计{{item.article.people||1}}人</text>
- </text>
- </view>
- </navigator>
- <view class="growup-thumbs-box mTop10">
- <view class="growup-thumbs mTop10">
- <image wx:for="{{item.commentsLikes}}" wx:for-index="i" wx:key="unique" data-i="{{i}}" data-index="{{index}}" wx:for-item="items" src="{{items.avatar}}" mode="aspectFill" binderror="userBinderror"></image>
- <view class="growup-thumbs-icon">
- <text class="icon {{item.likeStatus==1?'icon-point-upactive subtitleColor':'icon-point-up'}}" data-info="{{item}}" data-index="{{index}}" bindtap="setLike"></text>
- <text class="font12 mLeft10">{{item.likeCnt}}</text>
- </view>
- </view>
- </view>
- </view>
- <view class="center font14 growup-gray" wx:if="{{finished}}">{{finishedText}}</view>
- </view>
- <view class='noData' wx:else><text class="icon icon-info"></text><text>暂无家长心声</text></view>
- </view>
|