- <!--pages/index/detail/index.wxml-->
- <view>
- <swiper class="index-slide" autoplay="true" circular="false">
- <block wx:for="{{imglist}}" wx:key="unique">
- <swiper-item>
- <image src="{{item}}" class="index-slide-image" mode='widthFix'/>
- </swiper-item>
- </block>
- </swiper>
- <view class='merchant-detail'>
- <!-- 品牌信息 -->
- <view class='merchant-brand'>
- <view>
- <image src='{{data.merchantImgUrl}}' mode='aspectFill'></image>
- </view>
- <view>
- <text>{{data.merchantName}}</text>
- <text>{{data.title}}</text>
- </view>
- </view>
- <!-- 一个商铺 -->
- <!-- 多个商铺 -->
- <view class='merchant-shop'>
- <view>
- <view>
- <text>商户位置</text>
- </view>
- <view class='merchants'>
- <text wx:for="{{shopVoList}}" wx:key="{{index}}">{{item.buildingName}}{{item.floorName}}--{{item.shopNumber}}</text>
- </view>
- </view>
- </view>
- <!-- 联系方式 -->
- <view class='merchant-phone'>
- <view>
- <text>联系商户</text>
- </view>
- <view>
- <view style='display:block;text-align:left;margin-right:20rpx;'>
- <text>{{data.merchantLinkPhone}}</text>
- </view>
- <image bindtap='phone' data-merchantLinkPhone='{{data.merchantLinkPhone}}' class="tel" src="{{teljpgUrl}}" mode="widthFix" />
- </view>
- </view>
- <!-- 商户简介 -->
- <view class='merchant-phones'>
- <!-- <view>
- <text>商户简介</text>
- </view> -->
- <view class="swiper-tab">
- <view class="swiper-tab-item {{currentTab==0?'active-tab':''}}" data-current="0" bindtap="clickTab">全部</view>
- <view class="swiper-tab-item {{currentTab==1?'active-tab':''}}" data-current="1" bindtap="clickTab">找人</view>
- <view class="swiper-tab-item {{currentTab==2?'active-tab':''}}" data-current="2" bindtap="clickTab">找车</view>
- </view>
- <swiper current="{{currentTab}}" duration="300" bindchange="swiperTabView">
- <swiper-item>
- <view>全部</view>
- </swiper-item>
- <swiper-item>
- <view>找人</view>
- </swiper-item>
- <swiper-item>
- <view>找车</view>
- </swiper-item>
- </swiper>
- <view class='merchant-info'>
- <view hidden='currentTabsIndex!=0'>
- <text wx:if="{{data.summary}}">{{data.summary}}</text>
- </view>
- <view hidden='currentTabsIndex!=1'>
- <text wx:if="{{data.summary}}">{{data.summary}}</text>
- <text wx:else>{{"信息完善中,敬请期待。"}}</text>
- </view>
- </view>
- </view>
- </view>
- </view>
|