From 556464a10ec5f3946b738080428a848154d5b780 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 | 39 +++++++++++++++++++++++++++++++-------- 1 files changed, 31 insertions(+), 8 deletions(-) diff --git a/pages/home/home.wxss b/pages/home/home.wxss index ee43aa4..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,6 +316,10 @@ justify-content: center; } +.item-button:active { + background-color: #7c7c7c; /* Change to a darker color when pressed */ +} + .divider { width: 100%; margin-top: 2rpx; @@ -318,16 +327,30 @@ } -.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-code{ +.scen-view { + position: absolute; + /* 娣诲姞杩欒 */ + top: 15rpx; + /* 鏍规嵁闇�瑕佽皟鏁磋窛绂婚《閮ㄧ殑璺濈 */ + right: 30rpx; + /* 鏍规嵁闇�瑕佽皟鏁磋窛绂诲彸渚х殑璺濈 */ + display: flex; + align-items: center; + /* 鍨傜洿鏂瑰悜灞呬腑 */ + justify-content: space-between; +} + +.scen-code { width: 40rpx; height: 40rpx; - position: absolute; /* 娣诲姞杩欒 */ - top: 15rpx; /* 鏍规嵁闇�瑕佽皟鏁磋窛绂婚《閮ㄧ殑璺濈 */ - right: 30rpx; /* 鏍规嵁闇�瑕佽皟鏁磋窛绂诲彸渚х殑璺濈 */ +} +.scen-view text { + font-size: 30rpx; + color: #ffffff; } \ No newline at end of file -- Gitblit v1.8.0