Pu Zhibing
2 天以前 e809f5955584e600d8612540ea814977c49774c2
ManagementQYTTravel/guns-admin/src/main/webapp/static/home.js
@@ -183,14 +183,16 @@
var map = new AMap.Map('container',{
    resizeEnable: true,
    zoom:10
    center: [107.561768, 26.188572],
    zoom: 10
});
var map_ = new AMap.Map('container_',{
var map_ = new AMap.Map('container_', {
    resizeEnable: true,
    center: [107.561768, 26.188572],
    mapStyle: 'amap://styles/1de318cbb8d12c02303a22c550b9ccc9',
    zoom:10
    zoom: 10
});
var mouseTool = new AMap.MouseTool(map);
@@ -394,15 +396,15 @@
            var kuahceng = order.kuahceng;
            var o = '';
            $('#order').html(o);
            // var zc = '<div class="list-group"><a href="#" class="list-group-item active">快车未接订单</a>'
            // for(var i in zhuanche){
            //     zc += '<a href="#" class="list-group-item"><p class="list-group-item-text">起点:' + zhuanche[i].start + '</p><p class="list-group-item-text">终点:' + zhuanche[i].end + '</p>' +
            //         '<p class="list-group-item-text">下单时间:' + zhuanche[i].travelTime + '</p><p class="list-group-item-text">车型:' + zhuanche[i].carModel + '</p>' +
            //         '<p class="list-group-item-text">人数:' + zhuanche[i].num + '</p></a>';
            // }
            // zc += '</div>';
            // o += zc;
            //
            var zc = '<div class="list-group"><a href="#" class="list-group-item active">快车未接订单</a>'
            for(var i in zhuanche){
                zc += '<a href="#" class="list-group-item"><p class="list-group-item-text">起点:' + zhuanche[i].start + '</p><p class="list-group-item-text">终点:' + zhuanche[i].end + '</p>' +
                    '<p class="list-group-item-text">下单时间:' + zhuanche[i].travelTime + '</p><p class="list-group-item-text">车型:' + zhuanche[i].carModel + '</p>' +
                    '<p class="list-group-item-text">人数:' + zhuanche[i].num + '</p></a>';
            }
            zc += '</div>';
            o += zc;
            // var kc = '<div class="list-group"><a href="#" class="list-group-item active">跨城出行未接订单</a>'
            // for(var i in kuacheng){
            //     kc += '<a href="#" class="list-group-item"><p class="list-group-item-text">起点:' + kuacheng[i].start + '</p><p class="list-group-item-text">终点:' + kuacheng[i].end + '</p>' +