userInfo.wxml 3.1 KB

1
  1. <view class="container"><view class="contentBox"><view class="btoomBg"></view><view class="topBg"><image class="topImg" src="../../static/img/img08.png" mode="widthFix"></image><view class="tpConent"><view class="titleUser"><text>{{chargeUserItem.sub_id+"号"}}</text><test style="margin-left:0.5em;" vue-id="02380896-1" bind:__l="__l"></test><text>{{chargeUserItem.name}}</text></view><view class="userType flex"><image class="typeIcon" src="../../static/img/userinfoLeft.png" mode="widthFix"></image><view class="typeItem">{{''+chargeUserItem.job+''}}</view><image class="typeIcon" src="../../static/img/userinfoRight.png" mode="widthFix"></image></view><view class="tip">正在参加:2022年度明星母婴工作者<view class="_br"></view>颍川杯海选赛<view class="_br"></view>诚邀您来投票</view><view class="tjContent borderV flex"><view class="tjItem"><view class="topText">{{''+chargeUserItem.vote+''}}<text class="iconTip"></text></view><view class="bottomText">投票</view></view><view class="tjItem"><view class="topText">{{''+chargeUserItem.rank+''}}<text class="iconTip"></text></view><view class="bottomText">排名</view></view></view><view class="userImg"><view class="imgBox"><image class="img" src="{{chargeUserItem.avatar}}" mode="widthFix"></image><block wx:if="{{chargeUserItem.type==2}}"><view class="company clamp">{{''+chargeUserItem.company+''}}</view></block></view></view><view class="detail borderV">个人介绍</view><view class="detailText">{{''+chargeUserItem.detail+''}}</view></view></view></view><view class="alertAddBox flex"><view class="textAlertBox"><view class="psBox"><image class="psImgIcon" src="../../static/img/alertPIcon.png" mode="widthFix"></image><text>{{myVote}}</text></view><view>剩余票数</view></view><view data-event-opts="{{[['tap',[['chargeConfirm',['$event']]]]]}}" class="addUser" bindtap="__e">给TA投票</view></view><u-popup bind:input="__e" vue-id="02380896-2" border-radius="20" mode="bottom" value="{{showCharge}}" data-event-opts="{{[['^input',[['__set_model',['','showCharge','$event',[]]]]]]}}" bind:__l="__l" vue-slots="{{['default']}}"><view class="alertChargeBox"><view class="alertCharge flex"><block wx:for="{{voteNumList}}" wx:for-item="ls" wx:for-index="ind"><view data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" data-event-params="{{({ind})}}" class="{{['chargeItem',(ind==moneyIndex)?'actionCharge':'']}}" bindtap="__e"><view class="chargeImgIcon">{{ls.num+"票"}}</view><view class="chargeImgBox"><image class="chargeImg" src="{{'../../static/img/chargeIcon'+(ind+1)+'.png'}}" mode="widthFix"></image></view><view class="chargeTextBox flex"><image class="chargeIcon" src="../../static/img/moneyIcon.png" mode="scaleToFill"></image><text>{{ls.num}}</text></view></view></block></view><view class="flex chargeButtom"><view class="left flex"><image class="chargeIcon" src="../../static/img/moneyIcon.png" mode="scaleToFill"></image><text class="num">{{"¥"+payMoneyNum}}</text><text class="tip">{{"可为选手加"+voteNumList[moneyIndex].num+"票"}}</text></view><view data-event-opts="{{[['tap',[['e1',['$event']]]]]}}" class="right" bindtap="__e">赠送</view></view></view></u-popup></view>