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