myList.wxml 2.43 KB
<!--pages/limit/queue.wxml 我的排队号页面-->
<import src="../../vendors/zanui/actionsheet/index.wxml" />
<view class='container'>
    <!--排队列表-->
    <block class='queue-list' wx:for='{{queueList}}' wx:key='{{item.id}}'>
        <view id='item_{{item.uid || 0}}' class='queue-item'>
        <block wx:if="{{item.helpInfo}}">
            <view class='item-helpinfo-container'>
                <view class='item-helpinfo'>
                    <image src='{{item.helpheadIco}}'></image>
                    <text>{{item.helpInfo}}</text>
                </view>
            </view>
        </block>
        <block wx:else>
            <view class='item-head-container'>
                <!--headImage-->
                <image class='item-head' src='{{item.headIco}}'></image>
                <block wx:if='{{item.isLucky}}'>
                    <view class='gift-icon'>
                        <image src='{{giftImage}}'></image>
                    </view>
                </block>
            </view>
            <view class='item-info-container'>
                <!--itemInfo-->
                
                     <view class='item-user-rank'>
                        <text>{{item.sort}}</text>
                        <view wx:if="{{item.helpName}}" class='item-user-assist'>
                            <image src='{{item.helpheadIco}}'></image>
                            <text>好友助力</text>
                        </view>
                    </view>
                    <view class='item-user-name'>{{item.nickName}}</view>
                    <view class='item-user-time'>
                        <view class='item-user-time-icon'></view>
                        <view class='item-user-time-text'>{{item.queueTime}}</view>
                        <view class='item-user-vip-level' wx:if='{{item.vipLevel}}'>
                            <image src='{{item.vipImage}}'></image>
                        </view>
                    </view>
                
            </view>
            </block>
            <view class='item-bg'>
                <image src='{{item.background}}'></image>
            </view>
        </view>
    </block>
    <form bindsubmit='submitFormId' report-submit='true'>
        <button wx:if='{{!isEnd}}' class='invite-button' hidden='{{hideInviteButton}}' form-type='submit' bindtap='inviteFriends'>
            邀请好友助力排队
        </button>
    </form>
</view>
<template is="zan-actionsheet" data="{{...actionSheet}}" />