Yansen 2 年之前
父節點
當前提交
2c40bf6d25
共有 7 個檔案被更改,包括 13 行新增7 行删除
  1. 1
    1
      public/config.js
  2. 二進制
      public/images/loading/bg.jpg
  3. 二進制
      public/images/share.jpg
  4. 二進制
      public/share.jpg
  5. 4
    1
      src/pages/loading/index.vue
  6. 1
    1
      src/pages/pg4/Map.vue
  7. 7
    4
      src/utils/resources.js

+ 1
- 1
public/config.js 查看文件

@@ -1,6 +1,6 @@
1 1
 // 微信分享
2 2
 const shareOptTpl = {
3
-  title: '和“宁好”一起,跟着诗歌游南京',
3
+  title: '向世界讲述——南京1937',
4 4
   desc: '',
5 5
   imgUrl: location.origin + location.pathname.replace('index.html', '') + 'share.jpg',
6 6
 }

二進制
public/images/loading/bg.jpg 查看文件


二進制
public/images/share.jpg 查看文件


二進制
public/share.jpg 查看文件


+ 4
- 1
src/pages/loading/index.vue 查看文件

@@ -58,7 +58,7 @@
58 58
   onMounted(() => {
59 59
     preload(throttle(callback, 100)).then(() => {
60 60
       finished.value = true;
61
-      emit('ready');
61
+      // emit('ready');
62 62
     });
63 63
   });
64 64
 </script>
@@ -68,6 +68,9 @@
68 68
   width: 100%;
69 69
   height: 100%;
70 70
   overflow: hidden;
71
+  background-image: url(/images/loading/bg.jpg);
72
+  background-size: 100% 100%;
73
+  background-repeat: no-repeat;
71 74
 
72 75
   .content {
73 76
     position: relative;

+ 1
- 1
src/pages/pg4/Map.vue 查看文件

@@ -56,7 +56,7 @@
56 56
   defineExpose({ renderCountry, map: mapRef });
57 57
 
58 58
   onMounted(() => {
59
-    const map = new BMap.Map(el.value);
59
+    const map = new BMap.Map(el.value, {minZoom: 3, maxZoom: 5});
60 60
     // const point = new BMap.Point(116.404, 39.915); // 天安门
61 61
     const point = new BMap.Point(118.749731,32.04067);
62 62
     map.centerAndZoom(point, 3);

+ 7
- 4
src/utils/resources.js 查看文件

@@ -10,10 +10,13 @@ export const audios = [
10 10
 
11 11
 // 预加载资源
12 12
 export const resources = [
13
-  { image: './images/loading/center.png' },
14
-  { image: './images/loading/飞机1.png' },
15
-  { image: './images/loading/飞机2.png' },
16
-  { image: './images/loading/飞机3.png' },
13
+  { image: './images/loading/bg.jpg' },
14
+  { image: './images/loading/flower1.png' },
15
+  { image: './images/loading/flower2.png' },
16
+  // { image: './images/loading/center.png' },
17
+  // { image: './images/loading/飞机1.png' },
18
+  // { image: './images/loading/飞机2.png' },
19
+  // { image: './images/loading/飞机3.png' },
17 20
 
18 21
   // { image: './images/BG.jpg', },
19 22
   { image: './images/dove.gif' },