|
|
@@ -390,7 +390,7 @@
|
|
|
<!-- 选中了之后的显示 -->
|
|
|
<div v-show="caseInd === index"></div>
|
|
|
</div>
|
|
|
- <span :class="{ active: caseInd === index }">{{
|
|
|
+ <span @touchstart="select(index, item.id)" :class="{ active: caseInd === index }">{{
|
|
|
item.id + "、" + item.txt
|
|
|
}}</span>
|
|
|
</li>
|
|
|
@@ -551,9 +551,9 @@
|
|
|
<p class="biaoti">珠海高新区"红色云展厅"</p>
|
|
|
<!-- <p class="biaoti">虚拟展厅</p> -->
|
|
|
<div class="Motab5ER">
|
|
|
- <img src="@/assets/tab/tab5Ma.png" alt="" />
|
|
|
+ <img src="/tab5Ma.png" alt="" />
|
|
|
<p>请使用手机扫描二维码</p>
|
|
|
- <a href="../../assets/tab/tab5Ma.png" download class="tab5Box"
|
|
|
+ <a href="/tab5Ma.png" download class="tab5Box"
|
|
|
>下 载 二 维 码</a
|
|
|
>
|
|
|
</div>
|
|
|
@@ -601,7 +601,7 @@
|
|
|
</div>
|
|
|
<div>
|
|
|
<a href="javascript:;"></a>
|
|
|
- <a href="javascript:;"></a>
|
|
|
+ <a target="_blank" href="http://www.4dmodel.com/SuperTwo/index.html?m=1034" title="望慈山房"></a>
|
|
|
<a target="_blank" href="https://www.4dkankan.com/spc.html?m=9ZqmhsI1Iq&lang=zh" title="廉洁文化园内苏兆征雕像广场"></a>
|
|
|
</div>
|
|
|
<div>
|
|
|
@@ -647,7 +647,7 @@
|
|
|
<!-- 选中了之后的显示 -->
|
|
|
<div v-show="caseInd === index"></div>
|
|
|
</div>
|
|
|
- <span :class="{ active: caseInd === index }">{{
|
|
|
+ <span @click="select(index, item.id)" :class="{ active: caseInd === index }">{{
|
|
|
item.id + "、" + item.txt
|
|
|
}}</span>
|
|
|
</li>
|
|
|
@@ -819,9 +819,9 @@
|
|
|
</div>
|
|
|
<!-- 二维码图片+按钮盒子 -->
|
|
|
<div class="tab5Ma">
|
|
|
- <img src="@/assets/tab/tab5Ma.png" alt="" />
|
|
|
+ <img src="/tab5Ma.png" alt="" />
|
|
|
<p>请用手机扫描二维码</p>
|
|
|
- <a href="assets/tab/tab5Ma.png" download class="tab5Box"
|
|
|
+ <a href="/tab5Ma.png" download class="tab5Box"
|
|
|
>下 载 二 维 码</a
|
|
|
>
|
|
|
<div class="tab5Box" @click="copyPcTxt">复 制 链 接</div>
|
|
|
@@ -840,6 +840,8 @@ export default {
|
|
|
components: { Iframe },
|
|
|
data() {
|
|
|
return {
|
|
|
+ baseUrl:'http://8.135.106.227:8011',//线上调试
|
|
|
+ // baseUrl:'',//打包
|
|
|
isGuide: true,
|
|
|
//--------------手机端数据------------------
|
|
|
iframeUrl: "",
|
|
|
@@ -918,7 +920,7 @@ export default {
|
|
|
//点击复制链接
|
|
|
copyPcTxt() {
|
|
|
// 存储传递过来的数据
|
|
|
- let OrderNumber = "9999999999";
|
|
|
+ let OrderNumber = window.location.href;
|
|
|
// 创建一个input 元素
|
|
|
// createElement() 方法通过指定名称创建一个元素
|
|
|
let newInput = document.createElement("input");
|
|
|
@@ -969,8 +971,9 @@ export default {
|
|
|
let fd = new FormData();
|
|
|
fd.append("file", blob, Date.now() + ".jpg");
|
|
|
//Ajax上传FormData对象
|
|
|
+ // eslint-disable-next-line no-undef
|
|
|
$.ajax({
|
|
|
- url: "http://8.135.106.227:8011/web/upload",
|
|
|
+ url: this.baseUrl+"/show/upload",
|
|
|
type: "POST",
|
|
|
cache: false,
|
|
|
data: fd,
|
|
|
@@ -980,8 +983,8 @@ export default {
|
|
|
.done((res) => {
|
|
|
console.log("上传图片成功", res);
|
|
|
if (res.code === 0) {
|
|
|
- this.$message.success("生成二维码成功");
|
|
|
- this.qrCodeUrl = "http://8.135.106.227:8011/" + res.data;
|
|
|
+ this.$message.success("生成图片成功");
|
|
|
+ this.qrCodeUrl = this.baseUrl+ res.data;
|
|
|
this.topicXShow = true;
|
|
|
}
|
|
|
})
|
|
|
@@ -1012,8 +1015,9 @@ export default {
|
|
|
data.userName = this.myName;
|
|
|
}
|
|
|
//发送请求
|
|
|
+ // eslint-disable-next-line no-undef
|
|
|
$.ajax({
|
|
|
- url: "http://8.135.106.227:8011/web/comment/save",
|
|
|
+ url: this.baseUrl+"/show/comment/save",
|
|
|
type: "POST",
|
|
|
data: JSON.stringify(data),
|
|
|
dataType: "json",
|
|
|
@@ -1114,8 +1118,9 @@ export default {
|
|
|
let fd = new FormData();
|
|
|
fd.append("file", blob, Date.now() + ".jpg");
|
|
|
//Ajax上传FormData对象
|
|
|
+ // eslint-disable-next-line no-undef
|
|
|
$.ajax({
|
|
|
- url: "http://8.135.106.227:8011/web/upload",
|
|
|
+ url: this.baseUrl+"/show/upload",
|
|
|
type: "POST",
|
|
|
cache: false,
|
|
|
data: fd,
|
|
|
@@ -1125,8 +1130,8 @@ export default {
|
|
|
.done((res) => {
|
|
|
console.log("上传图片成功", res);
|
|
|
if (res.code === 0) {
|
|
|
- this.$message.success("生成二维码成功");
|
|
|
- this.qrCodeUrl = "http://8.135.106.227:8011/" + res.data;
|
|
|
+ this.$message.success("生成图片成功");
|
|
|
+ this.qrCodeUrl = this.baseUrl + res.data;
|
|
|
this.topicXShow = true;
|
|
|
if (myBoo) this.toPictureShow = false;
|
|
|
}
|
|
|
@@ -1236,9 +1241,10 @@ export default {
|
|
|
|
|
|
//封装获取留言信息方法
|
|
|
getList(data) {
|
|
|
+ // eslint-disable-next-line no-undef
|
|
|
$.ajax({
|
|
|
type: "POST",
|
|
|
- url: "http://8.135.106.227:8011/web/comment/list",
|
|
|
+ url: this.baseUrl+"/show/comment/list",
|
|
|
data: JSON.stringify(data),
|
|
|
dataType: "json",
|
|
|
contentType: "application/json;charset=UTF-8",
|
|
|
@@ -1258,11 +1264,11 @@ export default {
|
|
|
},
|
|
|
|
|
|
switchBGM() {
|
|
|
- if ($("#volume img")[0].src.indexOf("on.png") > -1) {
|
|
|
- window.manage.switchBgmState(true);
|
|
|
- } else if ($("#volume img")[0].src.indexOf("off.png") > -1) {
|
|
|
- window.manage.switchBgmState(false);
|
|
|
- }
|
|
|
+ // if ($("#volume img")[0].src.indexOf("on.png") > -1) {
|
|
|
+ // window.manage.switchBgmState(true);
|
|
|
+ // } else if ($("#volume img")[0].src.indexOf("off.png") > -1) {
|
|
|
+ // window.manage.switchBgmState(false);
|
|
|
+ // }
|
|
|
},
|
|
|
},
|
|
|
};
|
|
|
@@ -1463,6 +1469,7 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
& > span {
|
|
|
+ cursor: pointer;
|
|
|
font-size: 22px;
|
|
|
}
|
|
|
.active {
|
|
|
@@ -2644,7 +2651,10 @@ export default {
|
|
|
}
|
|
|
@media only screen and (max-width: 487px) {
|
|
|
#myMoMu {
|
|
|
- display: block !important;
|
|
|
+ display: none !important;
|
|
|
+ }
|
|
|
+ #gui-modes-floorplan{
|
|
|
+ margin-bottom: 0 !important;
|
|
|
}
|
|
|
#myMoMu img {
|
|
|
margin-left: 12px;
|