From 7e31af9839333650206aa6c4e747e64a12e8835b Mon Sep 17 00:00:00 2001
From: zhaojs <349234519@qq.com>
Date: 星期二, 27 六月 2023 11:38:18 +0800
Subject: [PATCH] no message

---
 public/html/fengqiangbang.html |   24 ++++++++++++++++++------
 1 files changed, 18 insertions(+), 6 deletions(-)

diff --git a/public/html/fengqiangbang.html b/public/html/fengqiangbang.html
index 8a8bdb4..41a8229 100644
--- a/public/html/fengqiangbang.html
+++ b/public/html/fengqiangbang.html
@@ -29,9 +29,9 @@
         
         var _config = {
             appKey: 'bkuibk',//姝ゅ鏇挎崲鎴愮敤鎴穉ppKey
-            jumpGoodsUrl: function (items) {   //榛樿鐩存帴杞摼
+            jumpGoodsUrl: function (items,sourceType,faction) {   //榛樿鐩存帴杞摼
                 uni.navigateTo({
-                  url: '/pages/goods/goodsDetail?id=' + items.goodsid
+                  url: '/pages/goods/goodsDetail?id=' + items.goodsid+"&sourceType="+sourceType+"&faction="+faction
                 });
               //  return '/pages/goods/goodsDetail?id=' + items.goodsid; //鏇挎崲涓鸿缁嗛〉闈㈢殑鍦板潃
             }
@@ -366,7 +366,7 @@
                                             <span>{{item.dtitle}}</span>
                                         </div>
                                         <div class="lable" style="margin-bottom: 12px;">
-                                            <div class="coupon" style="display: inline-flex;">
+                                            <div v-if="item.quanJine>0" class="coupon" style="display: inline-flex;">
                                                 <span>鍒�</span>{{item.quanJine}}鍏�
                                             </div>
                                             <div style="margin-left:10px;background: linear-gradient(-90deg, #7619EC, #A429F3);" class="coupon" style="display: inline-flex;">
@@ -418,9 +418,9 @@
             ss:0,
             cid:0,
             type:1,
-            posturl:'http://dfg.shop.com',
+            //posturl:'http://dfg.shop.com',
            // posturl:'http://dfgapp.ushopvip.com',
-            //posturl:'http://appapitest.ushopvip.com',
+            posturl:'http://appapitest.ushopvip.com',
             platlist:[
                 {
                     id:"tb",
@@ -447,7 +447,15 @@
         methods:{
             handleCdetailFavorite: function (items) {
                 if(_config.jumpGoodsUrl){
-                    _config.jumpGoodsUrl(items);
+                    var faction='t';
+                    switch(this.platid)
+                    {
+                        case "tb":faction="t";break;
+                        case "jd":faction="j";break;
+                        case "pdd":faction="p";break;
+                        case "dy":faction="d";break;
+                    }
+                    _config.jumpGoodsUrl(items,this.platid,faction);
                 }
                 return;
                 var params = {
@@ -712,6 +720,10 @@
                 })
             },
             imgFomate:function(img){
+                if(this.platid!='tb')
+                {
+                    return img;
+                }
                 if(img.indexOf('http')!='-1'){
                     return img+'_310x310.jpg'
                 }else{

--
Gitblit v1.9.3