<!--pages/tabber/home/index.wxml-->
<view class="topBg">
    <image src="/image/home/bg.png" class="img-bgs"></image>
    <view class="contioner">
        <!-- <image src="/image/home/logo.png" class="tit"></image> -->
        
        <view class="tis">海星洗护</view>
        <view class="tips">洗衣·洗鞋·高端护理</view>
    </view>


    <view class="shoppingBoxs flex ju-b">
        <view class="le flex ju-b">
            <image src="/image/home/pic.png" class="pic"></image>
            <view class="content">
                <view class="tit">{{worke.title}}</view>
                <view class="message">离您最近｜距离{{worke.distance}}千米</view>
                <view class="tags">{{status[worke.signing_status]}}</view>
            </view>
        </view>

        <view class="lr" bindtap="toMap">
            <image src="/image/icon/location.png" class="icon"></image>
            <view class="tips">更换</view>
        </view>
    </view>
</view>

<view class="mainBoxs flex ju-b">
    <view class="mainItem" wx:for="{{menuList}}" wx:key="index">
        <image src="{{item.url}}" class="icon"></image>
        <view class="text">{{item.text}}</view>
    </view>
    <view class="mainItem">
    <button open-type="share">
        <image src="/image/home/fenxianghaoyou.png" class="icon"></image>
        <view class="text">分享好友</view>
        </button>
    </view>
</view>

<!-- or gray -->
<view wx:if="{{hasUserInfo}}" class="btns skyBlue " bindtap="placeOrder">
    <text>{{!islocation?'下单洗衣':'请先开启定位'}}</text>
    <view class="tips flex" hidden>活动活动活动活动</view>
</view>
<view wx:else class="btns skyBlue " bindtap="getUserProfile">
    <text>{{!islocation?'下单洗衣':'请先开启定位'}}</text>
    <view class="tips flex" hidden>活动活动活动活动</view>
</view>

<!-- <taskOrder value="3" bind:rightClick="rightClick"/> -->

<view class="footerTips flex ju-b" hidden>
    <image src="/image/home/tips.png" class="tips"></image>
    <view class="message">春节期间暂停服务，放假安排：2022-01-01至2022-02-02，
        暂停期间干洗柜中未取衣物可超常取出</view>
</view>

<view class="infoBoxs" style="top:{{btnInfo.top + btnInfo.height}}px;" wx:if="{{topShow}}">
    <image src="/image/home/tishi.png" class="img-bgs"></image>
    <view class="close" bindtap="close"></view>
</view>

<toast id='toast' icon="/image/icon/success.png">
</toast>