Browse Source

最美打卡点停止音乐

master
jiazhipeng 7 months ago
parent
commit
3b4c0958fb
  1. 15
      pages/index/index.js
  2. 6
      pages/index/index.wxss

15
pages/index/index.js

@ -803,7 +803,6 @@ Page({
})
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()
}
},
/**

6
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;

Loading…
Cancel
Save