From e2b9cf5cb19ba0ae4bffd787d96f0d0cb8fb63bf Mon Sep 17 00:00:00 2001 From: litian <C21AF165> Date: 星期二, 09 七月 2024 15:52:58 +0800 Subject: [PATCH] css --- packageDomain/pages/sampleBookList/index.wxml | 159 +++++++--------------------------------------------- 1 files changed, 22 insertions(+), 137 deletions(-) diff --git a/packageDomain/pages/sampleBookList/index.wxml b/packageDomain/pages/sampleBookList/index.wxml index 57fd721..4ed97d8 100644 --- a/packageDomain/pages/sampleBookList/index.wxml +++ b/packageDomain/pages/sampleBookList/index.wxml @@ -2,59 +2,20 @@ <view clas="container"> <view class="page-header" wx:if="{{!skeletonLoding}}"> <view style="width: 100%; height: {{barHeight}}px;"></view> - <view - class="nacigationBar" - style="width: 100%; height: {{navBarHeight}}px;" - > - <view> - <t-icon - name="chevron-left" - size="30" - data-name="{{item}}" - bind:click="goBack" - /> + <view class="nacigationBar" style="width: 100%; height: {{navBarHeight}}px;"> + <view class="backBtn"> + <t-icon name="chevron-left" size="30" data-name="{{item}}" bind:click="goBack" /> </view> - <t-search - model:value="{{searchValue}}" - shape="round" - placeholder="璇疯緭鍏ュ叧閿瘝/涔﹀悕/ISBN/浣滆��" - class="navBar-search" - style="width: 464rpx" - bind:submit="searchBook" - /> + <t-search model:value="{{searchValue}}" shape="round" placeholder="璇疯緭鍏ュ叧閿瘝/涔﹀悕/ISBN/浣滆��" class="navBar-search" style="width: 464rpx" bind:submit="searchBook" /> </view> <view class="list-header"> <view class="header-scroll"> <view class="srcolbox"> <t-dropdown-menu> - <t-dropdown-item - options="{{iconList.options}}" - value="{{iconList.value}}" - optionsColumns="2" - bindchange="onChangeIcon" - /> - <t-dropdown-item - options="{{stairList.options}}" - value="{{stairList.value}}" - optionsColumns="2" - bindchange="onChangeStair" - disabled="{{assortCheck.code == '' || stairList.options.length == 0}}" - /> - <t-dropdown-item - label=" 浜岀骇" - options="{{secondList.options}}" - optionsColumns="2" - multiple - defaultValue="{{secondList.value}}" - bind:confirm="onConfirmSecond" - bind:reset="onResetSecond" - disabled="{{stairCode == '' || assortCheck.code == '' || secondList.options.length == 0}}" - /> - <t-dropdown-item - options="{{sortList.options}}" - value="{{sortList.value}}" - bindchange="onSortChange" - /> + <t-dropdown-item options="{{iconList.options}}" value="{{iconList.value}}" optionsColumns="2" bindchange="onChangeIcon" /> + <t-dropdown-item options="{{stairList.options}}" value="{{stairList.value}}" optionsColumns="2" bindchange="onChangeStair" disabled="{{assortCheck.code == '' || stairList.options.length == 0}}" /> + <t-dropdown-item label=" 浜岀骇" options="{{secondList.options}}" optionsColumns="2" multiple defaultValue="{{secondList.value}}" bind:confirm="onConfirmSecond" bind:reset="onResetSecond" disabled="{{stairCode == '' || assortCheck.code == '' || secondList.options.length == 0}}" /> + <t-dropdown-item options="{{sortList.options}}" value="{{sortList.value}}" bindchange="onSortChange" /> </t-dropdown-menu> </view> </view> @@ -71,82 +32,29 @@ <view class="list-body"> <movable-area class="movable-area"> <!-- model:scroll-top="{{setScrollValue}}" --> - <scroll-view - class="scroll content" - bind:scroll="onPageScroll" - scroll-y - refresher-enabled="{{true}}" - lower-threshold="{{200}}" - refresher-threshold="{{180}}" - refresher-default-style="none" - refresher-triggered="{{triggered}}" - bindrefresherpulling="{{refresh.onPulling}}" - bindrefresherrefresh="onPullDownRefresh" - bindscrolltolower="onReachBottom" - > + <scroll-view class="scroll content" bind:scroll="onPageScroll" scroll-y refresher-enabled="{{true}}" lower-threshold="{{200}}" refresher-threshold="{{180}}" refresher-default-style="none" refresher-triggered="{{triggered}}" bindrefresherpulling="{{refresh.onPulling}}" bindrefresherrefresh="onPullDownRefresh" bindscrolltolower="onReachBottom"> <view slot="refresher" class="refresh-container"> <view class="loading"> - <t-loading - theme="circular" - size="40rpx" - text="姝e湪鍒锋柊..." - class="wrapper" - /> + <t-loading theme="circular" size="40rpx" text="姝e湪鍒锋柊..." class="wrapper" /> </view> </view> <view class="title"> <view class="line"></view> <view class="icon"> - <image - src="/static/images/home/yangshuliebiao.png" - mode="aspectFit" - class="iconImage" - /> + <image src="/static/images/home/yangshuliebiao.png" mode="aspectFit" class="iconImage" /> </view> </view> <view class="book-list" wx:if="{{bookList.length > 0}}"> <view class="book-box" wx:for="{{bookList}}" wx:key="id"> <view class="book-img" bind:tap="goDetail" data-book="{{item}}"> - <image - src="{{item.icon}}" - aria-label="{{item.name}}" - mode="aspectFit" - wx:if="{{item.icon}}" - /> - <image - src="/static/images/default-book-img.png" - aria-label="{{item.name}}" - mode="aspectFit" - wx:else - /> + <image src="{{item.icon}}" aria-label="{{item.name}}" mode="aspectFit" wx:if="{{item.icon}}" /> + <image src="/static/images/default-book-img.png" aria-label="{{item.name}}" mode="aspectFit" wx:else /> </view> - <view - class="book-name book-color" - bind:tap="goDetail" - data-book="{{item}}" - >{{ item.name}}</view - > + <view class="book-name book-color" bind:tap="goDetail" data-book="{{item}}">{{ item.name}}</view> <view class="book-author book-color">{{item.author}}</view> <view class="checkbox"> - <t-checkbox - label="绾歌川鏍蜂功" - icon="rectangle" - borderless="true" - checked="{{item.paperChecked}}" - disabled="{{item.paperDisabled || item.isApplyBook == '1' || item.isApplyBook == '2'}}" - data-book="{{item}}" - bind:change="onChangePaper" - /> - <t-checkbox - label="鐢靛瓙鏍蜂功" - icon="rectangle" - borderless="true" - class="eBook" - checked="{{item.electronChecked}}" - disabled="{{item.electronDisabled || item.isApplyBook=='1' || item.isApplyBook=='3' }}" - data-book="{{item}}" - bind:change="onChangeElectron" - /> + <t-checkbox label="绾歌川鏍蜂功" icon="rectangle" borderless="true" checked="{{item.paperChecked}}" disabled="{{item.paperDisabled || item.isApplyBook == '1' || item.isApplyBook == '2'}}" data-book="{{item}}" bind:change="onChangePaper" /> + <t-checkbox label="鐢靛瓙鏍蜂功" icon="rectangle" borderless="true" class="eBook" checked="{{item.electronChecked}}" disabled="{{item.electronDisabled || item.isApplyBook=='1' || item.isApplyBook=='3' }}" data-book="{{item}}" bind:change="onChangeElectron" /> </view> </view> </view> @@ -155,34 +63,16 @@ <empty /> </view> <view class="bottom-loading" wx:if="{{bottomLoading}}"> - <t-loading - theme="circular" - size="40rpx" - text="鍔犺浇涓�..." - class="wrapper" - /> + <t-loading theme="circular" size="40rpx" text="鍔犺浇涓�..." class="wrapper" /> </view> - <view - class="bottom-loading" - style="color: #ccc; font-size: 28rpx" - wx:if="{{isMoreData}}" - > + <view class="bottom-loading" style="color: #ccc; font-size: 28rpx" wx:if="{{isMoreData}}"> <text>娌℃湁鏇村浜�</text> </view> </scroll-view> - <movable-view - class="movable-view" - :x="{{x}}" - :y="{{y}}" - direction="all" - > + <movable-view class="movable-view" :x="{{x}}" :y="{{y}}" direction="all"> <view class="applyBox" bindtap="goApply"> <view class="box"> - <t-image - src="/static/images/home/yangshuForm1.png" - mode="heightFix" - class="img" - /> + <t-image src="/static/images/home/yangshuForm1.png" mode="heightFix" class="img" /> <view class="num" wx:if="{{num > 0}}">{{num}}</view> </view> </view> @@ -190,12 +80,7 @@ </movable-area> </view> </view> - <t-back-top - theme="round" - wx:if="{{isBackTop}}" - text="椤堕儴" - bind:to-top="onToTop" - ></t-back-top> + <t-back-top theme="round" wx:if="{{isBackTop}}" text="椤堕儴" bind:to-top="onToTop"></t-back-top> </view> <import src="index.skeleton.wxml" /> -<template is="skeleton" wx:if="{{skeletonLoding}}" /> +<template is="skeleton" wx:if="{{skeletonLoding}}" /> \ No newline at end of file -- Gitblit v1.9.1