| | |
| | | hover-class="none" |
| | | v-for="(item, index) in list"> |
| | | <template> |
| | | <image v-if="item.photo" src="item.photo" class="avatar"></image> |
| | | <image v-if="item.photo" :src="item.photo" class="avatar"></image> |
| | | <text v-else class="first-name" :style="{background: caculateBgcolor(index)}">{{item.vipName | formatName}}</text> |
| | | </template> |
| | | <view class="flex-1 flex align-center justify-between member-list-con"> |
| | |
| | | this.loadMemberList(); |
| | | }, |
| | | loadMemberList(){ |
| | | uni.showLoading({ |
| | | mask: true, |
| | | title: '加载中' |
| | | }); |
| | | let parma = Object.assign({ |
| | | order: this.order, |
| | | queryKey: this.queryKey, |
| | | sort: this.sort |
| | | }, this.filterKeys) |
| | | this.$httpUtils.request('/api/vip/findVipInfoList', parma, 'POST', {isShowLoad: true}).then((res) => { |
| | | this.$httpUtils.request('/api/vip/findVipInfoList', parma, 'POST').then((res) => { |
| | | if(res.status == 200){ |
| | | this.list = res.rows; |
| | | } |
| | | this.$nextTick(function(){ |
| | | uni.hideLoading() |
| | | }) |
| | | }).catch((err) => { |
| | | uni.hideLoading() |
| | | }) |
| | | } |
| | | }, |