wish.wxml 2.31 KB
<view class="page">
  <view class="app__bgc bgc"></view>
  <view class="app__bg bg">
    <image class="b1" mode="widthFix" src="../../image/oss/my-wish/my-wish-c1.png" />
  </view>
  <view class="decoration">
    <image class="d1" src="../../image/oss/my-wish/my-wish-d1.png" mode="widthFix" />
  </view>
  <view class="app__content main">
    <view class="top-space"></view>
    <view class="content">
      <!-- 我的信息框 -->
      <view class="my">
        <image class="ebg" src="../../image/oss/my-wish/my-wish-c2.png" mode="widthFix" />
        <image class="portrait" src="{{wishInfo.member.avatar}}" />
        <!-- 内容 -->
        <view class="cont">
          <view class="space1"></view>
          <view class="nickname">{{wishInfo.member.nickname}}</view>
          <view class="number">{{wishInfo.member.mobile}}</view>
          <view bindtap="onMyCardHandler" class="mycard">我的卡券</view>
        </view>
        <view bindtap="onCreatePosterHandler" class="poster-btn">生成海报</view>
      </view>
      <!-- 协作 -->
      <view class="coop">
        <view class="tit">· 我的弹力帮帮团 ·</view>
        <view class="tips">
          积累
          <span class="t1">{{helperInfo.total}}</span>
          人助力,获得
          <span class="t1">{{helperInfo.totalElasticValue}}</span>
          弹力值!
        </view>
        <scroll-view scroll-y="{{true}}" class="list">
          <view wx:for="{{helperInfo.helpers}}" wx:key="{{index}}" class="list-item">
            <span class="t1">·{{item.helperNickname}}</span>
            {{item.tip}}
            <span class="t1">{{item.elasticValue}}</span>
            弹力值!
          </view>
          <view class="empty" wx:if="{{helperInfo.helpers.length <= 0}}">还没有好友助力,马上让她们帮你实现愿望吧!</view>
        </scroll-view>
      </view>
      <view class="btn-wrap">
        <view bindtap="onRankHandler" class="btn btn2">弹力girl榜单</view>
        <view bindtap="onShareHandler" class="btn">弹弹好友</view>
      </view>
    </view>
    <!-- 规则按钮 -->
    <view class="rule-btn" bindtap="onShowRuleHandler">
      <span class="c1">活动详情</span>
    </view>
  </view>
</view>
<van-popup show="{{ tipsRuleVisible }}">
  <tips-rule-comp bind:evtcomp="evtcomp"></tips-rule-comp>
</van-popup>