更改功德箱未显示完
This commit is contained in:
@@ -8,8 +8,8 @@
|
||||
</div>
|
||||
<div class="body">
|
||||
<div :options="swiperOptions">
|
||||
<div v-for="slide in type_nav" :key="slide.id">
|
||||
<div v-if="type_id === slide.id">
|
||||
<div v-for="slide in type_nav" :key="slide.id" class="1231">
|
||||
<div v-if="type_id === slide.id" class="123">
|
||||
<user-merit v-for="dynamic in slide.list" :key="dynamic.id" :data="dynamic" ></user-merit>
|
||||
</div>
|
||||
</div>
|
||||
@@ -71,7 +71,9 @@ export default {
|
||||
res = await getOrderCompareByAgentId(this.agentId, this.type_id, this.goodsId, this.goodsType)
|
||||
}
|
||||
const current = this.type_nav.find(item => item.id === this.type_id);
|
||||
console.log('current', current)
|
||||
current.list = res.list
|
||||
console.log(this.type_nav)
|
||||
},
|
||||
onThankMore(){
|
||||
this.$router.push({
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
<template>
|
||||
<div class="user-merit border-bottom" v-if="data && data.user_info">
|
||||
<div class="user-merit border-bottom" v-if="data">
|
||||
<img
|
||||
:src="data.user_info.avatar"
|
||||
:src="data.avatar || data.user_info.avatar"
|
||||
alt=""
|
||||
/>
|
||||
<div class="profile">
|
||||
<div>
|
||||
<div class="name">
|
||||
<span>{{data.user_info.nickname}}</span>
|
||||
<span>{{data.nickname || data.user_info.nickname}}</span>
|
||||
<!-- <span>{{data.user_info.region}}</span>-->
|
||||
</div>
|
||||
<p class="goods_name">{{data.goods_name}}</p>
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
pulldown
|
||||
pullup
|
||||
@pulldown="refresh"
|
||||
@pullup="loadMore"
|
||||
@pullup="loadMoreFn"
|
||||
>
|
||||
<user-merit v-for="(merit, _index) in list" :key="_index" :data="merit"></user-merit>
|
||||
<div class="loadmore" v-if="!noMore">
|
||||
@@ -131,7 +131,7 @@ export default {
|
||||
this.list = [];
|
||||
this.getMeritBox();
|
||||
},
|
||||
loadMore(){
|
||||
loadMoreFn(){
|
||||
if(this.noMore) return;
|
||||
this.loading = true;
|
||||
this.page += 1;
|
||||
|
||||
Reference in New Issue
Block a user