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