|
@@ -2,7 +2,7 @@
|
|
<view class="exhibit-recommend">
|
|
<view class="exhibit-recommend">
|
|
<view class="exhibit-list">
|
|
<view class="exhibit-list">
|
|
<template v-for="(item, index) in productList">
|
|
<template v-for="(item, index) in productList">
|
|
- <view v-if="index < limit" class="exhibit-item" hover-class="active" :key="index" @click="onClickExhibit(item)">
|
|
|
|
|
|
+ <view class="exhibit-item" hover-class="active" :key="index" @click="onClickExhibit(item)">
|
|
<view class="exhibit-image">
|
|
<view class="exhibit-image">
|
|
<image :src="item.pic + '?x-oss-process=image/resize,w_400'" mode="aspectFit"/>
|
|
<image :src="item.pic + '?x-oss-process=image/resize,w_400'" mode="aspectFit"/>
|
|
</view>
|
|
</view>
|
|
@@ -69,7 +69,7 @@
|
|
} else {
|
|
} else {
|
|
this.productList = res.data.data
|
|
this.productList = res.data.data
|
|
}
|
|
}
|
|
- if (this.productListParams.page <= res.data.last_page) {
|
|
|
|
|
|
+ if (this.productListParams.page >= res.data.last_page) {
|
|
this.showExhibitMore = false
|
|
this.showExhibitMore = false
|
|
}
|
|
}
|
|
}
|
|
}
|