xiaozhen 6 лет назад
Родитель
Сommit
38350ecd3d
1 измененных файлов с 4 добавлено и 4 удалено
  1. 4 4
      pages/credit/buy/_uid.vue

+ 4 - 4
pages/credit/buy/_uid.vue

@@ -69,7 +69,7 @@
           </div>
           <div class="bottomBtn">
             <div class="submit" id="submit" :class="{none: !choosedIdList}" @click="submitBuy">
-              <p>提交</p>
+              <p>立即查询</p>
             </div>
           </div>
         </div>
@@ -219,12 +219,12 @@
             this.orderNum = res.data.data
             this.$message.success('提交成功,正在跳转...')
             const {pathname, host} = location
-            let params = `?product_type=13&product_id=${this.orderNum}&next=${encodeURIComponent(pathname)}`
+            let params = `?product_type=13&product_id=${this.orderNum}&next=${encodeURIComponent('/wo/credit')}`
             if (!this.$deviceType.app) {
               if (host.indexOf('local') === -1) {
-                window.open(`/pay${params}`, '_black')
+                location.href=`/pay${params}`
               } else {
-                window.open(`https://dev.test.proginn.com/pay${params}`, '_black')
+                location.href=`https://dev.test.proginn.com/pay${params}`
               }
             } else {
               console.log('跳转到移动端支付...', url)