gift-detail.wxml 2.5 KB
<view class="page">
  <view class="app__bgc bgc"></view>
  <view class="app__bg bg"></view>
  <view class="app__content main">
    <view class="top-space"></view>
    <view class="content">
      <view class="product">
        <view class="product-item">
          <view class="image-wrap">
            <!-- <image  /> -->
          </view>
          <view class="cont">
            <view class="name">某东购物卡200元某东购物卡200元</view>
            <view class="integral">消耗积分:3000分</view>
          </view>
        </view>
      </view>
      <block wx:if="{{1<0}}">
        <!-- 使用规则 (京东卡) -->
        <view class="cont-wrap use-rule">
          京东E卡可在京东商城
          <span class="link">www.jd.com</span>
          上购买自营商品(“自营商品”指在商品详情页明确标识为自营的商品),用户可在订单结算时输入E卡密码并使用。
        </view>
      </block>
      <block wx:else>
        <!-- 表单提交 (实物) -->
        <view class="cont-wrap form">
          <view class="form-tit">
            <view class="address-message">收货信息</view>
            <view bindtap="onAddressManagementHandler" class="address-edit">更改地址</view>
          </view>
          <view class="form-item">
            <view class="label">收货人</view>
            <view class="cont">郑亮亮</view>
          </view>
          <view class="form-item">
            <view class="label">收货电话</view>
            <view class="cont">13800000000</view>
          </view>
          <view class="form-item">
            <view class="label">收货地址</view>
            <view class="cont">深圳市龙岗区XXX路</view>
          </view>
          <textarea placeholder="备注您的其他要求" class="form-remark"></textarea>
        </view>
      </block>
    </view>
    <view class="bottom">
      <view class="submit-bar">
        <view class="submit-bar-cont">
          现有积分
          <span class="integral">350</span>

        </view>
        <view bindtap="onSubmitHandler" class="submit-bar-btn">确认兑换</view>
      </view>
    </view>
  </view>
</view>
<van-popup show="{{ authorizeVisible }}" >
  <authorize-comp bind:evtcomp="evtcomp"></authorize-comp>
</van-popup>
<van-popup show="{{ commonTipsCompVisible }}">
  <common-tips-comp bind:evtcomp="evtcomp" inner-title="积分不足" inner-text="使用推广、签到功能\n可获取更多积分!" inner-button="我知道了"></common-tips-comp>
</van-popup>