<view class="page-container"><view class="tab-switch"><view data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" class="{{['tab',(activeTab==='account')?'active':'']}}" bindtap="__e"><text>账号</text></view><view data-event-opts="{{[['tap',[['e1',['$event']]]]]}}" class="{{['tab',(activeTab==='store')?'active':'']}}" bindtap="__e"><text>店铺</text></view></view><view class="date-picker-bar"><picker mode="date" value="{{dateInput}}" data-event-opts="{{[['change',[['onDatePickerConfirm',['$event']]]]]}}" bindchange="__e"><view class="date-left"><text class="date-day">{{displayDate.day}}</text><view class="date-info"><text>{{displayDate.day+" 日 - "+displayDate.month+" 月 - "+displayDate.year+" 年"}}</text><text class="date-arrow">▼</text></view></view></picker><text class="date-total">{{"累计 "+total+" 条"}}</text></view><block wx:if="{{isLoading}}"><view class="loading-state"><text>正在加载...</text></view></block><scroll-view style="height:100vh;" scroll-y="{{true}}" data-event-opts="{{[['scrolltolower',[['loadMore',['$event']]]]]}}" bindscrolltolower="__e"><view class="image-grid"><block wx:for="{{filteredBookRecords}}" wx:for-item="record" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['previewImage',['$0'],[[['filteredBookRecords','',index,'images']]]]]]]}}" class="image-item" bindtap="__e"><image class="book-image" src="{{record.bookPic?record.bookPic:record.images[0]}}" mode="aspectFill"></image><view class="image-info"><text class="book-name">{{record.bookName}}</text><view class="book-details"><text class="book-isbn">{{"ISBN: "+record.isbn}}</text></view><view class="book-details"><text class="book-condition">{{"品相: "+record.condition}}</text><text class="upload-time">{{record.uploadTime}}</text></view><view class="book-details"><block wx:if="{{record.stock!==undefined}}"><text class="book-stock">{{"库存: "+record.stock}}</text></block><text class="book-price">{{record.price+"元"}}</text></view><view class="book-details"><text class="book-condition">拼多多:</text><text class="{{['status-value',record.pddPublishedStatus===1?'published':'unpublished']}}">{{''+(record.pddPublishedStatus===1?'已发布':'未发布')+''}}</text></view><view class="{{['book-details',(record.kfzPublishedStatus===1)?'status-success':'']}}"><text class="book-condition">孔夫子:</text><text class="{{['status-value',record.kfzPublishedStatus===1?'published':'unpublished']}}">{{''+(record.kfzPublishedStatus===1?'已发布':'未发布')+''}}</text></view><view class="{{['book-details',(record.xyPublishedStatus===1)?'status-success':'']}}"><text class="book-condition">闲鱼:</text><text class="{{['status-value',record.xyPublishedStatus===1?'published':'unpublished']}}">{{''+(record.xyPublishedStatus===1?'已发布':'未发布')+''}}</text></view></view></view></block></view><block wx:if="{{isLoading}}"><view class="loading-more"><text>加载中...</text></view></block><block wx:if="{{$root.g0}}"><view class="no-more"><text>没有更多数据了</text></view></block></scroll-view></view>