Yansen 2 년 전
부모
커밋
b1f5e9e7d3
3개의 변경된 파일4개의 추가작업 그리고 3개의 파일을 삭제
  1. BIN
      src/assets/images/circle.png
  2. BIN
      src/assets/images/star.png
  3. 4
    3
      src/pages/index/index.vue

BIN
src/assets/images/circle.png 파일 보기


BIN
src/assets/images/star.png 파일 보기


+ 4
- 3
src/pages/index/index.vue 파일 보기

@@ -31,7 +31,8 @@
31 31
   import Taro, { useReady } from '@tarojs/taro';
32 32
   import { useModel } from '@zjxpcyc/vue-tiny-store';
33 33
   import { onShareAppMessage, onShareTimeline } from '@/utils/share';
34
-  import circleImg from '@/assets/images/star.png';
34
+
35
+  const star = 'https://yz-h5.oss-cn-shanghai.aliyuncs.com/assets/guoqing-miniapp/star.png';
35 36
 
36 37
   export default {
37 38
     onShareAppMessage,
@@ -55,11 +56,11 @@
55 56
           id: inx + 1,
56 57
           longitude: it.location[0],
57 58
           latitude: it.location[1],
58
-          iconPath: circleImg,
59
+          iconPath: star,
59 60
           width: 12,
60 61
           height: 12,
61 62
           label: {
62
-            content: it.shorName,
63
+            content: ' '// it.shortName, // 此值不能为空,否则会有 bug
63 64
           }
64 65
         }));
65 66