store css 8.18

This commit is contained in:
2020-08-18 10:06:20 +08:00
parent a702558eac
commit cada935c17
8 changed files with 18 additions and 16 deletions

View File

@@ -81,7 +81,7 @@ export default {
// });
// }
this.$u.route('pageE/useCoupon/index', {
cid: coupon.voucher_id,
cid: coupon.vouchertemplate_id,
});
},
setViewHeight() {

View File

@@ -19,7 +19,7 @@
</view>
<u-action-sheet :list="actionList" v-model="showAction" :cancel-btn="true" @click="delHistory" border-radius="20"></u-action-sheet>
<u-empty text="暂无足迹" mode="list" color="#000" v-if="!historyList.length"></u-empty>
<u-loadmore :status="loadStatus" bgColor="#ECECEC" margin-top="20" margin-bottom="20" v-if="historyList.length > pageSize" @loadmore="reachBottom"></u-loadmore>
<u-loadmore class="load-size" :status="loadStatus" bgColor="#ECECEC" margin-top="20" margin-bottom="20" v-if="historyList.length > pageSize" @loadmore="reachBottom"></u-loadmore>
</scroll-view>
</view>
</template>

View File

@@ -78,10 +78,10 @@ export default {
})
this.timer = true;
if(res.errCode == 0) {
if(load == 'reload') this.goodsList = res.data.data;
else if(load == 'loadmore') this.goodsList.push(...res.data.data);
if(load == 'reload') this.goodsList = res.data;
else if(load == 'loadmore') this.goodsList.push(...res.data);
}
return res.data.data.length;
return res.data.length;
},
loadMore() {
if(this.goodsList.length < this.pageSize) return false;