From a68df46561ea9f551576849591afa9ae0caf90a7 Mon Sep 17 00:00:00 2001 From: zhaojs <349234519@qq.com> Date: 星期四, 13 七月 2023 15:50:28 +0800 Subject: [PATCH] no message --- public/html/compareprice.html | 10 ++++++---- 1 files changed, 6 insertions(+), 4 deletions(-) diff --git a/public/html/compareprice.html b/public/html/compareprice.html index b769160..f438d09 100644 --- a/public/html/compareprice.html +++ b/public/html/compareprice.html @@ -28,7 +28,6 @@ { width: 95%; margin: 0 auto; - min-height: 23rem; margin-top: 5.3rem; position:relative; } @@ -104,7 +103,7 @@ width: 100%; text-align: center; margin: 0 auto; - line-height: 6.2rem; + line-height: 1.2rem; color: #a69b9b; font-size: 14px; } @@ -418,7 +417,7 @@ { uni.postMessage({ data: { - action: 'getlike' + action: 'copy' } }) }, @@ -472,7 +471,10 @@ }, }, mounted:function(){ - this.getLikeGoods(); + var that=this; + document.addEventListener('UniAppJSBridgeReady', function() { + that.getLikeGoods(); + }); } }) </script> \ No newline at end of file -- Gitblit v1.9.3