From 19804e37592d2250c551fcf5df1d87cdf551f1d1 Mon Sep 17 00:00:00 2001 From: zuoxiao <470321431@qq.com> Date: 星期一, 12 八月 2024 09:06:39 +0800 Subject: [PATCH] 添加识别二维码切换地址的功能 --- pages/home/home.wxss | 41 +++++++++++++++++++++++++++++++++++++---- 1 files changed, 37 insertions(+), 4 deletions(-) diff --git a/pages/home/home.wxss b/pages/home/home.wxss index ccf84a2..0a918b8 100644 --- a/pages/home/home.wxss +++ b/pages/home/home.wxss @@ -217,9 +217,14 @@ padding-left: 25rpx; padding-right: 25rpx; padding-top: 15rpx; + display: flex; + align-items: center; + justify-content: center; padding-bottom: 15rpx; } - +.refresh-button:active{ + background-color: #7c7c7c; /* Change to a darker color when pressed */ +} .refresh-view { text-align: center; padding: 30rpx; @@ -311,13 +316,41 @@ justify-content: center; } +.item-button:active { + background-color: #7c7c7c; /* Change to a darker color when pressed */ +} + .divider { width: 100%; margin-top: 2rpx; /* background-color: #e0e0e0; */ } -.error-dialog{ - --td-dialog-title-color:red; - --td-dialog-title-font-size:40rpx; + +.error-dialog { + --td-dialog-title-color: red; + --td-dialog-title-font-size: 40rpx; +} + +.scen-view { + position: absolute; + /* 娣诲姞杩欒 */ + top: 15rpx; + /* 鏍规嵁闇�瑕佽皟鏁磋窛绂婚《閮ㄧ殑璺濈 */ + right: 30rpx; + /* 鏍规嵁闇�瑕佽皟鏁磋窛绂诲彸渚х殑璺濈 */ + display: flex; + align-items: center; + /* 鍨傜洿鏂瑰悜灞呬腑 */ + justify-content: space-between; +} + +.scen-code { + width: 40rpx; + height: 40rpx; +} + +.scen-view text { + font-size: 30rpx; + color: #ffffff; } \ No newline at end of file -- Gitblit v1.8.0