lanxin преди 6 дни
родител
ревизия
2700f3acb0
променени са 3 файла, в които са добавени 21 реда и са изтрити 11 реда
  1. 19 9
      hot/src/views/Home.vue
  2. BIN
      scene/public/images/close1.png
  3. 2 2
      scene/public/js/Hot.js

+ 19 - 9
hot/src/views/Home.vue

@@ -36,7 +36,7 @@
             </div>
           </div>
           <!-- 左右箭头 -->
-          <template v-if="!isMobile">
+          <template>
             <div @click="cutMyInd(-1, myInd === 0)" class="leftJJ awccJJ" :class="{ noClick: myInd === 0 }" v-if="data[myType] && data[myType].length > 1"></div>
             <div @click="cutMyInd(1, myInd === data[myType].length - 1)" class="rightJJ awccJJ" :class="{ noClick: myInd === data[myType].length - 1 }" v-if="data[myType] && data[myType].length > 1"></div>
           </template>
@@ -370,7 +370,7 @@ export default {
       position: relative;
       border-radius: 6px;
       overflow: hidden;
-      width: 60%;
+      width: 90%;
       height: 70%;
       .oneTabNum {
         z-index: 10;
@@ -386,11 +386,17 @@ export default {
         width: 100%;
         height: 100%;
       }
+      .swiper-wrapper {
+        width: 80%;
+      }
       .contenBox {
+        display: flex;
+        align-items: center;
+        justify-content: center;
         .modelBox,
         .videoBox,
         .imgBox {
-          width: 100%;
+          width: 80%;
           height: 100%;
         }
         .modelBox {
@@ -446,8 +452,9 @@ export default {
       }
     }
     .txtBox {
-      width: 60%;
+      width: 72%;
       height: 30%;
+      padding-top: 30px;
       .flooTxt {
         margin: 0 auto;
         margin-top: 10px;
@@ -462,8 +469,7 @@ export default {
           .myTxt {
             font-size: 16px;
             color: #f9f9f1;
-            letter-spacing: 3px;
-            line-height: 32px;
+            line-height: 26px;
           }
           mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 1) 80%, /* 保留顶部70%不透明 */ rgba(0, 0, 0, 0) 100% /* 底部30%完全透明 */);
           -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 1) 80%, rgba(0, 0, 0, 0) 100%);
@@ -656,17 +662,21 @@ export default {
           width: 28px;
           height: 57px;
           cursor: default;
-          background-image: url("../assets/images/pc/icon-left.png");
+          background-image: url("../assets/images/pc/left.png");
+          background-size: contain;
+          background-repeat: no-repeat;
+          background-position: center;
         }
         .rightJJ {
           left: auto;
           right: 0;
-          background-image: url("../assets/images/pc/icon-right.png");
+          background-image: url("../assets/images/pc/right.png");
         }
       }
       .txtBox {
+        padding: 0;
         .flooTxt {
-          margin-top: -5px;
+          margin-top: 5px;
           width: 100%;
           padding-top: 15px;
           max-height: 200px;

BIN
scene/public/images/close1.png


+ 2 - 2
scene/public/js/Hot.js

@@ -55,8 +55,8 @@ window.initHot = function (model) {
       o = 'en' == manage.number('lang') ? '&lang=' + manage.number('lang') : ''
     ;-1 == r.indexOf('?') ? (src = link + '?time=' + randomTime().getTime() + '&id=' + window.number + o) : (src = link + '&time=' + randomTime().getTime() + '&id=' + window.number + o)
 
-    return src.replace('https://www.4dmodel.com/SuperTwo/hot_online1', 'https://houseoss.4dkankan.com/project/chengzhebei/BigScene/hot')
-    // return src.replace('https://www.4dmodel.com/SuperTwo/hot_online1', 'http://localhost:8080')
+    // return src.replace('https://www.4dmodel.com/SuperTwo/hot_online1', 'https://houseoss.4dkankan.com/project/chengzhebei/BigScene/hot')
+    return src.replace('https://www.4dmodel.com/SuperTwo/hot_online1', 'http://192.168.0.78:8080')
     // return src
   }
   var removeSrcPostMark = function (url) {