detail_owner_invitation.wxml 2.29 KB
<!--pages/customer/detail_owner.wxml-->
<import src="../tpl/invitation"></import>
<nav backgroundColor="rgba(0,0,0,0)" hasHome style="position: fixed;z-index: 1;"></nav>
<view class="pages bg-{{options.tplid}} flex-vc" style="height:{{height}}px;" wx:if="{{options.tplid}}">
    <template is="tpl-{{options.tplid}}" data="{{seller,options,hasOwner,animation}}"></template>
    <view class="opt-view flex-vc">
        <block wx:if="{{!detail.hasOvered && !detail.hasCancel}}">
            <userinfo-share class="button-none flex-vc" binduserinfo="setUserInfoSuccess" catchtap="catchtap">
                <view class="buts-share animation"></view>
            </userinfo-share>
        </block>
        <block wx:elif="{{detail.hasCancel}}">
            <view class="opt-view-tip Medium">订座已取消</view>
        </block>
        <block wx:else="">
            <view class="opt-view-tip Medium">订座已完成</view>
        </block>
    </view>
</view>
<view class="bottom flex-lr" wx:if="{{!detail.hasOvered && !detail.hasCancel}}">
    <formids bindclick="sendmsg" class="sendmsg" style="{{detail.seller.is_open_order!=1 && detail.seller.is_open_wine!=1?'width:100%;':''}}">
        短信通知
    </formids>
    <userinfo binduserinfo="cookbook" class="diancan" wx:if="{{detail.seller.is_open_order==1}}">
        <view class="buts-text flex-cc">
            <image src="http://qn.colorcun.com/manager-invitation/wx2/%E6%8F%90%E5%89%8D%E7%82%B9%E9%A4%90.png" class="icon"></image>
            提前点餐
        </view>
    </userinfo>
    <block wx:if="{{detail.seller.is_open_wine==1}}">
        <view class="vline" wx:if="{{detail.seller.is_open_order==1}}" ></view>
        <formids bindclick="toast" class="jiushui">
            <view class="buts-text flex-cc">
                <image src="http://qn.colorcun.com/manager-invitation/wx2/%E8%87%AA%E5%B8%A6%E9%85%92%E6%B0%B4.png" class="icon"></image>
                自带酒水
            </view>
        </formids>
    </block>
</view>
<!--//商务-->
<template name="tpl-1">
    <view class="flex-vc shangwu" bindtap="{{options.rid?'goEditor':''}}">
        <template is="tpl-shangwu" data="{{...seller,options}}"></template>
    </view>
</template>

<!--//温馨-->
<template name="tpl-2">
    <template is="tpl-wenxin" data="{{...seller,options}}"></template>
</template>