Ver código fonte

update versionlocal

tremble 3 anos atrás
pai
commit
bc58ab3c2a

+ 3 - 4
packages/code/.env

@@ -1,7 +1,6 @@
 VUE_APP_MAIN_COLOR=''
 VUE_APP_STATIC_DIR=static
 VUE_APP_INNERNET=https://fcb.intranet.4dkankan.com
-VUE_APP_CDN=https://oss-xiaoan.oss-cn-shenzhen.aliyuncs.com
-VUE_APP_PROXY_URL='http://test.4dkankan.com/qjkankan/'
-VUE_APP_PROXY_4DKANKAN_URL=''
-VUE_APP_URL_FILL=/qjkankan
+VUE_APP_CDN=''
+VUE_APP_PROXY_URL=''
+VUE_APP_URL_FILL='/'

+ 0 - 2
packages/code/.env.prod

@@ -1,8 +1,6 @@
-NODE_ENV=production
 VUE_APP_MAIN_COLOR=''
 VUE_APP_STATIC_DIR=static
 VUE_APP_INNERNET=https://fcb.intranet.4dkankan.com
 VUE_APP_CDN=https://4dkk.4dage.com
 VUE_APP_PROXY_URL='http://www.4dkankan.com/qjkankan/'
-VUE_APP_PROXY_4DKANKAN_URL=''
 VUE_APP_URL_FILL=/qjkankan

+ 6 - 0
packages/code/.env.test

@@ -0,0 +1,6 @@
+VUE_APP_MAIN_COLOR=''
+VUE_APP_STATIC_DIR=static
+VUE_APP_INNERNET=https://fcb.intranet.4dkankan.com
+VUE_APP_CDN=https://oss-xiaoan.oss-cn-shenzhen.aliyuncs.com
+VUE_APP_PROXY_URL='http://test.4dkankan.com/qjkankan/'
+VUE_APP_URL_FILL=/qjkankan

Diferenças do arquivo suprimidas por serem muito extensas
+ 429 - 565
packages/code/package-lock.json


+ 1 - 4
packages/code/package.json

@@ -1,16 +1,13 @@
 {
-  "name": "qjkankan",
+  "name": "code2.6",
   "version": "0.1.0",
   "private": true,
   "scripts": {
-    "clean": "rimraf dist/**/*",
     "serve": "vue-cli-service serve",
     "serve-prod": "vue-cli-service serve --mode prod",
-    "serve-testprod": "vue-cli-service serve --mode testprod",
     "serve-local": "vue-cli-service serve --mode bendi",
     "build": "vue-cli-service build",
     "build-prod": "vue-cli-service build --mode prod",
-    "build-testprod": "vue-cli-service build --mode testprod",
     "lint": "vue-cli-service lint"
   },
   "dependencies": {

+ 1 - 4
packages/code/public/show.html

@@ -5,10 +5,7 @@
     <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
     <meta http-equiv="X-UA-Compatible" content="IE=edge">
     <meta name="viewport" content="width=device-width,initial-scale=1.0">
-    <link rel="stylesheet" href="<%= VUE_APP_STATIC_DIR %>/lib/iconfont/iconfont.css"/>
-    <link rel="stylesheet" href="<%= VUE_APP_STATIC_DIR %>/lib/iconfontQJ1.1.0/iconfont.css"/>
-    <link rel="stylesheet" href="<%= VUE_APP_STATIC_DIR %>/lib/iconfontVR/iconfont.css"/>
-    <link rel="stylesheet" href="//at.alicdn.com/t/font_2410347_4htx35g8w1b.css"/>
+    <link rel="stylesheet" href="<%= VUE_APP_STATIC_DIR %>/lib/iconfontQJ/iconfont.css"/>
     <link rel="stylesheet" href="<%= VUE_APP_STATIC_DIR %>/lib/scrollbar/perfect-scrollbar.css"/>
     <link rel="icon" href="./favicon.ico" />
     <title>VR作品</title>

+ 1 - 9
packages/code/public/showMobile.html

@@ -6,11 +6,7 @@
     <meta http-equiv="X-UA-Compatible" content="IE=edge">
     <meta content="yes" name="apple-mobile-web-app-capable" />  
     <meta name="viewport" content="width=device-width,height=device-height,inital-scale=1.0,maximum-scale=1.0,user-scalable=no" />
-    <link rel="stylesheet" href="<%= VUE_APP_STATIC_DIR %>/lib/iconfont/iconfont.css"/>
-    <link rel="stylesheet" href="<%= VUE_APP_STATIC_DIR %>/lib/iconfontQJ1.1.0/iconfont.css"/>
-    <link rel="stylesheet" href="<%= VUE_APP_STATIC_DIR %>/lib/iconfontVR/iconfont.css"/>
-    <link rel="stylesheet" href="//at.alicdn.com/t/font_2947721_fdnuf7rzr.css"/>
-    <link rel="stylesheet" href="//at.alicdn.com/t/font_1064953_6ikt2gc1snb.css"/>
+    <link rel="stylesheet" href="<%= VUE_APP_STATIC_DIR %>/lib/iconfontQJ/iconfont.css"/>
     <link rel="stylesheet" href="<%= VUE_APP_STATIC_DIR %>/lib/animate/animate.min.css" />
     <link rel="icon" href="./favicon.ico" />
     <!-- <style>
@@ -33,10 +29,6 @@
     <!-- built files will be auto injected -->
     <script src="<%= VUE_APP_STATIC_DIR %>/lib/jquery-2.1.1.min.js"></script>
     <script src="<%= VUE_APP_STATIC_DIR %>/lib/krpano/js/tour.js"></script>
-    
-    <script src="https://4dkk.4dage.com/v4/www/sdk/kankan-sdk-deps.js?v=4.0.0-alpha.44"></script>
-    <script src="https://4dkk.4dage.com/v4/www/sdk/kankan-sdk.js?v=4.0.0-alpha.44"></script>
-
     <script src="https://res2.wx.qq.com/open/js/jweixin-1.6.0.js"></script>
 
 <!-- 

+ 539 - 0
packages/code/public/static/lib/iconfontQJ/demo.css

@@ -0,0 +1,539 @@
+/* Logo 字体 */
+@font-face {
+  font-family: "iconfont logo";
+  src: url('https://at.alicdn.com/t/font_985780_km7mi63cihi.eot?t=1545807318834');
+  src: url('https://at.alicdn.com/t/font_985780_km7mi63cihi.eot?t=1545807318834#iefix') format('embedded-opentype'),
+    url('https://at.alicdn.com/t/font_985780_km7mi63cihi.woff?t=1545807318834') format('woff'),
+    url('https://at.alicdn.com/t/font_985780_km7mi63cihi.ttf?t=1545807318834') format('truetype'),
+    url('https://at.alicdn.com/t/font_985780_km7mi63cihi.svg?t=1545807318834#iconfont') format('svg');
+}
+
+.logo {
+  font-family: "iconfont logo";
+  font-size: 160px;
+  font-style: normal;
+  -webkit-font-smoothing: antialiased;
+  -moz-osx-font-smoothing: grayscale;
+}
+
+/* tabs */
+.nav-tabs {
+  position: relative;
+}
+
+.nav-tabs .nav-more {
+  position: absolute;
+  right: 0;
+  bottom: 0;
+  height: 42px;
+  line-height: 42px;
+  color: #666;
+}
+
+#tabs {
+  border-bottom: 1px solid #eee;
+}
+
+#tabs li {
+  cursor: pointer;
+  width: 100px;
+  height: 40px;
+  line-height: 40px;
+  text-align: center;
+  font-size: 16px;
+  border-bottom: 2px solid transparent;
+  position: relative;
+  z-index: 1;
+  margin-bottom: -1px;
+  color: #666;
+}
+
+
+#tabs .active {
+  border-bottom-color: #f00;
+  color: #222;
+}
+
+.tab-container .content {
+  display: none;
+}
+
+/* 页面布局 */
+.main {
+  padding: 30px 100px;
+  width: 960px;
+  margin: 0 auto;
+}
+
+.main .logo {
+  color: #333;
+  text-align: left;
+  margin-bottom: 30px;
+  line-height: 1;
+  height: 110px;
+  margin-top: -50px;
+  overflow: hidden;
+  *zoom: 1;
+}
+
+.main .logo a {
+  font-size: 160px;
+  color: #333;
+}
+
+.helps {
+  margin-top: 40px;
+}
+
+.helps pre {
+  padding: 20px;
+  margin: 10px 0;
+  border: solid 1px #e7e1cd;
+  background-color: #fffdef;
+  overflow: auto;
+}
+
+.icon_lists {
+  width: 100% !important;
+  overflow: hidden;
+  *zoom: 1;
+}
+
+.icon_lists li {
+  width: 100px;
+  margin-bottom: 10px;
+  margin-right: 20px;
+  text-align: center;
+  list-style: none !important;
+  cursor: default;
+}
+
+.icon_lists li .code-name {
+  line-height: 1.2;
+}
+
+.icon_lists .icon {
+  display: block;
+  height: 100px;
+  line-height: 100px;
+  font-size: 42px;
+  margin: 10px auto;
+  color: #333;
+  -webkit-transition: font-size 0.25s linear, width 0.25s linear;
+  -moz-transition: font-size 0.25s linear, width 0.25s linear;
+  transition: font-size 0.25s linear, width 0.25s linear;
+}
+
+.icon_lists .icon:hover {
+  font-size: 100px;
+}
+
+.icon_lists .svg-icon {
+  /* 通过设置 font-size 来改变图标大小 */
+  width: 1em;
+  /* 图标和文字相邻时,垂直对齐 */
+  vertical-align: -0.15em;
+  /* 通过设置 color 来改变 SVG 的颜色/fill */
+  fill: currentColor;
+  /* path 和 stroke 溢出 viewBox 部分在 IE 下会显示
+      normalize.css 中也包含这行 */
+  overflow: hidden;
+}
+
+.icon_lists li .name,
+.icon_lists li .code-name {
+  color: #666;
+}
+
+/* markdown 样式 */
+.markdown {
+  color: #666;
+  font-size: 14px;
+  line-height: 1.8;
+}
+
+.highlight {
+  line-height: 1.5;
+}
+
+.markdown img {
+  vertical-align: middle;
+  max-width: 100%;
+}
+
+.markdown h1 {
+  color: #404040;
+  font-weight: 500;
+  line-height: 40px;
+  margin-bottom: 24px;
+}
+
+.markdown h2,
+.markdown h3,
+.markdown h4,
+.markdown h5,
+.markdown h6 {
+  color: #404040;
+  margin: 1.6em 0 0.6em 0;
+  font-weight: 500;
+  clear: both;
+}
+
+.markdown h1 {
+  font-size: 28px;
+}
+
+.markdown h2 {
+  font-size: 22px;
+}
+
+.markdown h3 {
+  font-size: 16px;
+}
+
+.markdown h4 {
+  font-size: 14px;
+}
+
+.markdown h5 {
+  font-size: 12px;
+}
+
+.markdown h6 {
+  font-size: 12px;
+}
+
+.markdown hr {
+  height: 1px;
+  border: 0;
+  background: #e9e9e9;
+  margin: 16px 0;
+  clear: both;
+}
+
+.markdown p {
+  margin: 1em 0;
+}
+
+.markdown>p,
+.markdown>blockquote,
+.markdown>.highlight,
+.markdown>ol,
+.markdown>ul {
+  width: 80%;
+}
+
+.markdown ul>li {
+  list-style: circle;
+}
+
+.markdown>ul li,
+.markdown blockquote ul>li {
+  margin-left: 20px;
+  padding-left: 4px;
+}
+
+.markdown>ul li p,
+.markdown>ol li p {
+  margin: 0.6em 0;
+}
+
+.markdown ol>li {
+  list-style: decimal;
+}
+
+.markdown>ol li,
+.markdown blockquote ol>li {
+  margin-left: 20px;
+  padding-left: 4px;
+}
+
+.markdown code {
+  margin: 0 3px;
+  padding: 0 5px;
+  background: #eee;
+  border-radius: 3px;
+}
+
+.markdown strong,
+.markdown b {
+  font-weight: 600;
+}
+
+.markdown>table {
+  border-collapse: collapse;
+  border-spacing: 0px;
+  empty-cells: show;
+  border: 1px solid #e9e9e9;
+  width: 95%;
+  margin-bottom: 24px;
+}
+
+.markdown>table th {
+  white-space: nowrap;
+  color: #333;
+  font-weight: 600;
+}
+
+.markdown>table th,
+.markdown>table td {
+  border: 1px solid #e9e9e9;
+  padding: 8px 16px;
+  text-align: left;
+}
+
+.markdown>table th {
+  background: #F7F7F7;
+}
+
+.markdown blockquote {
+  font-size: 90%;
+  color: #999;
+  border-left: 4px solid #e9e9e9;
+  padding-left: 0.8em;
+  margin: 1em 0;
+}
+
+.markdown blockquote p {
+  margin: 0;
+}
+
+.markdown .anchor {
+  opacity: 0;
+  transition: opacity 0.3s ease;
+  margin-left: 8px;
+}
+
+.markdown .waiting {
+  color: #ccc;
+}
+
+.markdown h1:hover .anchor,
+.markdown h2:hover .anchor,
+.markdown h3:hover .anchor,
+.markdown h4:hover .anchor,
+.markdown h5:hover .anchor,
+.markdown h6:hover .anchor {
+  opacity: 1;
+  display: inline-block;
+}
+
+.markdown>br,
+.markdown>p>br {
+  clear: both;
+}
+
+
+.hljs {
+  display: block;
+  background: white;
+  padding: 0.5em;
+  color: #333333;
+  overflow-x: auto;
+}
+
+.hljs-comment,
+.hljs-meta {
+  color: #969896;
+}
+
+.hljs-string,
+.hljs-variable,
+.hljs-template-variable,
+.hljs-strong,
+.hljs-emphasis,
+.hljs-quote {
+  color: #df5000;
+}
+
+.hljs-keyword,
+.hljs-selector-tag,
+.hljs-type {
+  color: #a71d5d;
+}
+
+.hljs-literal,
+.hljs-symbol,
+.hljs-bullet,
+.hljs-attribute {
+  color: #0086b3;
+}
+
+.hljs-section,
+.hljs-name {
+  color: #63a35c;
+}
+
+.hljs-tag {
+  color: #333333;
+}
+
+.hljs-title,
+.hljs-attr,
+.hljs-selector-id,
+.hljs-selector-class,
+.hljs-selector-attr,
+.hljs-selector-pseudo {
+  color: #795da3;
+}
+
+.hljs-addition {
+  color: #55a532;
+  background-color: #eaffea;
+}
+
+.hljs-deletion {
+  color: #bd2c00;
+  background-color: #ffecec;
+}
+
+.hljs-link {
+  text-decoration: underline;
+}
+
+/* 代码高亮 */
+/* PrismJS 1.15.0
+https://prismjs.com/download.html#themes=prism&languages=markup+css+clike+javascript */
+/**
+ * prism.js default theme for JavaScript, CSS and HTML
+ * Based on dabblet (http://dabblet.com)
+ * @author Lea Verou
+ */
+code[class*="language-"],
+pre[class*="language-"] {
+  color: black;
+  background: none;
+  text-shadow: 0 1px white;
+  font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
+  text-align: left;
+  white-space: pre;
+  word-spacing: normal;
+  word-break: normal;
+  word-wrap: normal;
+  line-height: 1.5;
+
+  -moz-tab-size: 4;
+  -o-tab-size: 4;
+  tab-size: 4;
+
+  -webkit-hyphens: none;
+  -moz-hyphens: none;
+  -ms-hyphens: none;
+  hyphens: none;
+}
+
+pre[class*="language-"]::-moz-selection,
+pre[class*="language-"] ::-moz-selection,
+code[class*="language-"]::-moz-selection,
+code[class*="language-"] ::-moz-selection {
+  text-shadow: none;
+  background: #b3d4fc;
+}
+
+pre[class*="language-"]::selection,
+pre[class*="language-"] ::selection,
+code[class*="language-"]::selection,
+code[class*="language-"] ::selection {
+  text-shadow: none;
+  background: #b3d4fc;
+}
+
+@media print {
+
+  code[class*="language-"],
+  pre[class*="language-"] {
+    text-shadow: none;
+  }
+}
+
+/* Code blocks */
+pre[class*="language-"] {
+  padding: 1em;
+  margin: .5em 0;
+  overflow: auto;
+}
+
+:not(pre)>code[class*="language-"],
+pre[class*="language-"] {
+  background: #f5f2f0;
+}
+
+/* Inline code */
+:not(pre)>code[class*="language-"] {
+  padding: .1em;
+  border-radius: .3em;
+  white-space: normal;
+}
+
+.token.comment,
+.token.prolog,
+.token.doctype,
+.token.cdata {
+  color: slategray;
+}
+
+.token.punctuation {
+  color: #999;
+}
+
+.namespace {
+  opacity: .7;
+}
+
+.token.property,
+.token.tag,
+.token.boolean,
+.token.number,
+.token.constant,
+.token.symbol,
+.token.deleted {
+  color: #905;
+}
+
+.token.selector,
+.token.attr-name,
+.token.string,
+.token.char,
+.token.builtin,
+.token.inserted {
+  color: #690;
+}
+
+.token.operator,
+.token.entity,
+.token.url,
+.language-css .token.string,
+.style .token.string {
+  color: #9a6e3a;
+  background: hsla(0, 0%, 100%, .5);
+}
+
+.token.atrule,
+.token.attr-value,
+.token.keyword {
+  color: #07a;
+}
+
+.token.function,
+.token.class-name {
+  color: #DD4A68;
+}
+
+.token.regex,
+.token.important,
+.token.variable {
+  color: #e90;
+}
+
+.token.important,
+.token.bold {
+  font-weight: bold;
+}
+
+.token.italic {
+  font-style: italic;
+}
+
+.token.entity {
+  cursor: help;
+}

Diferenças do arquivo suprimidas por serem muito extensas
+ 2879 - 0
packages/code/public/static/lib/iconfontQJ/demo_index.html


+ 483 - 0
packages/code/public/static/lib/iconfontQJ/iconfont.css

@@ -0,0 +1,483 @@
+@font-face {
+  font-family: "iconfont"; /* Project id 2947721 */
+  src: url('iconfont.woff2?t=1647573254226') format('woff2'),
+       url('iconfont.woff?t=1647573254226') format('woff'),
+       url('iconfont.ttf?t=1647573254226') format('truetype');
+}
+
+.iconfont {
+  font-family: "iconfont" !important;
+  font-size: 16px;
+  font-style: normal;
+  -webkit-font-smoothing: antialiased;
+  -moz-osx-font-smoothing: grayscale;
+}
+
+.iconshow_more_finish:before {
+  content: "\e67a";
+}
+
+.iconshow_more_music:before {
+  content: "\e67c";
+}
+
+.iconshow_more:before {
+  content: "\e67e";
+}
+
+.iconshow_more_vr:before {
+  content: "\e67f";
+}
+
+.icontop:before {
+  content: "\e6f3";
+}
+
+.iconeditor_play:before {
+  content: "\e6ef";
+}
+
+.iconeditor_3d:before {
+  content: "\e6f0";
+}
+
+.iconeditor_update:before {
+  content: "\e6f1";
+}
+
+.iconeditor_list_delete:before {
+  content: "\e6f2";
+}
+
+.iconmaterial_panoramic_picture:before {
+  content: "\e6e8";
+}
+
+.iconmaterial_preview_upload:before {
+  content: "\e6e9";
+}
+
+.icontoast_yellow:before {
+  content: "\e6ea";
+}
+
+.iconworks_search:before {
+  content: "\e6eb";
+}
+
+.iconworks_share:before {
+  content: "\e6ec";
+}
+
+.iconworks_look:before {
+  content: "\e6ed";
+}
+
+.iconworks_delete:before {
+  content: "\e6ee";
+}
+
+.iconeditor_folder_off:before {
+  content: "\e6c5";
+}
+
+.iconeditor_folder_on:before {
+  content: "\e6c6";
+}
+
+.iconeditor_add:before {
+  content: "\e6c7";
+}
+
+.iconeditor_hot_add:before {
+  content: "\e6c8";
+}
+
+.iconeditor_off:before {
+  content: "\e6c9";
+}
+
+.iconeditor_list_add:before {
+  content: "\e6ca";
+}
+
+.iconeditor_on:before {
+  content: "\e6cb";
+}
+
+.iconeditor_playback:before {
+  content: "\e6cc";
+}
+
+.iconeditor_list_edit:before {
+  content: "\e6cd";
+}
+
+.iconmaterial_image:before {
+  content: "\e6ce";
+}
+
+.iconmaterial_music:before {
+  content: "\e6cf";
+}
+
+.iconeditor_panoramic:before {
+  content: "\e6d0";
+}
+
+.iconeditor_list_image:before {
+  content: "\e6d1";
+}
+
+.iconmaterial_preview_drop_out:before {
+  content: "\e6d2";
+}
+
+.iconeditor_preview:before {
+  content: "\e6d3";
+}
+
+.iconeditor_search:before {
+  content: "\e6d4";
+}
+
+.iconmaterial_operation_delete:before {
+  content: "\e6d5";
+}
+
+.iconmaterial_operation_editor:before {
+  content: "\e6d6";
+}
+
+.iconeditor_return:before {
+  content: "\e6d7";
+}
+
+.iconmaterial_preview_full_screen:before {
+  content: "\e6d8";
+}
+
+.iconmaterial_preview_enlarge:before {
+  content: "\e6d9";
+}
+
+.iconeditor_save:before {
+  content: "\e6da";
+}
+
+.iconmaterial_preview_next1:before {
+  content: "\e6db";
+}
+
+.iconmaterial_preview_next:before {
+  content: "\e6dc";
+}
+
+.iconmaterial_preview_narrow:before {
+  content: "\e6dd";
+}
+
+.iconmaterial_preview_previous:before {
+  content: "\e6de";
+}
+
+.iconmaterial_operation_image:before {
+  content: "\e6df";
+}
+
+.iconmaterial_video:before {
+  content: "\e6e0";
+}
+
+.iconmaterial_preview_upload_collect:before {
+  content: "\e6e1";
+}
+
+.iconpop-ups_shut-down:before {
+  content: "\e6e2";
+}
+
+.icontoast_green:before {
+  content: "\e6e3";
+}
+
+.icontoast_red:before {
+  content: "\e6e4";
+}
+
+.iconworks_editor:before {
+  content: "\e6e5";
+}
+
+.iconpop-ups_crop:before {
+  content: "\e6e6";
+}
+
+.iconmaterial_prompt:before {
+  content: "\e6e7";
+}
+
+.iconbs_close:before {
+  content: "\e74c";
+}
+
+.iconbs_folder:before {
+  content: "\e74d";
+}
+
+.iconbs_list_menu:before {
+  content: "\e74e";
+}
+
+.iconbs_list_edit:before {
+  content: "\e74f";
+}
+
+.iconbs_list_info:before {
+  content: "\e750";
+}
+
+.iconbs_list_play:before {
+  content: "\e751";
+}
+
+.iconbs_list_stop:before {
+  content: "\e752";
+}
+
+.iconbs_plus:before {
+  content: "\e753";
+}
+
+.iconbs_reduce:before {
+  content: "\e754";
+}
+
+.iconbs_next:before {
+  content: "\e755";
+}
+
+.iconbs_nav_panorama:before {
+  content: "\e756";
+}
+
+.iconbs_upload:before {
+  content: "\e757";
+}
+
+.iconbs_search:before {
+  content: "\e758";
+}
+
+.iconbs_nav_photo:before {
+  content: "\e759";
+}
+
+.iconbs_nav_video:before {
+  content: "\e75a";
+}
+
+.iconedit_add:before {
+  content: "\e75b";
+}
+
+.iconbs_nav_sound:before {
+  content: "\e75c";
+}
+
+.iconedit_input_arrow:before {
+  content: "\e75d";
+}
+
+.iconedit_close:before {
+  content: "\e75e";
+}
+
+.iconedit_case_delete:before {
+  content: "\e75f";
+}
+
+.iconbs_share:before {
+  content: "\e760";
+}
+
+.iconedit_input_unvisible:before {
+  content: "\e761";
+}
+
+.iconedit_input_visible:before {
+  content: "\e762";
+}
+
+.iconedit_list_more:before {
+  content: "\e763";
+}
+
+.iconedit_list_default:before {
+  content: "\e764";
+}
+
+.iconedit_nav_hotpoint:before {
+  content: "\e765";
+}
+
+.iconedit_nav_base:before {
+  content: "\e766";
+}
+
+.iconedit_next:before {
+  content: "\e767";
+}
+
+.iconedit_jumpsview:before {
+  content: "\e768";
+}
+
+.iconedit_pre:before {
+  content: "\e769";
+}
+
+.iconedit_linkview:before {
+  content: "\e76a";
+}
+
+.iconedit_select:before {
+  content: "\e76b";
+}
+
+.iconedit_nav_scenenav:before {
+  content: "\e76c";
+}
+
+.iconedit_soundview:before {
+  content: "\e76d";
+}
+
+.iconedit_photoview:before {
+  content: "\e76e";
+}
+
+.iconedit_search:before {
+  content: "\e76f";
+}
+
+.iconedit_textview:before {
+  content: "\e770";
+}
+
+.iconedit_nav_screen:before {
+  content: "\e771";
+}
+
+.iconedit_type_3d:before {
+  content: "\e772";
+}
+
+.iconedit_top_save:before {
+  content: "\e773";
+}
+
+.iconedit_type_panorama:before {
+  content: "\e774";
+}
+
+.iconedit_top_view:before {
+  content: "\e775";
+}
+
+.iconedit_videoview:before {
+  content: "\e776";
+}
+
+.iconlist_views:before {
+  content: "\e777";
+}
+
+.iconnav_scene_down:before {
+  content: "\e778";
+}
+
+.icontool_about:before {
+  content: "\e779";
+}
+
+.iconnav_scene_up:before {
+  content: "\e77a";
+}
+
+.icontool_vr:before {
+  content: "\e77b";
+}
+
+.icontool_window:before {
+  content: "\e77c";
+}
+
+.icontool_full:before {
+  content: "\e77d";
+}
+
+.iconimg_logo:before {
+  content: "\e77e";
+}
+
+.iconbs_list_cover:before {
+  content: "\e77f";
+}
+
+.iconlist_delete:before {
+  content: "\e780";
+}
+
+.iconbs_stop:before {
+  content: "\e781";
+}
+
+.iconbs_play:before {
+  content: "\e782";
+}
+
+.iconbs_list_circle:before {
+  content: "\e783";
+}
+
+.iconshow_playback:before {
+  content: "\e681";
+}
+
+.iconshow_suspension:before {
+  content: "\e683";
+}
+
+.iconshow_3d_normal:before {
+  content: "\e677";
+}
+
+.iconshow_plane_normal:before {
+  content: "\e67d";
+}
+
+.iconshow_roaming_selected:before {
+  content: "\e682";
+}
+
+.iconshow_plane_selected:before {
+  content: "\e684";
+}
+
+.iconshow_3d_selected:before {
+  content: "\e685";
+}
+
+.iconshow_roaming_normal:before {
+  content: "\e686";
+}
+
+.iconshow_function_collect:before {
+  content: "\e687";
+}
+
+.iconshow_drop-down:before {
+  content: "\e673";
+}
+

Diferenças do arquivo suprimidas por serem muito extensas
+ 1 - 0
packages/code/public/static/lib/iconfontQJ/iconfont.js


+ 828 - 0
packages/code/public/static/lib/iconfontQJ/iconfont.json

@@ -0,0 +1,828 @@
+{
+  "id": "2947721",
+  "name": "全景看看1.1.0",
+  "font_family": "iconfont",
+  "css_prefix_text": "icon-",
+  "description": "全景看看1.1.0",
+  "glyphs": [
+    {
+      "icon_id": "19543927",
+      "name": "show_more_finish",
+      "font_class": "show_more_finish",
+      "unicode": "e67a",
+      "unicode_decimal": 59002
+    },
+    {
+      "icon_id": "19543929",
+      "name": "show_more_music",
+      "font_class": "show_more_music",
+      "unicode": "e67c",
+      "unicode_decimal": 59004
+    },
+    {
+      "icon_id": "19543931",
+      "name": "show_more",
+      "font_class": "show_more",
+      "unicode": "e67e",
+      "unicode_decimal": 59006
+    },
+    {
+      "icon_id": "19543932",
+      "name": "show_more_vr",
+      "font_class": "show_more_vr",
+      "unicode": "e67f",
+      "unicode_decimal": 59007
+    },
+    {
+      "icon_id": "27373469",
+      "name": "top",
+      "font_class": "top",
+      "unicode": "e6f3",
+      "unicode_decimal": 59123
+    },
+    {
+      "icon_id": "25824857",
+      "name": "editor_play",
+      "font_class": "editor_play",
+      "unicode": "e6ef",
+      "unicode_decimal": 59119
+    },
+    {
+      "icon_id": "25824858",
+      "name": "editor_3d",
+      "font_class": "editor_3d",
+      "unicode": "e6f0",
+      "unicode_decimal": 59120
+    },
+    {
+      "icon_id": "25824859",
+      "name": "editor_update",
+      "font_class": "editor_update",
+      "unicode": "e6f1",
+      "unicode_decimal": 59121
+    },
+    {
+      "icon_id": "25824860",
+      "name": "editor_list_delete",
+      "font_class": "editor_list_delete",
+      "unicode": "e6f2",
+      "unicode_decimal": 59122
+    },
+    {
+      "icon_id": "25824816",
+      "name": "material_panoramic_picture",
+      "font_class": "material_panoramic_picture",
+      "unicode": "e6e8",
+      "unicode_decimal": 59112
+    },
+    {
+      "icon_id": "25824817",
+      "name": "material_preview_upload",
+      "font_class": "material_preview_upload",
+      "unicode": "e6e9",
+      "unicode_decimal": 59113
+    },
+    {
+      "icon_id": "25824818",
+      "name": "toast_yellow",
+      "font_class": "toast_yellow",
+      "unicode": "e6ea",
+      "unicode_decimal": 59114
+    },
+    {
+      "icon_id": "25824819",
+      "name": "works_search",
+      "font_class": "works_search",
+      "unicode": "e6eb",
+      "unicode_decimal": 59115
+    },
+    {
+      "icon_id": "25824820",
+      "name": "works_share",
+      "font_class": "works_share",
+      "unicode": "e6ec",
+      "unicode_decimal": 59116
+    },
+    {
+      "icon_id": "25824821",
+      "name": "works_look",
+      "font_class": "works_look",
+      "unicode": "e6ed",
+      "unicode_decimal": 59117
+    },
+    {
+      "icon_id": "25824822",
+      "name": "works_delete",
+      "font_class": "works_delete",
+      "unicode": "e6ee",
+      "unicode_decimal": 59118
+    },
+    {
+      "icon_id": "25824780",
+      "name": "editor_folder_off",
+      "font_class": "editor_folder_off",
+      "unicode": "e6c5",
+      "unicode_decimal": 59077
+    },
+    {
+      "icon_id": "25824781",
+      "name": "editor_folder_on",
+      "font_class": "editor_folder_on",
+      "unicode": "e6c6",
+      "unicode_decimal": 59078
+    },
+    {
+      "icon_id": "25824782",
+      "name": "editor_add",
+      "font_class": "editor_add",
+      "unicode": "e6c7",
+      "unicode_decimal": 59079
+    },
+    {
+      "icon_id": "25824783",
+      "name": "editor_hot_add",
+      "font_class": "editor_hot_add",
+      "unicode": "e6c8",
+      "unicode_decimal": 59080
+    },
+    {
+      "icon_id": "25824784",
+      "name": "editor_off",
+      "font_class": "editor_off",
+      "unicode": "e6c9",
+      "unicode_decimal": 59081
+    },
+    {
+      "icon_id": "25824785",
+      "name": "editor_list_add",
+      "font_class": "editor_list_add",
+      "unicode": "e6ca",
+      "unicode_decimal": 59082
+    },
+    {
+      "icon_id": "25824786",
+      "name": "editor_on",
+      "font_class": "editor_on",
+      "unicode": "e6cb",
+      "unicode_decimal": 59083
+    },
+    {
+      "icon_id": "25824787",
+      "name": "editor_playback",
+      "font_class": "editor_playback",
+      "unicode": "e6cc",
+      "unicode_decimal": 59084
+    },
+    {
+      "icon_id": "25824788",
+      "name": "editor_list_edit",
+      "font_class": "editor_list_edit",
+      "unicode": "e6cd",
+      "unicode_decimal": 59085
+    },
+    {
+      "icon_id": "25824789",
+      "name": "material_image",
+      "font_class": "material_image",
+      "unicode": "e6ce",
+      "unicode_decimal": 59086
+    },
+    {
+      "icon_id": "25824790",
+      "name": "material_music",
+      "font_class": "material_music",
+      "unicode": "e6cf",
+      "unicode_decimal": 59087
+    },
+    {
+      "icon_id": "25824791",
+      "name": "editor_panoramic",
+      "font_class": "editor_panoramic",
+      "unicode": "e6d0",
+      "unicode_decimal": 59088
+    },
+    {
+      "icon_id": "25824792",
+      "name": "editor_list_image",
+      "font_class": "editor_list_image",
+      "unicode": "e6d1",
+      "unicode_decimal": 59089
+    },
+    {
+      "icon_id": "25824793",
+      "name": "material_preview_drop_out",
+      "font_class": "material_preview_drop_out",
+      "unicode": "e6d2",
+      "unicode_decimal": 59090
+    },
+    {
+      "icon_id": "25824794",
+      "name": "editor_preview",
+      "font_class": "editor_preview",
+      "unicode": "e6d3",
+      "unicode_decimal": 59091
+    },
+    {
+      "icon_id": "25824795",
+      "name": "editor_search",
+      "font_class": "editor_search",
+      "unicode": "e6d4",
+      "unicode_decimal": 59092
+    },
+    {
+      "icon_id": "25824796",
+      "name": "material_operation_delete",
+      "font_class": "material_operation_delete",
+      "unicode": "e6d5",
+      "unicode_decimal": 59093
+    },
+    {
+      "icon_id": "25824797",
+      "name": "material_operation_editor",
+      "font_class": "material_operation_editor",
+      "unicode": "e6d6",
+      "unicode_decimal": 59094
+    },
+    {
+      "icon_id": "25824798",
+      "name": "editor_return",
+      "font_class": "editor_return",
+      "unicode": "e6d7",
+      "unicode_decimal": 59095
+    },
+    {
+      "icon_id": "25824799",
+      "name": "material_preview_full_screen",
+      "font_class": "material_preview_full_screen",
+      "unicode": "e6d8",
+      "unicode_decimal": 59096
+    },
+    {
+      "icon_id": "25824800",
+      "name": "material_preview_enlarge",
+      "font_class": "material_preview_enlarge",
+      "unicode": "e6d9",
+      "unicode_decimal": 59097
+    },
+    {
+      "icon_id": "25824801",
+      "name": "editor_save",
+      "font_class": "editor_save",
+      "unicode": "e6da",
+      "unicode_decimal": 59098
+    },
+    {
+      "icon_id": "25824803",
+      "name": "material_preview_next1",
+      "font_class": "material_preview_next1",
+      "unicode": "e6db",
+      "unicode_decimal": 59099
+    },
+    {
+      "icon_id": "25824804",
+      "name": "material_preview_next",
+      "font_class": "material_preview_next",
+      "unicode": "e6dc",
+      "unicode_decimal": 59100
+    },
+    {
+      "icon_id": "25824805",
+      "name": "material_preview_narrow",
+      "font_class": "material_preview_narrow",
+      "unicode": "e6dd",
+      "unicode_decimal": 59101
+    },
+    {
+      "icon_id": "25824806",
+      "name": "material_preview_previous",
+      "font_class": "material_preview_previous",
+      "unicode": "e6de",
+      "unicode_decimal": 59102
+    },
+    {
+      "icon_id": "25824807",
+      "name": "material_operation_image",
+      "font_class": "material_operation_image",
+      "unicode": "e6df",
+      "unicode_decimal": 59103
+    },
+    {
+      "icon_id": "25824808",
+      "name": "material_video",
+      "font_class": "material_video",
+      "unicode": "e6e0",
+      "unicode_decimal": 59104
+    },
+    {
+      "icon_id": "25824809",
+      "name": "material_preview_upload_collect",
+      "font_class": "material_preview_upload_collect",
+      "unicode": "e6e1",
+      "unicode_decimal": 59105
+    },
+    {
+      "icon_id": "25824810",
+      "name": "pop-ups_shut-down",
+      "font_class": "pop-ups_shut-down",
+      "unicode": "e6e2",
+      "unicode_decimal": 59106
+    },
+    {
+      "icon_id": "25824811",
+      "name": "toast_green",
+      "font_class": "toast_green",
+      "unicode": "e6e3",
+      "unicode_decimal": 59107
+    },
+    {
+      "icon_id": "25824812",
+      "name": "toast_red",
+      "font_class": "toast_red",
+      "unicode": "e6e4",
+      "unicode_decimal": 59108
+    },
+    {
+      "icon_id": "25824813",
+      "name": "works_editor",
+      "font_class": "works_editor",
+      "unicode": "e6e5",
+      "unicode_decimal": 59109
+    },
+    {
+      "icon_id": "25824814",
+      "name": "pop-ups_crop",
+      "font_class": "pop-ups_crop",
+      "unicode": "e6e6",
+      "unicode_decimal": 59110
+    },
+    {
+      "icon_id": "25824815",
+      "name": "material_prompt",
+      "font_class": "material_prompt",
+      "unicode": "e6e7",
+      "unicode_decimal": 59111
+    },
+    {
+      "icon_id": "20281176",
+      "name": "bs_close",
+      "font_class": "bs_close",
+      "unicode": "e74c",
+      "unicode_decimal": 59212
+    },
+    {
+      "icon_id": "20281177",
+      "name": "bs_folder",
+      "font_class": "bs_folder",
+      "unicode": "e74d",
+      "unicode_decimal": 59213
+    },
+    {
+      "icon_id": "20281178",
+      "name": "bs_list_menu",
+      "font_class": "bs_list_menu",
+      "unicode": "e74e",
+      "unicode_decimal": 59214
+    },
+    {
+      "icon_id": "20281179",
+      "name": "bs_list_edit",
+      "font_class": "bs_list_edit",
+      "unicode": "e74f",
+      "unicode_decimal": 59215
+    },
+    {
+      "icon_id": "20281180",
+      "name": "bs_list_info",
+      "font_class": "bs_list_info",
+      "unicode": "e750",
+      "unicode_decimal": 59216
+    },
+    {
+      "icon_id": "20281181",
+      "name": "bs_list_play",
+      "font_class": "bs_list_play",
+      "unicode": "e751",
+      "unicode_decimal": 59217
+    },
+    {
+      "icon_id": "20281182",
+      "name": "bs_list_stop",
+      "font_class": "bs_list_stop",
+      "unicode": "e752",
+      "unicode_decimal": 59218
+    },
+    {
+      "icon_id": "20281183",
+      "name": "bs_plus",
+      "font_class": "bs_plus",
+      "unicode": "e753",
+      "unicode_decimal": 59219
+    },
+    {
+      "icon_id": "20281184",
+      "name": "bs_reduce",
+      "font_class": "bs_reduce",
+      "unicode": "e754",
+      "unicode_decimal": 59220
+    },
+    {
+      "icon_id": "20281185",
+      "name": "bs_next",
+      "font_class": "bs_next",
+      "unicode": "e755",
+      "unicode_decimal": 59221
+    },
+    {
+      "icon_id": "20281186",
+      "name": "bs_nav_panorama",
+      "font_class": "bs_nav_panorama",
+      "unicode": "e756",
+      "unicode_decimal": 59222
+    },
+    {
+      "icon_id": "20281187",
+      "name": "bs_upload",
+      "font_class": "bs_upload",
+      "unicode": "e757",
+      "unicode_decimal": 59223
+    },
+    {
+      "icon_id": "20281188",
+      "name": "bs_search",
+      "font_class": "bs_search",
+      "unicode": "e758",
+      "unicode_decimal": 59224
+    },
+    {
+      "icon_id": "20281189",
+      "name": "bs_nav_photo",
+      "font_class": "bs_nav_photo",
+      "unicode": "e759",
+      "unicode_decimal": 59225
+    },
+    {
+      "icon_id": "20281190",
+      "name": "bs_nav_video",
+      "font_class": "bs_nav_video",
+      "unicode": "e75a",
+      "unicode_decimal": 59226
+    },
+    {
+      "icon_id": "20281191",
+      "name": "edit_add",
+      "font_class": "edit_add",
+      "unicode": "e75b",
+      "unicode_decimal": 59227
+    },
+    {
+      "icon_id": "20281192",
+      "name": "bs_nav_sound",
+      "font_class": "bs_nav_sound",
+      "unicode": "e75c",
+      "unicode_decimal": 59228
+    },
+    {
+      "icon_id": "20281193",
+      "name": "edit_input_arrow",
+      "font_class": "edit_input_arrow",
+      "unicode": "e75d",
+      "unicode_decimal": 59229
+    },
+    {
+      "icon_id": "20281194",
+      "name": "edit_close",
+      "font_class": "edit_close",
+      "unicode": "e75e",
+      "unicode_decimal": 59230
+    },
+    {
+      "icon_id": "20281195",
+      "name": "edit_case_delete",
+      "font_class": "edit_case_delete",
+      "unicode": "e75f",
+      "unicode_decimal": 59231
+    },
+    {
+      "icon_id": "20281196",
+      "name": "bs_share",
+      "font_class": "bs_share",
+      "unicode": "e760",
+      "unicode_decimal": 59232
+    },
+    {
+      "icon_id": "20281197",
+      "name": "edit_input_unvisible",
+      "font_class": "edit_input_unvisible",
+      "unicode": "e761",
+      "unicode_decimal": 59233
+    },
+    {
+      "icon_id": "20281198",
+      "name": "edit_input_visible",
+      "font_class": "edit_input_visible",
+      "unicode": "e762",
+      "unicode_decimal": 59234
+    },
+    {
+      "icon_id": "20281199",
+      "name": "edit_list_more",
+      "font_class": "edit_list_more",
+      "unicode": "e763",
+      "unicode_decimal": 59235
+    },
+    {
+      "icon_id": "20281200",
+      "name": "edit_list_default",
+      "font_class": "edit_list_default",
+      "unicode": "e764",
+      "unicode_decimal": 59236
+    },
+    {
+      "icon_id": "20281201",
+      "name": "edit_nav_hotpoint",
+      "font_class": "edit_nav_hotpoint",
+      "unicode": "e765",
+      "unicode_decimal": 59237
+    },
+    {
+      "icon_id": "20281202",
+      "name": "edit_nav_base",
+      "font_class": "edit_nav_base",
+      "unicode": "e766",
+      "unicode_decimal": 59238
+    },
+    {
+      "icon_id": "20281203",
+      "name": "edit_next",
+      "font_class": "edit_next",
+      "unicode": "e767",
+      "unicode_decimal": 59239
+    },
+    {
+      "icon_id": "20281204",
+      "name": "edit_jumpsview",
+      "font_class": "edit_jumpsview",
+      "unicode": "e768",
+      "unicode_decimal": 59240
+    },
+    {
+      "icon_id": "20281205",
+      "name": "edit_pre",
+      "font_class": "edit_pre",
+      "unicode": "e769",
+      "unicode_decimal": 59241
+    },
+    {
+      "icon_id": "20281206",
+      "name": "edit_linkview",
+      "font_class": "edit_linkview",
+      "unicode": "e76a",
+      "unicode_decimal": 59242
+    },
+    {
+      "icon_id": "20281207",
+      "name": "edit_select",
+      "font_class": "edit_select",
+      "unicode": "e76b",
+      "unicode_decimal": 59243
+    },
+    {
+      "icon_id": "20281208",
+      "name": "edit_nav_scenenav",
+      "font_class": "edit_nav_scenenav",
+      "unicode": "e76c",
+      "unicode_decimal": 59244
+    },
+    {
+      "icon_id": "20281209",
+      "name": "edit_soundview",
+      "font_class": "edit_soundview",
+      "unicode": "e76d",
+      "unicode_decimal": 59245
+    },
+    {
+      "icon_id": "20281210",
+      "name": "edit_photoview",
+      "font_class": "edit_photoview",
+      "unicode": "e76e",
+      "unicode_decimal": 59246
+    },
+    {
+      "icon_id": "20281211",
+      "name": "edit_search",
+      "font_class": "edit_search",
+      "unicode": "e76f",
+      "unicode_decimal": 59247
+    },
+    {
+      "icon_id": "20281212",
+      "name": "edit_textview",
+      "font_class": "edit_textview",
+      "unicode": "e770",
+      "unicode_decimal": 59248
+    },
+    {
+      "icon_id": "20281213",
+      "name": "edit_nav_screen",
+      "font_class": "edit_nav_screen",
+      "unicode": "e771",
+      "unicode_decimal": 59249
+    },
+    {
+      "icon_id": "20281214",
+      "name": "edit_type_3d",
+      "font_class": "edit_type_3d",
+      "unicode": "e772",
+      "unicode_decimal": 59250
+    },
+    {
+      "icon_id": "20281215",
+      "name": "edit_top_save",
+      "font_class": "edit_top_save",
+      "unicode": "e773",
+      "unicode_decimal": 59251
+    },
+    {
+      "icon_id": "20281216",
+      "name": "edit_type_panorama",
+      "font_class": "edit_type_panorama",
+      "unicode": "e774",
+      "unicode_decimal": 59252
+    },
+    {
+      "icon_id": "20281217",
+      "name": "edit_top_view",
+      "font_class": "edit_top_view",
+      "unicode": "e775",
+      "unicode_decimal": 59253
+    },
+    {
+      "icon_id": "20281218",
+      "name": "edit_videoview",
+      "font_class": "edit_videoview",
+      "unicode": "e776",
+      "unicode_decimal": 59254
+    },
+    {
+      "icon_id": "20335636",
+      "name": "list_views",
+      "font_class": "list_views",
+      "unicode": "e777",
+      "unicode_decimal": 59255
+    },
+    {
+      "icon_id": "20434823",
+      "name": "nav_scene_down",
+      "font_class": "nav_scene_down",
+      "unicode": "e778",
+      "unicode_decimal": 59256
+    },
+    {
+      "icon_id": "20434824",
+      "name": "tool_about",
+      "font_class": "tool_about",
+      "unicode": "e779",
+      "unicode_decimal": 59257
+    },
+    {
+      "icon_id": "20434825",
+      "name": "nav_scene_up",
+      "font_class": "nav_scene_up",
+      "unicode": "e77a",
+      "unicode_decimal": 59258
+    },
+    {
+      "icon_id": "20434826",
+      "name": "tool_vr",
+      "font_class": "tool_vr",
+      "unicode": "e77b",
+      "unicode_decimal": 59259
+    },
+    {
+      "icon_id": "20434827",
+      "name": "tool_window",
+      "font_class": "tool_window",
+      "unicode": "e77c",
+      "unicode_decimal": 59260
+    },
+    {
+      "icon_id": "20434829",
+      "name": "tool_full",
+      "font_class": "tool_full",
+      "unicode": "e77d",
+      "unicode_decimal": 59261
+    },
+    {
+      "icon_id": "20434835",
+      "name": "img_logo",
+      "font_class": "img_logo",
+      "unicode": "e77e",
+      "unicode_decimal": 59262
+    },
+    {
+      "icon_id": "20468141",
+      "name": "list_cover",
+      "font_class": "bs_list_cover",
+      "unicode": "e77f",
+      "unicode_decimal": 59263
+    },
+    {
+      "icon_id": "20468257",
+      "name": "list_delete",
+      "font_class": "list_delete",
+      "unicode": "e780",
+      "unicode_decimal": 59264
+    },
+    {
+      "icon_id": "20863638",
+      "name": "bs_stop",
+      "font_class": "bs_stop",
+      "unicode": "e781",
+      "unicode_decimal": 59265
+    },
+    {
+      "icon_id": "20863639",
+      "name": "bs_play",
+      "font_class": "bs_play",
+      "unicode": "e782",
+      "unicode_decimal": 59266
+    },
+    {
+      "icon_id": "20863640",
+      "name": "bs_list_circle",
+      "font_class": "bs_list_circle",
+      "unicode": "e783",
+      "unicode_decimal": 59267
+    },
+    {
+      "icon_id": "19543934",
+      "name": "show_playback",
+      "font_class": "show_playback",
+      "unicode": "e681",
+      "unicode_decimal": 59009
+    },
+    {
+      "icon_id": "19543936",
+      "name": "show_suspension",
+      "font_class": "show_suspension",
+      "unicode": "e683",
+      "unicode_decimal": 59011
+    },
+    {
+      "icon_id": "20066551",
+      "name": "show_3d_normal",
+      "font_class": "show_3d_normal",
+      "unicode": "e677",
+      "unicode_decimal": 58999
+    },
+    {
+      "icon_id": "20066554",
+      "name": "show_plane_normal",
+      "font_class": "show_plane_normal",
+      "unicode": "e67d",
+      "unicode_decimal": 59005
+    },
+    {
+      "icon_id": "20066556",
+      "name": "show_roaming_selected",
+      "font_class": "show_roaming_selected",
+      "unicode": "e682",
+      "unicode_decimal": 59010
+    },
+    {
+      "icon_id": "20066557",
+      "name": "show_plane_selected",
+      "font_class": "show_plane_selected",
+      "unicode": "e684",
+      "unicode_decimal": 59012
+    },
+    {
+      "icon_id": "20066558",
+      "name": "show_3d_selected",
+      "font_class": "show_3d_selected",
+      "unicode": "e685",
+      "unicode_decimal": 59013
+    },
+    {
+      "icon_id": "20066559",
+      "name": "show_roaming_normal",
+      "font_class": "show_roaming_normal",
+      "unicode": "e686",
+      "unicode_decimal": 59014
+    },
+    {
+      "icon_id": "20066572",
+      "name": "show_function_collect",
+      "font_class": "show_function_collect",
+      "unicode": "e687",
+      "unicode_decimal": 59015
+    },
+    {
+      "icon_id": "19543922",
+      "name": "show_drop-down",
+      "font_class": "show_drop-down",
+      "unicode": "e673",
+      "unicode_decimal": 58995
+    }
+  ]
+}

BIN
packages/code/public/static/lib/iconfontQJ/iconfont.ttf


BIN
packages/code/public/static/lib/iconfontQJ/iconfont.woff


BIN
packages/code/public/static/lib/iconfontQJ/iconfont.woff2


+ 2 - 7
packages/code/src/api/index.js

@@ -20,10 +20,6 @@ const URL_FILL =  config.urlFill
 
 let ossUrl = config.CDN
 
-let f4KKUrl = config.f4KKUrl
-
-
-
 // https://ossxiaoan.4dage.com/720yun_fd_manage
 
 
@@ -34,8 +30,7 @@ let f4KKUrl = config.f4KKUrl
  * @param {*} no 
  */
  export function getPanoInfo(data, ok, no) {
-    return http.get(`${ossUrl}/720yun_fd_manage/${data||number()}/someData.json?_=${Math.random()}`, {}, ok, no)
-    
+    return http.get(`${ossUrl}local/${data||number()}/someData.json?_=${Math.random()}`, {}, ok, no)
 }
 
 
@@ -46,7 +41,7 @@ let f4KKUrl = config.f4KKUrl
  * @param {*} no 
  */
  export function getSceneInfomation(data, ok, no) {
-    return http.get(`${f4KKUrl}/api/scene/getInfo?num=${data.id}&_=${Math.random()}`, {}, ok, no)
+    return http.get(`${ossUrl}/local/4dkk/${data.id||number()}/wwwroot/data/data${data.id||number()}/getInfo.json?_=${Math.random()}`, {}, ok, no)
 }
 
 /**

+ 0 - 1
packages/code/src/config/index.js

@@ -16,7 +16,6 @@ const config = {
     hengdaNum: browser.urlQueryValue('h') || '6017118343179540233',
     intranet: process.env.VUE_APP_INNERNET,
     CDN: process.env.VUE_APP_CDN,
-    f4KKUrl: process.env.VUE_APP_PROXY_4DKANKAN_URL,
     panoSetting:{
       angle_of_view:{
         viewSettings:[

+ 120 - 193
packages/code/src/framework/show/index.vue

@@ -1,29 +1,50 @@
 <template>
   <div class="panocon">
     <template v-if="showInfo">
-      <iframe allowfullscreen="true" v-if="activeItem.type == '4dkk'" :src="`/spc.html?m=${activeItem.sceneCode}&lang=zh`" frameborder="0"></iframe>
-      <div v-show="activeItem.type != '4dkk'" id="pano"></div>
+      <iframe allowfullscreen="true" v-if="activeItem.type=='4dkk'" 
+      :src="`local/4dkk/${activeItem.sceneCode}/wwwroot/spc.html?m=${activeItem.sceneCode}`" frameborder="0"></iframe>
+      <div v-show="activeItem.type!='4dkk'" id="pano"></div>
 
-      <div class="pano-logo" v-if="showInfo.isLogo && activeItem.type != '4dkk'">
-        <img :src="showInfo.logo || require('@/assets/images/default/img_logoshow@2x.png')" alt="" />
+      <div class="pano-logo" v-if="showInfo.isLogo&&activeItem.type!='4dkk'">
+        <img :src="showInfo.logo||require('@/assets/images/default/img_logoshow@2x.png')" alt="" />
       </div>
 
-      <div class="oper-tips" :class="{ hidetips: !showTips }" v-if="localRemind">
-        <img :src="showInfo.pcIcon || require('@/assets/images/default/show/img_tipspc_default.png')" alt="" />
+
+      <div
+        class="oper-tips"
+        :class="{ hidetips: !showTips }"
+        v-if="localRemind"
+      >
+        <img
+          :src="
+            showInfo.pcIcon ||
+            require('@/assets/images/default/show/img_tipspc_default.png')
+          "
+          alt=""
+        />
       </div>
 
       <list v-if="canLoad" @select="handleSelect" :select="activeItem"></list>
-      <password :bg="showInfo.icon" :show="showPassword" @submit="handlePassword" @close="showPassword = false" />
+      <password
+        :bg="showInfo.icon"
+        :show="showPassword"
+        @submit="handlePassword"
+        @close="showPassword = false"
+      />
       <popup :title="'简介'" :show="showIntro" @close="showIntro = false">
         <div slot="content" class="introcon">
           {{ showInfo.description || "暂无简介" }}
         </div>
       </popup>
 
-      <preview :item="currentHotspot" :show="showPreview" @close="(showPreview = false), (currentHotspot = '')" />
+      <preview
+        :item="currentHotspot"
+        :show="showPreview"
+        @close="showPreview = false,currentHotspot=''"
+      />
 
-      <ul class="aside" v-if="activeItem.type != '4dkk'">
-        <li :class="{ ismuted: item.id == 'bgm' && !isMusic }" v-for="(item, i) in aside" :key="i">
+      <ul class="aside" v-if="activeItem.type!='4dkk'">
+        <li v-for="(item, i) in aside" :key="i">
           <span @click="handleItem(item)">
             <i class="iconfont" :class="item.icon"></i>
           </span>
@@ -32,21 +53,23 @@
     </template>
     <template v-else>
       <div class="hasDel" v-if="loadFinish">
-        <div>
-          <img :src="$noresult" alt="" />
-          <p>作品已被删除</p>
-        </div>
+      <div>
+        <img :src="$noresult" alt="">
+        <p>作品已被删除</p>
       </div>
+    </div>
+
     </template>
   </div>
 </template>
 
 <script>
 import * as krfn from "@/core/index.js";
-import { getPanoInfo, checkPassword, checkWork } from "@/api";
+import { getPanoInfo, checkPassword,checkWork } from "@/api";
 import password from "./popup/password";
 import preview from "./popup/preview";
-import { $smallWaiting } from "@/components/shared/loading";
+import { $smallWaiting } from '@/components/shared/loading'
+
 
 import popup from "./popup/";
 import { mapGetters } from "vuex";
@@ -69,13 +92,11 @@ export default {
   },
   data() {
     return {
-      bgmAudio: "",
-      isMusic: false,
       showPreview: false,
-      isFullscreen: false,
+      isFullscreen:false,
       showTips: false,
       canLoad: false,
-      loadFinish: false,
+      loadFinish:false,
       showPassword: false,
       showIntro: false,
       localRemind: false,
@@ -102,41 +123,37 @@ export default {
   },
   methods: {
     onFullScreen() {
-      let element = document.documentElement;
-      if (this.isFullscreen) {
-        if (document.exitFullscreen) {
-          document.exitFullscreen();
-        } else if (document.webkitCancelFullScreen) {
-          document.webkitCancelFullScreen();
-        } else if (document.mozCancelFullScreen) {
-          document.mozCancelFullScreen();
-        } else if (document.msExitFullscreen) {
-          document.msExitFullscreen();
-        }
-      } else {
-        if (element.requestFullscreen) {
-          element.requestFullscreen();
-        } else if (element.webkitRequestFullScreen) {
-          element.webkitRequestFullScreen();
-        } else if (element.mozRequestFullScreen) {
-          element.mozRequestFullScreen();
-        } else if (element.msRequestFullscreen) {
-          element.msRequestFullscreen();
+        let element = document.documentElement;
+        if (this.isFullscreen) {
+            if (document.exitFullscreen) {
+                document.exitFullscreen();
+            } else if (document.webkitCancelFullScreen) {
+                document.webkitCancelFullScreen();
+            } else if (document.mozCancelFullScreen) {
+                document.mozCancelFullScreen();
+            } else if (document.msExitFullscreen) {
+                document.msExitFullscreen();
+            }
+        } else {
+            if (element.requestFullscreen) {
+                element.requestFullscreen();
+            } else if (element.webkitRequestFullScreen) {
+                element.webkitRequestFullScreen();
+            } else if (element.mozRequestFullScreen) {
+                element.mozRequestFullScreen();
+            } else if (element.msRequestFullscreen) {
+                element.msRequestFullscreen();
+            }
         }
-      }
-      // 改变当前全屏状态
-      this.isFullscreen = !this.isFullscreen;
-    },
+          // 改变当前全屏状态
+        this.isFullscreen = !this.isFullscreen;
+      },
     handleItem(data) {
-      if (data.id == "bgm") {
-        this.isMusic = !this.isMusic;
-        localStorage.setItem("g_bgmstatus", this.isMusic ? "open" : "close");
-      }
       if (data.id == "about") {
         this.showIntro = true;
       }
       if (data.id == "full") {
-        this.onFullScreen();
+        this.onFullScreen()
       }
       if (data.id == "vr") {
         var krpano = document.getElementById("krpanoSWFObject");
@@ -154,7 +171,7 @@ export default {
           if (res.code == 0) {
             this.showPassword = false;
             this.canLoad = true;
-          }
+          } 
         }
       );
     },
@@ -176,13 +193,14 @@ export default {
           }
         });
       });
-      tmp = this.$unique(tmp);
+      tmp = this.$unique(tmp)
 
       this.showInfo.catalogs = tmp;
       let rootmp = [];
       tmp.forEach((item) => {
         this.showInfo.catalogRoot.forEach((sub) => {
-          sub.children = this.$unique(sub.children);
+
+          sub.children = this.$unique(sub.children)
 
           if (sub.children.indexOf(item.id) > -1) {
             rootmp.push(sub);
@@ -190,16 +208,18 @@ export default {
         });
       });
 
-      rootmp = this.$unique(rootmp);
 
-      let sortArr = this.showInfo.catalogRoot.map((item) => item.name);
-      rootmp.sort((a, b) => {
-        return sortArr.indexOf(a.name) - sortArr.indexOf(b.name);
-      });
+      rootmp = this.$unique(rootmp)
+
+      let sortArr = this.showInfo.catalogRoot.map(item=>item.name)
+      rootmp.sort((a,b)=>{
+        return sortArr.indexOf(a.name) - sortArr.indexOf(b.name)
+      })
+
 
       this.showInfo.catalogRoot = rootmp.map((item) => {
         let temp = [];
-        item.children = this.$unique(item.children);
+        item.children = this.$unique(item.children)
         item.children.forEach((sub) => {
           tmp.forEach((jj) => {
             if (jj.id == sub) {
@@ -213,15 +233,15 @@ export default {
         };
       });
 
-      this.showInfo.catalogs = tmp;
+      this.showInfo.catalogs = tmp
 
-      let cid = "c_" + this.$randomWord(true, 8, 8);
+      let cid = 'c_'+this.$randomWord(true,8,8)
 
       if (this.showInfo.catalogRoot.length <= 0) {
         this.showInfo.catalogRoot.push({
-          id: "r_" + this.$randomWord(true, 8, 8),
+          id: 'r_'+this.$randomWord(true,8,8),
           name: "全部场景",
-          children: [cid],
+          children:[cid]
         });
       }
 
@@ -233,39 +253,30 @@ export default {
       }
 
       if (this.showInfo.firstScene) {
-        this.showInfo.firstScene = this.showInfo.scenes.find((item) => item.sceneCode == this.showInfo.firstScene.sceneCode);
+        this.showInfo.firstScene = this.showInfo.scenes.find(item=>item.sceneCode==this.showInfo.firstScene.sceneCode)
       }
 
       this.$store.commit("SetShowInfo", this.showInfo);
     },
 
     getSceneInfo() {
-      checkWork("", (data) => {
-        if (data.data) {
-          getPanoInfo("", (res) => {
-            this.$store.commit("SetShowInfo", res);
-            this.fixData();
-            this.loadFinish = true;
-          });
-        } else {
-          this.loadFinish = true;
+       getPanoInfo(
+            "",
+        (res) => {
+          this.$store.commit("SetShowInfo", res);
+          this.fixData()
+          this.loadFinish = true
         }
-      });
-    },
+      );
+    }
   },
   watch: {
-    isMusic: {
-      handler: function(newVal) {
-        newVal ? this.bgmAudio.play() : this.bgmAudio.pause();
-      },
-    },
     currentHotspot: {
       deep: true,
-      handler: function(newVal) {
+      handler: function (newVal) {
         if (newVal) {
           if (newVal.hotspotType == "link") {
             window.open(newVal.hyperlink, "_blank");
-            this.currentHotspot = "";
             return;
           }
           if (newVal.hotspotType == "scene") {
@@ -279,7 +290,7 @@ export default {
     canLoad(newVal) {
       if (newVal) {
         setTimeout(() => {
-          this.showTips = this.localRemind;
+          this.showTips = this.localRemind
           setTimeout(() => {
             this.showTips = false;
           }, this.showInfo.remindTime * 1000);
@@ -289,90 +300,23 @@ export default {
     showInfo: {
       deep: true,
       immediate: true,
-      handler: function(newVal) {
+      handler: function (newVal) {
         if (newVal) {
-          document.title = newVal.name || "无标题";
-          let locoR = "localRemind" + newVal.id;
+          document.title = newVal.name || '无标题'
+          let locoR = "localRemind"+newVal.id
           if (!newVal.description) {
-            this.aside.shift();
-          }
-          if (newVal.bgMusic) {
-            this.aside.push({
-              id: "bgm",
-              icon: "iconbs_nav_sound",
-            });
-            this.bgmAudio = new Audio();
-            this.bgmAudio.src = newVal.bgMusic;
-            this.bgmAudio.loop = true;
-            this.bgmAudio.autoplay = true;
-
-            let playingfn = () => {
-              this.isMusic = true;
-            };
-
-            let pausedingfn = () => {
-              this.isMusic = false;
-            };
-
-            this.$nextTick(() => {
-              setTimeout(() => {
-                if (this.bgmAudio.paused) {
-                  this.isMusic = false;
-                  localStorage.setItem("g_bgmstatus", this.isMusic ? "open" : "close");
-                }
-
-                document.addEventListener(
-                  "WeixinJSBridgeReady",
-                  () => {
-                    this.bgmAudio.play();
-                  },
-                  false
-                );
-              });
-            });
-
-            let onclick = () => {
-              document.removeEventListener("click", onclick);
-              document.removeEventListener("touchstart", onclick);
-              if (this.bgmAudio.paused) {
-                this.bgmAudio.play();
-              }
-            };
-            document.addEventListener("click", onclick);
-            document.addEventListener("touchstart", onclick);
-
-            this.bgmAudio.removeEventListener("playing", playingfn);
-            this.bgmAudio.removeEventListener("paused", pausedingfn);
-
-            this.bgmAudio.addEventListener("paused", pausedingfn);
-            this.bgmAudio.addEventListener("playing", playingfn);
-
-            this.bgmAudio.addEventListener("canplay", () => {
-              this.bgmAudio.play();
-              localStorage.setItem("g_bgmstatus", this.isMusic ? "open" : "close");
-            });
-
-            document.addEventListener("visibilitychange", () => {
-              let data = document.hidden;
-              if (data) {
-                this.isMusic = false;
-              } else {
-                let status = localStorage.getItem("g_bgmstatus");
-                if (status === "open") {
-                  this.isMusic = true;
-                }
-              }
-            });
+            this.aside.shift()
           }
-          if (newVal.isRemind == 1) {
-            this.localRemind = localStorage.getItem(locoR) == 1 ? false : true;
+          if (newVal.isRemind==1) {
+            this.localRemind = localStorage.getItem(locoR) == 1 ? false : true
             localStorage.setItem(locoR, 1);
-          } else {
+          }
+          else{
             this.localRemind = true;
             localStorage.setItem(locoR, 0);
           }
           if (this.showInfo.firstScene) {
-            if (this.showInfo.firstScene.type == "4dkk") {
+            if (this.showInfo.firstScene.type == '4dkk') {
               this.localRemind = false;
             }
           }
@@ -382,19 +326,19 @@ export default {
     },
     activeItem: {
       handler(newVal) {
-        this.currentHotspot = "";
+        this.currentHotspot = ''
         $("#pano").empty();
         window.vrInitFn = () => {
-          $smallWaiting.hide();
+          $smallWaiting.hide()
           var krpano = document.getElementById("krpanoSWFObject");
           __krfn.utils.initHotspot(krpano, newVal && newVal.someData, false);
         };
         window.vrViewFn = () => {
           try {
-            let tmp = newVal.initVisual || {};
+            let tmp = newVal.initVisual||{};
             var krpano = document.getElementById("krpanoSWFObject");
-            krpano.set("view.vlookat", tmp.vlookat || 0);
-            krpano.set("view.hlookat", tmp.hlookat || 0);
+            krpano.set("view.vlookat", tmp.vlookat||0);
+            krpano.set("view.hlookat", tmp.hlookat||0);
             krpano.set("autorotate.enabled", Boolean(this.showInfo.isAuto));
           } catch (error) {
             error;
@@ -405,17 +349,17 @@ export default {
           "events[skin_events].onloadcomplete": "js(window.vrInitFn());",
         };
         if (newVal) {
-          if (newVal.type == "4dkk") {
-            removepano("#pano");
-            $("#pano").empty();
-            return;
+          if (newVal.type=='4dkk') {
+              removepano("#pano");
+              $("#pano").empty();
+              return
           }
           removepano("#pano");
-          $smallWaiting.show();
+          $smallWaiting.show()
 
           embedpano({
             // xml: "%HTMLPATH%/static/template/tour.xml",
-            xml: `${this.$cdn}/720yun_fd_manage/${newVal.sceneCode}/vtour/tour.xml`,
+            xml: `${this.$cdn}local/pano/${newVal.sceneCode}/vtour/tour.xml`,
             swf: "%HTMLPATH%/static/template/tour.swf",
             target: "pano",
             html5: "auto",
@@ -431,8 +375,8 @@ export default {
     window.__krfn = __krfn;
 
     this.$bus.on("clickHotspot", (data) => {
-      let someData = this.activeItem.someData;
-      if (typeof someData == "string") {
+      let someData = this.activeItem.someData
+      if (typeof someData == 'string') {
         someData = JSON.parse(this.activeItem.someData);
       }
       let idx = someData.hotspots.findIndex((item) => item.name == data);
@@ -448,20 +392,20 @@ export default {
 .panocon {
   width: 100%;
   height: 100%;
-  .hasDel {
+  .hasDel{
     background: #fff;
     width: 100%;
     height: 100%;
     position: relative;
-    > div {
+    >div{
       position: absolute;
       top: 50%;
       left: 50%;
-      transform: translate(-50%, -50%);
+      transform: translate(-50%,-50%);
       color: #909090;
       text-align: center;
       font-size: 18px;
-      > p {
+      >p{
         margin-top: 20px;
       }
     }
@@ -470,7 +414,7 @@ export default {
     width: 100%;
     height: 100%;
   }
-  > iframe {
+  >iframe{
     width: 100%;
     height: 100%;
   }
@@ -526,23 +470,6 @@ export default {
           transform: translate(-50%, -50%);
         }
       }
-      &.ismuted {
-        position: relative;
-        &::before {
-          content: "";
-          pointer-events: none;
-          display: inline-block;
-          width: 1px;
-          height: 46%;
-          position: absolute;
-          left: 30%;
-          top: 30%;
-          transform: rotate(-45deg);
-          transform-origin: top;
-          z-index: 99;
-          background: #fff;
-        }
-      }
     }
   }
   .introcon {

+ 16 - 5
packages/code/src/framework/show/list.vue

@@ -6,8 +6,8 @@
           <ul class="pic-list swiper-wrapper">
             <li class="swiper-slide" :title="item.sceneTitle" @click="handleVR(item,i)" v-for="(item, i) in scenes" :key="i">
               <div :class="{ active: selected.sceneCode == item.sceneCode }">
-                <img :src="item.icon + `?${Math.random()}`" alt="" />
-                <i class="iconfont icon-edit_type_3d" :class="{ iconedit_type_panorama: item.type !== '4dkk' }"></i>
+                <img :src="handleImg(item) + `?${Math.random()}`" alt="" />
+                <i class="iconfont iconedit_type_3d" :class="{ iconedit_type_panorama: item.type !== '4dkk' }"></i>
                 <rollName :offset="20" :active="selected.sceneCode == item.sceneCode" class="pic-name" :myref="'subw' + item.id" :name="item.sceneTitle" />
               </div>
             </li>
@@ -108,11 +108,22 @@ export default {
   },
 
   methods: {
-    getCWidth(ref) {
-      if (this.$refs[ref]) {
-        return this.$refs[ref][0].clientWidth;
+    handleImg(item){
+      let url = ''
+      if (item.type == "4dkk") {
+        url = `local/4dkk/${item.sceneCode}/wwwroot/images/images${item.sceneCode}/thumbSmallImg.jpg`
       }
+      else{
+        if (item.icon.indexOf('preview.jpg')>-1) {
+          url = item.icon.replace('https://4dkk.4dage.com/720yun_fd_manage/image/',`local/pano/${item.sceneCode}/`)
+        }
+        else{
+          url = item.icon.replace('https://4dkk.4dage.com/720yun_fd_manage/image/',`local/pano/images/`)
+        }
+      }
+      return url || item.icon
     },
+    
 
     fixPosit(ref,i,prenum,nexnum){
          if (i!==null) {

+ 64 - 87
packages/code/src/framework/showMobile/iframe.vue

@@ -1,128 +1,105 @@
 <template>
   <div class="ifrcon">
     <Header :bgmUrl="tempBgm" @toggleBGM="handleBGM" :somedatainfo="somedatainfo" :bgmstatus="bgmstatus" :params="params" />
-    <iframe v-if="!isUpGrade" allowfullscreen="true" ref="iframe" id="showifr" :src="url" frameborder="0" @load="onIframLoad"></iframe>
-    <iframe
-      v-else
-      allowfullscreen="true"
-      ref="iframe"
-      id="showifr"
-      :src="`smg.html?m=${num}`"
-      frameborder="0"
-      @load="onIframLoad"
-    ></iframe>
+    <iframe allowfullscreen="true" ref="iframe" id="showifr" :src="url" frameborder="0" @load="onIframLoad"></iframe>
   </div>
 </template>
 
 <script>
 import Header from "./ui/Show.Header";
-import browser from "@/utils/browser";
+import browser from "@/utils/browser"
 
 export default {
-  props: ["url", "bgmUrl", "somedatainfo","num", "isUpGrade"],
-  components: { Header },
-  data() {
+  props:['url','bgmUrl','somedatainfo'],
+  components:{Header},
+  data(){
     return {
-      params: "",
-      bgmstatus: false,
-    };
+      params:'',
+      bgmstatus: false
+    }
   },
-  computed: {
-    tempBgm() {
-      return this.bgmUrl;
-    },
+  computed:{
+    tempBgm(){
+      return this.bgmUrl
+    }
   },
-  methods: {
-    onIframLoad() {
-      window.onmessage = (e) => {
-
+  methods:{
+    onIframLoad(){
+      window.onmessage = e =>{
         if (e.data.source != "4dage") {
-          return;
-        }
-
-        if (e.data.event == "showTours") {
-          if (e.data.data) {
-            this.$bus.emit('toggleShowList',!e.data.data)
-          }
+            return
         }
 
         if (e.data.event == "guide-rooms") {
-          this.$bus.emit("guideRoomsData", e.data.params);
+          this.$bus.emit('guideRoomsData',e.data.params)
         }
 
-        if (e.data.event == "link-click") {
-          if (
-            e.data.params.url.indexOf("https://www.4dkankan.com/spc.html?") > -1 ||
-            e.data.params.url.indexOf("https://www.4dkankan.com/smobile.html?") > -1 ||
-            e.data.params.url.indexOf("https://test.4dkankan.com/spc.html?") > -1 ||
-            e.data.params.url.indexOf("https://test.4dkankan.com/smobile.html?") > -1
-          ) {
-            let m = browser.urlHasValueFromUrl("m", e.data.params.url);
-            this.$emit("changeUrl", m);
-          } else {
-            this.$emit("otherUrl", e.data.params.url);
-          }
+          if (e.data.event == "link-click") {
+            if (e.data.params.url.indexOf('https://www.4dkankan.com/spc.html?')>-1
+            ||e.data.params.url.indexOf('https://www.4dkankan.com/smobile.html?')>-1
+            ||e.data.params.url.indexOf('https://test.4dkankan.com/spc.html?')>-1
+            ||e.data.params.url.indexOf('https://test.4dkankan.com/smobile.html?')>-1) {
+              let m = browser.urlHasValueFromUrl('m',e.data.params.url)
+              this.$emit('changeUrl',m)
+            } else{
+              this.$emit('otherUrl',e.data.params.url)
+            }
+
         }
 
-        if (e.data.event == "action") {
-          this.$bus.emit("currentMode", e.data.params);
 
+
+
+        if (e.data.event == "action") {
+          this.$bus.emit('currentMode',e.data.params)
+          
           if (e.data.params.type == "playMusic") {
-            console.log(e.data.params.data.status, "e.data");
-            this.bgmstatus = e.data.params.data.status;
+            console.log(e.data.params.data.status,'e.data');
+            this.bgmstatus = e.data.params.data.status
+            
           }
         }
 
         if (e.data.event == "loaded") {
           console.log(e.data.params);
-          this.params = e.data.params;
-          this.$refs.iframe.contentWindow.postMessage(
-            {
+          this.params = e.data.params
+          this.$refs.iframe.contentWindow.postMessage({
               source: "mingyuan",
-              event: "guide-rooms",
-            },
-            "*"
-          );
+              event: 'guide-rooms'
+          },"*")
 
-          this.$refs.iframe.contentWindow.postMessage(
-            {
-              source: "mingyuan",
-              event: "settings",
-              params: {
-                playMusic: true,
-              },
-            },
-            "*"
-          );
+          this.$refs.iframe.contentWindow.postMessage({
+              source : "mingyuan",
+              event:"settings",
+              params:{
+                  playMusic:true
+              }
+          },"*")
         }
-      };
-    },
-    handleBGM(status) {
-      this.$refs.iframe.contentWindow.postMessage(
-        {
-          source: "mingyuan",
-          event: "settings",
-          params: {
-            playMusic: status,
-          },
-        },
-        "*"
-      );
+
+      }
     },
-  },
-  mounted() {
-    console.log(this.somedatainfo);
-  },
-};
+    handleBGM(status){
+
+       this.$refs.iframe.contentWindow.postMessage({
+            source : "mingyuan",
+            event:"settings",
+            params:{
+                playMusic:status
+            }
+        },"*")
+    }
+  }
+}
 </script>
 
 <style lang="less" scoped>
-.ifrcon {
+.ifrcon{
   width: 100%;
   height: 100%;
-  > iframe {
+  >iframe{
     width: 100%;
     height: 100%;
   }
 }
-</style>
+</style>

+ 26 - 144
packages/code/src/framework/showMobile/index.vue

@@ -5,12 +5,10 @@
         v-if="activeItem.type == '4dkk'"
         @changeUrl="handleChange"
         @otherUrl="handleOther"
-        :isUpGrade="isUpGrade"
         :bgmUrl="bgmUrl"
         :somedatainfo="somedatainfo"
-        :num="activeItem.sceneCode"
-        :key="embeM || activeItem.sceneCode"
-        :url="otherLink ? otherLink : `/embed.html?from=mingyuan&m=${embeM || activeItem.sceneCode}&lang=zh&scene-link=1&rnd=${rnd}`"
+        :key="embeM||activeItem.sceneCode"
+        :url="otherLink?otherLink:`local/4dkk/${activeItem.sceneCode}/wwwroot/embed.html?from=mingyuan&m=${embeM||activeItem.sceneCode}&lang=zh&scene-link=1&rnd=${rnd}`"
       />
       <!-- -->
 
@@ -23,7 +21,7 @@
       <list v-if="canLoad && !isVR" @select="handleSelect" :firstScene="firstScene" :select="activeItem" :mapvisit="mapvisit"></list>
 
       <ul class="aside" v-show="activeItem.type != '4dkk'">
-        <li :class="{ ismuted: item.id == 'bgm' && !isMusic }" v-for="(item, i) in aside" :key="i">
+        <li v-for="(item, i) in aside" :key="i">
           <span @click="handleItem(item)">
             <i class="iconfont" :class="item.icon"></i>
           </span>
@@ -33,23 +31,23 @@
         <img :src="showInfo.appIcon || require('@/assets/images/default/show/img_tipsmb_default.png')" alt="" />
       </div>
       <password :bg="showInfo.icon" :show="showPassword" @submit="handlePassword" @close="showPassword = false" />
-      <popup :title="'简介'" :show="showIntro" @close="(showIntro = false), (currentHotspot = '')">
+      <popup :title="'简介'" :show="showIntro" @close="showIntro = false">
         <div slot="content" class="introcon">
           <span>{{ showInfo.description || "暂无简介" }}</span>
         </div>
       </popup>
-      <imgview @close="(showImage = false), (currentHotspot = '')" v-if="showImage" :image="currentHotspot.image" />
+      <imgview @close="showImage = false" v-if="showImage" :image="currentHotspot.image" />
 
-      <preview :item="currentHotspot" :show="showPreview" @close="(showPreview = false), (currentHotspot = '')" />
+      <preview :item="currentHotspot" :show="showPreview" @close="showPreview = false,currentHotspot=''" />
 
-      <popup :title="currentHotspot.hotspotTitle" :show="showTextarea" @close="(showTextarea = false), (currentHotspot = '')">
+      <popup :title="currentHotspot.hotspotTitle" :show="showTextarea" @close="showTextarea = false">
         <div slot="content" class="introcon">
           <span>{{ currentHotspot.textarea }}</span>
         </div>
       </popup>
 
       <div v-if="audioUrl" class="audio-btn" @click="audioUrl = ''">
-        <i class="iconfont icon-edit_soundview"></i>
+        <i class="iconfont iconedit_soundview"></i>
         停止播放
         <v-audio
           v-if="audioUrl"
@@ -84,7 +82,7 @@ import { $smallWaiting } from "@/components/shared/loading";
 
 import imgview from "./popup/imgview";
 import vIfr from "./iframe";
-import Share from "@/utils/wxshare";
+// import Share from "@/utils/wxshare";
 
 import popup from "./popup/";
 import { mapGetters } from "vuex";
@@ -122,13 +120,10 @@ export default {
   },
   data() {
     return {
-      bgmAudio: "",
-      isMusic: false,
       mapvisit: 0,
       bgmUrl: "",
-      somedatainfo: "",
+      somedatainfo:'',
       isVR: false,
-      isUpGrade:0,
       localRemind: false,
       showPreview: false,
       audioUrl: "",
@@ -152,11 +147,11 @@ export default {
       aside: [
         {
           id: "about",
-          icon: "icon-tool_about",
+          icon: "icontool_about",
         },
         {
           id: "vr",
-          icon: "icon-tool_vr",
+          icon: "icontool_vr",
         },
       ],
     };
@@ -171,14 +166,9 @@ export default {
       this.rnd = Math.random();
     },
     getSceneInfomation() {
-      this.isUpGrade = 0
       getSceneInfomation({ id: this.activeItem.sceneCode }, (data) => {
-        if (data.data.isUpgrade) {
-          this.isUpGrade = data.data.isUpgrade
-          return
-        }
         this.mapvisit = data.data.mapVisi;
-        this.somedatainfo = data.data;
+        this.somedatainfo = data.data
         if (data.data.bgMusic) {
           if (bgmMap[data.data.bgMusic]) {
             this.bgmUrl =
@@ -187,9 +177,10 @@ export default {
                 : `https://4dkk.4dage.com/v3-test/audio/${bgmMap[data.data.bgMusic]}`;
           }
 
-          if (data.data.bgMusic == "user") {
+          if (data.data.bgMusic == 'user') {
             this.bgmUrl = data.data.bgMusic ? `https://4dkk.4dage.com/images/images${data.data.num}/${data.data.bgMusicName}` : "";
           }
+
         }
       });
     },
@@ -197,10 +188,6 @@ export default {
       this.audioUrl = "";
     },
     handleItem(data) {
-      if (data.id == "bgm") {
-        this.isMusic=!this.isMusic
-        localStorage.setItem("g_bgmstatus", this.isMusic ? "open" : "close");
-      }
       if (data.id == "about") {
         this.showIntro = true;
       }
@@ -306,25 +293,14 @@ export default {
     },
 
     getSceneInfo() {
-      checkWork("", (data) => {
-        if (data.data) {
-          getPanoInfo("", (res) => {
-            this.$store.commit("SetShowInfo", res);
-            this.fixData();
-            this.loadFinish = true;
-          });
-        } else {
-          this.loadFinish = true;
-        }
+      getPanoInfo("", (res) => {
+        this.$store.commit("SetShowInfo", res);
+        this.fixData();
+        this.loadFinish = true;
       });
     },
   },
   watch: {
-     isMusic:{
-      handler: function(newVal) {
-        newVal?this.bgmAudio.play():this.bgmAudio.pause()
-      }
-    },
     currentHotspot: {
       deep: true,
       handler: function(newVal) {
@@ -332,7 +308,6 @@ export default {
           this.audioUrl = "";
           if (newVal.hotspotType == "link") {
             window.open(newVal.hyperlink, "_blank");
-            this.currentHotspot = "";
             return;
           }
           if (newVal.hotspotType == "scene") {
@@ -349,7 +324,6 @@ export default {
           }
           if (newVal.hotspotType == "audio") {
             this.audioUrl = newVal;
-            this.currentHotspot = "";
             return;
           }
 
@@ -378,79 +352,6 @@ export default {
           if (!newVal.description) {
             this.aside.shift();
           }
-          if (newVal.bgMusic) {
-            this.aside.push({
-              id: "bgm",
-              icon: "iconbs_nav_sound",
-            });
-            this.bgmAudio = new Audio();
-            this.bgmAudio.src = newVal.bgMusic;
-            this.bgmAudio.loop = true;
-            this.bgmAudio.autoplay = true;
-
-            let playingfn = () => {
-              this.isMusic = true;
-            };
-
-            let pausedingfn = () => {
-              this.isMusic = false;
-            };
-
-            this.$nextTick(() => {
-              setTimeout(() => {
-                if (this.bgmAudio.paused) {
-                  this.isMusic = false;
-                  localStorage.setItem("g_bgmstatus", this.isMusic ? "open" : "close");
-                }
-
-                document.addEventListener(
-                  "WeixinJSBridgeReady",
-                  () => {
-                    this.bgmAudio.play();
-                  },
-                  false
-                );
-              });
-            });
-
-            let onclick = () => {
-                
-              document.removeEventListener("click", onclick);
-              document.removeEventListener("touchstart", onclick);
-              if (this.bgmAudio.paused) {
-                this.bgmAudio.play();
-              }
-            };
-            document.addEventListener("click", onclick);
-            document.addEventListener("touchstart", onclick);
-
-            this.bgmAudio.removeEventListener("playing", playingfn);
-            this.bgmAudio.removeEventListener("paused", pausedingfn);
-
-            this.bgmAudio.addEventListener("paused", pausedingfn);
-            this.bgmAudio.addEventListener("playing", playingfn);
-
-            this.bgmAudio.addEventListener("canplay", () => {
-              this.bgmAudio.play();
-              localStorage.setItem("g_bgmstatus", this.isMusic ? "open" : "close");
-            });
-
-            document.addEventListener("visibilitychange", () => {
-              let data = document.hidden;
-              if (data) {
-                this.isMusic = false;
-              } else {
-                let status = localStorage.getItem("g_bgmstatus");
-                if (status === "open") {
-                  this.isMusic = true;
-                }
-              }
-            });
-
-            document.addEventListener("WeixinJSBridgeReady", () => {
-              this.bgmAudio.play();
-            },false);
-          }
           if (newVal.isRemind == 1) {
             this.localRemind = localStorage.getItem(locoR) == 1 ? false : true;
             localStorage.setItem(locoR, 1);
@@ -464,25 +365,23 @@ export default {
             }
           }
           newVal.password ? (this.showPassword = true) : this.startLoad();
-          Share({
-            title: newVal.name,
-            link: newVal.share,
-            imgUrl: newVal.icon,
-            desc: newVal.description,
-          });
+          // Share({
+          //   title: newVal.name,
+          //   link: newVal.share,
+          //   imgUrl: newVal.icon,
+          //   desc: newVal.description,
+          // });
         }
       },
     },
     activeItem: {
       handler(newVal) {
         this.$nextTick(() => {
-          this.currentHotspot = "";
           if (newVal.type == "4dkk") {
             this.embeM = null;
             this.otherLink = null;
             removepano("#pano");
             $("#pano").empty();
-            console.log('執行------------------------');
             this.getSceneInfomation();
             return;
           } else {
@@ -516,7 +415,7 @@ export default {
             removepano("#pano");
             embedpano({
               // xml: "%HTMLPATH%/static/template/tour.xml",
-              xml: `${this.$cdn}/720yun_fd_manage/${newVal.sceneCode}/vtour/tour.xml`,
+              xml: `${this.$cdn}local/pano/${newVal.sceneCode}/vtour/tour.xml`,
               swf: "%HTMLPATH%/static/template/tour.swf",
               target: "pano",
               html5: "auto",
@@ -669,23 +568,6 @@ export default {
           transform: translate(-50%, -50%);
         }
       }
-      &.ismuted {
-        position: relative;
-        &::before {
-          content: "";
-          display: inline-block;
-          width: 1px;
-          height: 46%;
-          position: absolute;
-          left: 30%;
-          top: 30%;
-          transform: rotate(-45deg);
-          transform-origin: top;
-          z-index: 99;
-          pointer-events: none;
-          background: #fff;
-        }
-      }
     }
   }
   .introcon {

+ 282 - 314
packages/code/src/framework/showMobile/list.vue

@@ -1,73 +1,51 @@
 <template>
   <div class="list">
-    <div class="l-con" :class="showList ? 'active' : ''" v-if="!(showInfo.catalogRoot.length == 1 && scenes.length == 1 && showInfo.catalogs.length == 1)">
+     <div class="l-con" :class="showList?'active':''"  v-if="!(showInfo.catalogRoot.length == 1 && scenes.length == 1 && showInfo.catalogs.length == 1)">
       <div class="pic-con">
-        <div class="clip-scroller" ref="sw" v-swiper:mySwiper="swiperOptions" v-if="scenes.length > 0">
+
+        <div class="clip-scroller" ref="sw" v-swiper:mySwiper="swiperOptions"  v-if="scenes.length>0">
           <ul class="pic-list swiper-wrapper">
-            <li class="swiper-slide" @click="handleVR(item, i)" v-for="(item, i) in scenes" :key="i">
-              <div :class="{ active: selected.sceneCode == item.sceneCode }">
-                <img :src="item.icon + `?${Math.random()}`" alt="" />
-                <i class="iconfont" :class="item.type != '4dkk' ? 'icon-edit_type_panorama' : 'icon-edit_type_3d'"></i>
-                <rollName :offset="20" :active="selected.sceneCode == item.sceneCode" class="pic-name" :myref="'subw' + item.id" :name="item.sceneTitle" />
+            <li class="swiper-slide" @click="handleVR(item,i)" v-for="(item,i) in scenes" :key="i">
+              <div :class="{active:selected.sceneCode==item.sceneCode}">
+                <img :src="handleImg(item) + `?${Math.random()}`" alt="" />
+                <i class="iconfont" :class="item.type!='4dkk'?'iconedit_type_panorama':'iconedit_type_3d'"></i>
+                <rollName :offset="20" :active="selected.sceneCode==item.sceneCode" class="pic-name" :myref="'subw'+item.id" :name="item.sceneTitle"/>
               </div>
             </li>
           </ul>
         </div>
 
         <div ref="sw1" class="clip-scroller" v-swiper:mySwipera="swiperOptions" v-if="childTab.length > 1">
-          <ul class="tap pp-tap swiper-wrapper">
-            <li class="swiper-slide" @click="handleTabtow(item, i)" v-for="(item, i) in childTab" :key="i">
-              <rollName
-                :offset="30"
-                :mgin="20"
-                :active="item.id == tabtowActive.id"
-                class="btn pic-rect"
-                :class="{ active: item.id == tabtowActive.id }"
-                :myref="'ww' + item.id"
-                :name="item.name"
-              />
-            </li>
-          </ul>
+          
+        <ul class="tap pp-tap swiper-wrapper"  >
+          <li class="swiper-slide" @click="handleTabtow(item,i)" v-for="(item,i) in childTab" :key="i">
+              <rollName :offset="30" :mgin="20" :active="item.id == tabtowActive.id" class="btn pic-rect" :class="{active:item.id == tabtowActive.id}" :myref="'ww'+item.id" :name="item.name"/>
+          </li>
+        </ul>
         </div>
       </div>
-
-      <div class="clip-scroller" ref="sw2" v-swiper:mySwiperb="swiperOptions" v-if="showInfo.catalogRoot.length > 0 && showInfo.catalogs.length > 1">
-        <ul class="tap swiper-wrapper" v-if="showInfo.catalogRoot.length > 1">
-          <li
-            class="swiper-slide"
-            @click="handleTabone(item, i)"
-            :class="{ active: item.id == taboneActive.id }"
-            v-for="(item, i) in showInfo.catalogRoot"
-            :key="i"
-          >
-            <rollName
-              :offset="30"
-              :mgin="20"
-              :active="item.id == taboneActive.id"
-              class="btn rect"
-              :class="{ active: item.id == taboneActive.id }"
-              :myref="'zw' + item.id"
-              :name="item.name"
-            />
+      
+      <div class="clip-scroller" ref="sw2"  v-swiper:mySwiperb="swiperOptions" v-if="showInfo.catalogRoot.length > 0 && showInfo.catalogs.length > 1">
+         <ul class="tap swiper-wrapper" v-if="showInfo.catalogRoot.length > 1">
+          <li class="swiper-slide" @click="handleTabone(item,i)" :class="{ active: item.id == taboneActive.id }" v-for="(item,i) in showInfo.catalogRoot" :key="i">
+              <rollName :offset="30" :mgin="20" :active="item.id == taboneActive.id" class="btn rect" :class="{active:item.id == taboneActive.id}" :myref="'zw'+item.id" :name="item.name"/>
           </li>
         </ul>
       </div>
     </div>
 
-    <div v-if="selected.type == '4dkk' && isShowDL" class="menu">
-      <div @click="handleDL" v-if="isShowDL">
-        <i class="iconfont" :class="isDaolan ? 'icon-show_suspension' : 'icon-show_playback'"></i>
-      </div>
+
+    <div v-if="selected.type=='4dkk' && isShowDL" class="menu">
+        <div  @click="handleDL" v-if="isShowDL">
+            <i class="iconfont" :class="isDaolan?'iconshow_suspension':'iconshow_playback'"></i>
+        </div>
     </div>
 
-    <div
-      class="btn dl"
-      :class="{ deepbg: showList }"
-      v-if="!(showInfo.catalogRoot.length == 1 && scenes.length == 1 && showInfo.catalogs.length == 1)"
-      @click="handleShowList"
-    >
-      <i class="iconfont " :class="showList ? 'icon-nav_scene_down' : 'icon-nav_scene_up'"></i>场景导航
+    <div class="btn dl" :class="{deepbg:showList}" v-if="!(showInfo.catalogRoot.length == 1 && scenes.length == 1 && showInfo.catalogs.length == 1)" @click="showList = !showList">
+      <i class="iconfont " :class="showList?'iconnav_scene_down':'iconnav_scene_up'"></i>场景导航
     </div>
+
+  
   </div>
 </template>
 
@@ -80,237 +58,229 @@ import { directive } from "vue-awesome-swiper";
 import "swiper/css/swiper.css";
 
 export default {
-  props: ["select", "mapvisit"],
-  components: { rollName },
+  props:['select','mapvisit'],
+  components:{rollName},
   directives: {
     swiper: directive,
   },
-  data() {
-    let menu = [
-      {
-        id: "pano",
-        name: "漫游",
-        icon: "icon-show_roaming_normal",
-        active: "icon-show_roaming_selected",
-        params: "pano",
-      },
-      {
-        id: "2d",
-        name: "平面",
-        icon: "icon-show_plane_normal",
-        active: "icon-show_plane_selected",
-        params: "2d",
-      },
-      {
-        id: "3d",
-        name: "三维",
-        icon: "icon-show_3d_normal",
-        active: "icon-show_3d_selected",
-        params: "3d",
-      },
-    ];
-    return {
-      isDaolan: false,
-      isShowDL: "",
-      currentActive: "pano",
-      taboneActive: { children: [] },
-      tabtowActive: "",
-      childTab: [],
+  data(){
+    let menu = [{
+      id:'pano',
+      name:'漫游',
+      icon:'iconshow_roaming_normal',
+      active:'iconshow_roaming_selected',
+      params:'pano'
+    },{
+      id:'2d',
+      name:'平面',
+      icon:'iconshow_plane_normal',
+      active:'iconshow_plane_selected',
+      params:'2d'
+    },{
+      id:'3d',
+      name:'三维',
+      icon:'iconshow_3d_normal',
+      active:'iconshow_3d_selected',
+      params:'3d'
+    }]
+    return{
+      isDaolan:false,
+      isShowDL:'',
+      currentActive:'pano',
+      taboneActive:{children:[]},
+      tabtowActive:'',
+      childTab:[],
       sceneNum: config.sceneNum,
-      scenes: [],
+      scenes:[],
       menu,
-      showList: true,
+      showList:true,
       loadFirst: true,
-      shouqi: false,
-      canClick: true,
-    };
+      shouqi:false,
+      canClick:true
+    }
   },
   computed: {
-    ...mapGetters({
-      showInfo: "showInfo",
-    }),
-    swiperOptions() {
-      return {
-        slidesPerView: "auto",
-        // observer:true,
-        // observeParents: true,
-        centeredSlides: true,
-        centerInsufficientSlides: true,
-        centeredSlidesBounds: true,
-        freeMode: true,
-      };
-    },
-    selected() {
-      return { ...this.select };
-    },
-  },
-
-  mounted() {
-    this.$bus.on("guideRoomsData", (data) => {
-      if (data.length > 0) {
-        this.isShowDL = true;
+      ...mapGetters({
+        showInfo: "showInfo"
+      }),
+      swiperOptions() {
+        return {
+          slidesPerView: "auto",
+          // observer:true,
+          // observeParents: true,
+          centeredSlides : true,
+          centerInsufficientSlides: true,
+          centeredSlidesBounds: true,
+          freeMode:true
+        };
+      },
+      selected(){
+        return {...this.select}
       }
-    });
+  },
 
-    this.$bus.on("toggleShowList", (data) => {
-      this.showList = data;
-    });
+  mounted(){
+      this.$bus.on('guideRoomsData',data=>{
+        if (data.length>0) {
+          this.isShowDL = true
+        }
+      })
 
-    this.$bus.on("currentMode", (data) => {
-      this.delHandle();
-      this.currentActive = data.data.mode || "pano";
-      // this.menu.findItem(item=>item.params == data.data.mode)
-    });
+      this.$bus.on('currentMode',data=>{
+        this.delHandle()
+        this.currentActive = data.data.mode || 'pano'
+        // this.menu.findItem(item=>item.params == data.data.mode)
+      })
+      
   },
-  methods: {
-    handleShowList() {
-      this.showList = !this.showList;
-      let ele = document.getElementById("showifr");
-      ele.contentWindow.postMessage(
-        {
-          source: "qjkankan",
-          event: "showList",
-          data: this.showList,
-        },
-        "*"
-      );
+  methods:{
+    handleImg(item){
+      let url = ''
+      if (item.type == "4dkk") {
+        url = `local/4dkk/${item.sceneCode}/wwwroot/images/images${item.sceneCode}/thumbSmallImg.jpg`
+      }
+      else{
+        if (item.icon.indexOf('preview.jpg')>-1) {
+          url = item.icon.replace('https://4dkk.4dage.com/720yun_fd_manage/image/',`local/pano/${item.sceneCode}/`)
+        }
+        else{
+          url = item.icon.replace('https://4dkk.4dage.com/720yun_fd_manage/image/',`local/pano/images/`)
+        }
+      }
+      return url || item.icon
     },
-    handleDL() {
-      this.isDaolan = !this.isDaolan;
-      let ele = document.getElementById("showifr");
-      ele.contentWindow.postMessage(
-        {
+    handleDL(){
+      this.isDaolan = !this.isDaolan
+      let ele = document.getElementById('showifr');
+      ele.contentWindow.postMessage({
           source: "mingyuan",
-          event: this.isDaolan ? "guide-start" : "guide-pause",
-        },
-        "*"
-      );
+          event: this.isDaolan?'guide-start':'guide-pause',
+      },"*")
     },
-    delHandle() {
-      this.canClick = false;
+    delHandle(){
+      this.canClick = false
       setTimeout(() => {
-        this.canClick = true;
+        this.canClick = true
       }, 1800);
     },
-    handleMenu(data) {
+    handleMenu(data){
       if (this.canClick) {
-        this.currentActive = data.id;
-        let ele = document.getElementById("showifr");
-        ele.contentWindow.postMessage(
-          {
+        this.currentActive = data.id
+        let ele = document.getElementById('showifr');
+        ele.contentWindow.postMessage({
             source: "mingyuan",
-            event: "mode",
+            event: 'mode',
             params: data.params,
-          },
-          "*"
-        );
-        this.delHandle();
+        },"*")
+        this.delHandle()
       }
     },
 
-    fixPosit(ref, i, prenum, nexnum) {
-      if (i !== null) {
-        let acidx = this.$refs[ref].swiper.activeIndex;
-        if (i - acidx > nexnum) {
-          this.$refs[ref].swiper.slideNext();
+     fixPosit(ref,i,prenum,nexnum){
+         if (i!==null) {
+        let acidx = this.$refs[ref].swiper.activeIndex
+        if (i - acidx > nexnum ) {
+          this.$refs[ref].swiper.slideNext()
         }
 
-        if (acidx - i > prenum) {
-          this.$refs[ref].swiper.slidePrev();
+        if (acidx - i > prenum ) {
+          this.$refs[ref].swiper.slidePrev()
         }
       }
     },
 
-    handleTabtow(item, i = null) {
-      this.tabtowActive = item;
-      this.fixPosit("sw1", i, 1, 1);
+    handleTabtow(item,i=null){
+      this.tabtowActive = item
+      this.fixPosit('sw1',i,1,1)
     },
 
-    handleTabone(item, i = null) {
-      this.taboneActive = item;
-      this.fixPosit("sw2", i, 1, 1);
+    handleTabone(item,i=null){
+      this.taboneActive = item
+      this.fixPosit('sw2',i,1,1)
     },
 
-    handleVR(item, i = null) {
+    handleVR(item,i=null){
       history.replaceState(null, null, "".concat(window.location.pathname, "?").concat(`id=${this.showInfo.id}&vr=${item.sceneCode}`));
-      this.sceneNum = item.sceneCode;
+      this.sceneNum = item.sceneCode
 
-      this.fixPosit("sw", i, 1, 1);
-    },
+      this.fixPosit('sw',i,1,1)
+
+    }
   },
-  watch: {
+  watch:{
     taboneActive: {
-      handler: function(newVal) {
-        let temp = [];
-        newVal.children &&
-          newVal.children.forEach((item) => {
-            this.showInfo.catalogs.forEach((sub) => {
-              if (item == sub.id) {
-                temp.push(sub);
-              }
-            });
-          });
-        this.childTab = temp;
+      handler: function (newVal) {
+        let temp = []
+        newVal.children && newVal.children.forEach(item=>{
+          this.showInfo.catalogs.forEach(sub=>{
+            if (item==sub.id) {
+              temp.push(sub)
+            }
+          })
+        })
+        this.childTab = temp
         if (!this.loadFirst) {
-          this.tabtowActive = "";
+            this.tabtowActive = ''
         }
       },
     },
     tabtowActive: {
-      handler: function(newVal) {
+      handler: function (newVal) {
         if (!newVal) {
-          this.tabtowActive = this.childTab[0];
-        } else {
-          let arr = this.showInfo.scenes.filter((item) => {
-            return newVal.id == item.category;
-          });
-          this.scenes = arr.sort((a, b) => a.weight - b.weight);
+          this.tabtowActive = this.childTab[0]
+        } else{
+          let arr = this.showInfo.scenes.filter(item=>{
+            return newVal.id == item.category
+          })
+          this.scenes = arr.sort((a,b)=>a.weight-b.weight)
         }
-      },
+      }
     },
 
-    sceneNum: {
-      deep: true,
-      immediate: true,
-      handler: function(newVal) {
-        if (!newVal) {
-          let tmp = this.showInfo.firstScene || this.showInfo.scenes[0];
-          this.handleVR(tmp);
-          return;
-        }
-        let val = this.showInfo.scenes.find((item) => item.sceneCode == newVal);
-        let tmp = this.showInfo.catalogs.find((item) => item.id == val.category);
-        let rootTmp = this.showInfo.catalogRoot.find((item) => {
-          return item.children.indexOf(tmp.id) > -1;
-        });
-        this.taboneActive = rootTmp;
-        this.tabtowActive = tmp;
+    sceneNum:{
+      deep:true,
+      immediate:true,
+      handler:function (newVal) {
+          if (!newVal) {
+            let tmp = this.showInfo.firstScene||this.showInfo.scenes[0]
+            this.handleVR(tmp)
+            return
+          }
+          let val = this.showInfo.scenes.find(item=>item.sceneCode==newVal)
+          let tmp = this.showInfo.catalogs.find(item=>item.id==val.category)
+          let rootTmp = this.showInfo.catalogRoot.find(item => {
+            return item.children.indexOf(tmp.id)>-1
+          });
+          this.taboneActive = rootTmp
+          this.tabtowActive = tmp
 
         setTimeout(() => {
-          this.$emit("select", val);
-          this.loadFirst = false;
+          this.$emit('select',val)
+          this.loadFirst = false 
         });
-      },
+      }
     },
 
-    selected: {
-      handler: function(newVal) {
-        this.handleVR(newVal);
-        if (newVal.type == "4dkk") {
-          this.showList = true;
+   
+    selected:{
+      handler:function (newVal) {
+        this.handleVR(newVal)
+        if (newVal.type == '4dkk') {
+          this.showList = true
           setTimeout(() => {
-            this.showList = false;
+            this.showList = false
           }, 800);
         }
-      },
-    },
-  },
-};
+      }
+    }
+  }
+}
 </script>
 
 <style lang="less" scoped>
-.btn {
-  display: inline-block;
+
+.btn{
+ display: inline-block;
   margin: 0 auto;
   padding: 0 20px;
   height: 26px;
@@ -324,7 +294,6 @@ export default {
   text-overflow: ellipsis;
   overflow: hidden;
   white-space: nowrap;
-  pointer-events: auto;
   &.active {
     border: 1px solid rgba(255, 255, 255, 1);
     color: rgba(255, 255, 255, 1);
@@ -358,25 +327,25 @@ export default {
   }
 }
 
-.line {
-  background: #0076f6;
+.line{
+  background:#0076F6;
   width: 100%;
   height: 0.1px;
   opacity: 0.5;
 }
 
-.list {
+.list{
   position: fixed;
   bottom: 44px;
   left: 0;
   text-align: right;
   width: 100%;
-  pointer-events: none;
-  .clip-scroller {
+
+  .clip-scroller{
     padding: 0 15px;
   }
 
-  .dl {
+  .dl{
     background: rgba(0, 0, 0, 0.3);
     border-radius: 18px;
     border: 1px solid rgba(255, 255, 255, 0.2);
@@ -391,67 +360,66 @@ export default {
     align-items: center;
     justify-content: center;
     width: 120px;
-    > i {
+    >i{
       margin-right: 8px;
       vertical-align: bottom;
       font-size: 18px;
     }
   }
 
-  .deepbg {
+  .deepbg{
     background: rgba(0, 0, 0, 0.5);
   }
-  .menu {
-    position: fixed;
-    left: 15px;
-    bottom: 40px;
-    pointer-events: auto;
-    > div {
-      width: 36px;
-      height: 36px;
-      display: inline-block;
-      background: rgba(0, 0, 0, 0.5);
-      border: 1px solid rgba(255, 255, 255, 0.2);
-      opacity: 1;
-      border-radius: 18px;
-      position: relative;
-      cursor: pointer;
-      > i {
-        position: absolute;
-        top: 50%;
-        left: 50%;
-        transform: translate(-50%, -50%);
+  .menu{
+      position: fixed;
+      left: 15px;
+      bottom: 40px;
+      >div{
+        width: 36px;
+        height: 36px;
+        display: inline-block;
+        background: rgba(0, 0, 0, 0.5);
+        border: 1px solid rgba(255, 255, 255, 0.2);
+        opacity: 1;
+        border-radius: 18px;
+        position: relative;
+        cursor: pointer;
+        >i{
+          position: absolute;
+          top: 50%;
+          left: 50%;
+          transform: translate(-50%, -50%);
+        }
       }
-    }
   }
-  .l-con {
+  .l-con{
     width: 100%;
     transition: all ease 0.3s;
     max-height: 0px;
-    pointer-events: auto;
     overflow: hidden;
-    .pic-con {
+    .pic-con{
       background: rgba(0, 0, 0, 0.5);
     }
-    ul {
+    ul{
       align-items: center;
       display: flex;
-      li {
+      li{
         margin: 0 5px;
         text-align: center;
+        
       }
     }
-    .tap {
+    .tap{
       padding: 12px 0 0;
-      &::-webkit-scrollbar {
+      &::-webkit-scrollbar{
         display: none;
       }
-      > li {
-        font-size: 0;
+       > li {
+         font-size: 0;
         position: relative;
         width: 104px;
 
-        .btn {
+        .btn{
           font-size: 14px;
           width: 100%;
           padding: 0;
@@ -475,56 +443,56 @@ export default {
       }
     }
 
-    .pp-tap {
+    .pp-tap{
       padding: 8px 0 18px;
-      > li {
-        width: 88px;
+       > li {
+         width: 88px;
       }
     }
-    .pic-list {
+    .pic-list{
       padding: 10px 0;
       &::-webkit-scrollbar {
         display: none;
       }
-      > li {
+      >li{
         cursor: pointer;
         width: 70px;
         height: 70px;
-        > div {
+        >div{
           width: 100%;
           height: 100%;
-          border: 2px solid #ffffff;
+          border: 2px solid #FFFFFF;
           opacity: 1;
           border-radius: 4px;
           overflow: hidden;
           position: relative;
           cursor: pointer;
-          > img {
+          >img{
             position: absolute;
             top: 50%;
             left: 50%;
-            transform: translate(-50%, -50%);
+            transform: translate(-50%,-50%);
           }
-          .iconfont {
+          .iconfont{
             position: absolute;
             left: 4px;
             top: 4px;
             z-index: 99;
-            &::after {
+            &::after{
               background: rgba(0, 0, 0, 0.3);
-              content: "";
+              content: '';
               width: 14px;
               height: 14px;
               display: inline-block;
               position: absolute;
               top: 50%;
               left: 50%;
-              transform: translate(-50%, -50%);
+              transform: translate(-50%,-50%);
               z-index: -1;
               filter: blur(4px);
             }
           }
-          > span {
+          >span{
             display: inline-block;
             background: rgba(0, 0, 0, 0.3);
             position: absolute;
@@ -535,83 +503,83 @@ export default {
             bottom: 0;
             width: 100%;
           }
-          &.active {
-            border: 2px solid #0076f6;
+          &.active{
+              border: 2px solid #0076F6;
           }
         }
-        .pic-name {
+        .pic-name{
           background: rgba(0, 0, 0, 0.3);
           position: absolute;
           left: 0;
           bottom: 0;
           font-size: 0;
-          /deep/ span {
+          /deep/ span{
             font-size: 12px;
             word-break: keep-all;
-            white-space: nowrap;
+            white-space:nowrap;
             padding: 3px 0;
           }
         }
       }
     }
-    &.active {
+    &.active{
       max-height: 200px;
     }
   }
 }
 
 @media screen and (max-width: 350px) {
-  .list {
-    .menu {
-      .menucon {
-        padding-right: 10px;
-        > ul {
-          > li {
+  .list{
+  .menu{
+    .menucon{
+      padding-right: 10px;
+      >ul{
+        >li{
             color: #fff;
             margin: 0;
             height: 36px;
             line-height: 36px;
             padding: 0 4px;
             background: none;
-            > span {
+            >span{
               display: inline-block;
               margin-left: 6px;
             }
-            &:last-of-type {
+            &:last-of-type{
               padding-right: 14px;
             }
           }
-        }
-        > i {
+      }
+      >i{
           font-size: 12px;
           right: 8px;
           top: 50%;
           transform: translateY(-50%);
         }
-      }
+    }
 
-      .shouqi {
-        padding-right: 30px;
-        > ul {
-          max-width: 0;
-          width: 0;
-        }
-        > i {
-          transform: translateY(-50%) rotate(180deg);
-        }
+    .shouqi{
+      padding-right: 30px;
+      >ul{
+        max-width: 0;
+        width: 0;
       }
-      .scenedl {
-        width: 36px;
-        height: 36px;
-        > i {
-          top: 50%;
-          left: 50%;
-          position: absolute;
-          transform: translate(-50%, -50%);
-          font-size: 14px;
-        }
+      >i{
+        transform: translateY(-50%) rotate(180deg);
+      }
+    }
+    .scenedl{
+      width: 36px;
+      height: 36px;
+      >i{
+        top: 50%;
+        left: 50%;
+        position: absolute;
+        transform: translate(-50%,-50%);
+        font-size: 14px;
       }
     }
   }
 }
-</style>
+}
+</style>

+ 8 - 8
packages/code/src/utils/request.js

@@ -170,14 +170,14 @@ $.ajaxSetup({
     if (__showNetworkError) {
       return;
     }
-    __showNetworkError = true;
-    $alert({
-      content: "网络异常,请稍后再试",
-      forceOK: true,
-      ok: () => {
-        __showNetworkError = false;
-      },
-    });
+    // __showNetworkError = true;
+    // $alert({
+    //   content: "网络异常,请稍后再试",
+    //   forceOK: true,
+    //   ok: () => {
+    //     __showNetworkError = false;
+    //   },
+    // });
     return;
   },
   success: function() {},

+ 0 - 6
packages/code/src/views/material/popup/share.vue

@@ -61,12 +61,6 @@ export default {
   methods: {
     downloadImg(workItem) {
       let val = workItem.qrCode
-      // var a = document.createElement("a");
-      // a.download = 'qrcode';
-      // a.href = 'https://4dkk.4dage.com/720yun_fd_manage/620/qrCode.jpg';
-      // a.target
-      // console.log(workItem,11222);
-      // val 为传入的图片地址
       let _type_index = val.lastIndexOf(".");
       let _type = val.substr(_type_index + 1); //原始图片类型
       let image = new Image();

+ 7 - 20
packages/code/vue.config.js

@@ -1,22 +1,18 @@
 // const proxy_url = process.env.VUE_APP_PROXY_URL || 'http://8.135.98.231:8084'
-const proxy_url = process.env.VUE_APP_PROXY_URL || 'https://www.4dkankan.com'
-const proxy_4dkankan_url = process.env.VUE_APP_PROXY_4DKANKAN_URL || 'https://www.4dkankan.com'
-const path = require('path')
-
-const isDev = process.env.NODE_ENV === 'development'
+const proxy_url = process.env.VUE_APP_PROXY_URL || 'https://fcb.test.4dkankan.com'
+// https://vr-web01-uat.fcb.com.cn/
 let pages = {
-  edit: 'src/pages/edit.js',
+  // edit: 'src/pages/edit.js',
   show: 'src/pages/show.js',
   showMobile: 'src/pages/showMobile.js',
-  vr: 'src/pages/vr.js',
-  material: 'src/pages/material.js'
+  // vr: 'src/pages/vr.js',
+  // material: 'src/pages/material.js'
 }
 
 module.exports = {
   pages: pages,
   assetsDir: process.env.VUE_APP_STATIC_DIR,
-  publicPath: process.env.NODE_ENV === "production" ? "/panorama/" : "",
-  outputDir: isDev ? 'dist' : path.resolve('../../dist'),
+  publicPath: process.env.NODE_ENV === "production" ? "" : "",
   productionSourceMap: process.env.NODE_ENV !== "production",
   lintOnSave: false,
   css: {
@@ -41,16 +37,7 @@ module.exports = {
         '/web': {
           target: proxy_url,
           changeOrigin: true,
-        },
-        '/api': {
-          target: proxy_4dkankan_url,
-          changeOrigin: true,
-        },
-        "/service": {
-          // target: "https://v4-test.4dkankan.com/",
-          target: proxy_4dkankan_url,
-          changeOrigin: true,
-        },
+        }
     },
   }
 };