<view hidden="{{!(isShow)}}" class="container"><image class="bgImg" src="../../static/img/mine/myRewardBG.png"></image><view class="headerBox"><view class="osNavigationBar" style="{{'height:'+(statusBarHeight+'px')+';'}}"></view><view class="viewTopTitle" style="{{'height:'+(navBarHeight+'px')+';'+('line-height:'+(navBarHeight+'px')+';')}}"><view data-event-opts="{{[['tap',[['onBackTo',['$event']]]]]}}" class="topTitleBackButton" style="{{'top:'+((navBarHeight-20)/2+'px')+';'}}" bindtap="__e"><image class="topTitleBackButtonImg" src="/static/img/common/back_white.png"></image></view><text class="topTitleText" style="color:#fff;">网格员奖励</text></view></view><view class="contentBox" style="{{'height:'+('calc(100% - '+(statusBarHeight+navBarHeight)+'px)')+';'}}"><view class="numberBox"><text>￥</text><text class="userMoney">{{userMoney}}</text><text class="userMoneyTips">历史已领奖励</text></view><view class="rewardBox"><view class="rewardHeaderBox"><view class="tabBox"><view data-event-opts="{{[['tap',[['onChangeState',['1']]]]]}}" class="{{['tabItem',tabIndex=='1'?'active':'']}}" bindtap="__e">已领</view><view data-event-opts="{{[['tap',[['onChangeState',['0']]]]]}}" class="{{['tabItem',tabIndex=='0'?'active':'']}}" bindtap="__e">待领取</view></view></view><view hidden="{{!(tabIndex!='1')}}" class="titleTips"><image class="tipsIcon" src="../../static/img/mine/starIcon.png"></image><text class="tipsText">关注微信公众号“</text><text data-event-opts="{{[['tap',[['onGZHTo',['$event']]]]]}}" class="linkText" bindtap="__e">自贡随手拍</text><text class="tipsText">”</text></view><view class="rewardDetailBox" style="{{'height:'+(tabIndex=='1'?'calc(100% - 120rpx)':'calc(100% - 168rpx)')+';'}}"><block wx:if="{{$root.g0>0}}"><view><block wx:for="{{rewardList}}" wx:for-item="item" wx:for-index="index"><view class="rewardContentBox"><view data-event-opts="{{[['tap',[['onChangeContentShow',['$0'],[[['rewardList','',index,'creationTimeText']]]]]]]}}" class="rewardTitleBox" bindtap="__e"><view class="rewardTitle"><text class="rewardTitleDate">{{item.creationTimeText}}</text><image class="rewardTitleIcon" src="../../static/img/common/selectImg.png"></image></view><view class="rewardTitleNum">{{"总计 ￥"+item.amountTxt}}</view></view><view hidden="{{!(item.showDetail)}}" class="rewardListBox"><block wx:for="{{item.list}}" wx:for-item="rewardItem" wx:for-index="rewardIndex"><view data-event-opts="{{[['tap',[['onViewTo',['$0'],[[['rewardList','',index],['list','',rewardIndex,'orderId']]]]]]]}}" class="rewardItemBox" bindtap="__e"><image class="itemImg" src="/static/img/mine/reward.png"></image><view class="itemInfoBox"><view class="itemTextBox"><view class="itemTitle">{{rewardItem.title}}</view><view class="itemDate">{{rewardItem.creationTimeText}}</view></view><view class="itemRedNum"><text class="itemRedNumText">{{"￥"+(rewardItem.amountTxt||0)}}</text></view></view></view></block></view></view></block></view></block><block wx:else><view class="noneBox"><image class="noneImg" src="../../static/img/home/noneImg.png"></image><view class="noneTips">暂无数据</view></view></block></view></view></view><block wx:if="{{isPopShow}}"><view class="popMask"><view class="popContent"><view class="popTips">长按扫码关注公众号</view><image class="popImg" src="../../static/img/mine/qrcode_gyyjgl.jpg" show-menu-by-longpress="{{true}}"></image><image class="popClose" src="../../static/img/mine/popClose.png" data-event-opts="{{[['tap',[['onGZHCloseTo',['$event']]]]]}}" bindtap="__e"></image></view></view></block></view>