Yansen před 2 roky
rodič
revize
2c40bf6d25
7 změnil soubory, kde provedl 13 přidání a 7 odebrání
  1. 1
    1
      public/config.js
  2. binární
      public/images/loading/bg.jpg
  3. binární
      public/images/share.jpg
  4. binární
      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 Zobrazit soubor

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

binární
public/images/loading/bg.jpg Zobrazit soubor


binární
public/images/share.jpg Zobrazit soubor


binární
public/share.jpg Zobrazit soubor


+ 4
- 1
src/pages/loading/index.vue Zobrazit soubor

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

+ 1
- 1
src/pages/pg4/Map.vue Zobrazit soubor

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

+ 7
- 4
src/utils/resources.js Zobrazit soubor

10
 
10
 
11
 // 预加载资源
11
 // 预加载资源
12
 export const resources = [
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
   // { image: './images/BG.jpg', },
21
   // { image: './images/BG.jpg', },
19
   { image: './images/dove.gif' },
22
   { image: './images/dove.gif' },