From 109286b7fc6b811b6b2a67c21b2caa11a3dc3541 Mon Sep 17 00:00:00 2001 From: hdx Date: Sat, 20 Jan 2024 16:59:24 +0800 Subject: [PATCH] pages/template: rpx to px --- pages/template/drop-card/card/card.uvue | 6 +- pages/template/drop-card/drop-card@old.uvue | 12 +- pages/template/list-news/detail/detail.uvue | 104 +++++++++--------- pages/template/list-news/list-news.uvue | 26 ++--- .../pull-zoom-image/pull-zoom-image.uvue | 4 +- pages/template/schema/schema.uvue | 51 ++++----- .../scroll-fold-nav/scroll-fold-nav.uvue | 2 +- .../template/scroll-sticky/scroll-sticky.uvue | 2 +- pages/template/share/share.uvue | 4 +- .../swiper-vertical-video.uvue | 5 +- 10 files changed, 108 insertions(+), 108 deletions(-) diff --git a/pages/template/drop-card/card/card.uvue b/pages/template/drop-card/card/card.uvue index 9f343c83..1909a4d3 100644 --- a/pages/template/drop-card/card/card.uvue +++ b/pages/template/drop-card/card/card.uvue @@ -209,7 +209,7 @@ position: absolute; top: 0; left: 0; - margin: 0 25rpx; + margin: 0 12px; margin-top: 50px; border-radius: 10px; box-shadow: 0 0 5px rgba(0, 0, 0, 0.1); @@ -225,8 +225,8 @@ } .state { - top: 20rpx; - left: 20rpx; + top: 10px; + left: 10px; width: 650rpx; padding: 4px; position: absolute; diff --git a/pages/template/drop-card/drop-card@old.uvue b/pages/template/drop-card/drop-card@old.uvue index 17a6f3f0..7d74a566 100644 --- a/pages/template/drop-card/drop-card@old.uvue +++ b/pages/template/drop-card/drop-card@old.uvue @@ -112,20 +112,20 @@ width: 700rpx; height: 750rpx; position: absolute; - margin: 0 25rpx; + margin: 0 12px; margin-top: 30px; border-radius: 10px; color: #FFF; box-shadow: 0 0 5px rgba(0, 0, 0, 0.1); } - + .user-img{ border-radius: 10px; } - + .state { - top: 20rpx; - left: 20rpx; + top: 10px; + left: 10px; width: 650rpx; padding: 4px; position: absolute; @@ -141,4 +141,4 @@ border-radius: 100px; box-shadow: 0 0 1px #EBEBEB; } - \ No newline at end of file + diff --git a/pages/template/list-news/detail/detail.uvue b/pages/template/list-news/detail/detail.uvue index 1a7fb542..9f160926 100644 --- a/pages/template/list-news/detail/detail.uvue +++ b/pages/template/list-news/detail/detail.uvue @@ -1,75 +1,75 @@ diff --git a/pages/template/list-news/list-news.uvue b/pages/template/list-news/list-news.uvue index 146ce780..eeff9dd2 100644 --- a/pages/template/list-news/list-news.uvue +++ b/pages/template/list-news/list-news.uvue @@ -148,7 +148,7 @@ diff --git a/pages/template/pull-zoom-image/pull-zoom-image.uvue b/pages/template/pull-zoom-image/pull-zoom-image.uvue index bca3b7a7..6fe58d34 100644 --- a/pages/template/pull-zoom-image/pull-zoom-image.uvue +++ b/pages/template/pull-zoom-image/pull-zoom-image.uvue @@ -127,8 +127,8 @@ } .user-info .user-avatar { - width: 150rpx; - height: 150rpx; + width: 75px; + height: 75px; border-radius: 100px; border: 3px solid #FFF; } diff --git a/pages/template/schema/schema.uvue b/pages/template/schema/schema.uvue index 53807045..192f093b 100644 --- a/pages/template/schema/schema.uvue +++ b/pages/template/schema/schema.uvue @@ -1,35 +1,36 @@ diff --git a/pages/template/scroll-fold-nav/scroll-fold-nav.uvue b/pages/template/scroll-fold-nav/scroll-fold-nav.uvue index 51095955..9538ac1c 100644 --- a/pages/template/scroll-fold-nav/scroll-fold-nav.uvue +++ b/pages/template/scroll-fold-nav/scroll-fold-nav.uvue @@ -185,7 +185,7 @@ border: 1px solid #fbdf0d; height: 35px; border-radius: 100px; - margin: 0 25rpx; + margin: 0 12px; padding: 8px; flex-direction: row; align-items: center; diff --git a/pages/template/scroll-sticky/scroll-sticky.uvue b/pages/template/scroll-sticky/scroll-sticky.uvue index da24f81e..f09ff9b5 100644 --- a/pages/template/scroll-sticky/scroll-sticky.uvue +++ b/pages/template/scroll-sticky/scroll-sticky.uvue @@ -104,7 +104,7 @@ border: 1px solid #fbdf0d; height: 35px; border-radius: 100px; - margin: 0 25rpx; + margin: 0 12px; padding: 8px; flex-direction: row; align-items: center; diff --git a/pages/template/share/share.uvue b/pages/template/share/share.uvue index 7b95599a..aa3cb212 100644 --- a/pages/template/share/share.uvue +++ b/pages/template/share/share.uvue @@ -7,7 +7,7 @@