|
@@ -18,33 +18,31 @@
|
|
|
</view>
|
|
</view>
|
|
|
|
|
|
|
|
<!-- 无限滚动容器 -->
|
|
<!-- 无限滚动容器 -->
|
|
|
- <view>
|
|
|
|
|
- <scroll-view scroll-y="true" refresher-enabled="true" :refresher-triggered="data.loading"
|
|
|
|
|
- :refresher-threshold="50" @scrolltolower="onScrolltolower" refresher-background="transparent"
|
|
|
|
|
- @refresherrefresh="onRefresh" class="jz-scroll-view">
|
|
|
|
|
- <uni-list class="admin-list-box">
|
|
|
|
|
- <radio-group @change="radioChange">
|
|
|
|
|
- <uni-list-item v-for="item in data.list" class="kh-list-item-box">
|
|
|
|
|
- <template v-slot:body>
|
|
|
|
|
- <view class="kh-select-card">
|
|
|
|
|
- <radio :value="item.id && item.id.toString()" activeBackgroundColor="#3fd2a1"
|
|
|
|
|
- :checked="item.id == data.activeData&&data.activeData.id" />
|
|
|
|
|
- <view class="select-card-body-row">
|
|
|
|
|
- <view class="body-row"><icon class="user-icon"></icon>{{item.realName}}</view>
|
|
|
|
|
- <view class="body-row"><icon class="tel-icon"></icon>{{item.userName}}</view>
|
|
|
|
|
- <view class="body-row" v-if="item.idcard"><icon class="idcard-icon"></icon>{{item.idcard}}</view>
|
|
|
|
|
- </view>
|
|
|
|
|
|
|
+ <scroll-view scroll-y="true" refresher-enabled="true" :refresher-triggered="data.loading"
|
|
|
|
|
+ :refresher-threshold="50" @scrolltolower="onScrolltolower" refresher-background="transparent"
|
|
|
|
|
+ @refresherrefresh="onRefresh">
|
|
|
|
|
+ <uni-list class="kh-scroll-view">
|
|
|
|
|
+ <radio-group @change="radioChange">
|
|
|
|
|
+ <uni-list-item v-for="item in data.list" class="kh-list-item-box">
|
|
|
|
|
+ <template v-slot:body>
|
|
|
|
|
+ <view class="kh-select-card">
|
|
|
|
|
+ <radio :value="item.id && item.id.toString()" activeBackgroundColor="#3fd2a1"
|
|
|
|
|
+ :checked="item.id == data.activeData&&data.activeData.id" />
|
|
|
|
|
+ <view class="select-card-body-row">
|
|
|
|
|
+ <view class="body-row"><icon class="user-icon"></icon>{{item.realName}}</view>
|
|
|
|
|
+ <view class="body-row"><icon class="tel-icon"></icon>{{item.userName}}</view>
|
|
|
|
|
+ <view class="body-row" v-if="item.idcard"><icon class="idcard-icon"></icon>{{item.idcard}}</view>
|
|
|
</view>
|
|
</view>
|
|
|
- </template>
|
|
|
|
|
- </uni-list-item>
|
|
|
|
|
- </radio-group>
|
|
|
|
|
- <uni-load-more :status="data.state" @click="getMore(0)"
|
|
|
|
|
- :contentText="data.contentText"></uni-load-more>
|
|
|
|
|
- </uni-list>
|
|
|
|
|
- </scroll-view>
|
|
|
|
|
- </view>
|
|
|
|
|
- <view>
|
|
|
|
|
- <button @click="handleSelect">选择此客户</button>
|
|
|
|
|
|
|
+ </view>
|
|
|
|
|
+ </template>
|
|
|
|
|
+ </uni-list-item>
|
|
|
|
|
+ </radio-group>
|
|
|
|
|
+ <uni-load-more :status="data.state" @click="getMore(0)"
|
|
|
|
|
+ :contentText="data.contentText"></uni-load-more>
|
|
|
|
|
+ </uni-list>
|
|
|
|
|
+ </scroll-view>
|
|
|
|
|
+ <view class="select-kh-btn-box">
|
|
|
|
|
+ <button @click="handleSelect" type="default" class="phone-green-btn">选择此客户</button>
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
|
</uni-popup>
|
|
</uni-popup>
|