Commit b908f179 authored by chenfenglei's avatar chenfenglei

优化+数据显示

parent 6d7158d3
......@@ -26,7 +26,7 @@
<span class="no-margin">{{data.pay_at | formatDate}}</span>
</li>
</ul>
<img v-if="inviteList && inviteList.length > 3" class="moreBtn" :src="moreResult" @click="goToInviteList">
<img v-if="total > 3" class="moreBtn" :src="moreResult" @click="goToInviteList">
</template>
</div>
<img class="headerImg" :src="header4">
......@@ -100,6 +100,7 @@
earnings: 0,
userNum: 0,
inviteList: [],
total:0,
shareTitle: '唱唱启蒙英语邀友返现金',
shareDesc: '唱唱英语90天成长营,每成功邀请1人即可返现金88元,多邀多得,速来~'
}
......@@ -371,11 +372,12 @@
getInviteList(){
let json = {
page: 1,
limit: 4
limit: 3
}
let id=this.$route.query.shopId;
getInviteListApi(json,id).then(res=>{
this.inviteList = res.list
this.inviteList = res.list;
this.total=res.total;
});
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment