diff --git a/pages/index/index.js b/pages/index/index.js index 0129399..0c77f08 100644 --- a/pages/index/index.js +++ b/pages/index/index.js @@ -802,8 +802,7 @@ Page({ url: "/pages/pbService/web/index?weburl=" + encodeURIComponent(item.weburl) }) return - } - + } }, // 后台配置数据跳转 mainNavClick:function (e) { @@ -866,6 +865,16 @@ Page({ }) return } + if (item.jump_type == "text") { + setTimeout(() => { + wx.showToast({ + title: item.text, + icon:'none', + duration: 2000, + }) + }, 200); + + } }, // 其他平台配置数据的跳转 @@ -1037,6 +1046,10 @@ Page({ wx.showTabBar() } util.clearGlobalPagePoint() + + if (app.globalData.innerAudioContext) { + app.globalData.innerAudioContext.stop() + } }, /** diff --git a/pages/index/index.wxss b/pages/index/index.wxss index 57acb14..5a361aa 100644 --- a/pages/index/index.wxss +++ b/pages/index/index.wxss @@ -497,13 +497,13 @@ justify-content: space-between; } .hot-list-item { - width: 337rpx; + width: 340rpx; } .hot-item { background: white; /* box-shadow: -1rpx 1rpx 16rpx 0px rgba(6, 0, 1, 0.1); */ border-radius: 15rpx; - margin-bottom: 15rpx; + margin-bottom: 20rpx; height: 498rpx; } .hot-item image:nth-child(1) { @@ -802,7 +802,7 @@ } .six-box-new { - width: 697rpx; + width: 100%; /* background: linear-gradient(-90deg, #FF9B6A, #D02E25); */ border-radius: 20rpx; margin: -40rpx 0 53.33rpx;