review.wxml 3.71 KB
<!--pages/manager-invitation/review.wxml-->
<swiper
        indicator-dots="{{false}}"
        autoplay="{{false}}"
        duration="{{500}}"
        bindchange="swiperChange"
        current="{{current}}"
        style="height:{{height}}px;"
>
    <block wx:for="{{tpls}}" wx:key="tpls.key">
        <swiper-item>
            <view class="pages bg-{{item.id}} flex-vc" style="height:{{height}}px;width:100%;">
                <template is="tpl-{{item.id}}" data="{{...seller,options}}"></template>
            </view>
        </swiper-item>
    </block>
</swiper>
<view wx:if="{{!options.rid}}"
        class="flex-vc"
        style="position:fixed;top:{{statusBarHeight}}px;left:0;height: {{titleBarHeight}}px; line-height: {{titleBarHeight}}px;">
    <view class="tabs flex-ll">
        <block wx:for="{{tpls}}" wx:key="tpls.key">
            <view class="item {{index==current?'active':''}}" bindtap="switchTabs" data-current="{{index}}">{{item.name}}</view>
        </block>
    </view>
</view>
<nav wx:else="" backgroundColor="rgba(0,0,0,0)" style="position: fixed;"></nav>
<!--
<view class="editor flex-vc" bindtap="goEditor" wx:if="{{!options.rid}}">修改内容</view>
-->
<!--//商务-->
<template name="tpl-1">
    <view class="flex-vc shangwu" bindtap="{{options.rid?'goEditor':''}}">
        <view class="invit-logo">
            <image src="http://qn.colorcun.com/custom/lite-yd-cook/image/detail_owner_invitation-1-1.png"></image>
            <view class="quick-editor" wx:if="{{options.rid}}">修改内容</view>
        </view>
        <view class="seller flex-vc">
            <view class="title">餐厅</view>
            <view class="content name">{{name}}</view>
            <view class="title">包间</view>
            <view class="content">{{room}}</view>
            <view class="title">时间</view>
            <view class="content">{{date}}</view>
            <view class="title">店铺地址</view>
            <view class="content flex-cc addr">
                <image src="http://qn.colorcun.com/manager-invitation/wx/address.png" class="invit-addr"></image>
                {{addr}}
            </view>
        </view>
        <userinfo-share class="button-none flex-vc" binduserinfo="setUserInfoSuccess" wx:if="{{options.rid}}" catchtap="catchtap">
            <view class="buts-share"></view>
        </userinfo-share>
    </view>
</template>

<!--//温馨-->
<template name="tpl-2">
    <view class="wenxin-top"></view>
    <view class="wenxin-bottom"></view>
    <view class="flex-vc wenxin" bindtap="{{options.rid?'goEditor':''}}">
        <view class="invit-logo">
            <image src="http://qn.colorcun.com/manager-invitation/wx/%E6%B8%A9%E9%A6%A8-%E9%A2%84%E8%AE%A2%E5%AE%89%E6%8E%92.png"></image>
            <view class="quick-editor" wx:if="{{options.rid}}">修改内容</view>
        </view>
        <view class="wenxin-mask">
            <view class="wenxin-mask-bg" style="background-image: url({{image||'http://qn.colorcun.com/manager-invitation/wx/hunshazhao3.jpg'}})"></view>
            <view class="wenxin-mask-img"></view>
        </view>
        <view class="wenxin-baitou"></view>
        <view class="wenxin-line"></view>
        <view class="seller flex-vc">
            <view class="content">{{date}}</view>
            <view class="content">{{name}}{{room}}</view>
            <view class="content flex-cc addr">
                <image src="http://qn.colorcun.com/manager-invitation/wx/address.png" class="invit-addr"></image>
                {{addr}}
            </view>
        </view>
        <userinfo-share class="button-none flex-vc" binduserinfo="setUserInfoSuccess" wx:if="{{options.rid}}" catchtap="catchtap">
            <view class="buts-share"></view>
        </userinfo-share>
    </view>
</template>

<tabBar></tabBar>