diff --git a/components/choiceness/choiceness.vue b/components/choiceness/choiceness.vue index fb54c65..f743808 100644 --- a/components/choiceness/choiceness.vue +++ b/components/choiceness/choiceness.vue @@ -2,7 +2,7 @@ - 为您精选 + 热门商品 diff --git a/components/shop/parity-product-item.vue b/components/shop/parity-product-item.vue index 00ae32b..fb2b188 100644 --- a/components/shop/parity-product-item.vue +++ b/components/shop/parity-product-item.vue @@ -64,7 +64,7 @@ {{ obj.buyDeductionValue }}数字积分 +{{ obj.price }}元 - 兑换 + 兑换 diff --git a/manifest.json b/manifest.json index faac7b1..c66dacc 100644 --- a/manifest.json +++ b/manifest.json @@ -2,8 +2,8 @@ "name" : "信任桥", "appid" : "__UNI__4910728", "description" : "信任桥优品是一款集线上商城、线下联盟商家的DAO聚合商城;通过“有趣”“有利”“有希望”的卖货玩法,吸引消费者、推广者、商家、投资人参与生态,共同打造共创共享的全球产业生态。", - "versionName" : "1.0.5", - "versionCode" : 172, + "versionName" : "1.0.6", + "versionCode" : 173, "transformPx" : false, /* 5+App特有相关 */ "app-plus" : { diff --git a/pages.json b/pages.json index 802e95c..06ef73f 100644 --- a/pages.json +++ b/pages.json @@ -535,8 +535,10 @@ "path": "login/login", "style": { "navigationStyle": "custom", + "disableScroll": true, "app-plus": { - "softinputMode": "adjustResize" + "softinputMode": "adjustResize", + "bounce": "none" } } }, diff --git a/pages/active/super-subsidy/super-subsidy.vue b/pages/active/super-subsidy/super-subsidy.vue index 0ceb8c8..b0ac6d7 100644 --- a/pages/active/super-subsidy/super-subsidy.vue +++ b/pages/active/super-subsidy/super-subsidy.vue @@ -8,7 +8,7 @@ {{ currentNum + 1 }}/{{ swiperList.length }} - + @@ -18,16 +18,16 @@ - + {{ item.name }} - + - @@ -276,26 +276,24 @@ export default { width: 100%; height: 80rpx; min-height: 80rpx; - display: flex; - flex-direction: row; + white-space: nowrap; padding: 0 32rpx; box-sizing: border-box; background-color: #fff; - overflow-x: auto; - position: absolute; + position: fixed; top: 600rpx; left: 0; z-index: 99; .tab-list { margin-right: 24rpx; - display: flex; + display: inline-flex; flex-direction: column; height: 60rpx; min-height: 60rpx; align-items: center; justify-content: space-between; - margin-top: 22rpx; + margin-top: 14rpx; } .line { diff --git a/pages/home/home.vue b/pages/home/home.vue index 014201c..e06aecf 100644 --- a/pages/home/home.vue +++ b/pages/home/home.vue @@ -4,9 +4,8 @@ - - + + 搜索 @@ -71,13 +70,9 @@ - - - - + {{ item.title }} @@ -502,43 +497,42 @@ export default { }); }, initMPHeader() { + // #ifdef MP-WEIXIN || MP try { const menuButton = uni.getMenuButtonBoundingClientRect(); const systemInfo = uni.getSystemInfoSync(); - const statusBarHeight = systemInfo.statusBarHeight || 0; - const menuButtonHeight = menuButton.height; - const menuButtonTop = menuButton.top; - const menuButtonLeft = menuButton.left; - const windowWidth = systemInfo.windowWidth; + if (menuButton && menuButton.top && menuButton.top > 0) { + const menuButtonHeight = menuButton.height || 32; + const menuButtonTop = menuButton.top; + const menuButtonLeft = menuButton.left; + const windowWidth = systemInfo.windowWidth; - // Calculate top offset below capsule button specifically for WeChat Mini Program - const headerTop = menuButtonTop + menuButtonHeight + 8; - this.mpHeaderStyle = { - paddingTop: `${headerTop}px`, - paddingRight: '15px', - paddingBottom: '10px', - paddingLeft: '15px', - height: `${menuButtonHeight}px`, - boxSizing: 'content-box', - display: 'flex', - alignItems: 'center' - }; + const rightPadding = windowWidth - menuButtonLeft + 10; - this.mpLanguageStyle = { - height: `${menuButtonHeight}px`, - boxSizing: 'border-box', - display: 'flex', - alignItems: 'center' - }; + this.mpHeaderStyle = { + paddingTop: `${menuButtonTop}px`, + paddingRight: `${rightPadding}px`, + paddingLeft: '12px', + paddingBottom: '8px', + height: `${menuButtonHeight}px`, + boxSizing: 'content-box', + display: 'flex', + alignItems: 'center' + }; - const warpPaddingTop = headerTop + menuButtonHeight; - this.mpHeaderWarpStyle = { - paddingTop: `${warpPaddingTop}px` - }; + this.mpLanguageStyle = { + height: `${menuButtonHeight}px`, + borderRadius: `${menuButtonHeight / 2}px`, + boxSizing: 'border-box', + display: 'flex', + alignItems: 'center' + }; + } } catch (e) { console.error("initMPHeader error:", e); } + // #endif }, // 切换活动类型 jumpTab(item, type) { @@ -912,7 +906,11 @@ export default { }; }, languageBoxStyle() { - const base = this.isMP ? { height: this.mpLanguageStyle?.height, boxSizing: 'border-box' } : {}; + const base = this.isMP ? { + height: this.mpLanguageStyle?.height, + borderRadius: this.mpLanguageStyle?.borderRadius, + boxSizing: 'border-box' + } : {}; if (this.isScrolled) { return { ...base, @@ -927,7 +925,7 @@ export default { }; }, searchMsgStyle() { - const base = this.isMP ? { lineHeight: '1' } : {}; + const base = { lineHeight: '1' }; if (this.isScrolled) { return { ...base, color: '#888888' }; } @@ -1034,6 +1032,17 @@ export default { border-radius: 34rpx; box-sizing: border-box; transition: all 0.3s ease; + + .search_icon_box { + display: flex; + align-items: center; + justify-content: center; + + .tab-icon { + width: 40rpx; + height: 40rpx; + } + } } .chart_img { @@ -1078,6 +1087,9 @@ export default { font-size: 28rpx; color: rgba(255, 255, 255, 0.95); transition: color 0.3s ease; + line-height: 1; + display: flex; + align-items: center; } } @@ -1216,7 +1228,7 @@ export default { margin: 0 30rpx 100rpx; box-sizing: border-box; height: auto; - background: #fff; + background: linear-gradient(344deg, #FFFFFF 0%, #EDE3FF 100%); border-radius: 28rpx; border: 1rpx solid #dfdfdf; padding: 24rpx 20rpx 20rpx; @@ -1250,7 +1262,7 @@ export default { .yp_title_sub { font-size: 22rpx; - color: #333333; + color: #000000; font-weight: 500; } @@ -1287,19 +1299,17 @@ export default { justify-content: space-between; align-items: stretch; width: 100%; + gap: 16rpx; } .yp_item { - // flex: 0 0 32%; flex: 1; - // height: 268rpx; max-width: 33.3%; - gap: 10rpx; min-width: 0; - background-color: #ffffff; + background: #F0E7FE; border-radius: 24rpx; - border: 1rpx solid #eae5f9; - padding: 16rpx; + padding: 0; + overflow: hidden; box-sizing: border-box; display: flex; flex-direction: column; @@ -1308,13 +1318,16 @@ export default { .yp_item_image_wrapper { width: 100%; + height: 174rpx; + border-radius: 24rpx 24rpx 0 0; display: flex; + align-items: center; justify-content: center; + overflow: hidden; .yp_item_image { width: 100%; - height: 176rpx; - border-radius: 15rpx; + height: 100%; } } @@ -1324,10 +1337,12 @@ export default { align-items: center; width: 100%; min-width: 0; + padding: 12rpx 10rpx 14rpx 10rpx; + box-sizing: border-box; } .yp_item_name { - font-size: 24rpx; + font-size: 30rpx; color: #000000; font-weight: bold; text-align: center; @@ -1335,18 +1350,18 @@ export default { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; - margin-bottom: 12rpx; + margin-bottom: 10rpx; } .yp_item_price_tag { width: 100%; - background: linear-gradient(270deg, #b164fb 0%, #7632ff 100%); + background: linear-gradient(90deg, #7632FF 0%, #B164FB 100%); color: #ffffff; - font-size: 20rpx; + font-size: 22rpx; display: flex; justify-content: center; align-items: center; - height: 44rpx; + height: 48rpx; border-radius: 12rpx; white-space: nowrap; font-weight: bold; diff --git a/pages/login_package/bind-phone/bind-phone.vue b/pages/login_package/bind-phone/bind-phone.vue index 7ac013f..fcd8b06 100644 --- a/pages/login_package/bind-phone/bind-phone.vue +++ b/pages/login_package/bind-phone/bind-phone.vue @@ -1,13 +1,18 @@