xuxueyang
2024-07-30 1fb44496929548b4f07b37796d506dedc494d44a
sub_pages/supplier/flower-manage/flower-manage.vue
@@ -9,8 +9,7 @@
         </view>
      </view>
      <view class="p15" style="min-height: calc(100vh - 160rpx);">
      <view class="p15" style="min-height: calc(100vh - 500rpx);">
         <no-data v-if="!list||list.length==0" style="width: 100%;"></no-data>
         <view v-for="(item,index) in list" :key="index" class="m-b-24 flow-manage-list">
            <view class="flow-manage-list-item">
@@ -137,6 +136,7 @@
      async onLoad(options) {
         this.type = options.type || 'all'
         var title = ''
         this.page.size = 5
         //todo 根据type切换查询条件
         if (this.type === 'delete') {
            this.listApi = '/api/supplier/flower/list/rc'
@@ -170,8 +170,8 @@
         await this.$store.dispatch('sign_clear', 'flower');
         this.getList()
      },
      onReachBottom() {
         this.page.current += 1
      onReachBottom() {
         console.log('onReachBottom')
         this.getMore()
      },
      async onPullDownRefresh() {
@@ -301,6 +301,9 @@
<style lang="scss" scoped>
   .flow-manage {
      overflow-y: scroll;
      // min-height: ;
      .flow-manage-list {
         // padding: 20rpx 30rpx;
         padding: 22rpx 22rpx 20rpx 22rpx;