shish 2 年 前
コミット
ca77d3f27a
1 ファイル変更22 行追加5 行削除
  1. 22 5
      ghsPad/src/pages/home/components/customerList.vue

+ 22 - 5
ghsPad/src/pages/home/components/customerList.vue

@@ -2,15 +2,32 @@
   <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">
+<block v-for="(item,index) in list" :key="item.id">
+  <block v-if="index == 6">
+      <view class="userList-item_box" @click.stop="fastKd()" 
+      style="background-color:green;border:1upx solid green;text-align:center;">
         <view class="head-box">
         <view class="head-box">
-          <view class="name">{{item.name}}</view>
+          <view class="name" style="color:white;font-size:20upx;font-weight:bold;">快捷开单</view>
         </view>
         </view>
-        <view class="footer-box">
-          <view style="padding-left:3upx;"> {{item.debtAmount && Number(item.debtAmount)>0 ? '-¥'+parseFloat(item.debtAmount) : '-'}} </view>
+      </view>
+  </block>
+  <view @click="selectCustomer(item)" class="userList-item_box" >
+    <view class="head-box">
+      <view class="name">{{item.name}}</view>
+    </view>
+    <view class="footer-box">
+      <view style="padding-left:3upx;"> {{item.debtAmount && Number(item.debtAmount)>0 ? '-¥'+parseFloat(item.debtAmount) : '-'}} </view>
+    </view>
+  </view>
+</block>
+
+      <view class="userList-item_box" @click.stop="fastKd()" 
+      style="background-color:green;border:1upx solid green;text-align:center;">
+        <view class="head-box">
+          <view class="name" style="color:white;font-size:20upx;font-weight:bold;">快捷开单</view>
         </view>
         </view>
       </view>
       </view>
+
     </view>
     </view>
     <input disabled class="input-serach_box" style="margin-bottom:5upx;" v-model="searchUser" type="text" @change="changSearch" placeholder-class="input-placeholder" placeholder="请输入"/>
     <input disabled class="input-serach_box" style="margin-bottom:5upx;" v-model="searchUser" type="text" @change="changSearch" placeholder-class="input-placeholder" placeholder="请输入"/>
     <view class="keyboard-body_box">
     <view class="keyboard-body_box">