detail.wxml 4.26 KB
<!--pages/reserve/detail.wxml-->
<nav>{{seller.seller_name}}</nav>
<view class="seller-banner">
    <swiper
            indicator-dots="{{false}}" autoplay="{{false}}" circular="{{false}}" vertical="{{false}}"
            interval="2000" duration="500"
            previous-margin="{{0}}px" next-margin="{{0}}px"
            current="{{current}}" bindchange="bindtransition">
        <block wx:for="{{seller.banner}}" wx:key="sellers.key">
            <swiper-item>
                <image src="{{item}}" class="image" mode="aspectFill"></image>
            </swiper-item>
        </block>
    </swiper>
</view>
<view class="pages">
    <view class="seller">
        <view class="base flex-vc">
            <view class="name">{{seller.seller_name}}</view>
            <view class="ping flex-cc">
                <view class="item flex-lr fen">
                    <stat stat="2.0"></stat>
                </view>
                <view class="item">西北菜</view>
                <view class="item">人均60元</view>
            </view>
            <view class="peitao flex-cc">
                <view class="icon bao">包间</view>
                <view class="icon ka">卡座</view>
                <view class="icon car">停车场</view>
            </view>
        </view>
        <view class="addr">
            <view class="addr-text flex-ll">
                <image src="http://qn.colorcun.com/custom/lite-online/image/%E5%AE%9A%E4%BD%8D.png"></image>
                <view>高新区唐延南路35号旺座现代城D座二层</view>
            </view>
            <view class="addr-long">距您当前位置100m</view>
        </view>
    </view>
    <view class="black20line"></view>
    <view class="block">
        <view class="header flex-ll">
            <view class="line"></view>
            <view class="name">包间环境</view>
        </view>
        <scroll-view
                scroll-x
                class="baos"
                bindscrolltoupper="upper"
                bindscrolltolower="lower"
                bindscroll="scroll"
                scroll-into-view="{{toView}}"
                scroll-top="{{scrollTop}}"
        >

            <block wx:for="{{seller.baos}}" wx:key="sellers.key">
                <view class="image">
                <image src="{{item}}" mode="aspectFill"></image>
                </view>
            </block>

        </scroll-view>
    </view>
    <view class="block">
        <view class="header flex-ll">
            <view class="line"></view>
            <view class="name">推荐菜品</view>
        </view>
        <scroll-view
                scroll-x
                class="cais"
                bindscrolltoupper="upper"
                bindscrolltolower="lower"
                bindscroll="scroll"
                scroll-into-view="{{toView}}"
                scroll-top="{{scrollTop}}"
        >

            <block wx:for="{{seller.baos}}" wx:key="sellers.key">
                <view class="image-view">
                    <view class="image">
                        <image src="{{item}}" mode="aspectFill"></image>
                    </view>
                    <view class="text Semibold">gggg</view>
                </view>
            </block>

        </scroll-view>
        <view class="cais-text">
            <block wx:for="{{[1,2,3,4,5,6,7,8,9,10,11]}}" wx:key="sellers.key">
                <view>sadfad{{item}}</view>
            </block>
        </view>
    </view>
</view>
<view class="footer flex-lr">
    <view class="left flex-cc">
        <formids class="flex-vc" url="/pages/customer/index">
            <image src="http://qn.colorcun.com/custom/lite-online/image/%E9%A6%96%E9%A1%B5.png"></image>
            <view class="text">首页</view>
        </formids>
        <formids class="follow flex-vc" bindclick="follow">
            <image src="http://qn.colorcun.com/custom/lite-online/image/%E6%94%B6%E8%97%8F.png"></image>
            <image src="http://qn.colorcun.com/custom/lite-online/image/%E5%B7%B2%E6%94%B6%E8%97%8F.png"></image>
            <view class="text">收藏</view>
        </formids>
    </view>
    <view class="reserve">
        <formids class="flex-vc" bindclick="reserve">
            <view class="text">电话预定</view>
        </formids>
    </view>
</view>
<as id="as" items="{{['1','2']}}" bindclick="reservePhone">拨打电话预定</as>