210页面完成

This commit is contained in:
fengerli
2025-11-20 16:40:33 +08:00
parent 2a14d77f17
commit d0047907c1
4 changed files with 49 additions and 141 deletions

View File

@ -641,33 +641,37 @@
this.lightModeA = false;
// console.log("保存的时间:", time);
},
handleIconClick(index) {
// 历史记录
if (index === 0) {
handleIconClick(s, e) {
if (s === 0) {
console.log("消息",s);
uni.navigateTo({
url: '/pages/210/historyRecords/index',
events: {
ack: function(data) {}
},
url: '/pages/670/History',
success: (res) => {
res.eventChannel.emit('share', {
data: this.itemInfo,
res.eventChannel.emit('detailData', {
data: this.device,
});
}
})
} else {
return;
} else if (s === 1) {
console.log("分享");
uni.navigateTo({
url: '/pages/6170/share/index',
url: '/pages/common/share/index',
events: {
ack: function(data) {}
},
success: (res) => {
let json = {
persissonType: '210'
};
Object.assign(json, this.device);
res.eventChannel.emit('share', {
data: this.itemInfo,
data: json
});
}
})
}
},
// 分享