tremble 5 年之前
父节点
当前提交
65ac5d261d
共有 7 个文件被更改,包括 34 次插入3 次删除
  1. 1 1
      config/index.js
  2. 7 0
      src/components/m-expert/index.vue
  3. 1 1
      src/main.js
  4. 3 0
      src/pages/home/index.vue
  5. 5 0
      src/pages/home/m-home.css
  6. 16 0
      src/pages/home/style.css
  7. 1 1
      src/pages/layout/footer.vue

+ 1 - 1
config/index.js

@@ -13,7 +13,7 @@ module.exports = {
     proxyTable: {},
 
     // Various Dev Server settings
-    host: '192.168.0.197', // can be overwritten by process.env.HOST
+    host: 'localhost', // can be overwritten by process.env.HOST
     port: 8080, // can be overwritten by process.env.PORT, if port is in use, a free one will be determined
     autoOpenBrowser: false,
     errorOverlay: true,

+ 7 - 0
src/components/m-expert/index.vue

@@ -2,6 +2,7 @@
 <div class="m-expert">
   <div class="expert-l">
     <div class="e-title">{{experts.title}}</div>
+    <p class="banquan">Photo @graphicsmedia.net</p>
     <div>{{activeTxt.name}}</div>
     <p v-for="(item, i) in activeTxt.introduce" :key="i">{{item}}</p>
   </div>
@@ -53,9 +54,15 @@ export default {
   line-height: 1.4;
   font-weight: bold;
 }
+.banquan{
+  font-size: 10px;
+  font-weight: 100;
+  color: #8a8a8a;
+}
 
 .expert-l>div:first-child{
   font-size: 18px;
+  margin: 0;
 }
 .expert-l>div{
   margin: 20px auto;

+ 1 - 1
src/main.js

@@ -11,7 +11,7 @@ Vue.config.productionTip = false
 Vue.prototype.$bus = new Vue()
 Vue.prototype.$cdn = 'https://4dscene.4dage.com/cgaii/PC'
 
-axios.defaults.baseURL = 'https://www.cgaii.com'
+axios.defaults.baseURL = ''
 Vue.prototype.$http = axios
 /* eslint-disable no-new */
 new Vue({

+ 3 - 0
src/pages/home/index.vue

@@ -158,6 +158,7 @@
               <img :src="require('@/assets/images/robotbg.jpg')">
             </div>
             <img :src="`${$cdn}/images/robot.png`">
+            <span class="m-chuchu">(Photo @DFKI)</span>
           </div>
         </template>
         <template v-else>
@@ -173,6 +174,7 @@
               <img :class="{robotClip:showH5}" :src="require('@/assets/images/robotbg.jpg')" alt>
             </div>
             <img :src="`${$cdn}/images/robot.png`" alt>
+            <span>(Photo @DFKI)</span>
           </div>
         </template>
       </section>
@@ -258,6 +260,7 @@
                   </div>
                 </li>
               </ul>
+              <p class="chuchu">(Photo @graphicsmedia.net)</p>
             </div>
           </div>
         </template>

+ 5 - 0
src/pages/home/m-home.css

@@ -133,6 +133,11 @@
   width: 52vw;
 }
 
+.home-2 .h2-l .h2-l-con .m-chuchu{
+  width: 52vw;
+  bottom: -16vw;
+}
+
 
 .h6-top{
   position: relative;

+ 16 - 0
src/pages/home/style.css

@@ -179,6 +179,14 @@
   right: 0;
   width: 40vw;
 }
+.home-2 .h2-l .h2-l-con>span{
+  position: absolute;
+  bottom: -10vw;
+  right: 0vw;
+  width: 40vw;
+  text-align: center;
+  font-size: 12px;
+}
 
 .h2-r .h2-img{
   margin-left: 4vw;
@@ -246,6 +254,14 @@
   margin-top: 2vw;
 }
 
+.home-2 .h2-l .expert .chuchu{
+  font-size: 12px;
+  text-align: right;
+  color: #fff;
+  margin-top: 20px;
+  margin-right: 40px;
+}
+
 .home-2 .h2-l .expert ul li{
   display: inline-block;
   margin-right: 1vw;

+ 1 - 1
src/pages/layout/footer.vue

@@ -5,7 +5,7 @@
       <span>{{footer.phoneV}}</span>
     </div>
     <div>{{footer.copyRight}}</div>
-    <a href="http://www.miitbeian.gov.cn">{{footer.banben}}</a>
+    <a href="http://www.beian.miit.gov.cn">{{footer.banben}}</a>
   </div>
 </template>