From 11c38d9f8c8cac85bdd8a2cb62ab7bd083bead29 Mon Sep 17 00:00:00 2001 From: zhaojs <349234519@qq.com> Date: 星期二, 18 七月 2023 14:52:09 +0800 Subject: [PATCH] no message --- public/html/compareprice.html | 16 +++++++++------- 1 files changed, 9 insertions(+), 7 deletions(-) diff --git a/public/html/compareprice.html b/public/html/compareprice.html index ea42dd4..432078c 100644 --- a/public/html/compareprice.html +++ b/public/html/compareprice.html @@ -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 onkeydown="onTextareaKeyDown()" 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> --> @@ -409,7 +414,8 @@ { if (event.keyCode == 13) { - app.onTextareaKeyDown(); + app.search(); + document.activeElement.blur(); } } @@ -432,10 +438,6 @@ txtplaceholder:'1銆佹敮鎸佹窐瀹濄�佸ぉ鐚�佷含涓溿�佹姈闊炽�佹嫾澶氬绛夊钩鍙癨r\n2銆佽绮樿创鎮ㄩ渶瑕佽浆鎹㈢殑鍒嗕韩鏂囨/閾炬帴鍜屽彛浠�/鍟嗗搧閾炬帴;涓嶆敮鎸佸埜閾炬帴' }, methods:{ - onTextareaKeyDown:function(event) - { - alert('浣犵偣鍑讳簡鍥炶溅閿�') - }, //鏌ヨ search:function() { -- Gitblit v1.9.3