From e2b9cf5cb19ba0ae4bffd787d96f0d0cb8fb63bf Mon Sep 17 00:00:00 2001 From: litian <C21AF165> Date: 星期二, 09 七月 2024 15:52:58 +0800 Subject: [PATCH] css --- pages/bookExhibitionList/index.wxml | 91 ++++++++++++++++++++++++++++----------------- 1 files changed, 56 insertions(+), 35 deletions(-) diff --git a/pages/bookExhibitionList/index.wxml b/pages/bookExhibitionList/index.wxml index 075544a..a3122ec 100644 --- a/pages/bookExhibitionList/index.wxml +++ b/pages/bookExhibitionList/index.wxml @@ -1,47 +1,68 @@ <!--pages/bookExhibitionList/index.wxml--> <!-- 寮瑰嚭妗� 绂佹 --> -<t-toast id="t-toast" /> +<import src="index.skeleton.wxml" /> +<template is="skeleton" wx:if="{{loading}}" /> -<view class="example-search"> - <t-search model:value="{{value}}" placeholder="璇疯緭鍏ュ叧閿瘝/涔︾洰/ISBN/浣滆��" /> -</view> +<view wx:if="{{!loading}}"> + <t-toast id="t-toast" /> + <view class="outsideBigTitleBox"> + <view class="bigTitleBox"> + <view style="width: 100%; height: {{barHeight}}px; "></view> + <view class="nacigationBar" style="width: 70%; height: {{navBarHeight}}px;"> + <view class="titleIconBox"> + <t-icon name="chevron-left" size="30" data-name="{{item}}" bind:click="goBack" /> + </view> + <view class="example-search"> + <t-search class="navBar-search" shape="round" model:value="{{value}}" placeholder="璇疯緭鍏ヤ功灞曞悕绉�" bind:submit="onSearchSubmit" /> + </view> + </view> + </view> + <view class="outsideMenuBox"> + <view class="menuBox"> + <t-dropdown-menu> + <t-dropdown-item options="{{product.options}}" default-value="{{product.value}}" bindchange="onChange" /> - - - - - - -<view class="menuBox"> - <t-dropdown-menu class="classification"> - - <t-dropdown-item options="{{product.options}}" value="{{product.value}}" bindchange="onChange" /> - <t-dropdown-item label="閲嶇偣椤圭洰" options="{{multipleSelect.options}}" value="{{multipleSelect.value}}" bindchange="handleMultipleSelect" multiple bind:confirm="handleConfirm" bind:reset="handleReset" /> - - - - </t-dropdown-menu> - <view class="sortBox"> - <text>鎺掑簭</text> - <view class="iconBox"> - <t-icon class="swapRight" name="swap-right" size="48rpx" bind:click="onSwapRight" /> - <t-icon class="swapLeft" name="swap-right" size="48rpx" bind:click="onSwapLeft" /> + <!-- disabled="{{keynoteDisabled}}" --> + <t-dropdown-item label=" 閲嶇偣椤圭洰" disabled="{{disbaleProject}}" options="{{multipleSelect.options}}" bindchange="handleMultipleSelect" multiple bind:confirm="handleConfirm" bind:reset="handleReset" value="{{multipleSelect.value}}"> + </t-dropdown-item> + <t-dropdown-item disabled="{{disabledSort}}" options="{{sorter.options}}" default-value="{{sorter.value}}" bindchange="onSort" /> + </t-dropdown-menu> + </view> </view> </view> -</view> + <view class="assembleContent"> + <view class="titleBox"> + <view class="frameBox"></view> + <view class="titleTextBox"> + <image src="/static/images/bookExhibitionList/zhuantitaolun.png" mode="aspectFit" /> + </view> + </view> -<view class="titleBox"> - <view class="frameBox"></view> <text class="titleTextBox"> 绾夸笂涔﹀睍</text> -</view> -<view class="outside"> - - <view class="contentBox" wx:for="{{bookExhibitionList}}" wx:key="index" wx:for-item="item" wx:for-index="index" bindtap="onBookExhibitionDetails" data-item="{{item}}"> - <image wx:if="{{item.icon}}" src="{{item.icon}}" mode="" /> - <image wx:else="" src="./img/banner.png" mode="" /> - <view class="textBox"> <text>{{item.name}}</text></view> + <scroll-view scroll-y="{{true}}" class="scrollViewBox" bindscrolltolower="onScrollToLower"> + <view class="outside"> + <view wx:if="{{!bookExhibitionList.length }}" class="noData"> + <!-- <t-empty icon="folder-open" description="鏆傛棤鏁版嵁" /> --> + <empty /> + </view> + <view class="contentBox" wx:for="{{bookExhibitionList}}" wx:key="index" wx:for-item="item" wx:for-index="index" data-item="{{item}}" bind:tap="onBookExhibitionDetails"> + <view class="imageBox"> + <view></view> + <image wx:if="{{item.icon}}" src="{{item.icon}}" mode="aspectFit" /> + <image wx:else src="/static/images/bookExhibitionList/banner.png" mode="aspectFit" /> + </view> + <view class="textBox" title="{{item.subtitleName}}"> + <text>{{item.subtitleName}}</text> + </view> + </view> + </view> + <view class="bottom-box" wx:if="{{bookExhibitionList.length }}"> + <t-loading theme="circular" size="40rpx" class="wrapper" wx:if="{{isMore == true}}" /> + <text wx:if="{{isMore == false}}">娌℃湁鏇村浜�</text> + </view> + <!-- <Select prop-array='{{selectArray}}'></Select> --> + </scroll-view> </view> - </view> \ No newline at end of file -- Gitblit v1.9.1