index.wxml 3.6 KB

1
  1. <view class="index data-v-57280228"><capsule vue-id="8dd740cc-1" showBorder="{{true}}" bgColor="transparent" class="data-v-57280228" bind:__l="__l" vue-slots="{{['top']}}"><view class="detail-top data-v-57280228" slot="top"><view data-event-opts="{{[['tap',[['openDrawer',['$event']]]]]}}" class="top-left data-v-57280228" bindtap="__e"><image src="/static/images/catalogue_icon.png" class="data-v-57280228"></image></view><view class="top-text data-v-57280228">团蜂电子名片</view></view></capsule><view class="seat data-v-57280228"></view><view class="box-bg data-v-57280228"></view><view class="container data-v-57280228"><block wx:if="{{$root.g0>0}}"><view class="card-list data-v-57280228" style="{{'height:'+(cardListHeight+'rpx')+';'}}"><block wx:for="{{cardList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['goCard',['/pages_module/myCard/index?id='+item.id]]]]]}}" class="card-item data-v-57280228" style="{{'top:'+(index*120+'rpx')+';'+('z-index:'+(index)+';')}}" catchtap="__e"><card-com vue-id="{{'8dd740cc-2-'+index}}" cardData="{{item}}" imgSerial="{{item.style}}" class="data-v-57280228" bind:__l="__l"></card-com></view></block></view></block><block wx:else><view class="empty-box data-v-57280228"><image src="/static/images/empty-card.png" class="data-v-57280228"></image><text class="data-v-57280228">暂未添加名片</text></view></block><view class="card-btn data-v-57280228"><button data-event-opts="{{[['tap',[['addCard',['$event']]]]]}}" bindtap="__e" class="data-v-57280228">+    新增名片</button></view></view><tui-drawer vue-id="8dd740cc-3" mode="left" visible="{{visible}}" data-event-opts="{{[['^close',[['closeDrawer']]]]}}" bind:close="__e" class="data-v-57280228" bind:__l="__l" vue-slots="{{['default']}}"><view class="d-container data-v-57280228"><view class="d-image data-v-57280228"><block wx:if="{{cardList[0].head}}"><image src="{{cardList[0].head}}" class="data-v-57280228"></image></block><block wx:else><image src="/static/images/default_avatar.png" class="data-v-57280228"></image></block><text class="data-v-57280228">{{cardList[0].name}}</text></view><view data-event-opts="{{[['tap',[['quitLogin',['$event']]]]]}}" class="quit data-v-57280228" bindtap="__e">退出登录</view></view></tui-drawer><tui-bottom-popup vue-id="8dd740cc-4" zIndex="{{1000}}" backgroundColor="#FFFFFF" show="{{modal}}" data-event-opts="{{[['^close',[['clonePopup']]]]}}" bind:close="__e" class="data-v-57280228" bind:__l="__l" vue-slots="{{['default']}}"><view class="tf-login data-v-57280228"><tui-icon class="close data-v-57280228" vue-id="{{('8dd740cc-5')+','+('8dd740cc-4')}}" name="shut" size="{{24}}" color="#1C1B1E" data-event-opts="{{[['^click',[['e0']]]]}}" bind:click="__e" bind:__l="__l"></tui-icon><view class="tf-container data-v-57280228"><image src="/static/images/index-select.png" class="data-v-57280228"></image><text class="data-v-57280228">登录团蜂电子名片</text></view><view class="tf-agreement data-v-57280228"><checkbox-group data-event-opts="{{[['change',[['changeBox',['$event']]]]]}}" bindchange="__e" class="data-v-57280228"><checkbox checked="{{false}}" value="check" color="#0E40FF" class="data-v-57280228"></checkbox></checkbox-group><view data-event-opts="{{[['tap',[['goPrivacy',['$event']]]]]}}" bindtap="__e" class="data-v-57280228">已阅读并同意<text class="data-v-57280228">团蜂电子名片服务协议</text>和<text class="data-v-57280228">隐私政策</text></view></view><view class="tf-btn data-v-57280228"><button data-event-opts="{{[['tap',[['handleClick',['$event']]]]]}}" bindtap="__e" class="data-v-57280228">快捷授权登录</button></view></view></tui-bottom-popup></view>