shaogen1995 3 years ago
parent
commit
114b8ce5bb

BIN
web/public/data/About/sea1.png


+ 7 - 7
web/src/views/About/index.vue

@@ -72,7 +72,7 @@
     <div class="partner">
       <ul>
         <li v-for="(item, index) in link" :key="index">
-          <a :href="item" target="_blank">
+          <a :href="item.name" target="_blank" :title="item.pop">
             <span
               :style="`background-image: url(/data/About/link${index + 1}.jpg)`"
             ></span>
@@ -114,12 +114,12 @@ export default {
     //这里存放数据
     return {
       link: [
-        "http://www.edo-tokyo-museum.or.jp/en/",
-        "https://en.shm.ru/",
-        "https://www.rom.on.ca/en",
-        "https://museum.seoul.go.kr/eng/index.do",
-        "https://museumsvictoria.com.au/",
-        "https://www.vmfa.museum/",
+        {name:"http://www.edo-tokyo-museum.or.jp/en/",pop:'Edo-Tokyo Museum'},
+        {name:"https://en.shm.ru/",pop:'Russian State Historical Museum'},
+        {name:"https://www.rom.on.ca/en",pop:'Royal Ontario Museum'},
+        {name:"https://museum.seoul.go.kr/eng/index.do",pop:'Seoul Museum of History'},
+        {name:"https://museumsvictoria.com.au/",pop:'Museums Victoria'},
+        {name:"https://www.vmfa.museum/",pop:'Virginia Museum of Fine Arts'},
       ],
     };
   },

+ 1 - 8
web/src/views/Home/index.vue

@@ -21,14 +21,7 @@
             <img src="../../assets/images/bott1.jpg" alt="" />
           </div>
           <div class="d">
-            <p class="n1">
-              Online Reservation
-              <a
-                href="http://www.capitalmuseum.org.cn/capitalmuseum/englishwsyy/wsyy.jsp"
-                target="_blank"
-                >Click Here</a
-              >
-            </p>
+            <p class="n1">Online Reservation</p>
             <p class="n2">Telephone Reservation</p>
             <p class="n3">Individual <span>+86 (10) 63393339</span></p>
             <p class="n3">Group <span>+86 (10) 63370458</span></p>

+ 27 - 12
web/src/views/Search/Employment.vue

@@ -7,8 +7,13 @@
       :key="item.id"
       @click="skip(item.path)"
     >
-      <h3 v-html="item.h3"></h3>
-      <p v-html="item.p"></p>
+      <div class="left" v-if="item.cover">
+        <img :src="item.cover" alt="" />
+      </div>
+      <div class="right">
+        <h3 v-html="item.h3"></h3>
+        <p v-html="item.p"></p>
+      </div>
     </div>
   </div>
 </template>
@@ -96,16 +101,26 @@ export default {
     padding: 20px;
     zoom: 1;
     overflow: hidden;
-    & > h3 {
-      font-weight: 700;
-      font-size: 14px;
-      line-height: 30px;
+    display: flex;
+    .left {
+      width: 180px;
+      text-align: center;
+      & > img {
+        width: 150px;
+      }
     }
-    & > p {
-      font-size: 14px;
-      color: #a6a6a6;
-      line-height: 24px;
+    .right {
+      flex: 1;
+      & > h3 {
+        font-weight: 700;
+        font-size: 14px;
+        line-height: 30px;
+      }
+      & > p {
+        font-size: 14px;
+        color: #a6a6a6;
+        line-height: 24px;
+      }
     }
-  }
-}
+  }}
 </style>

+ 26 - 10
web/src/views/Search/Terms.vue

@@ -7,8 +7,13 @@
       :key="item.id"
       @click="skip(item.path)"
     >
-      <h3 v-html="item.h3"></h3>
-      <p v-html="item.p"></p>
+      <div class="left" v-if="item.cover">
+        <img :src="item.cover" alt="" />
+      </div>
+      <div class="right">
+        <h3 v-html="item.h3"></h3>
+        <p v-html="item.p"></p>
+      </div>
     </div>
   </div>
 </template>
@@ -96,15 +101,26 @@ export default {
     padding: 20px;
     zoom: 1;
     overflow: hidden;
-    & > h3 {
-      font-weight: 700;
-      font-size: 14px;
-      line-height: 30px;
+    display: flex;
+    .left {
+      width: 180px;
+      text-align: center;
+      & > img {
+        width: 150px;
+      }
     }
-    & > p {
-      font-size: 14px;
-      color: #a6a6a6;
-      line-height: 24px;
+    .right {
+      flex: 1;
+      & > h3 {
+        font-weight: 700;
+        font-size: 14px;
+        line-height: 30px;
+      }
+      & > p {
+        font-size: 14px;
+        color: #a6a6a6;
+        line-height: 24px;
+      }
     }
   }
 }

File diff suppressed because it is too large
+ 2 - 0
web/src/views/Search/data.js


File diff suppressed because it is too large
+ 2 - 0
web/src/views/Search/dataAll.js


+ 1 - 1
web/src/views/bottom/Index.vue

@@ -406,7 +406,7 @@ export default {
           left: "0px",
           path: "",
         },
-        { title: "Moblie Site", width: "105px", top: 1, left: "0px", path: "" },
+        { title: "Moblie Site", width: "105px", top: 1, left: "0px", path: "/null" },
         {
           title: "Terms of Use",
           width: "120px",