Commit 73187f3ea9b54378398b191563b77dd71ca7db82
1 parent
a5f9e164
feat: 修复派单第四页刷新bug
Showing
2 changed files
with
3 additions
and
7 deletions
garbage-removal/src/pages/home/index.vue
| @@ -51,7 +51,7 @@ | @@ -51,7 +51,7 @@ | ||
| 51 | <view class="company-list-item-main-right" | 51 | <view class="company-list-item-main-right" |
| 52 | @click="handleDetailClick(item, item.legalRepresentativePhone, userAddress)"> | 52 | @click="handleDetailClick(item, item.legalRepresentativePhone, userAddress)"> |
| 53 | <view class="company-list-item-main-right-name"> | 53 | <view class="company-list-item-main-right-name"> |
| 54 | - {{ item.abbreviation }} | 54 | + {{ item.name }} |
| 55 | </view> | 55 | </view> |
| 56 | <view class="company-list-item-main-right-score"> | 56 | <view class="company-list-item-main-right-score"> |
| 57 | <text class="company-list-item-main-right-text">评分:</text> | 57 | <text class="company-list-item-main-right-text">评分:</text> |
| @@ -481,8 +481,8 @@ const queryList = (pageNo, pageSize) => { | @@ -481,8 +481,8 @@ const queryList = (pageNo, pageSize) => { | ||
| 481 | 481 | ||
| 482 | .company-list-item-main-right-name { | 482 | .company-list-item-main-right-name { |
| 483 | font-weight: bold; | 483 | font-weight: bold; |
| 484 | - color: black; | ||
| 485 | - font-size: 35rpx; | 484 | + color: $u-main-color; |
| 485 | + font-size: 30rpx; | ||
| 486 | } | 486 | } |
| 487 | 487 | ||
| 488 | .company-list-item-main-right-score { | 488 | .company-list-item-main-right-score { |
garbage-removal/src/pages/order/swiper-list-item/index.vue
| @@ -177,10 +177,6 @@ const queryList = (pageNo, pageSize) => { | @@ -177,10 +177,6 @@ const queryList = (pageNo, pageSize) => { | ||
| 177 | //在底层的网络请求抛出异常时,写uni.$emit('z-paging-error-emit');即可 | 177 | //在底层的网络请求抛出异常时,写uni.$emit('z-paging-error-emit');即可 |
| 178 | paging.value.complete(false); | 178 | paging.value.complete(false); |
| 179 | }) | 179 | }) |
| 180 | - if (props.tabIndex == 3) { | ||
| 181 | - paging.value.complete([]) | ||
| 182 | - return | ||
| 183 | - } | ||
| 184 | } | 180 | } |
| 185 | watch(() => props.currentIndex, (val1, val2) => { | 181 | watch(() => props.currentIndex, (val1, val2) => { |
| 186 | if (props.currentIndex == props.tabIndex) { | 182 | if (props.currentIndex == props.tabIndex) { |