This commit is contained in:
2024-05-17 18:02:49 +08:00
parent 8407d51fb6
commit b5264dc222
4056 changed files with 308094 additions and 41932 deletions

View File

@@ -26,7 +26,13 @@
</u-grid>
</scroll-view>
<u-divider v-else text="暂无数据哦~"></u-divider>
<u-empty v-else-if="noDataIcon&&isLoadingHide"
:mode="noDataIcon"
:icon="`http://cdn.uviewui.com/uview/empty/${noDataIcon}.png`"
>
</u-empty>
<u-divider v-else text="暂无数据哦~"></u-divider>
</view>
</template>
@@ -36,7 +42,7 @@ import {
mapState
} from 'vuex';
export default {
props: ['dataList', 'label', 'isCondition', 'imgUrl','imgMode', 'className', 'col', 'defaultUrl', 'isScroll'],
props: ['dataList', 'label', 'isCondition', 'imgUrl','imgMode', 'className', 'col', 'defaultUrl', 'isScroll','isLoadingHide','noDataIcon'],
data() {
return {
@@ -75,18 +81,19 @@ export default {
width: 100%;
// padding: 20rpx 30rpx;
box-sizing: border-box;
font-size: 30rpx;
// border-bottom: 1rpx solid #e0e0e0;
position: relative;
justify-content: space-around;
}
.scroll-view-item:nth-child(2n-1) {
// background-color: #f0f0f0 !important;
// background-color: #f5f5f5 !important;
}
.rightArrow {
width: 30rpx;
height: 30rpx;
width: 40rpx;
height: 40rpx;
position: absolute;
right: 30rpx;
}
@@ -147,14 +154,14 @@ export default {
height: 146rpx;
border-radius: 10rpx;
margin-bottom: 10rpx;
// background-color: #919191;
background-color: #f5f5f5;
}
.book_name {
font-family: MicrosoftYaHei;
font-weight: 400;
font-weight: 600;
font-size: 23rpx;
color: #000000;
line-height: 23rpx;