Browse Source

fix: 调整客服按钮位置并修复列表分页问题

调整客服浮动按钮的底部距离从150px改为180px
在partner.vue中设置pageSize为99999999以显示所有数据
在list.js中修复total可能为undefined的情况,默认设置为0
master
前端-胡立永 1 day ago
parent
commit
a7fa3f7b4a
3 changed files with 3 additions and 2 deletions
  1. +1
    -1
      components/base/kefu.vue
  2. +1
    -1
      mixins/list.js
  3. +1
    -0
      pages_order/mine/partner.vue

+ 1
- 1
components/base/kefu.vue View File

@ -41,7 +41,7 @@
<style lang="scss">
.float-button {
position: fixed;
bottom: 150px;
bottom: 180px;
/* 距离底部的距离 */
right: 10px;
/* 距离右侧的距离 */


+ 1
- 1
mixins/list.js View File

@ -58,7 +58,7 @@ export default {
// 更新列表数据
this[this.mixinsListKey || 'list'] = res.result.records || res.result
// 更新总数
this.total = res.result.total || res.result.length
this.total = res.result.total || res.result.length || 0
// 调用数据加载完成的回调
this.getDataThen && this.getDataThen(res.result.records, res.result.total, res.result)
}


+ 1
- 0
pages_order/mine/partner.vue View File

@ -104,6 +104,7 @@
},
onLoad() {
this.queryParams.state = this.state
this.queryParams.pageSize = 99999999
},
onShow() {
this.$store.commit('getRiceInfo')


Loading…
Cancel
Save