From 2f9305515c7264637164c9e03c2840f4219ca1e3 Mon Sep 17 00:00:00 2001 From: litian <C21AF165> Date: 星期五, 05 七月 2024 11:46:01 +0800 Subject: [PATCH] kong, --- packagePersonal/pages/downloads/index.wxml | 15 ++++++++------- 1 files changed, 8 insertions(+), 7 deletions(-) diff --git a/packagePersonal/pages/downloads/index.wxml b/packagePersonal/pages/downloads/index.wxml index edd6047..d93dac3 100644 --- a/packagePersonal/pages/downloads/index.wxml +++ b/packagePersonal/pages/downloads/index.wxml @@ -7,9 +7,10 @@ </view> <view class="pageInfo" wx:if="{{list.length > 0 && !skeletonLoding}}"> <view class="content-item" wx:for="{{list}}" wx:for-item="item" wx:for-index="index" wx:key="index"> - <view class="item-con" data-info="{{item}}" bindtap="toList"> + <view class="item-con" data-book="{{item}}" bindtap="goBookDetails"> <view class="icon"> - <t-image src="{{item.product.icon}}" mode="aspectFill" class="img" /> + <t-image src="{{item.product.icon}}" mode="aspectFill" class="img" wx:if="{{item.product.icon}}" /> + <image class="img" src="/static/images/default-book-img.png" mode="aspectFit" wx:else /> </view> <view class="titleBox"> <view class="item-title">{{item.name}}</view> @@ -26,7 +27,8 @@ </view> </view> <view wx:if="{{list.length == 0 && !skeletonLoding}}" class="empyt"> - <t-empty icon="folder-open" description="鏆傛棤鏁版嵁" /> + <!-- <t-empty icon="folder-open" description="鏆傛棤鏁版嵁" /> --> + <empty /> </view> <view class="bottom-loading" wx:if="{{bottomLoading}}"> <t-loading theme="circular" size="40rpx" text="鍔犺浇涓�..." class="wrapper" /> @@ -34,9 +36,8 @@ <view class="bottom-loading" style="color: #ccc;font-size: 28rpx;" wx:if="{{isMoreData}}"> <text>娌℃湁鏇村浜�</text> </view> - <view class="body-loading" wx:if="{{skeletonLoding}}"> - <t-loading theme="circular" size="40rpx" text="鍔犺浇涓�..." class="wrapper" /> - </view> </scroll-view> <t-back-top theme="round" wx:if="{{isBackTop}}" text="椤堕儴" bind:to-top="onToTop"></t-back-top> -</view> \ No newline at end of file +</view> +<import src="index.skeleton.wxml" /> +<template is="skeleton" wx:if="{{skeletonLoding}}" /> \ No newline at end of file -- Gitblit v1.9.1