xgqfrms™, xgqfrms® : xgqfrms's offical website of cnblogs! xgqfrms™, xgqfrms® : xgqfrms's offical website of GitHub!

free food icons

free food icons

food icons

Chinese foods

https://www.flaticon.com/categories/food-and-restaurant

https://www.flaticon.com/search?word=noodles&category_id=52

https://www.vecteezy.com/free-vector/chinese-food-icon

https://image.flaticon.com/icons/svg/2943/2943064.svg

geo location

/*___meta___touch/module/util/location.09496ed8.js*/
define(["mars-webloc.umd.min.js"], function(a) {
    function b(b, c) {
        if (!a)
            return void (c && c({
                code: 1,
                message: "失败"
            }));
        var d = {
            project: "webloc",
            city: !0,
            key: "459fa549de39b5b9dddd147d0b240115"
        };
        a.getCurrentPosition(d, function(a, d) {
            if (a)
                return console.log("err====>", a),
                void (c && c({
                    code: 1,
                    messag: "失败"
                }));
            console.log("aha", d, d.geo.latitude, d.geo.longitude);
            var e = {
                coords: {
                    latitude: d.geo.latitude,
                    longitude: d.geo.longitude
                }
            };
            b && b(e)
        })
    }
    return {
        getLocation: b
    }
});


H5 / 小程序

美食 app


©xgqfrms 2012-2020

www.cnblogs.com 发布文章使用:只允许注册用户才可以访问!


posted @ 2020-06-13 22:35  xgqfrms  阅读(201)  评论(4编辑  收藏  举报