pages/bibliographyList/index.wxss | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
pages/bookExhibitionList/index.js | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
pages/bookExhibitionList/index.json | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
pages/bookExhibitionList/index.wxml | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
pages/bookExhibitionList/index.wxss | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
pages/bookServices/assort/index.wxss | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
pages/cart/index.js | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
pages/cart/index.wxml | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
pages/cart/index.wxss | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
pages/retrievalPage/index.js | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
pages/retrievalPage/index.json | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
pages/retrievalPage/index.wxml | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
pages/retrievalPage/index.wxss | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
pages/bibliographyList/index.wxss
@@ -50,14 +50,12 @@ } .outsideHigherImageBox { position: relative; } .downloadIcon { width: 34rpx; height: 34rpx; border-radius: 5rpx 5rpx 5rpx 5rpx; background: rgba(0, 0, 0, 0.3); position: absolute; @@ -71,7 +69,6 @@ /* background-color: #8bc34a; */ width: 100%; height: 100%; } .downloadshiftin { @@ -115,7 +112,6 @@ .t-tabs__item--active { color: #FF6C00 !important; } .t-tabs__track { @@ -184,7 +180,7 @@ align-items: center; } .dialog-input { /* .dialog-input { padding-top: 12px; padding-bottom: 12px; text-align: left; @@ -192,7 +188,7 @@ border-radius: 8rpx; background-color: #f3f3f3; box-sizing: border-box; } } */ .placeholder { color: rgba(0, 0, 0, 0.4); @@ -200,13 +196,11 @@ } .dialogBox .t-input__control { min-height: 100rpx; } .t-button--text { color: #000 !important; } .t-button--text.t-button--primary { @@ -216,6 +210,6 @@ .t-input__control { /* border: 1rpx #000 solid; */ background-color: #F9F9F9; width: 100%; background-color: #ccc; /* width: 100%; */ } pages/bookExhibitionList/index.js
@@ -8,6 +8,9 @@ * 页面的初始数据 */ data: { totalSize: '', start: 0, isMore: null, keynoteDisabled: true, value: '', keyword: '', @@ -164,9 +167,32 @@ onPullDownRefresh() { }, onPullDownRefresh() { this.data.page.size = 16 //更改显示的值 this.bookExhibitionGet(); // 调用方法加载更多数据 // onPullDownRefresh() { // this.data.page.size = 16 //更改显示的值 // this.bookExhibitionGet(); // 调用方法加载更多数据 // }, onScrollToLower() { console.log(789); console.log(this.data.bookExhibitionList.length); console.log(this.data.totalSize); if (this.data.bookExhibitionList.length < this.data.totalSize) { this.setData({ isMore: true, start: this.data.start + 1 }) this.bookExhibitionGet() } else { this.setData({ isMore: true, }) setTimeout(() => { this.setData({ isMore: false }) console.log('300'); }, 300) } }, /** * 页面上拉触底事件的处理函数 @@ -251,7 +277,10 @@ 'bookClassification*': this.data.keynoteValue || [], ...searchObj }, paging: this.data.page, paging: { start: '0', size: this.data.start * 10 }, sort: sort, // coverSize: { // width: 100 @@ -277,9 +306,10 @@ } const list = [...res.datas] console.log(res); this.setData({ bookExhibitionList: list bookExhibitionList: list, totalSize: res.total }) // 判断数据长度 console.log(list.length, 'list.length'); pages/bookExhibitionList/index.json
@@ -7,9 +7,10 @@ "t-dropdown-item": "tdesign-miniprogram/dropdown-item/dropdown-item", "t-toast": "tdesign-miniprogram/toast/toast", "t-icon": "tdesign-miniprogram/icon/icon", "t-empty": "tdesign-miniprogram/empty/empty" "t-empty": "tdesign-miniprogram/empty/empty", "t-loading": "tdesign-miniprogram/loading/loading" }, "onReachBottomDistance": 200, "onReachBottomDistance": 100, "navigationStyle": "custom", "enablePullDownRefresh": true, "disableScroll": true pages/bookExhibitionList/index.wxml
@@ -48,16 +48,24 @@ <image src="/static/images/bookExhibitionList/zhuantitaolun.png" mode="aspectFit" /> </view> </view> <view class="outside"> <view wx:if="{{!bookExhibitionList.length }}" class="noData"> <t-empty icon="folder-open" description="暂无数据" /> </view> <view class="contentBox" wx:for="{{bookExhibitionList}}" wx:key="index" wx:for-item="item" wx:for-index="index" bindtap="onBookExhibitionDetails" data-item="{{item}}"> <view class="imageBox"> <image wx:if="{{item.icon}}" src="{{item.icon}}" mode="aspectFit" /> <image wx:else src="/static/images/bookExhibitionList/banner.png" mode="aspectFit" /> <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="暂无数据" /> </view> <view class="textBox" title="{{item.subtitleName}}"> <text>{{item.subtitleName}}</text></view> <view class="contentBox" wx:for="{{bookExhibitionList}}" wx:key="index" wx:for-item="item" wx:for-index="index" bindtap="onBookExhibitionDetails" data-item="{{item}}"> <view class="imageBox"> <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> <view class="bottom-box"> <t-loading theme="circular" size="40rpx" class="wrapper" wx:if="{{isMore == true}}" /> <text wx:if="{{isMore == false}}">没有更多了</text> </view> </scroll-view> </view> pages/bookExhibitionList/index.wxss
@@ -243,8 +243,15 @@ top: 0px; background-color: #fff; height: 135px; z-index: 999; } .disableds { color: var(--td-dropdown-menu-disabled-colorm, var(--td-font-gray-4, rgba(0, 0, 0, 0.26))) !important; } .scrollViewBox { height: calc(100vh - 300rpx); /* width: calc(100vw - 60rpx); */ /* height: 700rpx; */ } pages/bookServices/assort/index.wxss
@@ -166,4 +166,14 @@ .bottom-box { height: 40rpx; } .bottom-box { display: flex; justify-content: center; color: #999; height: 80rpx; font-size: 28rpx; --td-loading-color: #ff6c00 } pages/cart/index.js
@@ -58,7 +58,17 @@ title: '删除图书成功', icon: 'none' }); this.setData({ totalPrice: 0.00, selectedCount: 0, checkAll: false, }) }); }, shoppingCartGet() { @@ -229,8 +239,9 @@ url: '/pages/testLogin/index' }); }, //触底函数 onReachBottom() { onScrollToLower() { if (this.data.shoppingCartData.length < this.data.totalSize) { this.setData({ isMore: true, @@ -247,7 +258,6 @@ }) console.log('300'); }, 300) } }, // 下拉函数 pages/cart/index.wxml
@@ -1,10 +1,4 @@ <scroll-view scroll-y="{{true}}" class="outsideContentBox"> <scroll-view scroll-y="{{true}}" class="outsideContentBox" bindscrolltolower="onScrollToLower"> <view> @@ -71,7 +65,8 @@ <t-checkbox icon="rectangle" value=" {{item.id}}" data-item="{{item}}" checked="{{item.checked}}" bindchange="HandelItemChange" /> </view> <view class="left-image"> <image src="{{item.imgUrl}}" class="imageStyle" mode="aspectFit" /> <image wx:if="{{item.imgUrl}}" src="{{item.imgUrl}}" class="imageStyle" mode="aspectFit" /> <image src="/static/images/default-book-img.png" class="imageStyle" mode="aspectFit" /> </view> </view> </t-cell> @@ -84,19 +79,20 @@ </view> </view> <view class="bottomBox"> <view class="checkGroupBox"> <checkbox-group bindchange="bottomChange"> <checkbox disabled="{{onDisabled}}" value="全选" checked="{{checkAll}}">全选</checkbox> </checkbox-group> </view> <view class="settlementBox"> <view class="totalPrice">总价:<text class="totalPriceText">¥{{totalPrice}}</text></view> <view class="buttonBox"> <t-button class="tButtonBox" size="small" shape="round" bind:tap="goPaymentPage">去结算({{selectedCount}})</t-button> </view> </view> </view> <t-toast id="t-toast" /> </scroll-view> </scroll-view> <view class="bottomBox"> <view class="checkGroupBox"> <checkbox-group bindchange="bottomChange"> <checkbox disabled="{{onDisabled}}" value="全选" checked="{{checkAll}}">全选</checkbox> </checkbox-group> </view> <view class="settlementBox"> <view class="totalPrice">总价:<text class="totalPriceText">¥{{totalPrice}}</text></view> <view class="buttonBox"> <t-button class="tButtonBox" size="small" shape="round" bind:tap="goPaymentPage">去结算({{selectedCount}})</t-button> </view> </view> </view> pages/cart/index.wxss
@@ -25,11 +25,13 @@ } .outsideContentBox { padding: 30rpx; /* padding: 30rpx; */ background: #F2F3F8; border-radius: 18rpx 18rpx 18rpx 18rpx; padding-bottom: 325rpx; /* height: 260rpx; */ height: calc(100vh - 300rpx); /* width: calc(100vw - 60rpx); */ } .bottomBox { @@ -125,6 +127,7 @@ margin: 30rpx 0; border-radius: 18rpx 18rpx 18rpx 18rpx; height: 260rpx; } .totalPriceText { @@ -150,7 +153,8 @@ .contentCheckbox { width: 100rpx; /* width: 100rpx; */ margin-right: 30rpx; } .left-icon { @@ -162,8 +166,9 @@ .left-image { width: 152rpx; height: 212rpx; background: #FFFFFF; /* background: #FFFFFF; */ border-radius: 0rpx 0rpx 0rpx 0rpx; box-shadow: 0px 3px 6px 1px rgba(0, 0, 0, 0.16); } .imageStyle { @@ -275,4 +280,8 @@ height: 80rpx; font-size: 28rpx; --td-loading-color: #ff6c00 } .t-checkbox__content { height: 0rpx !important; } pages/retrievalPage/index.js
@@ -714,17 +714,13 @@ isMore: false }) }, 100) } } }, // 下拉函数 onPullDownRefresh() { console.log(456); if (this.data.tabValue == 4) { this.setData({ "pageCount.page": 1 @@ -750,7 +746,6 @@ console.log(e); const key = e.currentTarget.dataset.key; const item = e.currentTarget.dataset.item; this.setData({ [key]: true, dialogKey: key, @@ -775,8 +770,6 @@ this.setData({ [dialogKey]: false }); console.log(this.data.input); console.log(this.data.Md5); if (this.data.input) { @@ -795,7 +788,6 @@ icon: 'none', }); } }, // 弹窗取消 closeDialog() { @@ -807,6 +799,120 @@ }); console.log(111); }, onScrollToLower() { if (this.data.tabValue == 0) { console.log(0); if (this.data.bookData.length < this.data.bookTotal) { this.setData({ isMore: true, "pageCount.page": this.data.pageCount.page + 1 }) this.retrievalPageGet() } else { this.setData({ isMore: true, }) setTimeout(() => { this.setData({ isMore: false }) }, 100) } } else if (this.data.tabValue == 1) { if (this.data.courseData.length < this.data.courseTotal) { this.setData({ isMore: true, "pageCount.page": this.data.pageCount.page + 1 }) this.retrievalPageGet() } else { this.setData({ isMore: true, }) setTimeout(() => { this.setData({ isMore: false }) }, 100) } console.log(2); } else if (this.data.tabValue == 2) { if (this.data.digitalTextbooksData.length < this.data.digitalTextbooksTotal && this.data.digitalTextbooksData.length > 9) { this.setData({ isMore: true, "pageCount.page": this.data.pageCount.page + 1 }) this.retrievalPageGet() } else { this.setData({ isMore: true, }) setTimeout(() => { this.setData({ isMore: false }) }, 100) } console.log(2); } else if (this.data.tabValue == 3) { if (this.data.seminarData.length < this.data.seminarTotal) { this.setData({ isMore: true, "pageCount.page": this.data.pageCount.page + 1 }) this.retrievalPageGet() } else { this.setData({ isMore: true, }) setTimeout(() => { this.setData({ isMore: false }) }, 100) } console.log(3); } else if (this.data.tabValue == 4) { if (this.data.bookFairData.length < this.data.bookFairTotal) { this.setData({ isMore: true, "pageCount.page": this.data.pageCount.page + 1 }) this.bibliographyGet() } else { this.setData({ isMore: true, }) setTimeout(() => { this.setData({ isMore: false }) }, 100) } console.log(4); } else if (this.data.tabValue == 5) { if (this.data.biblioClassificationData.length < this.data.biblioClassificationTotal) { this.setData({ isMore: true, "pageCount.page": this.data.pageCount.page + 1 }) this.retrievalPageGet() } else { this.setData({ isMore: true, }) setTimeout(() => { this.setData({ isMore: false }) }, 100) } } } }) pages/retrievalPage/index.json
@@ -15,5 +15,6 @@ "navigationStyle": "custom", "enablePullDownRefresh": true, "onReachBottomDistance": 200, "backgroundTextStyle": "dark" "backgroundTextStyle": "dark", "disableScroll": true } pages/retrievalPage/index.wxml
@@ -21,62 +21,70 @@ <view class="tabsBox"> <!-- sticky="true" --> <t-tabs defaultValue="{{0}}" bind:change="onTabsChange" bind:click="onTabsClick" t-class="custom-tabs" t-class-content="custom-panel" sticky="true"> <t-tabs defaultValue="{{0}}" bind:change="onTabsChange" bind:click="onTabsClick" t-class="custom-tabs" t-class-content="custom-panel"> <t-tab-panel label="图书({{bookTotal}})" value="0"> <view wx:if="{{bookData.length <= 0}}" class="noDataBox"> <t-empty icon="folder-open" description="暂无数据" /> </view> <view class="bookDataBox"> <view class="bookDataForBox" wx:for="{{bookData}}" wx:key="index" wx:for-item="item" wx:for-index="index" data-item="{{item}}" bind:tap="onBook"> <view class="imageBox"> <image src="{{item.icon}}" mode="aspectFill" /> <scroll-view scroll-y="{{true}}" class="scrollViewBox" bindscrolltolower="onScrollToLower"> <view class="bookDataBox"> <view class="bookDataForBox" wx:for="{{bookData}}" wx:key="index" wx:for-item="item" wx:for-index="index" data-item="{{item}}" bind:tap="onBook"> <view class="imageBox"> <image src="{{item.icon}}" mode="aspectFill" /> </view> <view class="bookDataNmae"> {{item.name}} </view> <view class="bookDataAuthor">{{item.author}}</view> </view> <view class="bookDataNmae"> {{item.name}} </view> <view class="bookDataAuthor">{{item.author}}</view> </view> </view> <view wx:if="{{bookData.length != 0}}" class="bottom-box"> <t-loading theme="circular" size="40rpx" class="wrapper" wx:if="{{isMore == true}}" /> <text wx:if="{{isMore == false}}">没有更多了</text> </view> <view wx:if="{{bookData.length != 0}}" class="bottom-box"> <t-loading theme="circular" size="40rpx" class="wrapper" wx:if="{{isMore == true}}" /> <text wx:if="{{isMore == false}}">没有更多了</text> </view> </scroll-view> </t-tab-panel> <t-tab-panel label="课程({{courseTotal}})" value="1"> <view wx:if="{{courseData.length <= 0}}" class="noDataBox"> <t-empty icon="folder-open" description="暂无数据" /> </view> <view class="listBox1"> <view> <view wx:for="{{courseData}}" wx:for-item="item" wx:for-index="index" wx:key="index" bindtap="toList" data-info="{{item}}" class="listItemBox"> <view class="listItem flex" data-item="{{item}}" bind:tap="underConstruction"> <view class="specialSubject-img-box"> <image src="{{item.icon}}" mode="aspectFill" /> </view> <view class="body-info"> <view class="name">{{item.name}}</view> <view class="flex jc-sb"> <text class="author">{{item.courseLeader}}</text> <text>{{item.classHours}}课时</text> <scroll-view scroll-y="{{true}}" class="scrollViewBox" bindscrolltolower="onScrollToLower"> <view class="listBox1"> <view> <view wx:for="{{courseData}}" wx:for-item="item" wx:for-index="index" wx:key="index" bindtap="toList" data-info="{{item}}" class="listItemBox"> <view class="listItem flex" data-item="{{item}}" bind:tap="underConstruction"> <view class="specialSubject-img-box"> <image src="{{item.icon}}" mode="aspectFill" /> </view> <view class="priceBox flex jc-sb"> <text class="price" wx:if="{{item.price == 0}}">免费</text> <text class="price" wx:if="{{item.price !== 0}}">¥{{item.price}}</text> <image src="/static/images/home/home-cart.png" mode="aspectFill" class="addCartImg" /> <view class="body-info"> <view class="name">{{item.name}}</view> <view class="flex jc-sb"> <text class="author">{{item.courseLeader}}</text> <text>{{item.classHours}}课时</text> </view> <view class="priceBox flex jc-sb"> <text class="price" wx:if="{{item.price == 0}}">免费</text> <text class="price" wx:if="{{item.price !== 0}}">¥{{item.price}}</text> <image src="/static/images/home/home-cart.png" mode="aspectFill" class="addCartImg" /> </view> </view> </view> </view> </view> </view> </view> <view wx:if="{{courseData.length != 0}}" class="bottom-box"> <t-loading theme="circular" size="40rpx" class="wrapper" wx:if="{{isMore == true}}" /> <text wx:if="{{isMore == false}}">没有更多了</text> </view> </scroll-view> <view wx:if="{{courseData.length != 0}}" class="bottom-box"> <t-loading theme="circular" size="40rpx" class="wrapper" wx:if="{{isMore == true}}" /> <text wx:if="{{isMore == false}}">没有更多了</text> </view> </t-tab-panel> <t-tab-panel label="数字教材({{digitalTextbooksTotal}})" value="2"> @@ -84,27 +92,25 @@ <view wx:if="{{digitalTextbooksData.length <= 0}}" class="noDataBox"> <t-empty icon="folder-open" description="暂无数据" /> </view> <view class="bookDataBox"> <view class="bookDataForBox" wx:for="{{digitalTextbooksData}}" wx:key="index" wx:for-item="item" wx:for-index="index" data-item="{{item}}" bind:tap="underConstruction"> <view class="imageBox"> <image src="{{item.icon}}" mode="" /> <scroll-view scroll-y="{{true}}" class="scrollViewBox" bindscrolltolower="onScrollToLower"> <view class="bookDataBox"> <view class="bookDataForBox" wx:for="{{digitalTextbooksData}}" wx:key="index" wx:for-item="item" wx:for-index="index" data-item="{{item}}" bind:tap="underConstruction"> <view class="imageBox"> <image src="{{item.icon}}" mode="" /> </view> <view class="bookDataNmae"> {{item.name}} </view> <view class="bookDataAuthor">{{item.author}}</view> </view> <view class="bookDataNmae"> {{item.name}} </view> <view class="bookDataAuthor">{{item.author}}</view> </view> </view> <view wx:if="{{digitalTextbooksData.length != 0}}" class="bottom-box"> <t-loading theme="circular" size="40rpx" class="wrapper" wx:if="{{isMore == true}}" /> <text wx:if="{{isMore == false}}">没有更多了</text> </view> <view wx:if="{{digitalTextbooksData.length != 0}}" class="bottom-box"> <t-loading theme="circular" size="40rpx" class="wrapper" wx:if="{{isMore == true}}" /> <text wx:if="{{isMore == false}}">没有更多了</text> </view> </scroll-view> </t-tab-panel> @@ -112,32 +118,35 @@ <view wx:if="{{seminarData.length <= 0}}" class="noDataBox"> <t-empty icon="folder-open" description="暂无数据" /> </view> <view class="listBox"> <view wx:for="{{seminarData}}" wx:for-item="item" wx:for-index="index" wx:key="index" class="listItemBox" data-item="{{item}}" bind:tap="underConstruction"> <view class="listItem" bindtap="goSubjectDetail" data-book="{{item}}"> <view class="specialSubject-img"> <image src="{{item.icon}}" mode="aspectFill" class="img" /> </view> <view class="body-info"> <view class="name">{{item.name}}</view> <view class="time" wx:if="{{item.liveTime}}">直播时间:{{item.liveTime}}</view> <view class="time" wx:if="{{item.startTime}}">开播时间:{{ item.startTime }}</view> <view class="time" wx:if="{{!item.liveTime && !item.startTime}}">开播时间:<text class="grey">待定</text></view> <view class="flex jc-sb"> <text class="author">{{item.lecturer}} {{item.position}}</text> <text class="price" wx:if="{{item.price == 0}}">免费</text> <text class="price" wx:if="{{item.price !== 0}}">¥{{item.price}}</text> <scroll-view scroll-y="{{true}}" class="scrollViewBox" bindscrolltolower="onScrollToLower"> <view class="listBox"> <view wx:for="{{seminarData}}" wx:for-item="item" wx:for-index="index" wx:key="index" class="listItemBox" data-item="{{item}}" bind:tap="underConstruction"> <view class="listItem" bindtap="goSubjectDetail" data-book="{{item}}"> <view class="specialSubject-img"> <image src="{{item.icon}}" mode="aspectFill" class="img" /> </view> <view class="body-info"> <view class="name">{{item.name}}</view> <view class="time" wx:if="{{item.liveTime}}">直播时间:{{item.liveTime}}</view> <view class="time" wx:if="{{item.startTime}}">开播时间:{{ item.startTime }}</view> <view class="time" wx:if="{{!item.liveTime && !item.startTime}}">开播时间:<text class="grey">待定</text></view> <view class="flex jc-sb"> <text class="author">{{item.lecturer}} {{item.position}}</text> <text class="price" wx:if="{{item.price == 0}}">免费</text> <text class="price" wx:if="{{item.price !== 0}}">¥{{item.price}}</text> </view> </view> </view> </view> </view> </view> <view wx:if="{{seminarData.length != 0}}" class="bottom-box"> <t-loading theme="circular" size="40rpx" class="wrapper" wx:if="{{isMore == true}}" /> <text wx:if="{{isMore == false}}">没有更多了</text> </view> <view wx:if="{{seminarData.length != 0}}" class="bottom-box"> <t-loading theme="circular" size="40rpx" class="wrapper" wx:if="{{isMore == true}}" /> <text wx:if="{{isMore == false}}">没有更多了</text> </view> </scroll-view> </t-tab-panel> <t-tab-panel label="书目({{bookFairTotal}})" value="4"> @@ -146,34 +155,37 @@ <view wx:if="{{bookFairData.length <= 0 }}" class="noDataBox"> <t-empty icon="folder-open" description="暂无数据" /> </view> <view class="outsideHigherBox"> <view class="higherBox" wx:for="{{bookFairData}}" wx:key="index" wx:for-item="item" wx:for-index="index"> <view class="outsideHigherImageBox"> <view bind:tap="downloadData" data-item="{{item}}"> <scroll-view scroll-y="{{true}}" class="scrollViewBox" bindscrolltolower="onScrollToLower"> <view class="outsideHigherBox"> <image class="higherImageBox" src="{{item.icon}}" mode="" /> <view class="higherBox" wx:for="{{bookFairData}}" wx:key="index" wx:for-item="item" wx:for-index="index"> <view class="outsideHigherImageBox"> <view bind:tap="downloadData" data-item="{{item}}"> <image class="higherImageBox" src="{{item.icon}}" mode="" /> </view> <view class="downloadIcon" data-item="{{item}}" data-key="showWithInput" bind:tap="mailbox"> <image wx:if="{{determine}}" class="download" src="/static/images/bibliographyList/email-click.png" mode="" /> <image wx:else="" class="downloadshiftin" src="/static/images/bibliographyList/email.png" mode="" /> </view> </view> <view class="downloadIcon" data-item="{{item}}" data-key="showWithInput" bind:tap="mailbox"> <image wx:if="{{determine}}" class="download" src="/static/images/bibliographyList/email-click.png" mode="" /> <image wx:else="" class="downloadshiftin" src="/static/images/bibliographyList/email.png" mode="" /> </view> <view class="higherTextBox">{{item.name}}</view> </view> <view class="higherTextBox">{{item.name}}</view> </view> </view> <view wx:if="{{bookFairData.length != 0}}" class="bottom-box"> <t-loading theme="circular" size="40rpx" class="wrapper" wx:if="{{isMore == true}}" /> <text wx:if="{{isMore == false}}">没有更多了</text> </view> <view wx:if="{{bookFairData.length != 0}}" class="bottom-box"> <t-loading theme="circular" size="40rpx" class="wrapper" wx:if="{{isMore == true}}" /> <text wx:if="{{isMore == false}}">没有更多了</text> </view> </scroll-view> </t-tab-panel> @@ -181,21 +193,24 @@ <view wx:if="{{biblioClassificationData.length <= 0}}" class="noDataBox"> <t-empty icon="folder-open" description="暂无数据" /> </view> <view class="outside"> <view class="contentBox" wx:for="{{biblioClassificationData}}" wx:key="index" wx:for-item="item" wx:for-index="index" bindtap="onBookExhibitionDetails" data-item="{{item}}"> <image class="bookFairImage" wx:if="{{item.icon}}" src="{{item.icon}}" mode="" /> <image class="bookFairImage" wx:else="" src="/static/images/bookExhibitionList/banner.png" mode="" /> <view class="textBox" title="{{item.name}}"> <text>{{item.subtitleName}}</text></view> <scroll-view scroll-y="{{true}}" class="scrollViewBox" bindscrolltolower="onScrollToLower"> <view class="outside"> <view class="contentBox" wx:for="{{biblioClassificationData}}" wx:key="index" wx:for-item="item" wx:for-index="index" bindtap="onBookExhibitionDetails" data-item="{{item}}"> <image class="bookFairImage" wx:if="{{item.icon}}" src="{{item.icon}}" mode="" /> <image class="bookFairImage" wx:else="" src="/static/images/bookExhibitionList/banner.png" mode="" /> <view class="textBox" title="{{item.name}}"> <text>{{item.subtitleName}}</text></view> </view> </view> </view> <view wx:if="{{biblioClassificationData.length != 0}}" class="bottom-box"> <t-loading theme="circular" size="40rpx" class="wrapper" wx:if="{{isMore == true}}" /> <text wx:if="{{isMore == false}}">没有更多了</text> </view> <view wx:if="{{biblioClassificationData.length != 0}}" class="bottom-box"> <t-loading theme="circular" size="40rpx" class="wrapper" wx:if="{{isMore == true}}" /> <text wx:if="{{isMore == false}}">没有更多了</text> </view> </scroll-view> </t-tab-panel> </t-tabs> </view> pages/retrievalPage/index.wxss
@@ -198,7 +198,6 @@ .download { width: 100%; height: 100%; } .downloadshiftin { @@ -250,19 +249,19 @@ } .outsideRetrievalPageBox { position: relative; /* position: relative; */ } .retrievalPageBox { position: fixed; top: 0px; background-color: #fff; height: 120px; /* position: fixed; top: 0px; */ /* background-color: #fff; */ /* height: 120px; */ /* z-index: 999; */ } .tabsBox { margin-top: 300rpx; /* margin-top: 300rpx; */ } @@ -353,13 +352,11 @@ } .dialogBox .t-input__control { min-height: 100rpx; } .t-button--text { color: #000 !important; } .t-button--text.t-button--primary { @@ -371,4 +368,9 @@ /* border: 1rpx #000 solid; */ background-color: #F9F9F9; width: 100%; } .scrollViewBox { height: calc(100vh - 326rpx); /* width: calc(100vw - 60rpx); */ }