|
@@ -2,6 +2,7 @@
|
|
|
<view class="app-select_user">
|
|
<view class="app-select_user">
|
|
|
<view class="title">请选客户</view>
|
|
<view class="title">请选客户</view>
|
|
|
<view class="app-userList_box">
|
|
<view class="app-userList_box">
|
|
|
|
|
+ <view class="fast-kd" @click.stop="fastKd()">快捷开单</view>
|
|
|
<view :key="item.id" @click="selectCustomer(item)" class="userList-item_box" v-for="item in list">
|
|
<view :key="item.id" @click="selectCustomer(item)" class="userList-item_box" v-for="item in list">
|
|
|
<view class="head-box">
|
|
<view class="head-box">
|
|
|
<view class="name">{{item.name}}</view>
|
|
<view class="name">{{item.name}}</view>
|
|
@@ -36,6 +37,9 @@ export default {
|
|
|
this.activeKeyboard();
|
|
this.activeKeyboard();
|
|
|
},
|
|
},
|
|
|
methods: {
|
|
methods: {
|
|
|
|
|
+ fastKd(){
|
|
|
|
|
+ this.$emit('fastKd')
|
|
|
|
|
+ },
|
|
|
selectCustomer(info){
|
|
selectCustomer(info){
|
|
|
this.$util.hitVoice()
|
|
this.$util.hitVoice()
|
|
|
this.$emit('selectCustomer',info)
|
|
this.$emit('selectCustomer',info)
|
|
@@ -87,11 +91,24 @@ export default {
|
|
|
margin-left:5upx;
|
|
margin-left:5upx;
|
|
|
}
|
|
}
|
|
|
& .app-userList_box {
|
|
& .app-userList_box {
|
|
|
|
|
+ position:relative;
|
|
|
padding: 5upx;
|
|
padding: 5upx;
|
|
|
display: flex;
|
|
display: flex;
|
|
|
flex-wrap: wrap;
|
|
flex-wrap: wrap;
|
|
|
min-height: 130upx;
|
|
min-height: 130upx;
|
|
|
overflow-y: scroll;
|
|
overflow-y: scroll;
|
|
|
|
|
+ .fast-kd{
|
|
|
|
|
+ font-size:28upx;
|
|
|
|
|
+ width:150upx;
|
|
|
|
|
+ padding:30upx 0 30upx 0;
|
|
|
|
|
+ position:absolute;
|
|
|
|
|
+ top:20upx;
|
|
|
|
|
+ right:10upx;
|
|
|
|
|
+ background-color:green;
|
|
|
|
|
+ color:white;
|
|
|
|
|
+ border-radius:20upx;
|
|
|
|
|
+ text-align:center;
|
|
|
|
|
+ }
|
|
|
& .userList-item_box {
|
|
& .userList-item_box {
|
|
|
margin: 0 5upx 5upx 0;
|
|
margin: 0 5upx 5upx 0;
|
|
|
width: 95upx;
|
|
width: 95upx;
|