liyongli hace 1 año
padre
commit
33547bd27e

+ 0 - 1
src/view/AEROSPACE2023/index.js

@@ -16,7 +16,6 @@ window.weixin_Share_Init(
   'https://cxzx.smcic.net/topic/activity/AEROSPACE2023.html?' + Date.now(),
   wx => {
     window.wx = wx;
-    console.log(window.wx);
   }
 );
 

+ 1 - 1
src/view/AEROSPACE2023/index.vue

@@ -62,7 +62,7 @@ import page4 from './page4.vue';
 // console.log(window.$originData);
 // const play_stats = ref(false);
 const main = ref(null);
-const page = ref(0);
+const page = ref(4);
 const isUp = ref(true);
 let startStats = 0;
 let time = Date.now();

+ 15 - 4
src/view/AEROSPACE2023/page4.vue

@@ -6,9 +6,10 @@
 
     <div class="bg bg4 animate__animated animate__backInUp">
       <p class="duanluo">嘉宾入场时间:8月22日 14:30</p>
-      <p class="duanluo">
-        地址:航天基地京东大道和少陵路十字西北角西安航天国际会议中心东方红会议厅
-      </p>
+      <div class="duanluo">
+        <p class="left">地址:</p>
+        <p class="right">航天基地京东大道和少陵路十字西北角西安航天国际会议中心东方红会议厅</p>
+      </div>
     </div>
 
     <van-button style="margin-top: 7.9vh;" type="primary" block color="#61BFE9" @click="toDaohang">
@@ -20,7 +21,6 @@
 import skeleton from './skeleton.vue';
 
 function toDaohang() {
-    console.log(window.wx);
   if (!window.wx) return;
   window.wx.checkJsApi({
     jsApiList: ['openLocation'],
@@ -70,6 +70,17 @@ function toDaohang() {
 .bg4 {
   .duanluo {
     text-indent: 0 !important;
+
+    .left,
+    .right {
+        display: inline-block;
+        width: 3.3em;
+        vertical-align: top;
+    }
+
+    .right {
+        width: calc(100% - 3.3em);
+    }
   }
 }
 </style>