Bläddra i källkod

feature_20250910_建议订单跳转购物车

zhujindu 2 månader sedan
förälder
incheckning
37a1792a36
1 ändrade filer med 34 tillägg och 19 borttagningar
  1. 34 19
      src/views/deviceWithin/index.vue

+ 34 - 19
src/views/deviceWithin/index.vue

@@ -348,22 +348,21 @@
           <div class="btnbox">
             <van-row>
               <van-col
-                span="6"
+                span="4"
                 v-if="item.stateString != '已拜访' && item.visitAble && customerVisits"
                 @click="storeVisit(item)">
-                <img :src="call" style="margin: 0 auto; height: 18px; display: block" />
-                <p style="text-align: center; margin: 0">进入拜访</p>
+                <img :src="call" style="margin: 0 auto; height: 15px; display: block" />
+                <p style="text-align: center; margin: 0; font-size: 12px">进入拜访</p>
               </van-col>
               <van-col
-                span="6"
+                span="4"
                 v-if="item.storeCategory == '公装经销商'"
                 @click="projectOutVisit(item)">
-                <img :src="xmgj" style="margin: 0 auto; height: 18px; display: block" />
-                <p style="text-align: center; margin: 0">项目跟进</p>
-                <!--                  <van-button type="info" size="small" plain  class="centerBtn" @click="signAdd(item)">大客户签约</van-button>-->
+                <img :src="xmgj" style="margin: 0 auto; height: 15px; display: block" />
+                <p style="text-align: center; margin: 0; font-size: 12px">项目跟进</p>
               </van-col>
               <van-col
-                span="6"
+                span="4"
                 v-if="
                   item.stateString != '已拜访' &&
                   item.visitAble &&
@@ -371,20 +370,36 @@
                   customerVisits
                 "
                 @click="abnormalVisit(item)">
-                <img :src="yichang" style="margin: 0 auto; height: 18px; display: block" />
-                <p style="text-align: center; margin: 0; margin-top: 1px">异常拜访</p>
+                <img :src="yichang" style="margin: 0 auto; height: 15px; display: block" />
+                <p style="text-align: center; margin: 0; margin-top: 1px; font-size: 12px">
+                  异常拜访
+                </p>
               </van-col>
-              <van-col span="6" v-if="item.showOrderButton" @click="orderFn(item)">
-                <img :src="xiadan" style="margin: 0 auto; height: 18px; display: block" />
-                <p style="text-align: center; margin: 0; margin-top: 1px">去下单</p>
+              <van-col span="4" v-if="item.storeLabels.zysslNums !== false" @click="linkList(item)">
+                <img
+                  :src="require('@/assets/recommendicon.png')"
+                  style="margin: 0 auto; height: 15px; display: block" />
+                <p style="text-align: center; margin: 0; margin-top: 1px; font-size: 12px">
+                  推荐下单
+                </p>
+              </van-col>
+              <van-col span="4" v-if="item.showOrderButton" @click="orderFn(item)">
+                <img :src="xiadan" style="margin: 0 auto; height: 15px; display: block" />
+                <p style="text-align: center; margin: 0; margin-top: 1px; font-size: 12px">
+                  去下单
+                </p>
               </van-col>
-              <van-col span="6" v-if="item.stateString == '已拜访'" @click="Visit(item)">
-                <img :src="bfxx" style="margin: 0 auto; height: 18px; display: block" />
-                <p style="text-align: center; margin: 0; margin-top: 1px">拜访信息</p>
+              <van-col span="4" v-if="item.stateString == '已拜访'" @click="Visit(item)">
+                <img :src="bfxx" style="margin: 0 auto; height: 15px; display: block" />
+                <p style="text-align: center; margin: 0; margin-top: 1px; font-size: 12px">
+                  拜访信息
+                </p>
               </van-col>
-              <van-col span="6" @click="visitFn(item)">
-                <img :src="kehuxinxi" style="margin: 0 auto; height: 18px; display: block" />
-                <p style="text-align: center; margin: 0; margin-top: 1px">客户信息</p>
+              <van-col span="4" @click="visitFn(item)">
+                <img :src="kehuxinxi" style="margin: 0 auto; height: 15px; display: block" />
+                <p style="text-align: center; margin: 0; margin-top: 1px; font-size: 12px">
+                  客户信息
+                </p>
               </van-col>
             </van-row>
           </div>