Store.wxml 1.21 KB
<view class="box merchant-box" catchtap="chooseMerchant">
  <block wx:if="{{store}}">
    <view class="arrow flex">
      选择门店
      <view class="sprite-icon icon-mine-arrow"></view>
    </view>
    <view class="title">{{store.storeName}}</view>
    <view class="info">
      <block wx:if="{{store.brands && store.brands.length}}">
        <view class="brand flex">
          <block wx:for="{{store.brands}}" wx:for-index="ind" wx:for-item="i" wx:key="ind">
            <view class="flex">
              <view class="icon">
                <image webp src="{{i.brandImage}}"></image>
              </view>
              {{i.brandName}}
            </view>
          </block>
        </view>
      </block>
    </view>
    <view class="phone" catchtap="phoneCall" data-phone="{{store.appointmentPhone}}">
      <view class="icon">
        <!-- <image webp src="/images/mine/phone.png?v={{img_version}}"></image> -->
        <image webp src="{{IMGURLTemp}}index/car_phone.png?v={{img_version}}" />
      </view>
      {{store.appointmentPhone}}
    </view>
  </block>
  <block wx:else>
    <view class="choose-merchant flex">
      选择门店
      <view class="sprite-icon icon-mine-arrow"></view>
    </view>
  </block>
</view>