From 611b2857788451a499bd6dd8cbf8038c03d4654c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B2=A9=E4=BB=9488?= <> Date: Wed, 8 Jul 2026 22:15:11 +0800 Subject: [PATCH] =?UTF-8?q?Revert=20"=E8=B0=83=E6=95=B4=E5=8F=B7=E6=BA=90?= =?UTF-8?q?=E5=88=97=E8=A1=A8=E6=A0=B7=E5=BC=8F"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit ed0542f8b9848269c5121953b0c90960add9b511. --- h5/common/WeeklyCalendar.vue | 52 +++++++++++++++++++++--------------- h5/config.js | 4 +-- 2 files changed, 33 insertions(+), 23 deletions(-) diff --git a/h5/common/WeeklyCalendar.vue b/h5/common/WeeklyCalendar.vue index cb384b4..c0c8fb0 100644 --- a/h5/common/WeeklyCalendar.vue +++ b/h5/common/WeeklyCalendar.vue @@ -20,7 +20,7 @@ - {{item.time.substring(0, 5)}} + {{item.time.substring(0, 5)}} @@ -170,6 +170,11 @@ /* background-color: #239EA3; */ color: #008F96 !important; } + .selectedtime{ + background-color: #239EA3; + color: #fff !important; + } + .zhou_title { font-size: 28rpx; margin-top: 6rpx; @@ -221,32 +226,37 @@ } .timelist { - display: grid; - grid-template-columns: repeat(6, 1fr); - grid-row-gap: 30px; - column-gap: 0; - margin-top: 30px; + display: flex; + flex-wrap: wrap; + justify-content: space-between; + justify-content: flex-start; + } + + .timelist::after { + content: ''; + flex: auto; + /* 或者 flex: 1; */ } .time { - width: 100%; - height: 30px; - line-height: 30px; + font-size: 28rpx; + text-align: center; - border-radius: 7px; - font-size: 15px; - color: #239ea3; - font-weight: 600; - box-sizing: border-box; - } + margin-top: 40rpx; + border-radius: 14rpx; + padding: 10rpx 16rpx; + flex: 0 0 calc(16.3% - 32rpx); + /* 假设一行有4个项目,减去想要的间隔 */ + + /* 设置右侧边距 */ + color: #008F96; - .selectedtime { - background-color: #239ea3; - color: #fff !important; } - .used { - color: #a5a5a5; - font-weight: normal; + .time:nth-child(6n) { + margin-right: 0; + } + .used{ + color:#B5B5B6; } \ No newline at end of file diff --git a/h5/config.js b/h5/config.js index 0343f3d..f98386b 100644 --- a/h5/config.js +++ b/h5/config.js @@ -1,7 +1,7 @@ const app_type = 'gzh' //const base_url = "https://api.hainan2024.sa0.online" //开发环境 -//const base_url="https://tj-h5.hnxdfe.com" //正式环境 -const base_url="http://124.225.137.54:39081" //测试环境 +const base_url="https://tj-h5.hnxdfe.com" //正式环境 +//const base_url="http://124.225.137.54:39081" //测试环境 const config = { api_map_url: base_url + '/api/ApiMap/h5', base_assets_url: base_url,