From befd1f21839939b54254bd316bbd158b136fcd15 Mon Sep 17 00:00:00 2001 From: riku <risaku@163.com> Date: 星期二, 12 十一月 2024 16:54:25 +0800 Subject: [PATCH] 简化主页 --- pages/inspection/ranking/index.wxml | 17 ++++++++++------- 1 files changed, 10 insertions(+), 7 deletions(-) diff --git a/pages/inspection/ranking/index.wxml b/pages/inspection/ranking/index.wxml index 81b5714..2084d08 100644 --- a/pages/inspection/ranking/index.wxml +++ b/pages/inspection/ranking/index.wxml @@ -1,4 +1,4 @@ -<import src="/pages/common/template/template-loading.wxml" /> +<!-- <import src="/pages/common/template/template-loading.wxml" /> --> <wxs src="./util.wxs" module="_" /> <view class="page"> @@ -27,11 +27,13 @@ bind:scenePickerChange="onScenePickerConfirm" /> </view> - <view class="ranking-summary__item-abstract" style="margin-left: var(--td-spacer)"> + <include src="/pages/inspection/ranking/statistic.wxml" /> + <!-- <view class="ranking-summary__item-abstract" style="margin-left: var(--td-spacer)"> 闂鎬昏{{statistic.proNum}}涓紝宸叉暣鏀箋{statistic.changeNum}}涓紝鏈暣鏀箋{statistic.proNum - statistic.changeNum}}涓紝鏁存敼鐜噞{statistic.changePer}} - </view> - <view class="filter-wrap"> + </view> --> + <include src="/pages/inspection/ranking/sort-options.wxml" /> + <!-- <view class="filter-wrap"> <sort-btn text="闂鏁�" custom-class="flex-start " @@ -48,11 +50,12 @@ defaultSort="{{changeSort}}" bind:sortsChange="onSortChange" ></sort-btn> - </view> + </view> --> </view> </t-sticky> <view class="page-container"> - <template is="pulldown-loading" wx:if="{{pageLoading && summaryList.length != 0}}" /> + <include src="./problem-change-list.wxml" /> + <!-- <template is="pulldown-loading" wx:if="{{pageLoading && summaryList.length != 0}}" /> <block wx:if="{{summaryList.length > 0}}"> <view class="ranking-summary__item" @@ -111,7 +114,7 @@ list-is-empty="{{!summaryList.length}}" status="{{loadStatus}}" bind:retry="_startLoad" - /> + /> --> </view> <view class="page-footer"></view> </view> -- Gitblit v1.9.3