This commit is contained in:
杨鹏
2025-10-11 16:06:53 +08:00
parent 0f450c6691
commit 09f8815234
24 changed files with 926 additions and 832 deletions
+5 -1
View File
@@ -1,7 +1,7 @@
<template>
<view>
<s-layout title="试衣间" navbar="custom" tabbar="" :bgStyle="{ color: '#fff' }">
<web-view :src="webviewUrl" ref="webviewRef">
<web-view :src="webviewUrl" ref="webviewRef" @message="handleMessage">
<cover-view-tabbar activeUrl="/pages/index/room" />
</web-view>
</s-layout>
@@ -65,6 +65,10 @@
tokenCheckTimer.value = null;
}
}
function handleMessage(e) {
console.log('收到H5消息:', e.detail.data);
}
</script>
<style lang="scss" scoped></style>