my-member.wxml 1.6 KB
<!--pages/my-member/my-member.wxml-->
<view class="topLine">
</view>
<!-- 领取会员卡 -->
<view class="getCard" wx:if="{{noVip}}" >
  <view class="title">
    {{postData.title}}
  </view>
  <view class="textBox">
    <view class="leftLine line"></view>
    <view style="margin:0 20rpx"> {{postData.text}}</view>
    <view class="rightLine line"></view>
  </view>
  <!-- card -->
  <view class="cardBox">
    <image src="/images/card (2).png"></image>
    <view class="bottom">{{postData.englis}}</view>
  </view>
  <view class="cardBoxTwo">
    <view class="top">
      <view class="left">
        <view class="icon">
          <image src="{{postData.icon}}"></image>
        </view>
        <view class="text">
          <view>{{postData.name}}</view>
          <view class="card">{{postData.card}}</view>
        </view>
      </view>
      <view class="right">{{postData.txt}}</view>
    </view>
    <view class="bottom">{{postData.englis}}</view>
  </view>
  <!-- bottom -->
  <view class="btn" bindtap="getCart">
    领取会员卡
  </view>
</view>
<!-- 会员卡详情 -->
<view class="cardDetail" wx:if="{{vip}}">
  <image src="/images/card.png" ></image>
  <!-- content -->
  <view class="cardBox">
    <view class="headPic">
      <image src="{{getData.wxHeadImg}}"></image>
    </view>
    <view class="userName">{{getData.wxName}}</view>
    <view class="text">积分条形码</view>
    <view class="codePic">
      <image src="/images/code.png"></image>
    </view>
    <view class="cardNumber">我的卡号:{{getData.id}}</view>
  </view>
  <!-- bottom -->
  <view class="btnBox" bindtap="cardDetail">会员卡详情</view>
</view>