//export function tplInvite(it )  { var out='<view class="container" id="main"> <view class="rankList"> <scrollview class="list"> ';var arr1=it.data;if(arr1){var item,index=-1,l1=arr1.length-1;while(index<l1){item=arr1[index+=1];out+=' ';if(index % 2 === 1){out+=' <view class="listItem listItemOld"> ';}out+=' ';if(index % 2 === 0){out+=' <view class="listItem"> ';}out+=' <text class="listItemNum" value="'+( index + 1)+'"></text> <image class="listHeadImg" src="'+( item.avatarUrl )+'"></image> <text class="listItemName" value="'+( item.nickname)+'"></text> <view class="listButtonBox"> <text class="listButton" value="邀请"> </text> </view> </view> ';} } out+=' </scrollview> </view></view>';return out; }

export function tplInvite(it) {
    var out = '<view class = "container" id = "main"> <view class = "inviteList"> '
    var arr1 = it.data
    if (arr1) {
        var item,
            index = -1,
            l1 = arr1.length - 1
        while (index < l1) {
            item = arr1[(index += 1)]
            out +=
                ' <view class="inviteCard">  <text class="inviteName" value="' +
                item.nickname +
                '"></text>  <image class="inviteHeadImg" src="' +
                item.avatarUrl +
                '"></image><view class = "inviteBtn"></view> </view> '
        }
    }
    out += ' </view></view>'
    return out
}
