From b7db466328504cf7661d828d9c04b44677298278 Mon Sep 17 00:00:00 2001 From: YOGO <1587218160@qq.com> Date: Fri, 3 Apr 2026 17:31:02 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A1=BA=E4=B8=B0H5=E6=8F=90=E4=BA=A4=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- App.vue | 7 +- index.html | 2 +- manifest.json | 2 +- pages/index/index.vue | 193 ++++++++++++++++++++++++-------- pages/site/index.vue | 7 +- pages/unlock/index.vue | 12 +- pagesb/validationInfo/index.vue | 7 +- utils/common.js | 26 ++++- 8 files changed, 194 insertions(+), 62 deletions(-) diff --git a/App.vue b/App.vue index 1c1446a..0cdc456 100644 --- a/App.vue +++ b/App.vue @@ -86,7 +86,12 @@ export default { this.globalData.statusBarHeight = statusBarHeight || 20; // #endif // authCode url 存在 就直接登陆 + console.log(window.location.href,"window.location.href") const authCode = getQueryParam('authCode'); + const sfId = getQueryParam('sfId'); + if(sfId) { + uni.setStorageSync("sfId", sfId); + } if(authCode){ let source = window.sf.isSfApp() ? 2 : 1; getApi.ShunFengLogin({ @@ -207,7 +212,7 @@ text { .uni-tabbar__label { color: #000; font-size: 24rpx !important; - margin-top: 12rpx; + margin-top: 4rpx; } .uni-tabbar__item.call-phone-item { diff --git a/index.html b/index.html index 31d5acc..d17d717 100644 --- a/index.html +++ b/index.html @@ -12,7 +12,7 @@ - + @@ -1229,32 +1276,60 @@ function changeMove(event) { color: #FFFFFF; .left { - color: #E9CBA1; + color: #E9CBA1; + display: flex; + align-items: center; + font-size: 38rpx; + .price { + font-size: 38rpx; + &::first-letter{ + font-size: 30rpx; + } + + &.overMaxFont{ + font-size: 30rpx; + &::first-letter{ + font-size: 28rpx; + font-weight: normal; + } + } + } + .detail { display: flex; align-items: center; - font-size: 38rpx; - .price { - &.overMaxFont{ - font-size: 32rpx; - } - } - - .detail { - display: flex; - align-items: center; - margin-left: 16rpx; - color: #FFFFFF; - font-size: 28rpx; - .overMaxFont{ - font-size: 24rpx; - } - image { - margin-left: 10rpx; - transform: rotate(180deg); - } - } - + color: #d0d1d2; + margin-left: 16rpx; + font-size: 28rpx; + font-weight: normal; + // .overMaxFont{ + // font-size: 24rpx; + // } + .detail1{ + font-size: 28rpx; } + .detail2{ + padding-left: 10rpx; + font-size: 26rpx; + display: flex; + align-items: center; + // border-left:1px solid #4a4d51; + &::before{ + content: ''; + display: block; + width: 1px; + height: 30rpx; + border-radius: 50%; + background-color: #4a4d51; + margin-right: 10rpx; + } + } + image{ + margin-left: 10rpx; + transform: rotate(180deg); + } + } + + } .right { display: flex; @@ -1447,7 +1522,7 @@ function changeMove(event) { display: flex; width: 100%; padding-bottom: 16rpx; - padding-left: 40rpx; + padding-left: 36rpx; .check-wrap { pointer-events: none; @@ -1540,21 +1615,51 @@ function changeMove(event) { align-items: center; font-size: 38rpx; .price { + font-size: 38rpx; + &::first-letter{ + font-size: 30rpx; + } + &.overMaxFont{ - font-size: 32rpx; + font-size: 30rpx; + &::first-letter{ + font-size: 28rpx; + font-weight: normal; + } } } .detail { display: flex; align-items: center; - color: #FFFFFF; + color: #d0d1d2; margin-left: 16rpx; font-size: 28rpx; - .overMaxFont{ - font-size: 24rpx; + font-weight: normal; + // .overMaxFont{ + // font-size: 24rpx; + // } + .detail1{ + font-size: 28rpx; + } + .detail2{ + padding-left: 10rpx; + font-size: 26rpx; + display: flex; + align-items: center; + // border-left:1px solid #4a4d51; + &::before{ + content: ''; + display: block; + width: 1px; + height: 30rpx; + border-radius: 50%; + background-color: #4a4d51; + margin-right: 10rpx; + } } image{ margin-left: 10rpx; + transform: rotate(180deg); } } diff --git a/pages/site/index.vue b/pages/site/index.vue index b049cc0..16b2432 100644 --- a/pages/site/index.vue +++ b/pages/site/index.vue @@ -122,7 +122,7 @@ onLoad((params) => { const getCityData = () => { getApi.GetCityAll().then(res => { if(res.code === 200) { - state.value.cityData = res.data; + state.value.cityData = res.data.filter(item=>item.indexOf("广州") !== -1); state.value.cityData.unshift("全部"); // 首次直接选择全部 state.value.city = state.value.cityData[0]; @@ -161,7 +161,7 @@ const getCityData = () => { district, }).then(res => { if (res.code === 200) { - siteData.list = mergeFiveGoatStores(res.data); + siteData.list = mergeFiveGoatStores(res.data.filter(item => !item.isSoldOut && item.city.indexOf("广州") !== -1)); if (locationState?.latitude && locationState?.longitude) { const { latitude, longitude } = locationState; siteData.list.forEach(item => { @@ -205,6 +205,9 @@ onShow(() => { height: 100vh; padding-bottom: 100rpx; position: relative; + .content{ + padding-bottom: 200rpx; + } } .selectSite { diff --git a/pages/unlock/index.vue b/pages/unlock/index.vue index 04f61ba..5471fa7 100644 --- a/pages/unlock/index.vue +++ b/pages/unlock/index.vue @@ -1,6 +1,6 @@