Yansen 2 年之前
父節點
當前提交
b1f5e9e7d3
共有 3 個檔案被更改,包括 4 行新增3 行删除
  1. 二進制
      src/assets/images/circle.png
  2. 二進制
      src/assets/images/star.png
  3. 4
    3
      src/pages/index/index.vue

二進制
src/assets/images/circle.png 查看文件


二進制
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