apply.wxml 1.38 KB
<!-- pages/apply/apply.wxml -->
<navigation-bar showBack="{{true}}" bindnavbarReady="navbarReady" navStyle="{{navStyle}}">
  申请业务
</navigation-bar>
<view class="apply">
  <image class="head" src="{{IMG_URL}}index/apply-title.png" style="height:{{tabBarStyle}}px;" />
  <image class="introduce" src="{{IMG_URL}}index/new-apply-bg.png" />
  <view class="content-wrap">
    <view class="content" hover-class="none" hover-stop-propagation>
      <view class="top">
        <!-- <view class="line" hover-class="none" hover-stop-propagation="false" />
        <view class="title" hover-class="none" hover-stop-propagation="false">开通门店账号</view> -->
        <van-tabs active="{{ tabActive }}" bind:change="onTabChange">
          <van-tab wx:for="{{tabList}}" wx:key="index" title="{{item.title}}" name="{{item.name}}">
          </van-tab>
        </van-tabs>
      </view>
      <apply-business id="apply-business" wx:if="{{tabActive == 1}}"></apply-business>
      <apply-product id="apply-product" wx:if="{{tabActive == 2}}"></apply-product>
    </view>
  </view>
  <button wx:if="{{tabActive == 1}}" class="btn" bindtap="applyBusiness">提交开店信息</button>
  <view wx:if="{{tabActive == 2}}" class="isFullSucreen btn-box" bindtap="applyProduct">
    <button class="btn">申请合作</button>
  </view>
  <!-- <button class="btn" bindtap="applyFn">申请合作产品</button> -->
</view>