mobile/pages/product/list/list.vue
@@ -74,8 +74,11 @@
                        <view class="shop_body_t_item_info_others_sales">累计成交:{{item.product_sales}}笔</view>
                     </view> -->
                     <view class="shop_body_t_item_info_price">
                        <view class="f20 redF6">¥<text class="f32">{{item.product_price}}</text></view>
                        <view class="f20 huaxianjia">¥<text class="24">{{item.line_price}}</text></view>
                        <view class="f20 redF6" v-if="item.is_price_negotiable">价格面议</view>
                        <template v-else>
                           <view class="f20 redF6">¥<text class="f32">{{item.product_price}}</text></view>
                           <view class="f20 huaxianjia">¥<text class="24">{{item.line_price}}</text></view>
                        </template>
                     </view>
                     <!-- 购物车操作组件 -->
                     <view class="cart-action">
@@ -213,9 +216,6 @@
            selectedProduct: null,
            selectedSpecs: [],
            quantity: 1,
            page: 1,
            last_page: 1,
            category_id: 0,
         };
      },
      computed: {
@@ -404,6 +404,31 @@
            }
         },
         // 处理列表项购物车操作
         handleListItemCartAction(product, index) {
            // 如果是价格面议商品,提示联系客服
            if (product.is_price_negotiable) {
               uni.showModal({
                  title: '温馨提示',
                  content: '该商品为价格面议商品,请联系客服咨询具体价格',
                  confirmText: '联系客服',
                  cancelText: '取消',
                  success: (res) => {
                     if (res.confirm) {
                        // 这里可以跳转到客服页面或显示联系方式
                        uni.showToast({
                           title: '请联系客服咨询',
                           icon: 'none'
                        });
                     }
                  }
               });
            } else {
               // 非价格面议商品,正常添加到购物车
               this.directlyAddToCart(product, index);
            }
         },
         // 添加到购物车(单规格商品)
         addToCart(product, index) {
            this.directlyAddToCart(product, index);