|
|
@@ -1,28 +1,28 @@ |
|
|
|
<!--pages/index/detail/index.wxml--> |
|
|
|
<view> |
|
|
|
<swiper class="index-slide" autoplay="true" circular="false"> |
|
|
|
<swiper class="index-slide" autoplay="true" circular="false"> |
|
|
|
<block wx:for="{{imglist}}" wx:key="unique"> |
|
|
|
<swiper-item> |
|
|
|
<image src="{{item}}" class="index-slide-image" /> |
|
|
|
</swiper-item> |
|
|
|
</block> |
|
|
|
</swiper> |
|
|
|
<!-- <view class='merchant-detail'> |
|
|
|
<!-- <view class='merchant-detail'> |
|
|
|
<view>{{data.merchantName}}</view> |
|
|
|
</view> --> |
|
|
|
<view class='merchant-detail'> |
|
|
|
<!-- 品牌信息 --> |
|
|
|
<view class='merchant-brand'> |
|
|
|
<view> |
|
|
|
<image src='{{data.brandImg}}'></image> |
|
|
|
</view> |
|
|
|
<view> |
|
|
|
<text>{{data.merchantName}}</text> |
|
|
|
<text>{{data.title}}</text> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<!-- 一个商铺 --> |
|
|
|
<!-- <view class='merchant-shop' wx:if="{{shopVoList.length==1}}"> |
|
|
|
<!-- 品牌信息 --> |
|
|
|
<view class='merchant-brand'> |
|
|
|
<view> |
|
|
|
<image src='{{data.merchantImgUrl}}'></image> |
|
|
|
</view> |
|
|
|
<view> |
|
|
|
<text>{{data.merchantName}}</text> |
|
|
|
<text>{{data.title}}</text> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<!-- 一个商铺 --> |
|
|
|
<!-- <view class='merchant-shop' wx:if="{{shopVoList.length==1}}"> |
|
|
|
<view> |
|
|
|
<text>商户位置</text> |
|
|
|
</view> |
|
|
@@ -31,40 +31,40 @@ |
|
|
|
<text></text> |
|
|
|
</view> |
|
|
|
</view> --> |
|
|
|
<!-- 多个商铺 --> |
|
|
|
<view class='merchant-shop'> |
|
|
|
<view > |
|
|
|
<view > |
|
|
|
<text>商户位置</text> |
|
|
|
</view> |
|
|
|
<view> |
|
|
|
<text wx:if="{{shopVoList.length==1}}">{{shopVoList[0].buildingName}} {{shopVoList[0].floorName}} {{shopVoList[0].shopNumber}}</text> |
|
|
|
<text wx:else>{{shopVoList[0].buildingName}} {{shopVoList[0].floorName}} {{shopVoList[0].shopNumber}}..</text> |
|
|
|
<text wx:if="{{shopVoList.length!=1}}" class='godetail' data-id='{{data.id}}' bindtap='shopList'>详情 ></text> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<!-- 联系方式 --> |
|
|
|
<view class='merchant-phone'> |
|
|
|
<view > |
|
|
|
<text>联系商户</text> |
|
|
|
</view> |
|
|
|
<view> |
|
|
|
<view> |
|
|
|
<!-- 多个商铺 --> |
|
|
|
<view class='merchant-shop'> |
|
|
|
<view> |
|
|
|
<view> |
|
|
|
<text>商户位置</text> |
|
|
|
</view> |
|
|
|
<view> |
|
|
|
<text wx:if="{{shopVoList.length==1}}">{{shopVoList[0].buildingName}} {{shopVoList[0].floorName}} {{shopVoList[0].shopNumber}}</text> |
|
|
|
<text wx:else>{{shopVoList[0].buildingName}} {{shopVoList[0].floorName}} {{shopVoList[0].shopNumber}}..</text> |
|
|
|
<text wx:if="{{shopVoList.length!=1}}" class='godetail' data-id='{{data.id}}' bindtap='shopList'>详情 ></text> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<!-- 联系方式 --> |
|
|
|
<view class='merchant-phone'> |
|
|
|
<view> |
|
|
|
<text>联系商户</text> |
|
|
|
</view> |
|
|
|
<view> |
|
|
|
<view> |
|
|
|
<text>{{data.merchantLinkPhone}}</text> |
|
|
|
</view> |
|
|
|
<image bindtap='phone' data-merchantLinkPhone='{{data.merchantLinkPhone}}' class="tel" src="{{teljpgUrl}}" mode="widthFix" /> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<!-- 商户简介 --> |
|
|
|
<view class='merchant-phone'> |
|
|
|
<view> |
|
|
|
<text>商户简介</text> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class='merchant-info'> |
|
|
|
<text wx:if="{{data.summary}}">{{data.summary}}</text> |
|
|
|
<text wx:else>{{"信息完善中,敬请期待。"}}</text> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<image bindtap='phone' data-merchantLinkPhone='{{data.merchantLinkPhone}}' class="tel" src="{{teljpgUrl}}" mode="widthFix" /> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<!-- 商户简介 --> |
|
|
|
<view class='merchant-phone'> |
|
|
|
<view> |
|
|
|
<text>商户简介</text> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class='merchant-info'> |
|
|
|
<text wx:if="{{data.summary}}">{{data.summary}}</text> |
|
|
|
<text wx:else>{{"信息完善中,敬请期待。"}}</text> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |