|
@@ -42,7 +42,7 @@
|
|
|
<text>{{ item.nickname }}</text>
|
|
|
</view>
|
|
|
<view class="time">
|
|
|
- <text>{{ item.time }}</text>
|
|
|
+ <text>{{ item.spread_time }}</text>
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
@@ -54,7 +54,7 @@
|
|
|
</view>
|
|
|
</template>
|
|
|
<script>
|
|
|
- import { getExtensionData } from '@/api/user.js';
|
|
|
+ import { getExtensionData,spreadInfo } from '@/api/user.js';
|
|
|
import { mapState, mapMutations } from 'vuex';
|
|
|
import uniLoadMore from '@/components/uni-load-more/uni-load-more.vue';
|
|
|
import empty from '@/components/empty';
|
|
@@ -108,12 +108,14 @@
|
|
|
list:'',
|
|
|
total:'',
|
|
|
totalLevel:'',
|
|
|
- img:'http://kaifa.crmeb.net/uploads/attach/2019/08/20190807/723adbdd4e49a0f9394dfc700ab5dba3.png'
|
|
|
+ img:'http://kaifa.crmeb.net/uploads/attach/2019/08/20190807/723adbdd4e49a0f9394dfc700ab5dba3.png',
|
|
|
+ userInfo: {}
|
|
|
};
|
|
|
},
|
|
|
onLoad(options) {},
|
|
|
onShow() {
|
|
|
- this.loadData();
|
|
|
+ this.loadData();
|
|
|
+ this.loadAll()
|
|
|
},
|
|
|
methods: {
|
|
|
// 页面跳转
|
|
@@ -147,8 +149,10 @@
|
|
|
page: navItem.page,
|
|
|
limit: navItem.limit,
|
|
|
keyword:'',
|
|
|
- sort:'uid desc',
|
|
|
- grade:state
|
|
|
+ level: index,
|
|
|
+ // sort:'uid desc'
|
|
|
+ sort: 'pay_price ASC'
|
|
|
+ // grade:state
|
|
|
},
|
|
|
)
|
|
|
.then(({ data }) => {
|
|
@@ -156,7 +160,7 @@
|
|
|
|
|
|
this.total = data.total;
|
|
|
this.totalLevel =data.totalLevel;
|
|
|
- this.all = this.total + this.totalLevel;
|
|
|
+ // this.all = this.total + this.totalLevel;
|
|
|
if (data.list.length > 0) {
|
|
|
this.list = data.list;
|
|
|
navItem.orderList = navItem.orderList.concat(data.list);
|
|
@@ -192,7 +196,13 @@
|
|
|
uni.switchTab({
|
|
|
url:'/pages/user/user'
|
|
|
})
|
|
|
- }
|
|
|
+ },
|
|
|
+ loadAll(){
|
|
|
+ spreadInfo().then(res => {
|
|
|
+ this.userInfo = res.data
|
|
|
+ console.log(res,'6666666666666666666')
|
|
|
+ });
|
|
|
+ }
|
|
|
}
|
|
|
};
|
|
|
</script>
|