列表页面添加没有更多横线
This commit is contained in:
parent
535eccffb5
commit
9ba3c901e3
26
app.wxss
26
app.wxss
@ -289,4 +289,30 @@
|
||||
width: 20rpx;
|
||||
height: 20rpx;
|
||||
margin-left: 10rpx;
|
||||
}
|
||||
|
||||
|
||||
|
||||
.no-more {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
width: 80%;
|
||||
margin: 40rpx 0rpx 0rpx 0rpx;
|
||||
align-self: center;
|
||||
}
|
||||
|
||||
.no-more::before,
|
||||
.no-more::after {
|
||||
content: "";
|
||||
flex: 1;
|
||||
height: 1px;
|
||||
background-color: var(--divider-color);
|
||||
}
|
||||
|
||||
.no-more-dot {
|
||||
width: 8rpx;
|
||||
height: 8rpx;
|
||||
border-radius: 50%;
|
||||
background-color: var(--divider-color);
|
||||
margin: 0 20rpx;
|
||||
}
|
@ -248,7 +248,7 @@ Page({
|
||||
.then(res => {
|
||||
wx.hideLoading()
|
||||
_self.setData({
|
||||
msgHint: '提交成功,请耐心等待审核',
|
||||
msgHint: '提交操作已顺利完成,我们会尽快审核,还请耐心等待',
|
||||
msgType: 'success',
|
||||
msgShow: true
|
||||
})
|
||||
|
@ -37,11 +37,14 @@
|
||||
</view>
|
||||
|
||||
<!-- 补正软著列表 -->
|
||||
<mp-half-screen-dialog show="{{showSelPro}}" bindclose="closeDialog">
|
||||
<mp-half-screen-dialog show="{{showSelPro}}" bindclose="closeDialog" closabled="{{false}}">
|
||||
<view slot="title">
|
||||
<view class="search-container">
|
||||
<input class="search-input" value="{{proKeywords}}" bindinput="inputKeywords" bindconfirm="doSearchKeyWord" type="text" confirm-type="search" placeholder="请输入项目名称" />
|
||||
<view wx:if="{{proKeywords !=''}}" bind:tap="clearSearch" class="icon-clear" style="width: 20px;height: 20px;"></view>
|
||||
<view style="display: flex;flex-direction: row;align-items: center;">
|
||||
<view class="search-container">
|
||||
<input class="search-input" value="{{proKeywords}}" bindinput="inputKeywords" bindconfirm="doSearchKeyWord" placeholder-style="font-size:28rpx;" type="text" confirm-type="search" placeholder="请输入项目名称" />
|
||||
<view wx:if="{{proKeywords !=''}}" bind:tap="clearSearch" class="icon-clear" style="width: 20px;height: 20px;"></view>
|
||||
</view>
|
||||
<icon bind:tap="closeDialog" type="clear" size="25"></icon>
|
||||
</view>
|
||||
</view>
|
||||
<view slot="desc">
|
||||
@ -67,6 +70,9 @@
|
||||
</block>
|
||||
</radio-group>
|
||||
<mp-loading show="{{isLoadMore}}" type="circle"></mp-loading>
|
||||
<view wx:if="{{!hasMore}}" class="no-more">
|
||||
<view class="no-more-dot"></view>
|
||||
</view>
|
||||
</view>
|
||||
</scroll-view>
|
||||
</container-loading>
|
||||
|
@ -130,6 +130,7 @@
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
width: 100%;
|
||||
margin-right: 20rpx;
|
||||
}
|
||||
|
||||
.search-input {
|
||||
|
@ -160,6 +160,7 @@ Page({
|
||||
},
|
||||
showSelTypeDialog() {
|
||||
this.setData({
|
||||
tempSelType: this.data.selType,
|
||||
showSelType: true,
|
||||
})
|
||||
},
|
||||
@ -249,7 +250,7 @@ Page({
|
||||
.then(res => {
|
||||
wx.hideLoading()
|
||||
_self.setData({
|
||||
msgHint: '提交成功,请耐心等待审核',
|
||||
msgHint: '提交操作已顺利完成,我们会尽快审核,还请耐心等待',
|
||||
msgType: 'success',
|
||||
msgShow: true
|
||||
})
|
||||
|
@ -44,11 +44,14 @@
|
||||
</view>
|
||||
|
||||
<!-- 补正软著列表 -->
|
||||
<mp-half-screen-dialog show="{{showSelPro}}" bindclose="closeDialog">
|
||||
<mp-half-screen-dialog show="{{showSelPro}}" bindclose="closeDialog" closabled="{{false}}">
|
||||
<view slot="title">
|
||||
<view class="search-container">
|
||||
<input class="search-input" value="{{proKeywords}}" bindinput="inputKeywords" bindconfirm="doSearchKeyWord" type="text" confirm-type="search" placeholder="请输入项目名称" />
|
||||
<view wx:if="{{proKeywords !=''}}" bind:tap="clearSearch" class="icon-clear" style="width: 20px;height: 20px;"></view>
|
||||
<view style="display: flex;flex-direction: row;align-items: center;">
|
||||
<view class="search-container">
|
||||
<input class="search-input" value="{{proKeywords}}" bindinput="inputKeywords" bindconfirm="doSearchKeyWord" placeholder-style="font-size:28rpx;" type="text" confirm-type="search" placeholder="请输入项目名称" />
|
||||
<view wx:if="{{proKeywords !=''}}" bind:tap="clearSearch" class="icon-clear" style="width: 20px;height: 20px;"></view>
|
||||
</view>
|
||||
<icon bind:tap="closeDialog" type="clear" size="25"></icon>
|
||||
</view>
|
||||
</view>
|
||||
<view slot="desc">
|
||||
@ -75,6 +78,9 @@
|
||||
</block>
|
||||
</radio-group>
|
||||
<mp-loading show="{{isLoadMore}}" type="circle"></mp-loading>
|
||||
<view wx:if="{{!hasMore}}" class="no-more">
|
||||
<view class="no-more-dot"></view>
|
||||
</view>
|
||||
</view>
|
||||
</scroll-view>
|
||||
</container-loading>
|
||||
@ -86,7 +92,7 @@
|
||||
</mp-half-screen-dialog>
|
||||
|
||||
<!-- 种类 -->
|
||||
<mp-half-screen-dialog show="{{showSelType}}" bindclose="closeDialog">
|
||||
<mp-half-screen-dialog show="{{showSelType}}" bindclose="closeDialog" closabled="{{false}}">
|
||||
<view slot="title">补正种类</view>
|
||||
<view slot="desc">
|
||||
<scroll-view scroll-y style="height: 500rpx;">
|
||||
|
@ -113,7 +113,7 @@
|
||||
}
|
||||
|
||||
.pro-list-name {
|
||||
font-size: 26rpx;
|
||||
font-size: 28rpx;
|
||||
font-weight: bold;
|
||||
flex: 1;
|
||||
}
|
||||
@ -130,6 +130,7 @@
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
width: 100%;
|
||||
margin-right: 10rpx;
|
||||
}
|
||||
|
||||
.search-input {
|
||||
|
@ -63,6 +63,9 @@
|
||||
</mp-slideview>
|
||||
</block>
|
||||
<mp-loading show="{{isLoadMore}}" type="circle"></mp-loading>
|
||||
<view wx:if="{{!hasMore}}" class="no-more">
|
||||
<view class="no-more-dot"></view>
|
||||
</view>
|
||||
</view>
|
||||
</scroll-view>
|
||||
</container-loading>
|
||||
|
@ -84,6 +84,9 @@
|
||||
</mp-slideview>
|
||||
</block>
|
||||
<mp-loading show="{{isLoadMore}}" type="circle"></mp-loading>
|
||||
<view wx:if="{{!hasMore}}" class="no-more">
|
||||
<view class="no-more-dot"></view>
|
||||
</view>
|
||||
</view>
|
||||
</scroll-view>
|
||||
</container-loading>
|
||||
|
@ -99,6 +99,9 @@
|
||||
</view>
|
||||
</block>
|
||||
<mp-loading show="{{isLoadMore}}" type="circle"></mp-loading>
|
||||
<view wx:if="{{!hasMore}}" class="no-more">
|
||||
<view class="no-more-dot"></view>
|
||||
</view>
|
||||
</view>
|
||||
</scroll-view>
|
||||
</container-loading>
|
||||
|
@ -29,6 +29,9 @@
|
||||
</mp-slideview>
|
||||
</block>
|
||||
<mp-loading show="{{isLoadMore}}" type="circle"></mp-loading>
|
||||
<view wx:if="{{!hasMore}}" class="no-more">
|
||||
<view class="no-more-dot"></view>
|
||||
</view>
|
||||
</view>
|
||||
</scroll-view>
|
||||
</container-loading>
|
||||
|
@ -35,6 +35,9 @@
|
||||
</view>
|
||||
</block>
|
||||
<mp-loading show="{{isLoadMore}}" type="circle"></mp-loading>
|
||||
<view wx:if="{{!hasMore}}" class="no-more">
|
||||
<view class="no-more-dot"></view>
|
||||
</view>
|
||||
</view>
|
||||
</scroll-view>
|
||||
</container-loading>
|
||||
|
@ -26,6 +26,9 @@
|
||||
</mp-slideview>
|
||||
</block>
|
||||
<mp-loading show="{{isLoadMore}}" type="circle"></mp-loading>
|
||||
<view wx:if="{{!hasMore}}" class="no-more">
|
||||
<view class="no-more-dot"></view>
|
||||
</view>
|
||||
</view>
|
||||
</scroll-view>
|
||||
</container-loading>
|
||||
|
@ -40,6 +40,9 @@
|
||||
</view>
|
||||
</block>
|
||||
<mp-loading show="{{isLoadMore}}" type="circle"></mp-loading>
|
||||
<view wx:if="{{!hasMore}}" class="no-more">
|
||||
<view class="no-more-dot"></view>
|
||||
</view>
|
||||
</view>
|
||||
</scroll-view>
|
||||
</container-loading>
|
||||
|
@ -30,6 +30,9 @@
|
||||
<!-- </mp-slideview> -->
|
||||
</block>
|
||||
<mp-loading show="{{isLoadMore}}" type="circle"></mp-loading>
|
||||
<view wx:if="{{!hasMore}}" class="no-more">
|
||||
<view class="no-more-dot"></view>
|
||||
</view>
|
||||
</view>
|
||||
</scroll-view>
|
||||
</container-loading>
|
||||
|
@ -38,6 +38,9 @@
|
||||
</mp-slideview>
|
||||
</block>
|
||||
<mp-loading show="{{isLoadMore}}" type="circle"></mp-loading>
|
||||
<view wx:if="{{!hasMore}}" class="no-more">
|
||||
<view class="no-more-dot"></view>
|
||||
</view>
|
||||
</view>
|
||||
</scroll-view>
|
||||
</container-loading>
|
||||
|
@ -51,7 +51,7 @@ Page({
|
||||
loadingState: 'loading',
|
||||
hasMore: true,
|
||||
'pageData.page': 1,
|
||||
'pageData.keywords': _self.data.keywords,
|
||||
'pageData.productName': _self.data.keywords,
|
||||
isLoadMore: false
|
||||
})
|
||||
_self.doGetMineOrderList(true)
|
||||
@ -66,7 +66,7 @@ Page({
|
||||
_self.setData({
|
||||
isLoadMore: true,
|
||||
'pageData.page': ++_self.data.pageData.page,
|
||||
keywords: _self.data.keywords
|
||||
'pageData.productName': _self.data.keywords
|
||||
})
|
||||
_self.doGetMineOrderList(false)
|
||||
},
|
||||
|
@ -1,12 +1,12 @@
|
||||
<view class="page-container">
|
||||
<view class="search-box">
|
||||
<view class="search-container">
|
||||
<input class="search-input" value="{{keywords}}" bindinput="inputKeywords" bindconfirm="doSearchKeyWord" type="text" confirm-type="search" placeholder="搜索" />
|
||||
<input class="search-input" value="{{keywords}}" bindinput="inputKeywords" bindconfirm="doSearchKeyWord" type="text" confirm-type="search" placeholder="请输入商品名称" />
|
||||
<view wx:if="{{keywords !=''}}" bind:tap="clearSearch" class="icon-clear icon-position"></view>
|
||||
</view>
|
||||
</view>
|
||||
<container-loading loadingState="{{loadingState}}" style="height: 85vh;margin-top: 80rpx;" bindrefresh="doRefreshList">
|
||||
<scroll-view scroll-y="{{true}}" style="height: 85vh;" bindrefresherrefresh="doRefreshList" refresher-enabled refresher-triggered="{{listRefreshTrig}}" bindscrolltolower="doLoadMore" lower-threshold='30'>
|
||||
<scroll-view scroll-y="{{true}}" style="height: 85vh;" bindrefresherrefresh="doRefreshList" refresher-enabled refresher-triggered="{{listRefreshTrig}}" bindscrolltolower="doLoadMore" lower-threshold='50'>
|
||||
<view class="order-box">
|
||||
<block wx:for="{{orderList}}" wx:key="index">
|
||||
<view class="order-item">
|
||||
@ -36,6 +36,9 @@
|
||||
</view>
|
||||
</block>
|
||||
<mp-loading show="{{isLoadMore}}" type="circle"></mp-loading>
|
||||
<view wx:if="{{!hasMore}}" class="no-more">
|
||||
<view class="no-more-dot"></view>
|
||||
</view>
|
||||
</view>
|
||||
</scroll-view>
|
||||
</container-loading>
|
||||
|
@ -47,6 +47,9 @@
|
||||
</view>
|
||||
</block>
|
||||
<mp-loading show="{{isLoadMore}}" type="circle"></mp-loading>
|
||||
<view wx:if="{{!hasMore}}" class="no-more">
|
||||
<view class="no-more-dot"></view>
|
||||
</view>
|
||||
</view>
|
||||
</scroll-view>
|
||||
</container-loading>
|
||||
|
Loading…
Reference in New Issue
Block a user