.
This commit is contained in:
@@ -21,7 +21,7 @@
|
||||
:src="
|
||||
isLogin && userInfo.avatar
|
||||
? sheep.$url.cdn(userInfo.avatar)
|
||||
: sheep.$url.static('/static/img/shop/default_avatar.png')
|
||||
: sheep.$url.static('https://puton.huimeimeta.com/imgs/default_avatar.png')
|
||||
"
|
||||
mode="aspectFill"
|
||||
@tap="sheep.$router.go('/pages/user/info')"
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user