|
@@ -11,7 +11,7 @@
|
|
</view>
|
|
</view>
|
|
<view v-if="list.length>0" class="t_item" v-for="(item,index) in list" :key="index">
|
|
<view v-if="list.length>0" class="t_item" v-for="(item,index) in list" :key="index">
|
|
<view class="b_grey b_rb">
|
|
<view class="b_grey b_rb">
|
|
- {{item.houseBaseName}}{{item.houseBaseName}}{{item.houseBaseName}}{{item.houseBaseName}}{{item.houseBaseName}}
|
|
|
|
|
|
+ {{item.houseBaseName}}
|
|
</view>
|
|
</view>
|
|
<view class="b_rb" :class="(index==list.length-1||index==list.length-2)?'b_grey':''">{{item.totalNums}}
|
|
<view class="b_rb" :class="(index==list.length-1||index==list.length-2)?'b_grey':''">{{item.totalNums}}
|
|
</view>
|
|
</view>
|
|
@@ -49,7 +49,7 @@
|
|
dateDay: this.item.dateDay
|
|
dateDay: this.item.dateDay
|
|
}).then(res => {
|
|
}).then(res => {
|
|
if (res.data.code === 0) {
|
|
if (res.data.code === 0) {
|
|
- if (res.data.data.length > 6 || res.data.data.length == 6) {
|
|
|
|
|
|
+ if (res.data.data.length > 6 && res.data.data.length == 6) {
|
|
this.list = res.data.data.splice(0, res.data.data.length - 3);
|
|
this.list = res.data.data.splice(0, res.data.data.length - 3);
|
|
console.log('000000', this.list);
|
|
console.log('000000', this.list);
|
|
let totalNums = this.list.reduce((cur, pre) => cur + pre.totalNums, 0);
|
|
let totalNums = this.list.reduce((cur, pre) => cur + pre.totalNums, 0);
|
|
@@ -125,8 +125,10 @@
|
|
<style scoped lang="less">
|
|
<style scoped lang="less">
|
|
.page {
|
|
.page {
|
|
background: #F9FAFC;
|
|
background: #F9FAFC;
|
|
|
|
+ box-sizing: border-box;
|
|
|
|
|
|
.table {
|
|
.table {
|
|
|
|
+ box-sizing: border-box;
|
|
width: 100%;
|
|
width: 100%;
|
|
border-top: 1rpx solid #D1D1D1;
|
|
border-top: 1rpx solid #D1D1D1;
|
|
border-left: 1rpx solid #D1D1D1;
|
|
border-left: 1rpx solid #D1D1D1;
|
|
@@ -158,7 +160,8 @@
|
|
|
|
|
|
&>view {
|
|
&>view {
|
|
width: 25%;
|
|
width: 25%;
|
|
- height: 160rpx;
|
|
|
|
|
|
+ // height: 160rpx;
|
|
|
|
+ min-height: 160rpx;
|
|
display: flex;
|
|
display: flex;
|
|
align-items: center;
|
|
align-items: center;
|
|
justify-content: center;
|
|
justify-content: center;
|