2025-03-21 16:50:18 +08:00

1 line
3.4 KiB
Plaintext

<view class="template-edit tn-safe-area-inset-bottom data-v-30362723"><tn-nav-bar vue-id="52e1837a-1" isBack="{{false}}" backTitle bottomShadow="{{false}}" backgroundColor="#FFFFFF" class="data-v-30362723" bind:__l="__l" vue-slots="{{['default']}}"><view class="custom-nav tn-flex tn-flex-col-center tn-flex-row-left data-v-30362723"><view data-event-opts="{{[['tap',[['goBack']]]]}}" style="padding-left:15rpx;" bindtap="__e" class="data-v-30362723"><text class="tn-icon-left data-v-30362723" style="font-size:40rpx;"></text></view><view style="width:83%;font-weight:bold;" class="data-v-30362723">邀请会员</view></view></tn-nav-bar><view class="tn-safe-area-inset-bottom data-v-30362723" style="{{'padding-top:'+(vuex_custom_bar_height+'px')+';'}}"><view class="invite-card tn-shadow-blur data-v-30362723"><view class="card-stats data-v-30362723"><view class="stat-item data-v-30362723"><text class="number data-v-30362723">{{inviteCount}}</text><text class="label data-v-30362723">已邀请</text></view></view><view class="button-group data-v-30362723"><tn-button class="invite-btn data-v-30362723" vue-id="52e1837a-2" open-type="share" width="100%" backgroundColor="#FFFFFF" height="80rpx" shadow="{{true}}" fontColor="#5C8FFF" bind:__l="__l" vue-slots="{{['default']}}"><text class="tn-icon-share data-v-30362723"></text>邀请好友</tn-button></view></view><view class="invite-list data-v-30362723"><view class="list-header data-v-30362723"><text class="title data-v-30362723">邀请记录</text><text class="count data-v-30362723">{{"共"+inviteCount+"人"}}</text></view><view class="list-content data-v-30362723"><block wx:for="{{inviteList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="list-item tn-flex tn-flex-row data-v-30362723"><block wx:if="{{item.photo_image!=''&&item.photo_image!=null}}"><image class="avatar data-v-30362723" src="{{apiImgUrl+item.photo_image}}" mode="aspectFill"></image></block><block wx:if="{{item.photo_image==''||item.photo_image==null}}"><image class="avatar data-v-30362723" src="/static/def.png" mode="aspectFill"></image></block><view class="info data-v-30362723"><view class="name data-v-30362723">{{item.nikename||'匿名用户'}}</view><view class="time data-v-30362723">{{item.createtime||'未知时间'}}</view></view><view class="{{['status','data-v-30362723',item.if_xianshi===1?'success':'pending']}}">{{''+(item.if_xianshi===1?'已入会':'未入会')+''}}</view></view></block></view></view></view><tn-popup bind:input="__e" vue-id="52e1837a-3" closeBtn="{{true}}" mode="center" width="500rpx" height="700rpx" value="{{show}}" data-event-opts="{{[['^input',[['__set_model',['','show','$event',[]]]]]]}}" class="data-v-30362723" bind:__l="__l" vue-slots="{{['default']}}"><view style="text-align:center;padding:30rpx;font-size:32rpx;font-weight:600;" class="_div data-v-30362723">使用二维码邀请入会</view><view style="text-align:center;margin-top:40rpx;" class="data-v-30362723"><image style="width:400rpx;height:400rpx;" src="{{qrcode_url}}" class="data-v-30362723"></image></view><view style="text-align:center;margin-top:40rpx;" class="data-v-30362723"><tn-button vue-id="{{('52e1837a-4')+','+('52e1837a-3')}}" shape="round" backgroundColor="#82B2FF" fontColor="#ffffff" data-event-opts="{{[['^click',[['saveBase64']]]]}}" bind:click="__e" class="data-v-30362723" bind:__l="__l" vue-slots="{{['default']}}">保存图片</tn-button></view></tn-popup><view class="tn-tabbar-height data-v-30362723"></view></view>