From 634c43857f987b6618ac7b3eb84b4bdb06777280 Mon Sep 17 00:00:00 2001
From: zhaojs <349234519@qq.com>
Date: 星期五, 14 七月 2023 11:24:53 +0800
Subject: [PATCH] no message

---
 public/html/compareprice.html |   35 +++++++++++++++++++++++------------
 1 files changed, 23 insertions(+), 12 deletions(-)

diff --git a/public/html/compareprice.html b/public/html/compareprice.html
index f8ad1fc..cf61973 100644
--- a/public/html/compareprice.html
+++ b/public/html/compareprice.html
@@ -119,15 +119,15 @@
         }
         .detail___3ZQFW {
         background-color: #fff;
-        height: 2.2rem;
+        height: 2.6rem;
         border-radius: .16rem;
         padding: .1rem;
         position: relative;
         box-sizing: border-box;
     }
     .picture___r4a1j {
-        height: 2rem;
-        width: 2rem;
+        height: 2.4rem;
+        width: 2.4rem;
         border-radius: .1rem;
         position: absolute;
         left: .1rem;
@@ -137,8 +137,8 @@
         -webkit-justify-content: space-between;
         -ms-flex-pack: justify;
         justify-content: space-between;
-        padding-left: 2.2rem;
-        height: 2rem;
+        padding-left: 2.5rem;
+        
         width: 100%;
         overflow: hidden;
         -webkit-align-items: flex-start;
@@ -161,7 +161,7 @@
         justify-content: flex-start;
         padding: 0;
         margin: 0;
-        height: .4rem;
+        height: .85rem;
         font-size: .28rem;
         font-family: PingFangSC-Regular, PingFang SC;
         font-weight: 400;
@@ -313,6 +313,14 @@
             font-size: .26rem;
             color: #787070;
         }
+        .goodtitle
+        {
+            overflow: hidden;
+            text-overflow: ellipsis;
+            display: -webkit-box;
+            -webkit-line-clamp: 2;
+            -webkit-box-orient: vertical;
+        }
     </style>
 </head>
 
@@ -350,15 +358,17 @@
                                 <div class="choiceInfo___3ZuEa">
                                     <div class="other___2Mv8Q">
                                         <h2>
-                                            <div class="shoplabel___1_Nv0"><img
+                                            <!-- <div class="shoplabel___1_Nv0"><img
                                                     :src="g.labelImg">
-                                            </div>
-                                            <span>{{g.title}}</span></h2>
+                                            </div> -->
+                                            <div class="goodtitle">
+                                                <img class="shoplabel___1_Nv0" :src="g.labelImg">
+                                                {{g.title}}</div></h2>
                                         <div v-if="g.couponPrice" class="coupon___2SVZi" style="float: left; margin-right:10px"><span>鍒�</span>{{g.couponPrice}}鍏�</div>
                                         <div class="coupon___2SVZi" style="background: #A429F3;"><span style="color: #A429F3;">杩�</span>{{g.fanli}}鍏�</div>
                                        
                                     </div>
-                                    <div class="price___dfbCD">楼<span>{{g.actualPrice}}</span><u style="text-decoration:line-through">楼{{g.originalPrice}}</u></div>
+                                    <div class="price___dfbCD">楼<span>{{g.actualPrice}}</span><u v-if="g.sourceType=='tb'||g.sourceType=='tm'" style="text-decoration:line-through">楼{{g.originalPrice}}</u></div>
                                    <!--  <div class="operation___3KazI">
                                         <button>绔嬪嵆璐拱</button>
                                     </div> -->
@@ -454,6 +464,7 @@
                 switch(item.sourceType)
                 {
                     case "tb":
+                    case "tm":
                         uni.navigateTo({
                             url: '/pages/goods/goodsDetail?id=' + item.goodsId+'&frompage=freebuy'
                         });
@@ -525,11 +536,11 @@
             },
         },
         mounted:function(){
-            var postData={
+           /*  var postData={
                 postData:'OAID',
                 deviceValue:''
             };
-            this.likeDataGet(postData);
+            this.likeDataGet(postData); */
             var that=this;
             document.addEventListener('UniAppJSBridgeReady', function() {
                 that.getLikeGoods();

--
Gitblit v1.9.3