一、功能介绍
在酷家乐将设计好的方案渲染出全景图或合成漫游图之后,分享给客户查看效果,希望将方案展示页链接中的酷家乐域名(https://yun.kujiale.com、https://www.kujiale.com)替换为企业自己的域名地址,强化企业自身品牌效应。下面为大家具体介绍一下如何自定义全景图链接地址。
二、开放对象
全景图企业高版本编辑器权限的用户(32800元及以上解决方案)
三、域名准备
1、需准备好一个域名,域名必须是https形式;
2、在该域名下开发一个页面,页面代码参考下面:
全景图
<!DOCTYPE html>
<html
lang="en">
<head>
<meta
http-equiv="Content-Type"
content="text/html; charset=UTF-8">
<meta
name="viewport"
content="width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
<title>title</title>
<style
type="text/css">
html, body
{
margin: 0px 0px;
width: 100%;
height: 100%;
}
</style>
</head>
<body>
<script>
var url = window.location.href //获取当前页面URL
url = '
https://www.kujiale.com
' + window.location.pathname; // 如果填写的查看360高清全景链接带有pathname记得要把对应的pathname替换掉
// 例如填写的链接为
https://www.baidu.com/designs
则url = window.location.href.replace('
https://www.baidu.com/designs',
'
https://www.kujiale.com
')
document.write("<iframe
type=\"text/javascript\" width=\"100%\" height=\"100%\" frameborder=\"0\" scrolling=\"no\" src='" + url +"'></iframe>")
</script>
</body>
</html>
四、操作步骤
1. 功能入口
商家后台设置中心--全景图设置–品牌设置–自定义全景图链接
2. 操作步骤
在此设置项,打开开关,并填写域名地址,比如:https://www.quanyou.com.cn,点击【保存】按钮。
注意:填写的域名必须按照要求开发相应页面,否则配置后将导致您账号的所有全景图方案无法打开!!!