+
liuyg
2022-02-23 7dcb653fabaee8f54ade250a941386e00adc1197
+
1 files modified
22 ■■■■ changed files
pages/grabOrders/map.vue 22 ●●●● patch | view | raw | blame | history
pages/grabOrders/map.vue
@@ -128,7 +128,7 @@
                    backgroundColor: "#FFF",
                },
                bye: true,
                types: '',//android?
                types: '', //android?
            }
        },
        methods: {
@@ -760,16 +760,16 @@
                    longitude: +ins[0]
                })
            }
            setTimeout(() => {
                this.mypolylines[0] = { //指定一系列坐标点,从数组第一项连线至最后一项
                    points: ourline,
                    color: "#FE0000", //线的颜色
                    width: 2, //线的宽度
                    dottedLine: false, //是否虚线
                    arrowLine: false, //带箭头的线 开发者工具暂不支持该属性
                }
                console.log(this.mypolylines)
            }, 1000)
            // setTimeout(() => {
            this.mypolylines[0] = { //指定一系列坐标点,从数组第一项连线至最后一项
                points: ourline,
                color: "#FE0000", //线的颜色
                width: 10, //线的宽度
                dottedLine: false, //是否虚线
                arrowLine: false, //带箭头的线 开发者工具暂不支持该属性
            }
            console.log(this.mypolylines)
            // }, 1000)
            this.showWindow();
            // this.getLocationInfo(data);
            if (data.butCT == "beginUp" && data.buttype == 0) {