Browse Source

修改下拉加载

master
邓宏 2 years ago
parent
commit
4e9b57aa27
  1. 2
      pages/massif/mana/farmRecord.vue
  2. 2
      pages/purchase/search.vue

2
pages/massif/mana/farmRecord.vue

@ -102,7 +102,7 @@
<text class="title">农资使用情况</text> <text class="title">农资使用情况</text>
<text class="add" @click="toAdd">+添加农事</text> <text class="add" @click="toAdd">+添加农事</text>
</view> </view>
<scroll-view scroll-y @scrollotower="search"> <scroll-view scroll-y @scrolltolower="search">
<view class="card" v-for="(v,k) in list" :key="k"> <view class="card" v-for="(v,k) in list" :key="k">
<template v-if="v.inputName"> <template v-if="v.inputName">
<view class="name"> <view class="name">

2
pages/purchase/search.vue

@ -17,7 +17,7 @@
<template> <template>
<view class="container flex"> <view class="container flex">
<d-search v-model="searchVal.supplier" @search="clean();search()"/> <d-search v-model="searchVal.supplier" @search="clean();search()"/>
<scroll-view scroll-y @scrolltoloer="search"> <scroll-view scroll-y @scrolltolower="search">
<view v-for="(v,k) in list" :key="k" @click="select(v)">{{v}}</view> <view v-for="(v,k) in list" :key="k" @click="select(v)">{{v}}</view>
<u-empty v-if="list.length<=0" text=" " width="70%" icon="/static/noData.png"/> <u-empty v-if="list.length<=0" text=" " width="70%" icon="/static/noData.png"/>
</scroll-view> </scroll-view>

Loading…
Cancel
Save