ai-clone/frontend-ai/unpackage/dist/build/mp-weixin/pages/plaza/plaza.wxml

1 line
2.3 KiB
Plaintext
Raw Normal View History

<view class="plaza-container data-v-c0fcbd71"><view class="header data-v-c0fcbd71"><text class="title data-v-c0fcbd71">作品广场</text><text class="subtitle data-v-c0fcbd71">发现大家发布的作品</text></view><scroll-view scroll-y class="works-list data-v-c0fcbd71" bindscrolltolower="{{g}}"><view wx:if="{{a}}" class="works-grid skeleton-grid data-v-c0fcbd71"><view wx:for="{{b}}" wx:for-item="n" wx:key="a" class="work-card skeleton-card data-v-c0fcbd71"><view class="work-cover skeleton-cover data-v-c0fcbd71"></view><view class="work-info data-v-c0fcbd71"><view class="skeleton-line skeleton-title data-v-c0fcbd71"></view><view class="skeleton-line skeleton-sub data-v-c0fcbd71"></view><view class="skeleton-line skeleton-sub short data-v-c0fcbd71"></view></view></view></view><view wx:elif="{{c}}" class="empty-box data-v-c0fcbd71"><text class="empty-icon data-v-c0fcbd71">🖼️</text><text class="empty-text data-v-c0fcbd71">暂无作品</text><text class="empty-hint data-v-c0fcbd71">快去发布你的第一个作品吧</text></view><view wx:else class="works-grid data-v-c0fcbd71"><view wx:for="{{d}}" wx:for-item="work" wx:key="l" class="work-card data-v-c0fcbd71" bindtap="{{work.m}}"><view class="work-cover data-v-c0fcbd71"><image wx:if="{{work.a}}" src="{{work.b}}" mode="aspectFill" class="cover-img data-v-c0fcbd71"/><view wx:else class="cover-placeholder data-v-c0fcbd71"><text class="placeholder-icon data-v-c0fcbd71">🎬</text></view><view class="work-type data-v-c0fcbd71">{{work.c}}</view></view><view class="work-info data-v-c0fcbd71"><text class="work-title data-v-c0fcbd71">{{work.d}}</text><text class="work-author data-v-c0fcbd71">{{work.e}}</text><text class="work-time data-v-c0fcbd71">{{work.f}}</text><view class="work-actions data-v-c0fcbd71" catchtap="{{work.k}}"><view class="{{['like-btn', 'data-v-c0fcbd71', work.i && 'liked']}}" catchtap="{{work.j}}"><text class="like-icon data-v-c0fcbd71">{{work.g}}</text><text class="like-count data-v-c0fcbd71">{{work.h}}</text></view></view></view></view></view><view wx:if="{{e}}" class="loading-more data-v-c0fcbd71"><text class="loading-more-text data-v-c0fcbd71">⏳ 加载更多...</text></view><view wx:if="{{f}}" class="no-more data-v-c0fcbd71"><text class="no-more-text data-v-c0fcbd71">没有更多了</text></view></scroll-view></view>