82 lines
2.9 KiB
Plaintext
82 lines
2.9 KiB
Plaintext
<!--pages/shop/bespeak/bespeak.wxml-->
|
|
<cu-custom isBack="{{true}}" isRelaunch="{{false}}">
|
|
<view slot="content">服务</view>
|
|
</cu-custom>
|
|
|
|
<scroll-view>
|
|
<!-- 商品轮播 -->
|
|
<swiper class="screen-swiper round-dot bg-white" indicator-dots="true" circular="true" autoplay="true" interval="5000"
|
|
style="height:550rpx;" duration="500">
|
|
<swiper-item wx:for="{{swiperlist}}" wx:key="index">
|
|
<image src="{{item.hotPic}}" mode='scaleToFill'></image>
|
|
</swiper-item>
|
|
</swiper>
|
|
</scroll-view>
|
|
|
|
<view class="scroll-content">
|
|
<view class="cu-list menu">
|
|
<!-- 名称 -->
|
|
<view class="cu-item">
|
|
<view class="content padding-tb-sm">
|
|
<view class="text-black text-xxl">
|
|
<text class="text-black margin-right-xl">{{shopBean.shopName}}</text>
|
|
</view>
|
|
<view class="text-gray text-sm">
|
|
<text class="cuIcon-favor margin-right-xs">{{shopBean.shopSummary}}</text>
|
|
</view>
|
|
</view>
|
|
<!-- <view class="action flex">
|
|
<view>
|
|
<text class="cuIcon-share lg text-gray"></text>
|
|
<text>分享</text>
|
|
</view>
|
|
<view class="margin-left">
|
|
<text class="cuIcon-favor lg text-gray"></text>
|
|
<text>收藏</text>
|
|
</view>
|
|
</view> -->
|
|
</view>
|
|
<view class="bg-gray" style="height:20rpx;"></view>
|
|
<!-- 地址 -->
|
|
<view class="cu-item">
|
|
<view class="content padding-tb-xs">
|
|
<view class="text-black text-df cut">
|
|
<text class="cuIcon-location text-black margin-right-sm"></text>{{shopBean.shopAddress}}
|
|
</view>
|
|
</view>
|
|
<!-- <view class="action flex">
|
|
<view class="margin-left">
|
|
<text class="cuIcon-phone lg text-gray"></text>
|
|
<text>电话</text>
|
|
</view>
|
|
</view> -->
|
|
</view>
|
|
</view>
|
|
<!-- 商品 -->
|
|
<view class="hint-title bg-gray">
|
|
精选商品
|
|
</view>
|
|
<view class="flex justify-between">
|
|
<scroll-view scroll-x class="bg-white nav" style="width:80%;" scroll-with-animation scroll-left="{{scrollLeft}}">
|
|
<view class="cu-item {{index==TabCur?'text-blue cur':''}}" wx:for="{{tabList}}" wx:key="index" bindtap="tabSelect"
|
|
data-id="{{index}}">
|
|
{{item.categoryName}}
|
|
</view>
|
|
</scroll-view>
|
|
<view style="width:130rpx;display:flex;justify-content:center;align-items:center;text-align:center;"
|
|
class="text-blue" bindtap="showCategoryGoods">
|
|
更多 >
|
|
</view>
|
|
</view>
|
|
<scroll-view scroll-x class="bg-white">
|
|
<view class="test">
|
|
<view wx:for="{{goodsList}}" wx:key="index" class="margin-sm" style="width:140rpx;" bindtap="toGoodsDetail"
|
|
data-item="{{item}}">
|
|
<van-image width="80" height="80" use-loading-slot fit="fill" src="{{item.hotPic}}">
|
|
<van-loading slot="loading" type="spinner" size="20" vertical />
|
|
</van-image>
|
|
<view class="text-cut text-center">{{item.goodsName}}</view>
|
|
</view>
|
|
</view>
|
|
</scroll-view>
|
|
</view> |