From e6444de0c88fc82f433d81d13f53e826b1e873de Mon Sep 17 00:00:00 2001
From: zhaojs <349234519@qq.com>
Date: 星期二, 18 七月 2023 15:01:41 +0800
Subject: [PATCH] no message

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

diff --git a/public/html/compareprice.html b/public/html/compareprice.html
index cf61973..432078c 100644
--- a/public/html/compareprice.html
+++ b/public/html/compareprice.html
@@ -203,7 +203,7 @@
     }
 
     .coupon___2SVZi {
-        margin-top: 6px;
+        margin-top: 3px;
         height: .28rem;
         background: linear-gradient(
                 90deg, #ff8873, #ff4f4f);
@@ -321,6 +321,11 @@
             -webkit-line-clamp: 2;
             -webkit-box-orient: vertical;
         }
+        .price_font
+        {
+            font-size: .26rem;
+            color: #787070;
+        }
     </style>
 </head>
 
@@ -335,7 +340,7 @@
                         娓呯┖
                     </div>
                     <div class="content-txtarea">
-                        <textarea class="txtarea" v-model="txtareatxt" :placeholder='txtplaceholder'></textarea>
+                        <textarea enterkeyhint="search" onkeydown="onTextareaKeyDown()" class="txtarea" v-model="txtareatxt" :placeholder='txtplaceholder'></textarea>
                         <span class="copytxt" v-on:click="fromcopy()">绮樿创</span>
                     </div>
                     <div class="mid-button-content">
@@ -368,7 +373,7 @@
                                         <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 v-if="g.sourceType=='tb'||g.sourceType=='tm'" style="text-decoration:line-through">楼{{g.originalPrice}}</u></div>
+                                    <div class="price___dfbCD"><span class="price_font" style="font-size: .26rem; font-weight: 500;">鍒版墜浠�</span><span style="padding: 0;">楼</span><span style="padding: 0 .08rem 0 0;">{{(g.actualPrice-g.fanli).toFixed(2)}}</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> -->
@@ -403,6 +408,16 @@
     function likeDataGet(data)
     {
         app.likeDataGet(data);
+    }
+
+    function onTextareaKeyDown()
+    {
+        if (event.keyCode == 13)
+        {
+            app.search();
+            document.activeElement.blur();
+        }
+       
     }
     Vue.use(VueLazyload, {
         preLoad: 1.3,//
@@ -466,7 +481,7 @@
                     case "tb":
                     case "tm":
                         uni.navigateTo({
-                            url: '/pages/goods/goodsDetail?id=' + item.goodsId+'&frompage=freebuy'
+                            url: '/pages/goods/goodsDetail?id=' + item.goodsId+'&frompage=compareprice'
                         });
                         break;
                     default:

--
Gitblit v1.9.3