From 246772ecc677b15cc9be2fbdd63d50f6216e099f Mon Sep 17 00:00:00 2001
From: ZZJ <zzjdsg2300@163.com>
Date: 星期三, 20 四月 2022 16:18:24 +0800
Subject: [PATCH] 注册登录验证码

---
 src/views/productDetail/components/PayCard.vue |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/src/views/productDetail/components/PayCard.vue b/src/views/productDetail/components/PayCard.vue
index 62b90e0..182540f 100644
--- a/src/views/productDetail/components/PayCard.vue
+++ b/src/views/productDetail/components/PayCard.vue
@@ -300,7 +300,9 @@
 
       <div class="btns">
         <div class="button addCar">鍔犲叆璐墿杞�</div>
-        <div class="button pay" @click="confirmNow">绔嬪嵆璐拱</div>
+        <div class="button pay" @click="confirmNow">
+          {{ data.priceBase ? "绔嬪嵆璐拱" : "鍏嶈垂璇曠敤" }}
+        </div>
       </div>
     </div>
 
@@ -533,6 +535,7 @@
         payMethod: 0,
         products,
         status: 0,
+        userId: JSON.parse(sessionStorage.getItem("userInfo")).id,
       }).then((res) => {
         if (res.success) {
           this.orderId = res.data.orderId;

--
Gitblit v1.8.0