<view class="container">
    <page-loding wx:if="{{showLoding}}"></page-loding>
    <head-swiper banner="{{banner}}"></head-swiper>
    <view class="content info">
        <view class="info">
            <view class="title">
              <view class="title_c">{{info.name}}</view>
              <view class="ld" wx:for="{{info.liangdian}}" wx:key="index_i" wx:for-item="item_l" style="background-color: {{item_l.ys}};">{{item_l.name}}</view>
            </view>
            <view class="tag">{{info.tag}}</view>
            <view class="ads"><text class="iconfont icon-dingwei"></text>{{info.ads}}</view>
            <view class="ads yingye"><text class="iconfont icon-shijian"></text>{{info.yingye}}</view>
            <view class="dw">
                <text class="ico iconfont icon-daohangdaohang"></text>
                <view class="jl">{{info.juli}}</view>
            </view>
        </view>
    </view>

    <view class="content">
        <view class="index-wangdian-title">
            <view class="more">空闲 {{info.jiqi_kx}}/{{info.jiqi_zs}}台</view>
            <view class="title_c">洗车机<view class="line"></view></view>
        </view>
        <view class="list">
            <view class="jiqi" wx:for="{{jiqilist}}" wx:key="index" wx:for-item="i">
              <view wx:if="{{i.state > 2}}" class="j"> <!-- 禁用 -->
                <view class="mac_state"><text>禁</text></view>
                <text class="mac_id">{{i.id}}</text>
                <view class="pa" wx:if="{{i.isPA}}">PA壶</view>
              </view>
              <view wx:elif="{{i.state > 1}}" class="w"> <!-- 使用中 -->
                <view class="mac_state"><text>洗</text></view>
                <text class="mac_id">{{i.id}}</text>
                <view class="pa" wx:if="{{i.isPA}}">PA壶</view>
              </view>
              <view wx:elif="{{i.state > 0}}" class="x"> <!-- 空间 -->
                <view class="mac_state"><text>闲</text></view>
                <text class="mac_id">{{i.id}}</text>
                <view class="pa" wx:if="{{i.isPA}}">PA壶</view>
              </view>
              <view wx:else class="d"> <!-- 离线 -->
                <view class="mac_state"><text>离</text></view>
                <text class="mac_id">{{i.id}}</text>
                <view class="pa" wx:if="{{i.isPA}}">PA壶</view>
              </view>
            </view>
        </view>
    </view>
    <service-tel></service-tel>


</view>