From 34c57c119f7eb4118a02b1b7168fe394fec716be Mon Sep 17 00:00:00 2001 From: 南骏 池 <chiffly@163.com> Date: 星期一, 17 三月 2025 09:31:28 +0800 Subject: [PATCH] 1.样式调整,不同分辨率的大小字体 --- Images/Style.css | 72 +++++++++++++++++++++++++++++++++--- 1 files changed, 66 insertions(+), 6 deletions(-) diff --git a/Images/Style.css b/Images/Style.css index 384d48f..8372892 100644 --- a/Images/Style.css +++ b/Images/Style.css @@ -4,7 +4,7 @@ font-family: Microsoft YaHei,Helvitica,Verdana,Arial,san-serif; padding: 0px; margin: 0px; - + /*font-family: '寰蒋闆呴粦', 'Microsoft YaHei', sans-serif;*/ } a, a:hover { @@ -325,7 +325,11 @@ .van-tab-left .van-tab { -webkit-justify-content: left !important; - justify-content: left !important; + justify-content: left !important +} + +.van-tab { + font-size: .2733rem; } .mySolid .van-cell::after { @@ -348,10 +352,28 @@ padding: .030rem .1000rem; overflow: hidden; color: #323233; - font-size: .3733rem; - line-height: .64rem; + font-size: .28rem; + line-height: .45rem; background-color: #fff; align-items: center; /* 鍨傜洿灞呬腑瀵归綈 */ +} + +/* 褰撳睆骞曞搴﹀皬浜庢垨绛変簬600px鏃跺簲鐢ㄧ殑鏍峰紡 */ +@media (max-width: 600px) { + .van-cell { + font-size: .33rem; /* 鏇村皬鐨勫瓧浣撳ぇ灏� */ + line-height: .50rem; + padding: .020rem .0800rem; /* 鏇村皬鐨勫唴杈硅窛 */ + } +} + +/* 褰撳睆骞曞搴﹀ぇ浜�600px涓斿皬浜庢垨绛変簬1024px鏃跺簲鐢ㄧ殑鏍峰紡 */ +@media (min-width: 601px) and (max-width: 1600px) { + .van-cell { + font-size: .28rem; /* 涓瓑瀛椾綋澶у皬 */ + line-height: .45rem; + padding: .025rem .0900rem; /* 涓瓑鍐呰竟璺� */ + } } .van-button--small { @@ -387,13 +409,12 @@ transition: opacity 0.2s; -webkit-appearance: none; white-space: nowrap; /* 闃叉鏂囧瓧鎹㈣ */ - font-size: .32rem; + font-size: .28rem; } /* 鎸夐挳闀垮害鏍规嵁鍐呭鑷�傚簲 */ .van-button { min-width: fit-content; /* 鎸夐挳瀹藉害鏍规嵁鍐呭鑷姩璋冩暣 */ - padding: 0.2rem 0.4rem; /* 淇濈暀閫傚綋鐨勫唴杈硅窛 */ } @@ -444,4 +465,43 @@ .blue-text { color: #1989fa; /* 璁剧疆瀛椾綋棰滆壊涓鸿摑鑹� */ font-weight: bold; /* 瀛椾綋鍔犵矖 */ +} + + +.van-nav-bar__title { + max-width: 60%; + margin: 0 auto; + color: #323233; + font-weight: 500; + font-size: .33rem; +} + +/*琛ㄥご楂樺害 2025-03-13 姹犲崡楠忔柊澧�*/ +.van-nav-bar__content { + height: 0.9rem; +} + +/* 琛ㄥ崟瀛楁鍒嗛殧绾� 棰滆壊娣′竴浜� */ +.van-cell-group .van-cell:not(:last-child)::after { + border-bottom: 1px solid #eee !important; + left: 0; + right: 0; +} +/* 琛ㄤ綋tab瀛楁鍒嗛殧绾� 棰滆壊娣′竴浜� */ +.mySolid .van-row { + border-bottom: .00267rem solid #b1b1b1; +} + +/* 璁剧疆琛ㄥご鐨勮緭鍏ユ姣斾緥 */ +.van-field__label { + flex-basis: 25%; +} + +/* 鍏ㄥ眬鏍峰紡浼樺寲 */ +.content-wrapper { + margin: 8px; + background: #f8f9fa; + border-radius: 8px; + padding: 3px; + box-shadow: 0 2px 4px rgba(0,0,0,0.05); } \ No newline at end of file -- Gitblit v1.9.3