Browse Source

update upload

baiyaaaaa 9 years ago
parent
commit
ac1bebf266

+ 3108 - 0
examples/assets/restaurants.json

@@ -0,0 +1,3108 @@
+[{
+  "activities": [{
+    "description": "在线支付满25减10,满45减20",
+    "icon_color": "f07373",
+    "icon_name": "减",
+    "id": 11465478,
+    "name": "满减优惠",
+    "tips": "在线支付满25减10,满45减20"
+  }],
+  "address": "长宁区新渔路144号",
+  "bidding": "{\"target\":{\"restaurantId\":799311,\"weight\":80,\"probability\":16.65989112854004},\"next\":{\"restaurantId\":1235633,\"weight\":180,\"probability\":6.841090202331543}}",
+  "delivery_mode": {
+    "color": "57A9FF",
+    "id": 1,
+    "is_solid": true,
+    "text": "蜂鸟专送"
+  },
+  "description": "三全鲜食,专注于新鲜的体验 , 打造便捷生活,缔造美味健康!",
+  "distance": 1318,
+  "float_delivery_fee": 5,
+  "float_minimum_order_amount": 20,
+  "id": 799311,
+  "image_path": "1f63d3e5f220e77bb0bd9781c97d47b0png",
+  "is_new": false,
+  "is_premium": false,
+  "latitude": 31.215656,
+  "longitude": 121.367698,
+  "name": "三全鲜食(北新泾店)",
+  "next_business_time": "",
+  "only_use_poi": false,
+  "opening_hours": ["10:00/20:00"],
+  "order_lead_time": 38,
+  "phone": "15000044134 17721416326",
+  "piecewise_agent_fee": {
+    "description": "配送费¥5",
+    "extra_fee": 0,
+    "is_extra": false,
+    "rules": [{
+      "fee": 5,
+      "price": 20
+    }]
+  },
+  "promotion_info": "你好,我叫三全鲜食,是个胖子,在认真做饭。卖的米饭加了燕麦,办公室坐久了,吃这个对肠胃好;坚持低油低盐烹调,应酬太重,身体该轻点负担。我一直想:约你去健康大道上散个步...",
+  "rating": 4.4,
+  "rating_count": 44,
+  "recent_order_num": 211,
+  "recommend": {
+    "reason": "商家推广",
+    "track": "{\"rankType\":\"8\"}"
+  },
+  "status": 1,
+  "supports": [{
+    "description": "已加入“外卖保”计划,食品安全有保障",
+    "icon_color": "4B9A18",
+    "icon_name": "保",
+    "id": 7,
+    "name": "外卖保"
+  }, {
+    "description": "准时必达,超时秒赔",
+    "icon_color": "57A9FF",
+    "icon_name": "准",
+    "id": 9,
+    "name": "准时达"
+  }]
+}, {
+  "activities": [{
+    "description": "在线支付满30减12,满60减24",
+    "icon_color": "f07373",
+    "icon_name": "减",
+    "id": 11582619,
+    "name": "满减优惠",
+    "tips": "在线支付满30减12,满60减24"
+  }, {
+    "description": "满39.0元赠送韩国进口饮料1份",
+    "icon_color": "3cc791",
+    "icon_name": "赠",
+    "id": 11780530,
+    "name": "满赠优惠",
+    "tips": "满39.0元赠送韩国进口饮料1份"
+  }],
+  "address": "上海市长宁区淞虹路661号",
+  "delivery_mode": {
+    "color": "57A9FF",
+    "id": 1,
+    "is_solid": true,
+    "text": "蜂鸟专送"
+  },
+  "description": "",
+  "distance": 1322,
+  "float_delivery_fee": 5,
+  "float_minimum_order_amount": 20,
+  "id": 1267706,
+  "image_path": "8d74d3ce7eee88d92d7005b64d32640epng",
+  "is_new": true,
+  "is_premium": false,
+  "latitude": 31.21328,
+  "longitude": 121.36104,
+  "name": "Hot honey 首尔炸鸡(仙霞路)",
+  "next_business_time": "",
+  "only_use_poi": false,
+  "opening_hours": ["10:50/01:30"],
+  "order_lead_time": 35,
+  "phone": "14752582500",
+  "piecewise_agent_fee": {
+    "description": "配送费¥5",
+    "extra_fee": 0,
+    "is_extra": false,
+    "rules": [{
+      "fee": 5,
+      "price": 20
+    }]
+  },
+  "promotion_info": "",
+  "rating": 4.9,
+  "rating_count": 28,
+  "recent_order_num": 97,
+  "status": 1,
+  "supports": [{
+    "description": "已加入“外卖保”计划,食品安全有保障",
+    "icon_color": "4B9A18",
+    "icon_name": "保",
+    "id": 7,
+    "name": "外卖保"
+  }, {
+    "description": "准时必达,超时秒赔",
+    "icon_color": "57A9FF",
+    "icon_name": "准",
+    "id": 9,
+    "name": "准时达"
+  }]
+}, {
+  "activities": [{
+    "description": "在线支付满30减8,满50减12,满75减15",
+    "icon_color": "f07373",
+    "icon_name": "减",
+    "id": 11323542,
+    "name": "满减优惠",
+    "tips": "在线支付满30减8,满50减12,满75减15"
+  }, {
+    "description": "满108.0元赠送Rio鸡尾酒(青柠味)1份",
+    "icon_color": "3cc791",
+    "icon_name": "赠",
+    "id": 11592505,
+    "name": "满赠优惠",
+    "tips": "满108.0元赠送Rio鸡尾酒(青柠味)1份"
+  }],
+  "address": "上海市普陀区真北路988号创邑金沙谷6号楼113",
+  "delivery_mode": {
+    "color": "57A9FF",
+    "id": 1,
+    "is_solid": true,
+    "text": "蜂鸟专送"
+  },
+  "description": "~香港厨师 精致港味~",
+  "distance": 2590,
+  "float_delivery_fee": 5,
+  "float_minimum_order_amount": 20,
+  "id": 369999,
+  "image_path": "3cc16c5507df1927a2dfd774be5e5550png",
+  "is_new": false,
+  "is_premium": false,
+  "latitude": 31.23579,
+  "longitude": 121.38346,
+  "name": "新旺角茶餐厅",
+  "next_business_time": "",
+  "only_use_poi": false,
+  "opening_hours": ["10:00/20:00"],
+  "order_lead_time": 37,
+  "phone": "13801662502",
+  "piecewise_agent_fee": {
+    "description": "满70配送费¥2,满20付¥7,不满20付¥9 (费用包含超距加收¥2)",
+    "extra_fee": 2,
+    "is_extra": true,
+    "rules": [{
+      "fee": 9,
+      "price": 0
+    }, {
+      "fee": 7,
+      "price": 20
+    }, {
+      "fee": 2,
+      "price": 70
+    }]
+  },
+  "promotion_info": "优质商家,饿饿推荐!本店优先配送饿了么订单,不能网上订餐然后上门自取。客服电话:021-10105757。",
+  "rating": 3.7,
+  "rating_count": 122,
+  "recent_order_num": 635,
+  "status": 1,
+  "supports": [{
+    "description": "已加入“外卖保”计划,食品安全有保障",
+    "icon_color": "4B9A18",
+    "icon_name": "保",
+    "id": 7,
+    "name": "外卖保"
+  }, {
+    "description": "准时必达,超时秒赔",
+    "icon_color": "57A9FF",
+    "icon_name": "准",
+    "id": 9,
+    "name": "准时达"
+  }]
+}, {
+  "activities": [{
+    "description": "在线支付满27减6,满35减9,满50减13,满100减22",
+    "icon_color": "f07373",
+    "icon_name": "减",
+    "id": 11394560,
+    "name": "满减优惠",
+    "tips": "在线支付满27减6,满35减9,满50减13,满100减22"
+  }, {
+    "description": "(不与其他活动同享)新用户下单立减20.0元",
+    "icon_color": "70bc46",
+    "icon_name": "新",
+    "id": 11325228,
+    "name": "新用户立减(不与其他活动共享)",
+    "tips": "(不与其他活动同享)新用户下单立减20.0元"
+  }],
+  "address": "天山西路438号",
+  "bidding": "{\"target\":{\"restaurantId\":454414,\"weight\":50,\"probability\":7.78886079788208},\"next\":null}",
+  "description": "本店支持饿了么网上订餐",
+  "distance": 888,
+  "float_delivery_fee": 0,
+  "float_minimum_order_amount": 15,
+  "id": 454414,
+  "image_path": "89c40be0dd657e4a32789d77efe0cec2jpeg",
+  "is_new": false,
+  "is_premium": false,
+  "latitude": 31.217949,
+  "longitude": 121.363526,
+  "name": "泷千家(天山西路店)",
+  "next_business_time": "",
+  "only_use_poi": false,
+  "opening_hours": ["10:00/21:30"],
+  "order_lead_time": 30,
+  "phone": "18621557849",
+  "piecewise_agent_fee": {
+    "description": "免配送费",
+    "extra_fee": 0,
+    "is_extra": false,
+    "rules": [{
+      "fee": 0,
+      "price": 15
+    }]
+  },
+  "promotion_info": "注:1、本店推荐陛下您在“饿了么”订餐—饭点较忙,电话常占线,本店优先配送饿了么订单。2、雨天路滑,外卖小哥会及时送达,避免催促发生事故。3、外卖制作+配送都需要消耗时间,为了能及时用餐,希望大家提前半小时以上预定,避开高峰拥堵。4、下单后,请务必备注个人口味与需求,避免出错",
+  "rating": 4.8,
+  "rating_count": 210,
+  "recent_order_num": 393,
+  "status": 1,
+  "supports": []
+}, {
+  "activities": [{
+    "description": "在线支付满25减3,满35减4,满50减8",
+    "icon_color": "f07373",
+    "icon_name": "减",
+    "id": 11521410,
+    "name": "满减优惠",
+    "tips": "在线支付满25减3,满35减4,满50减8"
+  }],
+  "address": "上海市长宁区金钟路968号1幢18号楼一层商铺18-101",
+  "delivery_mode": {
+    "color": "57A9FF",
+    "id": 1,
+    "is_solid": true,
+    "text": "蜂鸟专送"
+  },
+  "description": "胖仙女(凌空SOHO店)",
+  "distance": 1343,
+  "float_delivery_fee": 5,
+  "float_minimum_order_amount": 20,
+  "id": 974872,
+  "image_path": "606ca4f0dfcf2b475c4140dd8361b93cpng",
+  "is_new": false,
+  "is_premium": false,
+  "latitude": 31.2135896880521,
+  "longitude": 121.354956185256,
+  "name": "胖仙女纸杯蛋糕(上海凌空店)",
+  "next_business_time": "",
+  "only_use_poi": false,
+  "opening_hours": ["09:40/21:00"],
+  "order_lead_time": 36,
+  "phone": "13818003177",
+  "piecewise_agent_fee": {
+    "description": "配送费¥5",
+    "extra_fee": 0,
+    "is_extra": false,
+    "rules": [{
+      "fee": 5,
+      "price": 20
+    }]
+  },
+  "promotion_info": "",
+  "rating": 4.6,
+  "rating_count": 23,
+  "recent_order_num": 52,
+  "status": 1,
+  "supports": [{
+    "description": "已加入“外卖保”计划,食品安全有保障",
+    "icon_color": "4B9A18",
+    "icon_name": "保",
+    "id": 7,
+    "name": "外卖保"
+  }, {
+    "description": "该商家支持开发票,开票订单金额300.0元起,请在下单时填写好发票抬头",
+    "icon_color": "9071CB",
+    "icon_name": "票",
+    "id": 4,
+    "name": "开发票"
+  }, {
+    "description": "准时必达,超时秒赔",
+    "icon_color": "57A9FF",
+    "icon_name": "准",
+    "id": 9,
+    "name": "准时达"
+  }]
+}, {
+  "activities": [{
+    "description": "在线支付满27减3,满50减4,满75减5,满100减6",
+    "icon_color": "f07373",
+    "icon_name": "减",
+    "id": 11380887,
+    "name": "满减优惠",
+    "tips": "在线支付满27减3,满50减4,满75减5,满100减6"
+  }, {
+    "description": "(不与其他活动同享)新用户下单立减20.0元",
+    "icon_color": "70bc46",
+    "icon_name": "新",
+    "id": 11325228,
+    "name": "新用户立减(不与其他活动共享)",
+    "tips": "(不与其他活动同享)新用户下单立减20.0元"
+  }],
+  "address": "上海市长宁区金钟路633号",
+  "delivery_mode": {
+    "color": "57A9FF",
+    "id": 1,
+    "is_solid": true,
+    "text": "蜂鸟专送"
+  },
+  "description": "",
+  "distance": 534,
+  "float_delivery_fee": 5,
+  "float_minimum_order_amount": 20,
+  "id": 812017,
+  "image_path": "4ea8e374887cfc93a8a9c9b3675042b7jpeg",
+  "is_new": false,
+  "is_premium": false,
+  "latitude": 31.2203030319986,
+  "longitude": 121.359984758636,
+  "name": "贡茶",
+  "next_business_time": "",
+  "only_use_poi": false,
+  "opening_hours": ["10:00/20:00"],
+  "order_lead_time": 24,
+  "phone": "15901638090",
+  "piecewise_agent_fee": {
+    "description": "配送费¥5",
+    "extra_fee": 0,
+    "is_extra": false,
+    "rules": [{
+      "fee": 5,
+      "price": 20
+    }]
+  },
+  "promotion_info": "我们的愿景是成为魔都最有创意的美食小店,为此我们一直在努力,希望同为有理想的你们能多多支持我们。如果你也曾经吃到过令你“没朋友”的美食想与大家分享,欢迎来我们店交流。",
+  "rating": 4.5,
+  "rating_count": 18,
+  "recent_order_num": 122,
+  "status": 1,
+  "supports": [{
+    "description": "已加入“外卖保”计划,食品安全有保障",
+    "icon_color": "4B9A18",
+    "icon_name": "保",
+    "id": 7,
+    "name": "外卖保"
+  }, {
+    "description": "准时必达,超时秒赔",
+    "icon_color": "57A9FF",
+    "icon_name": "准",
+    "id": 9,
+    "name": "准时达"
+  }]
+}, {
+  "activities": [{
+    "description": "在线支付满30减6,满50减10,满80减16,满100减20",
+    "icon_color": "f07373",
+    "icon_name": "减",
+    "id": 11321703,
+    "name": "满减优惠",
+    "tips": "在线支付满30减6,满50减10,满80减16,满100减20"
+  }, {
+    "description": "(不与其他活动同享)新用户下单立减10.0元",
+    "icon_color": "70bc46",
+    "icon_name": "新",
+    "id": 11407498,
+    "name": "新用户立减(不与其他活动共享)",
+    "tips": "(不与其他活动同享)新用户下单立减10.0元"
+  }],
+  "address": "上海市嘉定区曹安公路曹安路1685号",
+  "delivery_mode": {
+    "color": "57A9FF",
+    "id": 1,
+    "is_solid": true,
+    "text": "蜂鸟专送"
+  },
+  "description": "叫外卖,上饿了么。",
+  "distance": 2732,
+  "float_delivery_fee": 5,
+  "float_minimum_order_amount": 20,
+  "id": 573057,
+  "image_path": "2f9070f8cd62a2b712d200e8ef9faa95jpeg",
+  "is_new": false,
+  "is_premium": false,
+  "latitude": 31.249038,
+  "longitude": 121.365501,
+  "name": "豪大大香鸡排超级奶爸",
+  "next_business_time": "",
+  "only_use_poi": false,
+  "opening_hours": ["00:00/24:00"],
+  "order_lead_time": 30,
+  "phone": "18201986108",
+  "piecewise_agent_fee": {
+    "description": "满70配送费¥2,满20付¥7,不满20付¥9 (费用包含超距加收¥2)",
+    "extra_fee": 2,
+    "is_extra": true,
+    "rules": [{
+      "fee": 9,
+      "price": 0
+    }, {
+      "fee": 7,
+      "price": 20
+    }, {
+      "fee": 2,
+      "price": 70
+    }]
+  },
+  "promotion_info": "各位小主,本店优先配送饿了么,下雪天路滑送餐较慢,请多多担待哈!如果您的美食凉了,或者口味不好,一定要第一时间和本店联系,做的不好的的地方我们一定加油改进,在这个寒冷的冬天,我们一定努力温暖您的胃,如您对送餐服务口味满意的请给5星好评哦!!饿了么网络点餐,汇集周边所有美食,汉堡,炸鸡,水果,生鲜,烧烤,超市,美食快餐应有尽有,美好生活,触手可得!!!",
+  "rating": 3.9,
+  "rating_count": 190,
+  "recent_order_num": 812,
+  "status": 1,
+  "supports": [{
+    "description": "已加入“外卖保”计划,食品安全有保障",
+    "icon_color": "4B9A18",
+    "icon_name": "保",
+    "id": 7,
+    "name": "外卖保"
+  }, {
+    "description": "准时必达,超时秒赔",
+    "icon_color": "57A9FF",
+    "icon_name": "准",
+    "id": 9,
+    "name": "准时达"
+  }]
+}, {
+  "activities": [{
+    "description": "(不与其他活动同享)新用户下单立减8.0元",
+    "icon_color": "70bc46",
+    "icon_name": "新",
+    "id": 11331255,
+    "name": "新用户立减(不与其他活动共享)",
+    "tips": "(不与其他活动同享)新用户下单立减8.0元"
+  }],
+  "address": "上海市普陀区同普路1435号",
+  "delivery_mode": {
+    "color": "57A9FF",
+    "id": 1,
+    "is_solid": true,
+    "text": "蜂鸟专送"
+  },
+  "description": "本店支持饿了么网上订餐",
+  "distance": 1110,
+  "float_delivery_fee": 4,
+  "float_minimum_order_amount": 20,
+  "id": 692202,
+  "image_path": "58a9bf7ad043c3268e5ca93c775ee310jpeg",
+  "is_new": false,
+  "is_premium": false,
+  "latitude": 31.233949,
+  "longitude": 121.364608,
+  "name": "茶芝兰(奶茶,手抓饼)",
+  "next_business_time": "",
+  "only_use_poi": false,
+  "opening_hours": ["09:00/22:30"],
+  "order_lead_time": 24,
+  "phone": "13661697379",
+  "piecewise_agent_fee": {
+    "description": "配送费¥4",
+    "extra_fee": 0,
+    "is_extra": false,
+    "rules": [{
+      "fee": 4,
+      "price": 20
+    }]
+  },
+  "promotion_info": "各位小主,本店优先配送饿了么,下雪天路滑送餐较慢,请多多担待哈!如果您的美食凉了,或者口味不好,一定要第一时间和本店联系,做的不好的地方我们一定加油改进,在这个寒冷的冬季,我们一定努力温暖您的胃,如您对送餐服务口味满意请给5分好评呦!!!饿了么网络订餐,汇集周边所有美食,汉堡、炸鸡、水果、生鲜、烧烤、超市、美食快餐应有尽有!美好生活,触手可得!!!",
+  "rating": 4.5,
+  "rating_count": 13,
+  "recent_order_num": 86,
+  "status": 1,
+  "supports": [{
+    "description": "已加入“外卖保”计划,食品安全有保障",
+    "icon_color": "4B9A18",
+    "icon_name": "保",
+    "id": 7,
+    "name": "外卖保"
+  }, {
+    "description": "准时必达,超时秒赔",
+    "icon_color": "57A9FF",
+    "icon_name": "准",
+    "id": 9,
+    "name": "准时达"
+  }]
+}, {
+  "activities": [{
+    "description": "在线支付满30减15,满55减18,满99减25",
+    "icon_color": "f07373",
+    "icon_name": "减",
+    "id": 11745520,
+    "name": "满减优惠",
+    "tips": "在线支付满30减15,满55减18,满99减25"
+  }, {
+    "description": "(不与其他活动同享)新用户下单立减8.0元",
+    "icon_color": "70bc46",
+    "icon_name": "新",
+    "id": 11763371,
+    "name": "新用户立减(不与其他活动共享)",
+    "tips": "(不与其他活动同享)新用户下单立减8.0元"
+  }],
+  "address": "上海市北翟路1444弄81号B幢-107",
+  "description": "北翟路店",
+  "distance": 1712,
+  "float_delivery_fee": 0,
+  "float_minimum_order_amount": 20,
+  "id": 1249130,
+  "image_path": "d04120664ef124d4b7b9025a33077eb6png",
+  "is_new": true,
+  "is_premium": false,
+  "latitude": 31.2273530703567,
+  "longitude": 121.341508485247,
+  "name": "十二泷町",
+  "next_business_time": "",
+  "only_use_poi": false,
+  "opening_hours": ["09:30/21:40"],
+  "order_lead_time": 40,
+  "phone": "18321927529",
+  "piecewise_agent_fee": {
+    "description": "免配送费",
+    "extra_fee": 0,
+    "is_extra": false,
+    "rules": [{
+      "fee": 0,
+      "price": 20
+    }]
+  },
+  "promotion_info": "新店开业给力促销 十二泷町只做精品 欢迎光临",
+  "rating": 4.2,
+  "rating_count": 214,
+  "recent_order_num": 793,
+  "status": 1,
+  "supports": []
+}, {
+  "activities": [{
+    "description": "在线支付满30减10,满50减16,满80减20,满100减25",
+    "icon_color": "f07373",
+    "icon_name": "减",
+    "id": 11713861,
+    "name": "满减优惠",
+    "tips": "在线支付满30减10,满50减16,满80减20,满100减25"
+  }, {
+    "description": "(不与其他活动同享)新用户下单立减10.0元",
+    "icon_color": "70bc46",
+    "icon_name": "新",
+    "id": 11407498,
+    "name": "新用户立减(不与其他活动共享)",
+    "tips": "(不与其他活动同享)新用户下单立减10.0元"
+  }],
+  "address": "上海市嘉定区新郁路817号",
+  "description": "100%现磨咖啡配火烤美食",
+  "distance": 3078,
+  "float_delivery_fee": 4,
+  "float_minimum_order_amount": 45,
+  "id": 315324,
+  "image_path": "bc55266432a43c3d49576acfe8baa855jpeg",
+  "is_new": false,
+  "is_premium": false,
+  "latitude": 31.252609,
+  "longitude": 121.362281,
+  "name": "星移浓缩咖啡",
+  "next_business_time": "",
+  "only_use_poi": false,
+  "opening_hours": ["07:50/22:30"],
+  "order_lead_time": 39,
+  "phone": "15801946520 18701977399",
+  "piecewise_agent_fee": {
+    "description": "配送费¥4",
+    "extra_fee": 0,
+    "is_extra": false,
+    "rules": [{
+      "fee": 4,
+      "price": 45
+    }]
+  },
+  "promotion_info": "各位小主,本店优先配送饿了么,下雪天路滑送餐较慢,请多多担待哈!如果您的美食凉了,或者口味不好,一定要第一时间和本店联系,做的不好的的地方我们一定加油改进,在这个寒冷的冬天,我们一定努力温暖您的胃,如您对送餐服务口味满意的请给5星好评哦!!饿了么网络点餐,汇集周边所有美食,汉堡,炸鸡,水果,生鲜,烧烤,超市,美食快餐应有尽有,美好生活,触手可得!!!",
+  "rating": 4.6,
+  "rating_count": 674,
+  "recent_order_num": 1945,
+  "status": 1,
+  "supports": []
+}, {
+  "activities": [{
+    "description": "在线支付满30减6,满50减10,满80减16,满100减20",
+    "icon_color": "f07373",
+    "icon_name": "减",
+    "id": 11321703,
+    "name": "满减优惠",
+    "tips": "在线支付满30减6,满50减10,满80减16,满100减20"
+  }, {
+    "description": "满60.0元赠送酸梅汤1份",
+    "icon_color": "3cc791",
+    "icon_name": "赠",
+    "id": 11667023,
+    "name": "满赠优惠",
+    "tips": "满60.0元赠送酸梅汤1份"
+  }, {
+    "description": "(不与其他活动同享)新用户下单立减10.0元",
+    "icon_color": "70bc46",
+    "icon_name": "新",
+    "id": 11407498,
+    "name": "新用户立减(不与其他活动共享)",
+    "tips": "(不与其他活动同享)新用户下单立减10.0元"
+  }],
+  "address": "嘉定区曹安路1611号",
+  "bidding": "{\"target\":{\"restaurantId\":350268,\"weight\":90,\"probability\":5.929296016693115},\"next\":null}",
+  "description": "主营阿姨奶茶和豪大大鸡排",
+  "distance": 3110,
+  "float_delivery_fee": 5,
+  "float_minimum_order_amount": 40,
+  "id": 350268,
+  "image_path": "d7863ee62fe7757c23fdf295c7ab5dc4jpeg",
+  "is_new": false,
+  "is_premium": false,
+  "latitude": 31.252109,
+  "longitude": 121.367546,
+  "name": "阿姨奶茶/豪大大",
+  "next_business_time": "",
+  "only_use_poi": false,
+  "opening_hours": ["00:00/24:00"],
+  "order_lead_time": 34,
+  "phone": "18721119782",
+  "piecewise_agent_fee": {
+    "description": "配送费¥5",
+    "extra_fee": 0,
+    "is_extra": false,
+    "rules": [{
+      "fee": 5,
+      "price": 40
+    }]
+  },
+  "promotion_info": "各位小主,如果您的美食凉了,或者口味不好,一定要第一时间和本店联系,做的不好的的地方我们一定加油改进,本店奶茶有2种口味可选,下单请备注,夏季新品全新上市。敬请品尝",
+  "rating": 4.4,
+  "rating_count": 901,
+  "recent_order_num": 2834,
+  "status": 1,
+  "supports": []
+}, {
+  "activities": [{
+    "description": "在线支付满30减3,满50减8,满80减12",
+    "icon_color": "f07373",
+    "icon_name": "减",
+    "id": 11305606,
+    "name": "满减优惠",
+    "tips": "在线支付满30减3,满50减8,满80减12"
+  }, {
+    "description": "(不与其他活动同享)新用户下单立减15.0元",
+    "icon_color": "70bc46",
+    "icon_name": "新",
+    "id": 11483363,
+    "name": "新用户立减(不与其他活动共享)",
+    "tips": "(不与其他活动同享)新用户下单立减15.0元"
+  }, {
+    "description": "满72.0元赠送白雪黑糯米1份",
+    "icon_color": "3cc791",
+    "icon_name": "赠",
+    "id": 11337736,
+    "name": "满赠优惠",
+    "tips": "满72.0元赠送白雪黑糯米1份"
+  }],
+  "address": "嘉定区曹安公路2383弄55号",
+  "bidding": "{\"target\":{\"restaurantId\":1025885,\"weight\":10,\"probability\":8.761201858520508},\"next\":null}",
+  "description": "新店入住江桥,还望大家多多关照。总店在顾村,以打造优质外卖,希望能服务好江桥周边群众。有任何问题,欢迎电话或者微信我lastone2222,谢谢。",
+  "distance": 4303,
+  "float_delivery_fee": 8,
+  "float_minimum_order_amount": 48,
+  "id": 1025885,
+  "image_path": "114ba96cb2770ed092551a132508c583jpeg",
+  "is_new": false,
+  "is_premium": false,
+  "latitude": 31.26018,
+  "longitude": 121.340367,
+  "name": "新麦甜四季甜品炸鸡",
+  "next_business_time": "",
+  "only_use_poi": false,
+  "opening_hours": ["10:20/23:05"],
+  "order_lead_time": 40,
+  "phone": "13004156997",
+  "piecewise_agent_fee": {
+    "description": "配送费¥8",
+    "extra_fee": 0,
+    "is_extra": false,
+    "rules": [{
+      "fee": 8,
+      "price": 48
+    }]
+  },
+  "promotion_info": "新店开张,希望结识更多朋友,如没有饿了么红包,可添加我微信lastone2222。更有优惠在微信中分享大家,谢谢。",
+  "rating": 4.5,
+  "rating_count": 526,
+  "recent_order_num": 1468,
+  "status": 1,
+  "supports": [{
+    "description": "该商家支持开发票,开票订单金额1000.0元起,请在下单时填写好发票抬头",
+    "icon_color": "9071CB",
+    "icon_name": "票",
+    "id": 4,
+    "name": "开发票"
+  }]
+}, {
+  "activities": [{
+    "description": "在线支付满78减6,满108减10",
+    "icon_color": "f07373",
+    "icon_name": "减",
+    "id": 11729861,
+    "name": "满减优惠",
+    "tips": "在线支付满78减6,满108减10"
+  }, {
+    "description": "(不与其他活动同享)新用户下单立减15.0元",
+    "icon_color": "70bc46",
+    "icon_name": "新",
+    "id": 11483363,
+    "name": "新用户立减(不与其他活动共享)",
+    "tips": "(不与其他活动同享)新用户下单立减15.0元"
+  }],
+  "address": "嘉定区江桥镇曹安公路2409号1F,2383弄62号1F",
+  "bidding": "{\"target\":{\"restaurantId\":528740,\"weight\":100,\"probability\":7.419137001037598},\"next\":null}",
+  "description": "叫外卖,上饿了么,优惠一大波,快乐做吃货。",
+  "distance": 4388,
+  "float_delivery_fee": 4,
+  "float_minimum_order_amount": 35,
+  "id": 528740,
+  "image_path": "16473df4a84509c6be80538e811f8d95jpeg",
+  "is_new": false,
+  "is_premium": false,
+  "latitude": 31.2608095910523,
+  "longitude": 121.339828832568,
+  "name": "Monica摩托主题咖啡店",
+  "next_business_time": "",
+  "only_use_poi": false,
+  "opening_hours": ["10:00/22:00"],
+  "order_lead_time": 41,
+  "phone": "18019077520",
+  "piecewise_agent_fee": {
+    "description": "配送费¥4",
+    "extra_fee": 0,
+    "is_extra": false,
+    "rules": [{
+      "fee": 4,
+      "price": 35
+    }]
+  },
+  "promotion_info": "Monica摩托主题咖啡店,饿了么专线18019077520,有任何问题请联系我们!",
+  "rating": 4.6,
+  "rating_count": 191,
+  "recent_order_num": 708,
+  "status": 1,
+  "supports": [{
+    "description": "已加入“外卖保”计划,食品安全有保障",
+    "icon_color": "4B9A18",
+    "icon_name": "保",
+    "id": 7,
+    "name": "外卖保"
+  }]
+}, {
+  "activities": [{
+    "description": "在线支付满25减10",
+    "icon_color": "f07373",
+    "icon_name": "减",
+    "id": 11497425,
+    "name": "满减优惠",
+    "tips": "在线支付满25减10"
+  }, {
+    "description": "(不与其他活动同享)新用户下单立减20.0元",
+    "icon_color": "70bc46",
+    "icon_name": "新",
+    "id": 11325228,
+    "name": "新用户立减(不与其他活动共享)",
+    "tips": "(不与其他活动同享)新用户下单立减20.0元"
+  }],
+  "address": "上海长宁区金钟路968号9号楼地下一层",
+  "description": "本店支持饿了么网上订餐",
+  "distance": 767,
+  "float_delivery_fee": 2,
+  "float_minimum_order_amount": 30,
+  "id": 517091,
+  "image_path": "c1b0f058b2817296b133e4a6d977dc7fjpeg",
+  "is_new": false,
+  "is_premium": false,
+  "latitude": 31.222092,
+  "longitude": 121.352028,
+  "name": "浮生若茶(凌空soho店)",
+  "next_business_time": "",
+  "only_use_poi": false,
+  "opening_hours": ["09:00/20:00"],
+  "order_lead_time": 35,
+  "phone": "60317291",
+  "piecewise_agent_fee": {
+    "description": "配送费¥2",
+    "extra_fee": 0,
+    "is_extra": false,
+    "rules": [{
+      "fee": 2,
+      "price": 30
+    }]
+  },
+  "promotion_info": "1、本店推荐陛下您在“饿了么”订餐—饭点较忙,电话常占线,本店优先配送饿了么订单。2、雨天路滑,外卖小哥会及时送达,避免催促发生事故。3、外卖制作+配送都需要消耗时间,为了能及时用餐,希望大家提前半小时以上预定,避开高峰拥堵。",
+  "rating": 4.7,
+  "rating_count": 185,
+  "recent_order_num": 525,
+  "status": 1,
+  "supports": []
+}, {
+  "activities": [{
+    "description": "在线支付满30减5,满60减12,满90减17,满120减22",
+    "icon_color": "f07373",
+    "icon_name": "减",
+    "id": 11381105,
+    "name": "满减优惠",
+    "tips": "在线支付满30减5,满60减12,满90减17,满120减22"
+  }, {
+    "description": "(不与其他活动同享)新用户下单立减20.0元",
+    "icon_color": "70bc46",
+    "icon_name": "新",
+    "id": 11325228,
+    "name": "新用户立减(不与其他活动共享)",
+    "tips": "(不与其他活动同享)新用户下单立减20.0元"
+  }],
+  "address": "上海市长宁区天山西路119号",
+  "bidding": "{\"target\":{\"restaurantId\":956142,\"weight\":30,\"probability\":5.793898105621338},\"next\":null}",
+  "description": "放慢节奏,停下来看一看风景,让灵魂跟上脚步!\nNONO JUIC是一家80后创业的小店。\n“快乐•慢活”的是我们的生活追求;\n不加水不加糖的100%纯鲜榨果蔬汁,是我们的载体;\n超值的价格、高品质的服务,是我们的态度;\n让白领拥有自然、健康、快乐 的新商务生活 ,是我们的目标!",
+  "distance": 1825,
+  "float_delivery_fee": 4,
+  "float_minimum_order_amount": 0,
+  "id": 956142,
+  "image_path": "c75e04425d7afd93c48393d361df13c7jpeg",
+  "is_new": false,
+  "is_premium": false,
+  "latitude": 31.216055,
+  "longitude": 121.375325,
+  "name": "NONO JUICE  鲜榨果汁",
+  "next_business_time": "",
+  "only_use_poi": false,
+  "opening_hours": ["09:30/20:55"],
+  "order_lead_time": 38,
+  "phone": "18017696773 62036773",
+  "piecewise_agent_fee": {
+    "description": "配送费¥4",
+    "extra_fee": 0,
+    "is_extra": false,
+    "rules": [{
+      "fee": 4,
+      "price": 0
+    }]
+  },
+  "promotion_info": "新鲜 健康!\n本店全开放式操作、不加水的100%纯鲜榨果蔬汁,采用韩国进口原汁机榨汁,无金属刀片接触,氧化慢、出汁率高、富含果肉,原汁原味,口感更好。",
+  "rating": 4.8,
+  "rating_count": 29,
+  "recent_order_num": 101,
+  "status": 1,
+  "supports": [{
+    "description": "该商家支持开发票,开票订单金额80.0元起,请在下单时填写好发票抬头",
+    "icon_color": "9071CB",
+    "icon_name": "票",
+    "id": 4,
+    "name": "开发票"
+  }]
+}, {
+  "activities": [],
+  "address": "上海市长宁区仙霞西路",
+  "delivery_mode": {
+    "color": "57A9FF",
+    "id": 1,
+    "is_solid": true,
+    "text": "蜂鸟专送"
+  },
+  "description": "CoCo都可(北新泾店)",
+  "distance": 1851,
+  "float_delivery_fee": 5,
+  "float_minimum_order_amount": 20,
+  "id": 623791,
+  "image_path": "d38997b5a8e5076a2888f11baa44a473jpeg",
+  "is_new": false,
+  "is_premium": false,
+  "latitude": 31.208887,
+  "longitude": 121.3638,
+  "name": "CoCo都可(北新泾店)",
+  "next_business_time": "",
+  "only_use_poi": false,
+  "opening_hours": ["10:00/21:00"],
+  "order_lead_time": 20,
+  "phone": "13681954727",
+  "piecewise_agent_fee": {
+    "description": "配送费¥5",
+    "extra_fee": 0,
+    "is_extra": false,
+    "rules": [{
+      "fee": 5,
+      "price": 20
+    }]
+  },
+  "promotion_info": "",
+  "rating": 4.8,
+  "rating_count": 179,
+  "recent_order_num": 979,
+  "status": 1,
+  "supports": [{
+    "description": "已加入“外卖保”计划,食品安全有保障",
+    "icon_color": "4B9A18",
+    "icon_name": "保",
+    "id": 7,
+    "name": "外卖保"
+  }, {
+    "description": "准时必达,超时秒赔",
+    "icon_color": "57A9FF",
+    "icon_name": "准",
+    "id": 9,
+    "name": "准时达"
+  }]
+}, {
+  "activities": [{
+    "description": "在线支付满25减3",
+    "icon_color": "f07373",
+    "icon_name": "减",
+    "id": 11404771,
+    "name": "满减优惠",
+    "tips": "在线支付满25减3"
+  }, {
+    "description": "原价10元,现价5元。就是那么优惠",
+    "icon_color": "f1884f",
+    "icon_name": "5",
+    "id": 1449976,
+    "name": "(不与其它活动同享)中杯半价",
+    "tips": "(不与其它活动同享)中杯半价"
+  }, {
+    "description": "手榨香柠茉香绿茶(大杯)原价13,现价8元",
+    "icon_color": "f1884f",
+    "icon_name": "特",
+    "id": 1449975,
+    "name": "(不与其它活动同享)大杯特惠",
+    "tips": "(不与其它活动同享)大杯特惠"
+  }],
+  "address": "上海市长宁区天山西路567号1层R117号店铺",
+  "delivery_mode": {
+    "color": "57A9FF",
+    "id": 1,
+    "is_solid": true,
+    "text": "蜂鸟专送"
+  },
+  "description": " 快乐柠檬(神州智慧店)",
+  "distance": 848,
+  "float_delivery_fee": 5,
+  "float_minimum_order_amount": 20,
+  "id": 284945,
+  "image_path": "55bf67cc9c994d2b8ddbd4b580e013aepng",
+  "is_new": false,
+  "is_premium": false,
+  "latitude": 31.21776,
+  "longitude": 121.35677,
+  "name": "快乐柠檬(神州智慧店)",
+  "next_business_time": "",
+  "only_use_poi": false,
+  "opening_hours": ["10:00/20:00"],
+  "order_lead_time": 22,
+  "phone": "021-62156296",
+  "piecewise_agent_fee": {
+    "description": "配送费¥5",
+    "extra_fee": 0,
+    "is_extra": false,
+    "rules": [{
+      "fee": 5,
+      "price": 20
+    }]
+  },
+  "promotion_info": "",
+  "rating": 4.9,
+  "rating_count": 7,
+  "recent_order_num": 124,
+  "status": 1,
+  "supports": [{
+    "description": "已加入“外卖保”计划,食品安全有保障",
+    "icon_color": "4B9A18",
+    "icon_name": "保",
+    "id": 7,
+    "name": "外卖保"
+  }, {
+    "description": "准时必达,超时秒赔",
+    "icon_color": "57A9FF",
+    "icon_name": "准",
+    "id": 9,
+    "name": "准时达"
+  }]
+}, {
+  "activities": [{
+    "description": "在线支付满30减8,满60减12,满80减15",
+    "icon_color": "f07373",
+    "icon_name": "减",
+    "id": 11321804,
+    "name": "满减优惠",
+    "tips": "在线支付满30减8,满60减12,满80减15"
+  }, {
+    "description": "(不与其他活动同享)新用户下单立减8.0元",
+    "icon_color": "70bc46",
+    "icon_name": "新",
+    "id": 11426321,
+    "name": "新用户立减(不与其他活动共享)",
+    "tips": "(不与其他活动同享)新用户下单立减8.0元"
+  }],
+  "address": "上海市普陀区光复西路丹巴路28弄6号楼819",
+  "delivery_mode": {
+    "color": "57A9FF",
+    "id": 1,
+    "is_solid": true,
+    "text": "蜂鸟专送"
+  },
+  "description": "",
+  "distance": 2168,
+  "float_delivery_fee": 5,
+  "float_minimum_order_amount": 20,
+  "id": 1033368,
+  "image_path": "46953c0f5cdceb1da9bf45f3da063c2bjpeg",
+  "is_new": false,
+  "is_premium": false,
+  "latitude": 31.2224006116865,
+  "longitude": 121.38186007503,
+  "name": "Merci Paul cafe",
+  "next_business_time": "",
+  "only_use_poi": false,
+  "opening_hours": ["10:00/18:00"],
+  "order_lead_time": 38,
+  "phone": "13917882254",
+  "piecewise_agent_fee": {
+    "description": "满70配送费¥1,满20付¥6,不满20付¥8 (费用包含超距加收¥1)",
+    "extra_fee": 1,
+    "is_extra": true,
+    "rules": [{
+      "fee": 8,
+      "price": 0
+    }, {
+      "fee": 6,
+      "price": 20
+    }, {
+      "fee": 1,
+      "price": 70
+    }]
+  },
+  "promotion_info": "由于小店是聘请第三方进行外送,在小店制作的饮品在出品时能够保证质量,但无法对第三方外送人员进行质控。希望各位客官能够在收到您的饮品时当场验收一下。谢谢啦!希望各位客官能够时常光顾小店!",
+  "rating": 4.5,
+  "rating_count": 9,
+  "recent_order_num": 57,
+  "status": 1,
+  "supports": [{
+    "description": "已加入“外卖保”计划,食品安全有保障",
+    "icon_color": "4B9A18",
+    "icon_name": "保",
+    "id": 7,
+    "name": "外卖保"
+  }, {
+    "description": "准时必达,超时秒赔",
+    "icon_color": "57A9FF",
+    "icon_name": "准",
+    "id": 9,
+    "name": "准时达"
+  }]
+}, {
+  "activities": [{
+    "description": "在线支付满50减4",
+    "icon_color": "f07373",
+    "icon_name": "减",
+    "id": 11333884,
+    "name": "满减优惠",
+    "tips": "在线支付满50减4"
+  }, {
+    "description": "(不与其他活动同享)新用户下单立减10.0元",
+    "icon_color": "70bc46",
+    "icon_name": "新",
+    "id": 11763283,
+    "name": "新用户立减(不与其他活动共享)",
+    "tips": "(不与其他活动同享)新用户下单立减10.0元"
+  }],
+  "address": "上海市长宁区仙霞西路88号第一层G05-F01-1-306",
+  "delivery_mode": {
+    "color": "57A9FF",
+    "id": 1,
+    "is_solid": true,
+    "text": "蜂鸟专送"
+  },
+  "description": "猫山王(西郊百联店)",
+  "distance": 2083,
+  "float_delivery_fee": 5,
+  "float_minimum_order_amount": 20,
+  "id": 455634,
+  "image_path": "a3fb209c0497a26a16f2737cca32aa2bpng",
+  "is_new": false,
+  "is_premium": false,
+  "latitude": 31.208433,
+  "longitude": 121.369323,
+  "name": "猫山王(西郊百联店)",
+  "next_business_time": "",
+  "only_use_poi": false,
+  "opening_hours": ["10:00/21:00"],
+  "order_lead_time": 30,
+  "phone": "18516639405",
+  "piecewise_agent_fee": {
+    "description": "配送费¥5",
+    "extra_fee": 0,
+    "is_extra": false,
+    "rules": [{
+      "fee": 5,
+      "price": 20
+    }]
+  },
+  "promotion_info": "",
+  "rating": 4.9,
+  "rating_count": 13,
+  "recent_order_num": 72,
+  "status": 1,
+  "supports": [{
+    "description": "已加入“外卖保”计划,食品安全有保障",
+    "icon_color": "4B9A18",
+    "icon_name": "保",
+    "id": 7,
+    "name": "外卖保"
+  }, {
+    "description": "准时必达,超时秒赔",
+    "icon_color": "57A9FF",
+    "icon_name": "准",
+    "id": 9,
+    "name": "准时达"
+  }]
+}, {
+  "activities": [{
+    "description": "在线支付满35减5",
+    "icon_color": "f07373",
+    "icon_name": "减",
+    "id": 11359154,
+    "name": "满减优惠",
+    "tips": "在线支付满35减5"
+  }, {
+    "description": "(不与其他活动同享)新用户下单立减8.0元",
+    "icon_color": "70bc46",
+    "icon_name": "新",
+    "id": 11331255,
+    "name": "新用户立减(不与其他活动共享)",
+    "tips": "(不与其他活动同享)新用户下单立减8.0元"
+  }],
+  "address": "上海市普陀区棕榈路",
+  "delivery_mode": {
+    "color": "57A9FF",
+    "id": 1,
+    "is_solid": true,
+    "text": "蜂鸟专送"
+  },
+  "description": "港式饮料,甜品,蛋糕,咖啡",
+  "distance": 1231,
+  "float_delivery_fee": 5,
+  "float_minimum_order_amount": 20,
+  "id": 350348,
+  "image_path": "5f1234a6a8d6b0f3fcf1e087dd7e5eedjpeg",
+  "is_new": false,
+  "is_premium": false,
+  "latitude": 31.2359271347658,
+  "longitude": 121.361772541938,
+  "name": "枪会山",
+  "next_business_time": "",
+  "only_use_poi": false,
+  "opening_hours": ["11:00/22:00"],
+  "order_lead_time": 27,
+  "phone": "13916530820",
+  "piecewise_agent_fee": {
+    "description": "满70免配送费,满20付¥5,不满20付¥7",
+    "extra_fee": 0,
+    "is_extra": false,
+    "rules": [{
+      "fee": 7,
+      "price": 0
+    }, {
+      "fee": 5,
+      "price": 20
+    }, {
+      "fee": 0,
+      "price": 70
+    }]
+  },
+  "promotion_info": "公司訂購外賣大單?️優惠!饮料温度请备注!起送费点不到的朋友可致电13916530820直接订餐,或者加微信13916530820订餐谢谢!",
+  "rating": 4.3,
+  "rating_count": 25,
+  "recent_order_num": 121,
+  "status": 1,
+  "supports": [{
+    "description": "已加入“外卖保”计划,食品安全有保障",
+    "icon_color": "4B9A18",
+    "icon_name": "保",
+    "id": 7,
+    "name": "外卖保"
+  }, {
+    "description": "准时必达,超时秒赔",
+    "icon_color": "57A9FF",
+    "icon_name": "准",
+    "id": 9,
+    "name": "准时达"
+  }]
+}, {
+  "activities": [{
+    "description": "(不与其他活动同享)新用户下单立减10.0元",
+    "icon_color": "70bc46",
+    "icon_name": "新",
+    "id": 11763283,
+    "name": "新用户立减(不与其他活动共享)",
+    "tips": "(不与其他活动同享)新用户下单立减10.0元"
+  }],
+  "address": "元丰天山花园(东门) 双流路267号",
+  "delivery_mode": {
+    "color": "57A9FF",
+    "id": 1,
+    "is_solid": true,
+    "text": "蜂鸟专送"
+  },
+  "description": "",
+  "distance": 2225,
+  "float_delivery_fee": 5,
+  "float_minimum_order_amount": 20,
+  "id": 1270944,
+  "image_path": "d8f60dc555a702aa1a0656349a8cfdf9png",
+  "is_new": true,
+  "is_premium": false,
+  "latitude": 31.217355,
+  "longitude": 121.380867,
+  "name": "纵食",
+  "next_business_time": "",
+  "only_use_poi": false,
+  "opening_hours": ["10:00/17:00"],
+  "order_lead_time": 0,
+  "phone": "15502140533",
+  "piecewise_agent_fee": {
+    "description": "配送费¥5",
+    "extra_fee": 0,
+    "is_extra": false,
+    "rules": [{
+      "fee": 5,
+      "price": 20
+    }]
+  },
+  "promotion_info": "纯果汁现榨,无添加,假一赔十!\n快餐食品由中央厨房加工制作,品类较少,注重安全卫生。如有不足或建议,请随时拨打电话  15502140533!",
+  "rating": 0,
+  "rating_count": 0,
+  "recent_order_num": 1,
+  "status": 1,
+  "supports": [{
+    "description": "已加入“外卖保”计划,食品安全有保障",
+    "icon_color": "4B9A18",
+    "icon_name": "保",
+    "id": 7,
+    "name": "外卖保"
+  }, {
+    "description": "准时必达,超时秒赔",
+    "icon_color": "57A9FF",
+    "icon_name": "准",
+    "id": 9,
+    "name": "准时达"
+  }]
+}, {
+  "activities": [{
+    "description": "在线支付满27减7,满50减13,满75减19,满100减25",
+    "icon_color": "f07373",
+    "icon_name": "减",
+    "id": 11462511,
+    "name": "满减优惠",
+    "tips": "在线支付满27减7,满50减13,满75减19,满100减25"
+  }, {
+    "description": "(不与其他活动同享)新用户下单立减20.0元",
+    "icon_color": "70bc46",
+    "icon_name": "新",
+    "id": 11325228,
+    "name": "新用户立减(不与其他活动共享)",
+    "tips": "(不与其他活动同享)新用户下单立减20.0元"
+  }],
+  "address": "上海市长宁区天山西路",
+  "delivery_mode": {
+    "color": "57A9FF",
+    "id": 1,
+    "is_solid": true,
+    "text": "蜂鸟专送"
+  },
+  "description": "",
+  "distance": 719,
+  "float_delivery_fee": 5,
+  "float_minimum_order_amount": 20,
+  "id": 933664,
+  "image_path": "99fad460547712178f9b6747a8175a14jpeg",
+  "is_new": false,
+  "is_premium": false,
+  "latitude": 31.218679,
+  "longitude": 121.360435,
+  "name": "钱记",
+  "next_business_time": "",
+  "only_use_poi": false,
+  "opening_hours": ["09:30/21:00"],
+  "order_lead_time": 32,
+  "phone": "17721135951",
+  "piecewise_agent_fee": {
+    "description": "配送费¥5",
+    "extra_fee": 0,
+    "is_extra": false,
+    "rules": [{
+      "fee": 5,
+      "price": 20
+    }]
+  },
+  "promotion_info": "",
+  "rating": 0,
+  "rating_count": 0,
+  "recent_order_num": 18,
+  "status": 1,
+  "supports": [{
+    "description": "已加入“外卖保”计划,食品安全有保障",
+    "icon_color": "4B9A18",
+    "icon_name": "保",
+    "id": 7,
+    "name": "外卖保"
+  }, {
+    "description": "准时必达,超时秒赔",
+    "icon_color": "57A9FF",
+    "icon_name": "准",
+    "id": 9,
+    "name": "准时达"
+  }]
+}, {
+  "activities": [{
+    "description": "在线支付满20减11",
+    "icon_color": "f07373",
+    "icon_name": "减",
+    "id": 11721066,
+    "name": "满减优惠",
+    "tips": "在线支付满20减11"
+  }, {
+    "description": "(不与其它活动同享)限时抢购",
+    "icon_color": "f07373",
+    "icon_name": "折",
+    "id": 1445461,
+    "name": "(不与其它活动同享)限时抢购",
+    "tips": "(不与其它活动同享)限时抢购"
+  }, {
+    "description": "(不与其他活动同享)新用户下单立减20.0元",
+    "icon_color": "70bc46",
+    "icon_name": "新",
+    "id": 11325228,
+    "name": "新用户立减(不与其他活动共享)",
+    "tips": "(不与其他活动同享)新用户下单立减20.0元"
+  }],
+  "address": "上海市长宁区通协路",
+  "delivery_mode": {
+    "color": "57A9FF",
+    "id": 1,
+    "is_solid": true,
+    "text": "蜂鸟专送"
+  },
+  "description": "",
+  "distance": 418,
+  "float_delivery_fee": 5,
+  "float_minimum_order_amount": 20,
+  "id": 1052336,
+  "image_path": "6337786c6f58ad517edb63755511ca38jpeg",
+  "is_new": false,
+  "is_premium": false,
+  "latitude": 31.22641,
+  "longitude": 121.35519,
+  "name": "壹杯加",
+  "next_business_time": "",
+  "only_use_poi": false,
+  "opening_hours": ["10:00/20:30"],
+  "order_lead_time": 29,
+  "phone": "021-61550517",
+  "piecewise_agent_fee": {
+    "description": "配送费¥5",
+    "extra_fee": 0,
+    "is_extra": false,
+    "rules": [{
+      "fee": 5,
+      "price": 20
+    }]
+  },
+  "promotion_info": "本公司可结合您的需求,为您提供企业餐饮服务方案\n1、可定制员工协议就餐、员工福利、茶歇、自助餐、团餐、订餐、商务宴请;\n2、提供场地和投影、打印、WIFI设备,可供活动、办公、会议等需求;\n3、关注壹杯加咖啡微信公众号,可得10元电子抵用券,限量发放;\n4、下午茶活动线上、线下同",
+  "rating": 0,
+  "rating_count": 0,
+  "recent_order_num": 6,
+  "status": 1,
+  "supports": [{
+    "description": "已加入“外卖保”计划,食品安全有保障",
+    "icon_color": "4B9A18",
+    "icon_name": "保",
+    "id": 7,
+    "name": "外卖保"
+  }, {
+    "description": "准时必达,超时秒赔",
+    "icon_color": "57A9FF",
+    "icon_name": "准",
+    "id": 9,
+    "name": "准时达"
+  }]
+}, {
+  "activities": [{
+    "description": "在线支付满30减5,满50减8",
+    "icon_color": "f07373",
+    "icon_name": "减",
+    "id": 11401063,
+    "name": "满减优惠",
+    "tips": "在线支付满30减5,满50减8"
+  }, {
+    "description": "(不与其他活动同享)新用户下单立减20.0元",
+    "icon_color": "70bc46",
+    "icon_name": "新",
+    "id": 11325228,
+    "name": "新用户立减(不与其他活动共享)",
+    "tips": "(不与其他活动同享)新用户下单立减20.0元"
+  }],
+  "address": "上海市长宁区新泾镇金钟路999号2幢(B幢)第01层第1-02A单元",
+  "delivery_mode": {
+    "color": "57A9FF",
+    "id": 1,
+    "is_solid": true,
+    "text": "蜂鸟专送"
+  },
+  "description": "上海首家纯正东南亚饮品店。手作源萃,茶与鲜果的完美融合!",
+  "distance": 935,
+  "float_delivery_fee": 5,
+  "float_minimum_order_amount": 20,
+  "id": 1218762,
+  "image_path": "9e912491d0455cd3c5cd0d6e65ae723dpng",
+  "is_new": false,
+  "is_premium": false,
+  "latitude": 31.220421,
+  "longitude": 121.35111,
+  "name": "唦哇嘀咖",
+  "next_business_time": "",
+  "only_use_poi": false,
+  "opening_hours": ["09:30/18:30"],
+  "order_lead_time": 23,
+  "phone": "15001827782",
+  "piecewise_agent_fee": {
+    "description": "配送费¥5",
+    "extra_fee": 0,
+    "is_extra": false,
+    "rules": [{
+      "fee": 5,
+      "price": 20
+    }]
+  },
+  "promotion_info": "SAWADEEKA金钟路999号携程店。上海首家纯正东南亚饮品店,唦哇嘀咖鲜萃健康饮食!",
+  "rating": 0,
+  "rating_count": 5,
+  "recent_order_num": 35,
+  "status": 1,
+  "supports": [{
+    "description": "已加入“外卖保”计划,食品安全有保障",
+    "icon_color": "4B9A18",
+    "icon_name": "保",
+    "id": 7,
+    "name": "外卖保"
+  }, {
+    "description": "准时必达,超时秒赔",
+    "icon_color": "57A9FF",
+    "icon_name": "准",
+    "id": 9,
+    "name": "准时达"
+  }]
+}, {
+  "activities": [{
+    "description": "在线支付满50减20",
+    "icon_color": "f07373",
+    "icon_name": "减",
+    "id": 11711818,
+    "name": "满减优惠",
+    "tips": "在线支付满50减20"
+  }, {
+    "description": "8.8元限量秒杀,每单仅限一份。",
+    "icon_color": "f1884f",
+    "icon_name": "秒",
+    "id": 1467532,
+    "name": "(不与其它活动同享)8.8元限量秒杀",
+    "tips": "(不与其它活动同享)8.8元限量秒杀"
+  }],
+  "address": "长宁区仙霞西路88号1305室",
+  "delivery_mode": {
+    "color": "57A9FF",
+    "id": 1,
+    "is_solid": true,
+    "text": "蜂鸟专送"
+  },
+  "description": "爱茜茜里(西郊百联店)",
+  "distance": 2168,
+  "float_delivery_fee": 5,
+  "float_minimum_order_amount": 30,
+  "id": 568785,
+  "image_path": "55d1ee8f3acdf71798cfd3e20beabc09png",
+  "is_new": false,
+  "is_premium": false,
+  "latitude": 31.2083825904864,
+  "longitude": 121.371048337401,
+  "name": "爱茜茜里(西郊百联)",
+  "next_business_time": "",
+  "only_use_poi": false,
+  "opening_hours": ["10:00/20:55"],
+  "order_lead_time": 29,
+  "phone": "021-32510279",
+  "piecewise_agent_fee": {
+    "description": "配送费¥5",
+    "extra_fee": 0,
+    "is_extra": false,
+    "rules": [{
+      "fee": 5,
+      "price": 30
+    }]
+  },
+  "promotion_info": "",
+  "rating": 0,
+  "rating_count": 0,
+  "recent_order_num": 24,
+  "status": 1,
+  "supports": [{
+    "description": "已加入“外卖保”计划,食品安全有保障",
+    "icon_color": "4B9A18",
+    "icon_name": "保",
+    "id": 7,
+    "name": "外卖保"
+  }, {
+    "description": "准时必达,超时秒赔",
+    "icon_color": "57A9FF",
+    "icon_name": "准",
+    "id": 9,
+    "name": "准时达"
+  }]
+}, {
+  "activities": [{
+    "description": "在线支付满50减20",
+    "icon_color": "f07373",
+    "icon_name": "减",
+    "id": 11711818,
+    "name": "满减优惠",
+    "tips": "在线支付满50减20"
+  }, {
+    "description": "8.8元限量秒杀,每单仅限一份。",
+    "icon_color": "f1884f",
+    "icon_name": "秒",
+    "id": 1467532,
+    "name": "(不与其它活动同享)8.8元限量秒杀",
+    "tips": "(不与其它活动同享)8.8元限量秒杀"
+  }],
+  "address": "上海市普陀区真北路818号近铁城市广场北区地下二楼N-B2-O2-C商铺",
+  "delivery_mode": {
+    "color": "57A9FF",
+    "id": 1,
+    "is_solid": true,
+    "text": "蜂鸟专送"
+  },
+  "description": "爱茜茜里(近铁广场店)",
+  "distance": 2298,
+  "float_delivery_fee": 5,
+  "float_minimum_order_amount": 30,
+  "id": 568768,
+  "image_path": "f5ec0d9cc6c220a571842b1904dc5196png",
+  "is_new": false,
+  "is_premium": false,
+  "latitude": 31.2331899175256,
+  "longitude": 121.381500478429,
+  "name": "爱茜茜里(近铁广场)",
+  "next_business_time": "",
+  "only_use_poi": false,
+  "opening_hours": ["10:00/20:55"],
+  "order_lead_time": 36,
+  "phone": "021-62270191",
+  "piecewise_agent_fee": {
+    "description": "配送费¥5",
+    "extra_fee": 0,
+    "is_extra": false,
+    "rules": [{
+      "fee": 5,
+      "price": 30
+    }]
+  },
+  "promotion_info": "",
+  "rating": 0,
+  "rating_count": 0,
+  "recent_order_num": 22,
+  "status": 1,
+  "supports": [{
+    "description": "已加入“外卖保”计划,食品安全有保障",
+    "icon_color": "4B9A18",
+    "icon_name": "保",
+    "id": 7,
+    "name": "外卖保"
+  }, {
+    "description": "准时必达,超时秒赔",
+    "icon_color": "57A9FF",
+    "icon_name": "准",
+    "id": 9,
+    "name": "准时达"
+  }]
+}, {
+  "activities": [{
+    "description": "在线支付满30减6,满50减10,满75减14",
+    "icon_color": "f07373",
+    "icon_name": "减",
+    "id": 11315952,
+    "name": "满减优惠",
+    "tips": "在线支付满30减6,满50减10,满75减14"
+  }, {
+    "description": "(不与其他活动同享)新用户下单立减8.0元",
+    "icon_color": "70bc46",
+    "icon_name": "新",
+    "id": 11331255,
+    "name": "新用户立减(不与其他活动共享)",
+    "tips": "(不与其他活动同享)新用户下单立减8.0元"
+  }],
+  "address": "普陀区金沙江路2239号金沙和美广场B1-10-6",
+  "delivery_mode": {
+    "color": "57A9FF",
+    "id": 1,
+    "is_solid": true,
+    "text": "蜂鸟专送"
+  },
+  "description": "鲜果榨汁(金沙江路和美广店)",
+  "distance": 1492,
+  "float_delivery_fee": 5,
+  "float_minimum_order_amount": 20,
+  "id": 316109,
+  "image_path": "7cbfa6cf02a26972036024bcabc1a676png",
+  "is_new": false,
+  "is_premium": false,
+  "latitude": 31.237022,
+  "longitude": 121.366401,
+  "name": "鲜果榨汁(金沙江路和美广店)",
+  "next_business_time": "",
+  "only_use_poi": false,
+  "opening_hours": ["11:00/21:00"],
+  "order_lead_time": 29,
+  "phone": "62222677",
+  "piecewise_agent_fee": {
+    "description": "满70免配送费,满20付¥5,不满20付¥7",
+    "extra_fee": 0,
+    "is_extra": false,
+    "rules": [{
+      "fee": 7,
+      "price": 0
+    }, {
+      "fee": 5,
+      "price": 20
+    }, {
+      "fee": 0,
+      "price": 70
+    }]
+  },
+  "promotion_info": " ",
+  "rating": 0,
+  "rating_count": 3,
+  "recent_order_num": 27,
+  "status": 1,
+  "supports": [{
+    "description": "已加入“外卖保”计划,食品安全有保障",
+    "icon_color": "4B9A18",
+    "icon_name": "保",
+    "id": 7,
+    "name": "外卖保"
+  }, {
+    "description": "准时必达,超时秒赔",
+    "icon_color": "57A9FF",
+    "icon_name": "准",
+    "id": 9,
+    "name": "准时达"
+  }]
+}, {
+  "activities": [{
+    "description": "在线支付满30减6,满60减18,满90减30",
+    "icon_color": "f07373",
+    "icon_name": "减",
+    "id": 11763350,
+    "name": "满减优惠",
+    "tips": "在线支付满30减6,满60减18,满90减30"
+  }, {
+    "description": "(不与其他活动同享)新用户下单立减10.0元",
+    "icon_color": "70bc46",
+    "icon_name": "新",
+    "id": 11763890,
+    "name": "新用户立减(不与其他活动共享)",
+    "tips": "(不与其他活动同享)新用户下单立减10.0元"
+  }],
+  "address": "上海市长宁区威宁路天山路341号",
+  "delivery_mode": {
+    "color": "57A9FF",
+    "id": 1,
+    "is_solid": true,
+    "text": "蜂鸟专送"
+  },
+  "description": "",
+  "distance": 2830,
+  "float_delivery_fee": 5,
+  "float_minimum_order_amount": 20,
+  "id": 1121231,
+  "image_path": "16be69a0f2a639e925490612c1e9fdffpng",
+  "is_new": false,
+  "is_premium": false,
+  "latitude": 31.2145697747183,
+  "longitude": 121.386378354986,
+  "name": "开心丽果(缤谷店)",
+  "next_business_time": "",
+  "only_use_poi": false,
+  "opening_hours": ["10:00/22:00"],
+  "order_lead_time": 27,
+  "phone": "18516346196",
+  "piecewise_agent_fee": {
+    "description": "配送费¥5",
+    "extra_fee": 0,
+    "is_extra": false,
+    "rules": [{
+      "fee": 5,
+      "price": 20
+    }]
+  },
+  "promotion_info": "",
+  "rating": 0,
+  "rating_count": 3,
+  "recent_order_num": 26,
+  "status": 1,
+  "supports": [{
+    "description": "已加入“外卖保”计划,食品安全有保障",
+    "icon_color": "4B9A18",
+    "icon_name": "保",
+    "id": 7,
+    "name": "外卖保"
+  }, {
+    "description": "准时必达,超时秒赔",
+    "icon_color": "57A9FF",
+    "icon_name": "准",
+    "id": 9,
+    "name": "准时达"
+  }]
+}, {
+  "activities": [{
+    "description": "在线支付满30减8,满50减11",
+    "icon_color": "f07373",
+    "icon_name": "减",
+    "id": 11521751,
+    "name": "满减优惠",
+    "tips": "在线支付满30减8,满50减11"
+  }, {
+    "description": "(不与其他活动同享)新用户下单立减8.0元",
+    "icon_color": "70bc46",
+    "icon_name": "新",
+    "id": 11547883,
+    "name": "新用户立减(不与其他活动共享)",
+    "tips": "(不与其他活动同享)新用户下单立减8.0元"
+  }],
+  "address": "上海市嘉定区丰庄路240号",
+  "delivery_mode": {
+    "color": "57A9FF",
+    "id": 1,
+    "is_solid": true,
+    "text": "蜂鸟专送"
+  },
+  "description": "叫外卖,上饿了么~",
+  "distance": 2158,
+  "float_delivery_fee": 5,
+  "float_minimum_order_amount": 20,
+  "id": 329570,
+  "image_path": "ad870fe71e80c85402c03f35c00f4690jpeg",
+  "is_new": false,
+  "is_premium": false,
+  "latitude": 31.244315,
+  "longitude": 121.362098,
+  "name": "超级鸡车(丰庄路店)",
+  "next_business_time": "",
+  "only_use_poi": false,
+  "opening_hours": ["10:00/21:55"],
+  "order_lead_time": 28,
+  "phone": "59182012",
+  "piecewise_agent_fee": {
+    "description": "满70配送费¥1,满20付¥6,不满20付¥8 (费用包含超距加收¥1)",
+    "extra_fee": 1,
+    "is_extra": true,
+    "rules": [{
+      "fee": 8,
+      "price": 0
+    }, {
+      "fee": 6,
+      "price": 20
+    }, {
+      "fee": 1,
+      "price": 70
+    }]
+  },
+  "promotion_info": "各位小主,本店优先配送饿了么,下雪天路滑送餐较慢,请多多担待哈!如果您的美食凉了,或者口味不好,一定要第一时间和本店联系,做的不好的地方我们一定加油改进,在这个寒冷的冬季,我们一定努力温暖您的胃,如您对送餐服务口味满意请给5分好评呦!!!饿了么网络订餐,汇集周边所有美食,汉堡、炸鸡、水果、生鲜、烧烤、超市、美食快餐应有尽有!美好生活,触手可得!!!",
+  "rating": 4.6,
+  "rating_count": 725,
+  "recent_order_num": 3275,
+  "status": 1,
+  "supports": [{
+    "description": "已加入“外卖保”计划,食品安全有保障",
+    "icon_color": "4B9A18",
+    "icon_name": "保",
+    "id": 7,
+    "name": "外卖保"
+  }, {
+    "description": "准时必达,超时秒赔",
+    "icon_color": "57A9FF",
+    "icon_name": "准",
+    "id": 9,
+    "name": "准时达"
+  }]
+}, {
+  "activities": [{
+    "description": "在线支付满25减2,满45减6",
+    "icon_color": "f07373",
+    "icon_name": "减",
+    "id": 11764418,
+    "name": "满减优惠",
+    "tips": "在线支付满25减2,满45减6"
+  }, {
+    "description": "(不与其他活动同享)新用户下单立减5.0元",
+    "icon_color": "70bc46",
+    "icon_name": "新",
+    "id": 11776370,
+    "name": "新用户立减(不与其他活动共享)",
+    "tips": "(不与其他活动同享)新用户下单立减5.0元"
+  }, {
+    "description": "单人精彩餐超值特价",
+    "icon_color": "f07373",
+    "icon_name": "折",
+    "id": 1449992,
+    "name": "单人精彩餐超值特价",
+    "tips": "单人精彩餐超值特价"
+  }],
+  "address": "长宁区新渔路144号",
+  "description": "下载妙生活APP,手机下单优惠3-10%,1h内送达!ianhu不满意无条件退换货。总部工作时间:10:00-20:00    总部联系电话:021-62867789转分机6615  17721416326  18939910501",
+  "distance": 1366,
+  "float_delivery_fee": 0,
+  "float_minimum_order_amount": 25,
+  "id": 477768,
+  "image_path": "99161bc5e0737669280b31c605e2ec34jpeg",
+  "is_new": false,
+  "is_premium": false,
+  "latitude": 31.212997,
+  "longitude": 121.361887,
+  "name": "妙生活果园(北新泾店)",
+  "next_business_time": "",
+  "only_use_poi": false,
+  "opening_hours": ["08:30/20:30"],
+  "order_lead_time": 38,
+  "phone": "17721416326 18939910501 62867789-6615",
+  "piecewise_agent_fee": {
+    "description": "免配送费",
+    "extra_fee": 0,
+    "is_extra": false,
+    "rules": [{
+      "fee": 0,
+      "price": 25
+    }]
+  },
+  "promotion_info": "本店配送时间从9:35开始,尽请谅解!门店服务电话:021-62867789转6615  /   客服工作时间10:30-20:30\n\n尽量将地址的具体街道、门牌号写在最前面哦,避免造成订单延误~",
+  "rating": 4.3,
+  "rating_count": 498,
+  "recent_order_num": 1402,
+  "status": 1,
+  "supports": [{
+    "description": "该商家支持开发票,开票订单金额100.0元起,请在下单时填写好发票抬头",
+    "icon_color": "9071CB",
+    "icon_name": "票",
+    "id": 4,
+    "name": "开发票"
+  }]
+}, {
+  "activities": [{
+    "description": "在线支付满30减11,满60减20,满88减26",
+    "icon_color": "f07373",
+    "icon_name": "减",
+    "id": 11719544,
+    "name": "满减优惠",
+    "tips": "在线支付满30减11,满60减20,满88减26"
+  }, {
+    "description": "(不与其他活动同享)新用户下单立减20.0元",
+    "icon_color": "70bc46",
+    "icon_name": "新",
+    "id": 11325228,
+    "name": "新用户立减(不与其他活动共享)",
+    "tips": "(不与其他活动同享)新用户下单立减20.0元"
+  }],
+  "address": "长宁区淞虹路148号",
+  "delivery_mode": {
+    "color": "57A9FF",
+    "id": 1,
+    "is_solid": true,
+    "text": "蜂鸟专送"
+  },
+  "description": "曾经的香,曾经的辣,曾经冥冥不忘的味道。香锅里辣,让舌尖更美好",
+  "distance": 507,
+  "float_delivery_fee": 5,
+  "float_minimum_order_amount": 20,
+  "id": 691694,
+  "image_path": "7708fb67ac5ec00820cf919dbf24ea29jpeg",
+  "is_new": false,
+  "is_premium": false,
+  "latitude": 31.221124,
+  "longitude": 121.361976,
+  "name": "香宜度麻辣香锅",
+  "next_business_time": "",
+  "only_use_poi": false,
+  "opening_hours": ["09:00/21:30"],
+  "order_lead_time": 34,
+  "phone": "18221159780",
+  "piecewise_agent_fee": {
+    "description": "配送费¥5",
+    "extra_fee": 0,
+    "is_extra": false,
+    "rules": [{
+      "fee": 5,
+      "price": 20
+    }]
+  },
+  "promotion_info": "根据顾客的意见,菜品能多选,本店把原先的菜品重量100克改为50克,价格减半。感谢大家出谋划策谢谢\n通知通知,从5月27号起,套餐不赠送饮料了。\n通知没有点口味的顾客一律默认微辣\n通知,双人套餐里面的牛蛙换牛肉,菠菜改成青菜。",
+  "rating": 4.1,
+  "rating_count": 897,
+  "recent_order_num": 3019,
+  "status": 1,
+  "supports": [{
+    "description": "已加入“外卖保”计划,食品安全有保障",
+    "icon_color": "4B9A18",
+    "icon_name": "保",
+    "id": 7,
+    "name": "外卖保"
+  }, {
+    "description": "准时必达,超时秒赔",
+    "icon_color": "57A9FF",
+    "icon_name": "准",
+    "id": 9,
+    "name": "准时达"
+  }]
+}, {
+  "activities": [{
+    "description": "在线支付满25减9,满50减15,满75减21,满100减27",
+    "icon_color": "f07373",
+    "icon_name": "减",
+    "id": 11362888,
+    "name": "满减优惠",
+    "tips": "在线支付满25减9,满50减15,满75减21,满100减27"
+  }, {
+    "description": "(不与其他活动同享)新用户下单立减8.0元",
+    "icon_color": "70bc46",
+    "icon_name": "新",
+    "id": 11331255,
+    "name": "新用户立减(不与其他活动共享)",
+    "tips": "(不与其他活动同享)新用户下单立减8.0元"
+  }],
+  "address": "上海市普陀区老真北路160号",
+  "delivery_mode": {
+    "color": "57A9FF",
+    "id": 1,
+    "is_solid": true,
+    "text": "蜂鸟专送"
+  },
+  "description": "",
+  "distance": 1552,
+  "float_delivery_fee": 5,
+  "float_minimum_order_amount": 20,
+  "id": 966779,
+  "image_path": "97f0393f518ef77f52e2fdd83a5e3014jpeg",
+  "is_new": false,
+  "is_premium": false,
+  "latitude": 31.224023,
+  "longitude": 121.375564,
+  "name": "凡仔汉堡(老真北路店)",
+  "next_business_time": "",
+  "only_use_poi": false,
+  "opening_hours": ["10:00/24:00"],
+  "order_lead_time": 37,
+  "phone": "13120508963",
+  "piecewise_agent_fee": {
+    "description": "满70免配送费,满20付¥5,不满20付¥7",
+    "extra_fee": 0,
+    "is_extra": false,
+    "rules": [{
+      "fee": 7,
+      "price": 0
+    }, {
+      "fee": 5,
+      "price": 20
+    }, {
+      "fee": 0,
+      "price": 70
+    }]
+  },
+  "promotion_info": "",
+  "rating": 4.5,
+  "rating_count": 581,
+  "recent_order_num": 2820,
+  "status": 1,
+  "supports": [{
+    "description": "已加入“外卖保”计划,食品安全有保障",
+    "icon_color": "4B9A18",
+    "icon_name": "保",
+    "id": 7,
+    "name": "外卖保"
+  }, {
+    "description": "准时必达,超时秒赔",
+    "icon_color": "57A9FF",
+    "icon_name": "准",
+    "id": 9,
+    "name": "准时达"
+  }]
+}, {
+  "activities": [{
+    "description": "在线支付满30减10,满50减23,满75减34,满100减46",
+    "icon_color": "f07373",
+    "icon_name": "减",
+    "id": 11700424,
+    "name": "满减优惠",
+    "tips": "在线支付满30减10,满50减23,满75减34,满100减46"
+  }, {
+    "description": "(不与其他活动同享)新用户下单立减20.0元",
+    "icon_color": "70bc46",
+    "icon_name": "新",
+    "id": 11325228,
+    "name": "新用户立减(不与其他活动共享)",
+    "tips": "(不与其他活动同享)新用户下单立减20.0元"
+  }],
+  "address": "上海市长宁区金钟路968号15楼15-105室",
+  "bidding": "{\"target\":{\"restaurantId\":1181959,\"weight\":70,\"probability\":15.666130065917969},\"next\":null}",
+  "delivery_mode": {
+    "color": "57A9FF",
+    "id": 1,
+    "is_solid": true,
+    "text": "蜂鸟专送"
+  },
+  "description": "",
+  "distance": 835,
+  "float_delivery_fee": 5,
+  "float_minimum_order_amount": 20,
+  "id": 1181959,
+  "image_path": "9e52b44a186200a85ebda8613d9b7fe4jpeg",
+  "is_new": false,
+  "is_premium": false,
+  "latitude": 31.221967,
+  "longitude": 121.351307,
+  "name": "港式小铺",
+  "next_business_time": "",
+  "only_use_poi": false,
+  "opening_hours": ["08:30/20:00"],
+  "order_lead_time": 33,
+  "phone": "15721215080",
+  "piecewise_agent_fee": {
+    "description": "配送费¥5",
+    "extra_fee": 0,
+    "is_extra": false,
+    "rules": [{
+      "fee": 5,
+      "price": 20
+    }]
+  },
+  "promotion_info": "本店配菜不定期更新,如有不喜欢吃的可以提前备注哦。",
+  "rating": 4.3,
+  "rating_count": 101,
+  "recent_order_num": 926,
+  "status": 1,
+  "supports": [{
+    "description": "已加入“外卖保”计划,食品安全有保障",
+    "icon_color": "4B9A18",
+    "icon_name": "保",
+    "id": 7,
+    "name": "外卖保"
+  }, {
+    "description": "准时必达,超时秒赔",
+    "icon_color": "57A9FF",
+    "icon_name": "准",
+    "id": 9,
+    "name": "准时达"
+  }]
+}, {
+  "activities": [{
+    "description": "在线支付满30减6,满50减12,满80减17",
+    "icon_color": "f07373",
+    "icon_name": "减",
+    "id": 11464736,
+    "name": "满减优惠",
+    "tips": "在线支付满30减6,满50减12,满80减17"
+  }, {
+    "description": "(不与其他活动同享)新用户下单立减10.0元",
+    "icon_color": "70bc46",
+    "icon_name": "新",
+    "id": 11775071,
+    "name": "新用户立减(不与其他活动共享)",
+    "tips": "(不与其他活动同享)新用户下单立减10.0元"
+  }, {
+    "description": "7折美食抢先购",
+    "icon_color": "f07373",
+    "icon_name": "美",
+    "id": 1436117,
+    "name": "7折美食抢先购",
+    "tips": "7折美食抢先购"
+  }, {
+    "description": "(不与其它活动同享)品质折扣餐!【8折】",
+    "icon_color": "f07373",
+    "icon_name": "8",
+    "id": 1309191,
+    "name": "(不与其它活动同享)品质折扣餐!【8折】",
+    "tips": "(不与其它活动同享)品质折扣餐!【8折】"
+  }],
+  "address": "剑河路443-1",
+  "description": "麻辣香锅",
+  "distance": 1683,
+  "float_delivery_fee": 5,
+  "float_minimum_order_amount": 30,
+  "id": 354417,
+  "image_path": "0d3202781f001fb47d22e6b3a11cf838jpeg",
+  "is_new": false,
+  "is_premium": true,
+  "latitude": 31.211965,
+  "longitude": 121.368125,
+  "name": "蜀香源麻辣香锅(剑河路店)",
+  "next_business_time": "",
+  "only_use_poi": false,
+  "opening_hours": ["09:30/22:30"],
+  "order_lead_time": 34,
+  "phone": "18621549909 15152604655",
+  "piecewise_agent_fee": {
+    "description": "配送费¥5",
+    "extra_fee": 0,
+    "is_extra": false,
+    "rules": [{
+      "fee": 5,
+      "price": 30
+    }]
+  },
+  "promotion_info": "亲们感谢你们一直以来对本餐厅的支持,您的满意是我们不懈努力的动力。本店只专注一道菜,只希望顾客吃的开心。1.如果您还算喜欢本小店请动动手指收藏我们吧,这样您就不用在找我们啦。2.下雨天可以提前预定!方便您准时用餐。3.请确保您的电话畅通,以便送餐员能及时联系您及时送达。",
+  "rating": 4.4,
+  "rating_count": 1922,
+  "recent_order_num": 3152,
+  "status": 1,
+  "supports": []
+}, {
+  "activities": [{
+    "description": "在线支付满27减2,满40减3,满60减4,满80减5",
+    "icon_color": "f07373",
+    "icon_name": "减",
+    "id": 11381316,
+    "name": "满减优惠",
+    "tips": "在线支付满27减2,满40减3,满60减4,满80减5"
+  }, {
+    "description": "(不与其它活动同享)7折美食送海之言",
+    "icon_color": "f07373",
+    "icon_name": "言",
+    "id": 1443986,
+    "name": "(不与其它活动同享)7折美食送海之言",
+    "tips": "(不与其它活动同享)7折美食送海之言"
+  }, {
+    "description": "(不与其他活动同享)新用户下单立减20.0元",
+    "icon_color": "70bc46",
+    "icon_name": "新",
+    "id": 11325228,
+    "name": "新用户立减(不与其他活动共享)",
+    "tips": "(不与其他活动同享)新用户下单立减20.0元"
+  }],
+  "address": "长宁区北新泾街道天山西路490-1号",
+  "delivery_mode": {
+    "color": "57A9FF",
+    "id": 1,
+    "is_solid": true,
+    "text": "蜂鸟专送"
+  },
+  "description": "手擀皮儿,美味馅儿,朴实的做法,妈妈的味道。",
+  "distance": 797,
+  "float_delivery_fee": 5,
+  "float_minimum_order_amount": 20,
+  "id": 294234,
+  "image_path": "4b66b7426cfd9ed48692be4093140bddjpeg",
+  "is_new": false,
+  "is_premium": false,
+  "latitude": 31.2182270558569,
+  "longitude": 121.36176873398,
+  "name": "北京饺子馆",
+  "next_business_time": "",
+  "only_use_poi": false,
+  "opening_hours": ["09:00/21:00"],
+  "order_lead_time": 37,
+  "phone": "18221609817      15168913169",
+  "piecewise_agent_fee": {
+    "description": "配送费¥5",
+    "extra_fee": 0,
+    "is_extra": false,
+    "rules": [{
+      "fee": 5,
+      "price": 20
+    }]
+  },
+  "promotion_info": "北京饺子馆天山西路店,保质保量,尽快送达,请提前下单谢谢…。",
+  "rating": 4.5,
+  "rating_count": 287,
+  "recent_order_num": 2302,
+  "status": 1,
+  "supports": [{
+    "description": "已加入“外卖保”计划,食品安全有保障",
+    "icon_color": "4B9A18",
+    "icon_name": "保",
+    "id": 7,
+    "name": "外卖保"
+  }, {
+    "description": "准时必达,超时秒赔",
+    "icon_color": "57A9FF",
+    "icon_name": "准",
+    "id": 9,
+    "name": "准时达"
+  }]
+}, {
+  "activities": [{
+    "description": "在线支付满30减2,满60减3,满90减4,满120减5",
+    "icon_color": "f07373",
+    "icon_name": "减",
+    "id": 11380420,
+    "name": "满减优惠",
+    "tips": "在线支付满30减2,满60减3,满90减4,满120减5"
+  }, {
+    "description": "(不与其它活动同享)7折美食送海之言",
+    "icon_color": "f07373",
+    "icon_name": "言",
+    "id": 1444623,
+    "name": "(不与其它活动同享)7折美食送海之言",
+    "tips": "(不与其它活动同享)7折美食送海之言"
+  }, {
+    "description": "(不与其他活动同享)新用户下单立减20.0元",
+    "icon_color": "70bc46",
+    "icon_name": "新",
+    "id": 11325228,
+    "name": "新用户立减(不与其他活动共享)",
+    "tips": "(不与其他活动同享)新用户下单立减20.0元"
+  }],
+  "address": "上海市长宁区金钟路968号9号楼地下一层9-83室",
+  "delivery_mode": {
+    "color": "57A9FF",
+    "id": 1,
+    "is_solid": true,
+    "text": "蜂鸟专送"
+  },
+  "description": "饭典*新简餐",
+  "distance": 549,
+  "float_delivery_fee": 6,
+  "float_minimum_order_amount": 20,
+  "id": 658603,
+  "image_path": "9207bfaf770e4cb8c09c7c1170c28ec3jpeg",
+  "is_new": false,
+  "is_premium": false,
+  "latitude": 31.220184,
+  "longitude": 121.358512,
+  "name": "饭典*新简餐(凌空SOHO店)",
+  "next_business_time": "",
+  "only_use_poi": false,
+  "opening_hours": ["10:30/20:15"],
+  "order_lead_time": 34,
+  "phone": "62378719",
+  "piecewise_agent_fee": {
+    "description": "配送费¥6",
+    "extra_fee": 0,
+    "is_extra": false,
+    "rules": [{
+      "fee": 6,
+      "price": 20
+    }]
+  },
+  "promotion_info": " ",
+  "rating": 4.4,
+  "rating_count": 247,
+  "recent_order_num": 2112,
+  "status": 1,
+  "supports": [{
+    "description": "已加入“外卖保”计划,食品安全有保障",
+    "icon_color": "4B9A18",
+    "icon_name": "保",
+    "id": 7,
+    "name": "外卖保"
+  }, {
+    "description": "该商家支持开发票,开票订单金额30.0元起,请在下单时填写好发票抬头",
+    "icon_color": "9071CB",
+    "icon_name": "票",
+    "id": 4,
+    "name": "开发票"
+  }, {
+    "description": "准时必达,超时秒赔",
+    "icon_color": "57A9FF",
+    "icon_name": "准",
+    "id": 9,
+    "name": "准时达"
+  }]
+}, {
+  "activities": [{
+    "description": "在线支付满20减12,满40减16",
+    "icon_color": "f07373",
+    "icon_name": "减",
+    "id": 11711897,
+    "name": "满减优惠",
+    "tips": "在线支付满20减12,满40减16"
+  }, {
+    "description": "(不与其他活动同享)新用户下单立减5.0元",
+    "icon_color": "70bc46",
+    "icon_name": "新",
+    "id": 11736769,
+    "name": "新用户立减(不与其他活动共享)",
+    "tips": "(不与其他活动同享)新用户下单立减5.0元"
+  }, {
+    "description": "(不与其它活动同享)特价双人餐",
+    "icon_color": "f07373",
+    "icon_name": "惠",
+    "id": 1462573,
+    "name": "(不与其它活动同享)特价双人餐",
+    "tips": "(不与其它活动同享)特价双人餐"
+  }, {
+    "description": "(不与其它活动同享)品质折扣餐!【5.5折】",
+    "icon_color": "f07373",
+    "icon_name": "5.5",
+    "id": 1308903,
+    "name": "(不与其它活动同享)品质折扣餐!【5.5折】",
+    "tips": "(不与其它活动同享)品质折扣餐!【5.5折】"
+  }, {
+    "description": "13.9元特价菜",
+    "icon_color": "f1884f",
+    "icon_name": "值",
+    "id": 1353675,
+    "name": "(不与其它活动同享)13.9元特价菜",
+    "tips": "(不与其它活动同享)13.9元特价菜"
+  }, {
+    "description": "12.9元特价菜",
+    "icon_color": "f1884f",
+    "icon_name": "惠",
+    "id": 1353664,
+    "name": "(不与其它活动同享)12.9元特价菜",
+    "tips": "(不与其它活动同享)12.9元特价菜"
+  }, {
+    "description": "9.9元特价菜",
+    "icon_color": "f1884f",
+    "icon_name": "特",
+    "id": 1353658,
+    "name": "(不与其它活动同享)9.9元特价菜",
+    "tips": "(不与其它活动同享)9.9元特价菜"
+  }],
+  "address": "上海市金钟路633号地下一层甲部",
+  "description": "焦耳外卖,线上外卖销量领先品牌。",
+  "distance": 563,
+  "float_delivery_fee": 2,
+  "float_minimum_order_amount": 15,
+  "id": 640451,
+  "image_path": "1e93ff8421a343c20b8b33e02a18ba44png",
+  "is_new": false,
+  "is_premium": true,
+  "latitude": 31.220032,
+  "longitude": 121.359921,
+  "name": "焦耳·川式快餐(金钟路店)",
+  "next_business_time": "",
+  "only_use_poi": false,
+  "opening_hours": ["09:00/20:00"],
+  "order_lead_time": 36,
+  "phone": "13024126609",
+  "piecewise_agent_fee": {
+    "description": "配送费¥2",
+    "extra_fee": 0,
+    "is_extra": false,
+    "rules": [{
+      "fee": 2,
+      "price": 15
+    }]
+  },
+  "promotion_info": "想吃辣,订焦耳。焦耳,地道川式快餐。直营门店超过100家,服务顾客人次超过500万。既辣又好吃,当然更受欢迎。焦耳,地道川式快餐。",
+  "rating": 4.1,
+  "rating_count": 345,
+  "recent_order_num": 2972,
+  "status": 1,
+  "supports": [{
+    "description": "该商家支持开发票,开票订单金额300.0元起,请在下单时填写好发票抬头",
+    "icon_color": "9071CB",
+    "icon_name": "票",
+    "id": 4,
+    "name": "开发票"
+  }]
+}, {
+  "activities": [{
+    "description": "在线支付满27减12,满50减17,满75减22,满100减28",
+    "icon_color": "f07373",
+    "icon_name": "减",
+    "id": 11754783,
+    "name": "满减优惠",
+    "tips": "在线支付满27减12,满50减17,满75减22,满100减28"
+  }, {
+    "description": "(不与其他活动同享)新用户下单立减20.0元",
+    "icon_color": "70bc46",
+    "icon_name": "新",
+    "id": 11325228,
+    "name": "新用户立减(不与其他活动共享)",
+    "tips": "(不与其他活动同享)新用户下单立减20.0元"
+  }],
+  "address": "长宁区仙霞西路299弄3号101B",
+  "delivery_mode": {
+    "color": "57A9FF",
+    "id": 1,
+    "is_solid": true,
+    "text": "蜂鸟专送"
+  },
+  "description": "",
+  "distance": 1978,
+  "float_delivery_fee": 5,
+  "float_minimum_order_amount": 20,
+  "id": 899176,
+  "image_path": "36b6e42e1044d230d883999118861616jpeg",
+  "is_new": false,
+  "is_premium": false,
+  "latitude": 31.208322,
+  "longitude": 121.366242,
+  "name": "动力鸡车",
+  "next_business_time": "",
+  "only_use_poi": false,
+  "opening_hours": ["09:40/23:30"],
+  "order_lead_time": 30,
+  "phone": "15821983760",
+  "piecewise_agent_fee": {
+    "description": "配送费¥5",
+    "extra_fee": 0,
+    "is_extra": false,
+    "rules": [{
+      "fee": 5,
+      "price": 20
+    }]
+  },
+  "promotion_info": "",
+  "rating": 4.6,
+  "rating_count": 331,
+  "recent_order_num": 1647,
+  "status": 1,
+  "supports": [{
+    "description": "已加入“外卖保”计划,食品安全有保障",
+    "icon_color": "4B9A18",
+    "icon_name": "保",
+    "id": 7,
+    "name": "外卖保"
+  }, {
+    "description": "准时必达,超时秒赔",
+    "icon_color": "57A9FF",
+    "icon_name": "准",
+    "id": 9,
+    "name": "准时达"
+  }]
+}, {
+  "activities": [{
+    "description": "在线支付满30减6,满60减15,满80减20",
+    "icon_color": "f07373",
+    "icon_name": "减",
+    "id": 11429176,
+    "name": "满减优惠",
+    "tips": "在线支付满30减6,满60减15,满80减20"
+  }, {
+    "description": "(不与其他活动同享)新用户下单立减20.0元",
+    "icon_color": "70bc46",
+    "icon_name": "新",
+    "id": 11325228,
+    "name": "新用户立减(不与其他活动共享)",
+    "tips": "(不与其他活动同享)新用户下单立减20.0元"
+  }],
+  "address": "天山西路430号",
+  "description": "本店支持饿了么网上订餐",
+  "distance": 1022,
+  "float_delivery_fee": 0,
+  "float_minimum_order_amount": 25,
+  "id": 354356,
+  "image_path": "ba38f2024dcb2253909c00a0e6d874eajpeg",
+  "is_new": false,
+  "is_premium": false,
+  "latitude": 31.216497,
+  "longitude": 121.363159,
+  "name": "浏阳蒸菜",
+  "next_business_time": "",
+  "only_use_poi": false,
+  "opening_hours": ["09:00/21:00"],
+  "order_lead_time": 33,
+  "phone": "18117452480",
+  "piecewise_agent_fee": {
+    "description": "免配送费",
+    "extra_fee": 0,
+    "is_extra": false,
+    "rules": [{
+      "fee": 0,
+      "price": 25
+    }]
+  },
+  "promotion_info": "注意:亲爱的各位顾客朋友们,以后下单麻烦亲都注意点米饭,没点的可要饿肚子喔。不需要米饭的请备注谢谢!",
+  "rating": 4.4,
+  "rating_count": 512,
+  "recent_order_num": 1597,
+  "status": 1,
+  "supports": []
+}, {
+  "activities": [{
+    "description": "在线支付满45减3,满70减4",
+    "icon_color": "f07373",
+    "icon_name": "减",
+    "id": 11586935,
+    "name": "满减优惠",
+    "tips": "在线支付满45减3,满70减4"
+  }, {
+    "description": "(不与其他活动同享)新用户下单立减10.0元",
+    "icon_color": "70bc46",
+    "icon_name": "新",
+    "id": 11333258,
+    "name": "新用户立减(不与其他活动共享)",
+    "tips": "(不与其他活动同享)新用户下单立减10.0元"
+  }],
+  "address": "上海市长宁区天山西路",
+  "delivery_mode": {
+    "color": "57A9FF",
+    "id": 1,
+    "is_solid": true,
+    "text": "蜂鸟专送"
+  },
+  "description": "欢迎光临\n",
+  "distance": 711,
+  "float_delivery_fee": 5,
+  "float_minimum_order_amount": 20,
+  "id": 215322,
+  "image_path": "37cf7580029b258da45784eb96a973e3jpeg",
+  "is_new": false,
+  "is_premium": true,
+  "latitude": 31.218766,
+  "longitude": 121.360561,
+  "name": "四海游龙(天山西路店)",
+  "next_business_time": "",
+  "only_use_poi": false,
+  "opening_hours": ["10:00/20:55"],
+  "order_lead_time": 29,
+  "phone": "52190867  13671916256",
+  "piecewise_agent_fee": {
+    "description": "配送费¥5",
+    "extra_fee": 0,
+    "is_extra": false,
+    "rules": [{
+      "fee": 5,
+      "price": 20
+    }]
+  },
+  "promotion_info": "本店锅贴酱的标准配置是1份锅贴1包酱请新老顾客谅解。",
+  "rating": 4.5,
+  "rating_count": 346,
+  "recent_order_num": 2284,
+  "status": 1,
+  "supports": [{
+    "description": "已加入“外卖保”计划,食品安全有保障",
+    "icon_color": "4B9A18",
+    "icon_name": "保",
+    "id": 7,
+    "name": "外卖保"
+  }, {
+    "description": "准时必达,超时秒赔",
+    "icon_color": "57A9FF",
+    "icon_name": "准",
+    "id": 9,
+    "name": "准时达"
+  }]
+}, {
+  "activities": [{
+    "description": "在线支付满30减15,满60减21",
+    "icon_color": "f07373",
+    "icon_name": "减",
+    "id": 11700412,
+    "name": "满减优惠",
+    "tips": "在线支付满30减15,满60减21"
+  }, {
+    "description": "(不与其他活动同享)新用户下单立减20.0元",
+    "icon_color": "70bc46",
+    "icon_name": "新",
+    "id": 11325228,
+    "name": "新用户立减(不与其他活动共享)",
+    "tips": "(不与其他活动同享)新用户下单立减20.0元"
+  }],
+  "address": "上海市长宁区金钟路968号15楼15-105室",
+  "delivery_mode": {
+    "color": "57A9FF",
+    "id": 1,
+    "is_solid": true,
+    "text": "蜂鸟专送"
+  },
+  "description": "樱花食堂:主营日式简餐系列   特色的蛋包饭  咖喱系列   好吃的照烧鸡排 健康的色拉系列! 原为每一位顾客 提供 可口 美味 幸福的一餐",
+  "distance": 796,
+  "float_delivery_fee": 5,
+  "float_minimum_order_amount": 20,
+  "id": 1175700,
+  "image_path": "2f2bffdb4357942985de46f8e2163747png",
+  "is_new": false,
+  "is_premium": false,
+  "latitude": 31.221427,
+  "longitude": 121.352104,
+  "name": "樱花食堂(凌空店)",
+  "next_business_time": "",
+  "only_use_poi": false,
+  "opening_hours": ["09:00/20:00"],
+  "order_lead_time": 37,
+  "phone": "18018662689",
+  "piecewise_agent_fee": {
+    "description": "配送费¥5",
+    "extra_fee": 0,
+    "is_extra": false,
+    "rules": [{
+      "fee": 5,
+      "price": 20
+    }]
+  },
+  "promotion_info": "各位小主,本店优先配送饿了么,遇到恶劣天气送餐较慢,请多多担待哈!如果您的美食凉了,或者口味不好,一定要第一时间和本店联系,做得不好的地方我们一定加油改进,在这个寒冷的冬季,我们一定努力温暖您的胃,如您对送餐服务口味满意请给我5分好评呦!!!饿了么网络订餐,汇集周边所有美食、水果",
+  "rating": 3.8,
+  "rating_count": 262,
+  "recent_order_num": 2021,
+  "status": 1,
+  "supports": [{
+    "description": "已加入“外卖保”计划,食品安全有保障",
+    "icon_color": "4B9A18",
+    "icon_name": "保",
+    "id": 7,
+    "name": "外卖保"
+  }, {
+    "description": "准时必达,超时秒赔",
+    "icon_color": "57A9FF",
+    "icon_name": "准",
+    "id": 9,
+    "name": "准时达"
+  }]
+}, {
+  "activities": [{
+    "description": "在线支付满27减3,满50减6,满75减8,满100减12",
+    "icon_color": "f07373",
+    "icon_name": "减",
+    "id": 11381176,
+    "name": "满减优惠",
+    "tips": "在线支付满27减3,满50减6,满75减8,满100减12"
+  }, {
+    "description": "(不与其他活动同享)新用户下单立减20.0元",
+    "icon_color": "70bc46",
+    "icon_name": "新",
+    "id": 11325228,
+    "name": "新用户立减(不与其他活动共享)",
+    "tips": "(不与其他活动同享)新用户下单立减20.0元"
+  }],
+  "address": "天山西路428号",
+  "delivery_mode": {
+    "color": "57A9FF",
+    "id": 1,
+    "is_solid": true,
+    "text": "蜂鸟专送"
+  },
+  "description": "壹分米客家传统调制米粉(天山店)\n",
+  "distance": 855,
+  "float_delivery_fee": 5,
+  "float_minimum_order_amount": 20,
+  "id": 166349,
+  "image_path": "e6614cc644c41a64a1ef282d0e27aac3png",
+  "is_new": false,
+  "is_premium": false,
+  "latitude": 31.2182979790424,
+  "longitude": 121.363552917705,
+  "name": "壹分米客家传统调制米粉(天山店)",
+  "next_business_time": "",
+  "only_use_poi": false,
+  "opening_hours": ["10:30/21:00"],
+  "order_lead_time": 32,
+  "phone": "18117104418",
+  "piecewise_agent_fee": {
+    "description": "配送费¥5",
+    "extra_fee": 0,
+    "is_extra": false,
+    "rules": [{
+      "fee": 5,
+      "price": 20
+    }]
+  },
+  "promotion_info": "1、本店推荐陛下您在“饿了么”订餐—饭点较忙,电话常占线,本店优先配送饿了么订单。2、雨天路滑,外卖小哥会及时送达,避免催促发生事故。3、外卖制作+配送都需要消耗时间,为了能及时用餐,希望大家提前半小时以上预定,避开高峰拥堵。",
+  "rating": 4.7,
+  "rating_count": 147,
+  "recent_order_num": 1093,
+  "status": 1,
+  "supports": [{
+    "description": "已加入“外卖保”计划,食品安全有保障",
+    "icon_color": "4B9A18",
+    "icon_name": "保",
+    "id": 7,
+    "name": "外卖保"
+  }, {
+    "description": "准时必达,超时秒赔",
+    "icon_color": "57A9FF",
+    "icon_name": "准",
+    "id": 9,
+    "name": "准时达"
+  }]
+}, {
+  "activities": [{
+    "description": "在线支付满25减8,满60减15,满80减20",
+    "icon_color": "f07373",
+    "icon_name": "减",
+    "id": 11465592,
+    "name": "满减优惠",
+    "tips": "在线支付满25减8,满60减15,满80减20"
+  }, {
+    "description": "1元饮料秒杀",
+    "icon_color": "f1884f",
+    "icon_name": "秒",
+    "id": 1442522,
+    "name": "1元饮料秒杀",
+    "tips": "1元饮料秒杀"
+  }, {
+    "description": "(不与其它活动同享)5折限量优惠",
+    "icon_color": "f07373",
+    "icon_name": "折",
+    "id": 1439197,
+    "name": "(不与其它活动同享)5折限量优惠",
+    "tips": "(不与其它活动同享)5折限量优惠"
+  }, {
+    "description": "(不与其它活动同享)品质折扣餐!【8折】",
+    "icon_color": "f07373",
+    "icon_name": "8",
+    "id": 1309191,
+    "name": "(不与其它活动同享)品质折扣餐!【8折】",
+    "tips": "(不与其它活动同享)品质折扣餐!【8折】"
+  }, {
+    "description": "(不与其他活动同享)新用户下单立减15.0元",
+    "icon_color": "70bc46",
+    "icon_name": "新",
+    "id": 11272302,
+    "name": "新用户立减(不与其他活动共享)",
+    "tips": "(不与其他活动同享)新用户下单立减15.0元"
+  }],
+  "address": "上海市长宁区协和路福泉路255弄57-73号",
+  "description": "本店支持饿了么网上订餐",
+  "distance": 1326,
+  "float_delivery_fee": 0,
+  "float_minimum_order_amount": 20,
+  "id": 449057,
+  "image_path": "0ee404f65d865de198fd01922951a9dejpeg",
+  "is_new": false,
+  "is_premium": true,
+  "latitude": 31.21319,
+  "longitude": 121.35826,
+  "name": "福荣祥烧腊(平溪路店)",
+  "next_business_time": "",
+  "only_use_poi": false,
+  "opening_hours": ["09:30/19:30"],
+  "order_lead_time": 33,
+  "phone": "62402187",
+  "piecewise_agent_fee": {
+    "description": "免配送费",
+    "extra_fee": 0,
+    "is_extra": false,
+    "rules": [{
+      "fee": 0,
+      "price": 20
+    }]
+  },
+  "promotion_info": "1、本店推荐陛下您在“饿了么”订餐—饭点较忙,电话常占线,本店优先配送饿了么订单。2、雨天路滑,外卖小哥会及时送达,避免催促发生事故。3、外卖制作+配送都需要消耗时间,为了能及时用餐,希望大家提前半小时以上预定,避开高峰拥堵。",
+  "rating": 4.6,
+  "rating_count": 381,
+  "recent_order_num": 2388,
+  "status": 1,
+  "supports": []
+}, {
+  "activities": [{
+    "description": "在线支付满27减8,满50减16,满75减21,满100减26",
+    "icon_color": "f07373",
+    "icon_name": "减",
+    "id": 11719234,
+    "name": "满减优惠",
+    "tips": "在线支付满27减8,满50减16,满75减21,满100减26"
+  }, {
+    "description": "(不与其他活动同享)新用户下单立减20.0元",
+    "icon_color": "70bc46",
+    "icon_name": "新",
+    "id": 11325228,
+    "name": "新用户立减(不与其他活动共享)",
+    "tips": "(不与其他活动同享)新用户下单立减20.0元"
+  }],
+  "address": "上海市长宁区北新泾街道金钟路180号1层01号摊位",
+  "delivery_mode": {
+    "color": "57A9FF",
+    "id": 1,
+    "is_solid": true,
+    "text": "蜂鸟专送"
+  },
+  "description": "正宗黄焖鸡",
+  "distance": 1079,
+  "float_delivery_fee": 5,
+  "float_minimum_order_amount": 20,
+  "id": 454578,
+  "image_path": "f641a4fb59fa2d06a6e1b0f7b33877e5jpeg",
+  "is_new": false,
+  "is_premium": false,
+  "latitude": 31.21973,
+  "longitude": 121.368766,
+  "name": "速记黄焖鸡米饭",
+  "next_business_time": "",
+  "only_use_poi": false,
+  "opening_hours": ["09:30/23:00"],
+  "order_lead_time": 33,
+  "phone": "15821659008",
+  "piecewise_agent_fee": {
+    "description": "满70免配送费,满20付¥5,不满20付¥7",
+    "extra_fee": 0,
+    "is_extra": false,
+    "rules": [{
+      "fee": 7,
+      "price": 0
+    }, {
+      "fee": 5,
+      "price": 20
+    }, {
+      "fee": 0,
+      "price": 70
+    }]
+  },
+  "promotion_info": "1、本店推荐陛下您在“饿了么”订餐—饭点较忙,电话常占线,本店优先配送饿了么订单。2、雨天路滑,外卖小哥会及时送达,避免催促发生事故。3、外卖制作+配送都需要消耗时间,为了能及时用餐,希望大家提前半小时以上预定,避开高峰拥堵。",
+  "rating": 4.5,
+  "rating_count": 435,
+  "recent_order_num": 3286,
+  "status": 1,
+  "supports": [{
+    "description": "已加入“外卖保”计划,食品安全有保障",
+    "icon_color": "4B9A18",
+    "icon_name": "保",
+    "id": 7,
+    "name": "外卖保"
+  }, {
+    "description": "该商家支持开发票,开票订单金额100.0元起,请在下单时填写好发票抬头",
+    "icon_color": "9071CB",
+    "icon_name": "票",
+    "id": 4,
+    "name": "开发票"
+  }]
+}, {
+  "activities": [{
+    "description": "在线支付满25减12,满50减14,满75减19,满100减24",
+    "icon_color": "f07373",
+    "icon_name": "减",
+    "id": 11719285,
+    "name": "满减优惠",
+    "tips": "在线支付满25减12,满50减14,满75减19,满100减24"
+  }, {
+    "description": "(不与其他活动同享)新用户下单立减20.0元",
+    "icon_color": "70bc46",
+    "icon_name": "新",
+    "id": 11325228,
+    "name": "新用户立减(不与其他活动共享)",
+    "tips": "(不与其他活动同享)新用户下单立减20.0元"
+  }],
+  "address": "上海市长宁区天山西路492号",
+  "delivery_mode": {
+    "color": "57A9FF",
+    "id": 1,
+    "is_solid": true,
+    "text": "蜂鸟专送"
+  },
+  "description": "红辣椒麻辣烫",
+  "distance": 843,
+  "float_delivery_fee": 4,
+  "float_minimum_order_amount": 20,
+  "id": 722642,
+  "image_path": "100cfe42382b89575c9e85a5911974c2jpeg",
+  "is_new": false,
+  "is_premium": false,
+  "latitude": 31.217744,
+  "longitude": 121.361572,
+  "name": "红辣椒麻辣烫",
+  "next_business_time": "",
+  "only_use_poi": false,
+  "opening_hours": ["09:00/23:30"],
+  "order_lead_time": 28,
+  "phone": "13918958523",
+  "piecewise_agent_fee": {
+    "description": "配送费¥4",
+    "extra_fee": 0,
+    "is_extra": false,
+    "rules": [{
+      "fee": 4,
+      "price": 20
+    }]
+  },
+  "promotion_info": "新店开张,优惠多多,欢迎广大新老客户订餐。",
+  "rating": 4.2,
+  "rating_count": 609,
+  "recent_order_num": 1610,
+  "status": 1,
+  "supports": [{
+    "description": "已加入“外卖保”计划,食品安全有保障",
+    "icon_color": "4B9A18",
+    "icon_name": "保",
+    "id": 7,
+    "name": "外卖保"
+  }, {
+    "description": "准时必达,超时秒赔",
+    "icon_color": "57A9FF",
+    "icon_name": "准",
+    "id": 9,
+    "name": "准时达"
+  }]
+}, {
+  "activities": [{
+    "description": "在线支付满30减4,满60减10",
+    "icon_color": "f07373",
+    "icon_name": "减",
+    "id": 11325842,
+    "name": "满减优惠",
+    "tips": "在线支付满30减4,满60减10"
+  }, {
+    "description": "(不与其他活动同享)新用户下单立减10.0元",
+    "icon_color": "70bc46",
+    "icon_name": "新",
+    "id": 11718149,
+    "name": "新用户立减(不与其他活动共享)",
+    "tips": "(不与其他活动同享)新用户下单立减10.0元"
+  }],
+  "address": "长宁区仙霞西路88号百联2楼",
+  "delivery_mode": {
+    "color": "57A9FF",
+    "id": 1,
+    "is_solid": true,
+    "text": "蜂鸟专送"
+  },
+  "description": "(小杨生煎)西郊百联餐厅",
+  "distance": 2100,
+  "float_delivery_fee": 5,
+  "float_minimum_order_amount": 20,
+  "id": 105288,
+  "image_path": "c324dfa7c810d83d83709a5938edea5fpng",
+  "is_new": false,
+  "is_premium": true,
+  "latitude": 31.20877,
+  "longitude": 121.37041,
+  "name": "(小杨生煎)西郊百联餐厅",
+  "next_business_time": "",
+  "only_use_poi": false,
+  "opening_hours": ["10:00/21:00"],
+  "order_lead_time": 28,
+  "phone": "52171203",
+  "piecewise_agent_fee": {
+    "description": "配送费¥5",
+    "extra_fee": 0,
+    "is_extra": false,
+    "rules": [{
+      "fee": 5,
+      "price": 20
+    }]
+  },
+  "promotion_info": "",
+  "rating": 4.6,
+  "rating_count": 531,
+  "recent_order_num": 3456,
+  "status": 1,
+  "supports": [{
+    "description": "已加入“外卖保”计划,食品安全有保障",
+    "icon_color": "4B9A18",
+    "icon_name": "保",
+    "id": 7,
+    "name": "外卖保"
+  }, {
+    "description": "该商家支持开发票,请在下单时填写好发票抬头",
+    "icon_color": "9071CB",
+    "icon_name": "票",
+    "id": 4,
+    "name": "开发票"
+  }, {
+    "description": "准时必达,超时秒赔",
+    "icon_color": "57A9FF",
+    "icon_name": "准",
+    "id": 9,
+    "name": "准时达"
+  }]
+}, {
+  "activities": [{
+    "description": "在线支付满27减10,满50减12,满75减15,满100减20",
+    "icon_color": "f07373",
+    "icon_name": "减",
+    "id": 11381968,
+    "name": "满减优惠",
+    "tips": "在线支付满27减10,满50减12,满75减15,满100减20"
+  }, {
+    "description": "(不与其他活动同享)新用户下单立减20.0元",
+    "icon_color": "70bc46",
+    "icon_name": "新",
+    "id": 11325228,
+    "name": "新用户立减(不与其他活动共享)",
+    "tips": "(不与其他活动同享)新用户下单立减20.0元"
+  }],
+  "address": "天山西路389号",
+  "bidding": "{\"target\":{\"restaurantId\":13952,\"weight\":200,\"probability\":4.096244812011719},\"next\":null}",
+  "description": "阳阳麻辣烫",
+  "distance": 989,
+  "float_delivery_fee": 4,
+  "float_minimum_order_amount": 20,
+  "id": 13952,
+  "image_path": "80f5148923b649f392770c85b07355b8jpeg",
+  "is_new": false,
+  "is_premium": false,
+  "latitude": 31.217559,
+  "longitude": 121.364851,
+  "name": "阳阳麻辣烫",
+  "next_business_time": "",
+  "only_use_poi": false,
+  "opening_hours": ["09:30/01:00"],
+  "order_lead_time": 34,
+  "phone": "13482580513 62918941",
+  "piecewise_agent_fee": {
+    "description": "配送费¥4",
+    "extra_fee": 0,
+    "is_extra": false,
+    "rules": [{
+      "fee": 4,
+      "price": 20
+    }]
+  },
+  "promotion_info": "1、本店推荐陛下您在“饿了么”订餐—饭点较忙,电话常占线,本店优先配送饿了么订单。2、雨天路滑,外卖小哥会及时送达,避免催促发生事故。3、外卖制作+配送都需要消耗时间,为了能及时用餐,希望大家提前半小时以上预定,避开高峰拥堵。",
+  "rating": 4.5,
+  "rating_count": 1464,
+  "recent_order_num": 1883,
+  "status": 1,
+  "supports": []
+}, {
+  "activities": [{
+    "description": "在线支付满30减13,满60减18",
+    "icon_color": "f07373",
+    "icon_name": "减",
+    "id": 11683980,
+    "name": "满减优惠",
+    "tips": "在线支付满30减13,满60减18"
+  }, {
+    "description": "(不与其他活动同享)新用户下单立减8.0元",
+    "icon_color": "70bc46",
+    "icon_name": "新",
+    "id": 11331255,
+    "name": "新用户立减(不与其他活动共享)",
+    "tips": "(不与其他活动同享)新用户下单立减8.0元"
+  }],
+  "address": "普陀区金沙江路1699号鑫乐惠美食广场A13",
+  "delivery_mode": {
+    "color": "57A9FF",
+    "id": 1,
+    "is_solid": true,
+    "text": "蜂鸟专送"
+  },
+  "description": "本店特色专注于龙虾盖浇饭,因为专一,所以专业。口味上汇聚了“麻、辣、鲜、香、甜”几种口味,满足了年轻食客对味道的挑剔。",
+  "distance": 1875,
+  "float_delivery_fee": 5,
+  "float_minimum_order_amount": 20,
+  "id": 921427,
+  "image_path": "8fc7d60c9a1b00d958bf8a2a15045eeejpeg",
+  "is_new": false,
+  "is_premium": false,
+  "latitude": 31.2313678104899,
+  "longitude": 121.377572734967,
+  "name": "南拳妈妈龙虾盖浇饭",
+  "next_business_time": "",
+  "only_use_poi": false,
+  "opening_hours": ["09:30/20:30"],
+  "order_lead_time": 37,
+  "phone": "18217798760",
+  "piecewise_agent_fee": {
+    "description": "满70免配送费,满20付¥5,不满20付¥7",
+    "extra_fee": 0,
+    "is_extra": false,
+    "rules": [{
+      "fee": 7,
+      "price": 0
+    }, {
+      "fee": 5,
+      "price": 20
+    }, {
+      "fee": 0,
+      "price": 70
+    }]
+  },
+  "promotion_info": "1`中午11:00至13:00为用餐高峰期,配送繁忙为保证您及时用餐,请提前一小时订餐.如因饿了么配送运力不足,送达时间可能会延长,敬请谅解!\n2`龙虾季节来临,公司对龙虾食材进行专业把关,每一道工序严格把控,保证食品的卫生与安全,请顾客放心使用!\n\n南拳妈妈祝您用餐愉快!",
+  "rating": 4.5,
+  "rating_count": 216,
+  "recent_order_num": 2988,
+  "status": 1,
+  "supports": [{
+    "description": "该商家支持开发票,开票订单金额50.0元起,请在下单时填写好发票抬头",
+    "icon_color": "9071CB",
+    "icon_name": "票",
+    "id": 4,
+    "name": "开发票"
+  }, {
+    "description": "准时必达,超时秒赔",
+    "icon_color": "57A9FF",
+    "icon_name": "准",
+    "id": 9,
+    "name": "准时达"
+  }]
+}]

+ 33 - 46
examples/docs/upload.md

@@ -31,21 +31,18 @@
   }
 </script>
 
-## 基础使用
+## Upload 上传
 
-<div class="demo-box">
-  <el-upload action="http://element.alpha.elenet.me/upload" :on-preview="handlePreview" :on-remove="handleRemove">
-    <el-button size="small" type="primary">点击上传</el-button>
-    <div class="el-upload__tip" slot="tip">只能上传jpg/png文件,且不超过500kb</div>
-  </el-upload>
-</div>
+通过点击或者拖拽上传文件
 
+### 点击上传多个文件
+
+::: demo 通过 slot 你可以传入自定义的上传按钮类型和文字提示。
 ```html
 <el-upload action="http://element.alpha.elenet.me/upload" :on-preview="handlePreview" :on-remove="handleRemove">
   <el-button size="small" type="primary">点击上传</el-button>
   <div class="el-upload__tip" slot="tip">只能上传jpg/png文件,且不超过500kb</div>
 </el-upload>
-
 <script>
   export default {
     methods: {
@@ -59,27 +56,23 @@
   }
 </script>
 ```
+:::
 
-## 拖拽文件上传
+### 拖拽上传
 
-<div class="demo-box">
-  <el-upload
-    action="http://element.alpha.elenet.me/upload"
-    type="drag"
-    :multiple="true"
-    :on-preview="handlePreview"
-    :on-remove="handleRemove">
-    <div class="el-upload__tip" slot="tip">只能上传jpg/png文件,且不超过500kb</div>
-  </el-upload>
-</div>
+可将文件拖入指定区域进行上传。
 
+::: demo 将 `type` 属性指定为 'drag' 可以将上传控件变为支持拖拽的形式,并且你可以通过 `multiple` 属性来控制是否支持多选,`on-preview` 和 `on-remove` 是一个钩子函数,分别在点击上传后的文件链接和点击移除上传后的文件后被调用。
 ```html
 <el-upload
   action="http://element.alpha.elenet.me/upload"
   type="drag"
   :multiple="true"
   :on-preview="handlePreview"
-  :on-remove="handleRemove">
+  :on-remove="handleRemove"
+>
+  <i class="el-icon-cloud"></i>
+  <div class="el-dragger__text">将文件拖到此处,或<em>点击上传</em></div>
   <div class="el-upload__tip" slot="tip">只能上传jpg/png文件,且不超过500kb</div>
 </el-upload>
 <script>
@@ -95,23 +88,13 @@
   }
 </script>
 ```
+:::
 
-## 图片缩略图模式
-
-上传文件类型限制为只能上传图片,并可展示本地缩略图,该模式暂不支持多选
+### 上传单个图片
 
-<div class="demo-box">
-  <el-upload
-    action="http://element.alpha.elenet.me/upload"
-    type="drag"
-    :thumbnail-mode="true"
-    :on-preview="handlePreview"
-    :on-remove="handleRemove"
-  >
-    <div class="el-upload__tip" slot="tip">只能上传jpg/png文件,且不超过500kb</div>
-  </el-upload>
-</div>
+专门针对图片类型文件的上传,上传后在原位置显示缩略图。
 
+::: demo `thumbnail-mode` 属性允许你将上传组件强制只允许图片上传,并支持展示上传文件的缩略图。
 ```html
 <el-upload
   action="http://element.alpha.elenet.me/upload"
@@ -120,6 +103,8 @@
   :on-preview="handlePreview"
   :on-remove="handleRemove"
 >
+  <i class="el-icon-cloud"></i>
+  <div class="el-dragger__text">将文件拖到此处,或<em>点击上传</em></div>
   <div class="el-upload__tip" slot="tip">只能上传jpg/png文件,且不超过500kb</div>
 </el-upload>
 <script>
@@ -135,20 +120,22 @@
   }
 </script>
 ```
+:::
+
+### Upload Attribute
 
-## API
 | 参数      | 说明          | 类型      | 可选值                           | 默认值  |
 |---------- |-------------- |---------- |--------------------------------  |-------- |
-| action | 必选参数, 上传的地址 | string | | |
-| headers | 可选参数, 设置上传的请求头部 | object |  |  |
-| multiple | 可选参数, 是否支持多选文件 | boolean | | |
-| file | 可选参数, 上传的文件字段名 | string | | file |
-| withCredentials | 支持发送 cooking 凭证信息 | boolean | | false |
-| showUploadList | 是否显示已上传文件列表 | boolean | | true |
+| action | 必选参数, 上传的地址 | string | - | |
+| headers | 可选参数, 设置上传的请求头部 | object |  |  |
+| multiple | 可选参数, 是否支持多选文件 | boolean | | |
+| file | 可选参数, 上传的文件字段名 | string | | file |
+| with-credentials | 支持发送 cooking 凭证信息 | boolean | | false |
+| show-uploadList | 是否显示已上传文件列表 | boolean | | true |
 | type | 上传控件类型 | string | select,drag | select |
-| accept | 可选参数, 接受上传的[文件类型](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#attr-accept), 拖拽文件上传时不受此参数影响 | string |  |  |
-| onPreview | 可选参数, 点击已上传的文件链接时的钩子 | function(file) |  |  |
-| onRemove | 可选参数, 文件列表移除文件时的钩子 | function(file, fileList) |  |  |
-| beforeUpload | 可选参数, 上传文件之前的钩子,参数为上传的文件,若返回 false 或者 Promise 则停止上传。 | function(file) |  |  |
-| thumbnailMode | 是否设置为图片模式,该模式下会显示图片缩略图 | boolean | | false |
+| accept | 可选参数, 接受上传的[文件类型](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#attr-accept), 拖拽文件上传时不受此参数影响 | string |  |  |
+| on-preview | 可选参数, 点击已上传的文件链接时的钩子 | function(file) |  |  |
+| on-remove | 可选参数, 文件列表移除文件时的钩子 | function(file, fileList) |  |  |
+| before-upload | 可选参数, 上传文件之前的钩子,参数为上传的文件,若返回 false 或者 Promise 则停止上传。 | function(file) |  |  |
+| thumbnail-mode | 是否设置为图片模式,该模式下会显示图片缩略图 | boolean | | false |
 | type | 上传控件类型 | string | select,drag | select |

+ 1 - 1
examples/icon.json

@@ -1 +1 @@
-["search","share","setting","circle-cross","warning","information","circle-check","delete","d-arrow-left","d-arrow-right","picture","upload","menu","time","circle-close","arrow-down","arrow-up","arrow-right","arrow-left","close","document","d-caret","date","message","loading","ellipsis","plus","caret-left","caret-right","caret-bottom","edit","caret-top","check","minus","star-off","star-on"]
+["arrow-down","arrow-left","arrow-right","arrow-up","caret-bottom","caret-left","caret-right","caret-top","check","circle-check","circle-close","circle-cross","close","cloud","d-arrow-left","d-arrow-right","d-caret","date","delete","document","edit","information","loading","menu","message","minus","more","picture","plus","search","setting","share","star-off","star-on","time","warning","delete2","upload","view"]

BIN
packages/theme-default/src/fonts/element-icons.eot


File diff suppressed because it is too large
+ 4 - 5
packages/theme-default/src/fonts/element-icons.svg


BIN
packages/theme-default/src/fonts/element-icons.ttf


BIN
packages/theme-default/src/fonts/element-icons.woff


+ 43 - 112
packages/theme-default/src/icon.css

@@ -1,9 +1,9 @@
 @font-face {
     font-family: 'element-icons';
-    src:
-        url('fonts/element-icons.ttf?ld8k1a') format('truetype'),
-        url('fonts/element-icons.woff?ld8k1a') format('woff'),
-        url('fonts/element-icons.svg?ld8k1a#element-icons') format('svg');
+    src:url('fonts/element-icons.eot?t=1472440741'), /* IE9*/
+      url('fonts/element-icons.woff?t=1472440741') format('woff'), /* chrome, firefox */
+      url('fonts/element-icons.ttf?t=1472440741') format('truetype'), /* chrome, firefox, opera, Safari, Android, iOS 4.2+*/
+      url('fonts/element-icons.svg?t=1472440741#el-icon') format('svg'); /* iOS 4.1- */
     font-weight: normal;
     font-style: normal;
 }
@@ -25,114 +25,45 @@
     -moz-osx-font-smoothing: grayscale;
 }
 
-.el-icon-search:before {
-    content: "\e90e";
-}
-.el-icon-share:before {
-    content: "\e900";
-}
-.el-icon-setting:before {
-    content: "\e901";
-}
-.el-icon-circle-cross:before {
-    content: "\e902";
-}
-.el-icon-warning:before {
-    content: "\e903";
-}
-.el-icon-information:before {
-    content: "\e904";
-}
-.el-icon-circle-check:before {
-    content: "\e905";
-}
-.el-icon-delete:before {
-    content: "\e906";
-}
-.el-icon-d-arrow-left:before {
-    content: "\e907";
-}
-.el-icon-d-arrow-right:before {
-    content: "\e908";
-}
-.el-icon-picture:before {
-    content: "\e909";
-}
-.el-icon-upload:before {
-    content: "\e90a";
-}
-.el-icon-menu:before {
-    content: "\e90b";
-}
-.el-icon-time:before {
-    content: "\e90c";
-}
-.el-icon-circle-close:before {
-    content: "\e90d";
-}
-.el-icon-arrow-down:before {
-    content: "\e90f";
-}
-.el-icon-arrow-up:before {
-    content: "\e910";
-}
-.el-icon-arrow-right:before {
-    content: "\e911";
-}
-.el-icon-arrow-left:before {
-    content: "\e912";
-}
-.el-icon-close:before {
-    content: "\e913";
-}
-.el-icon-document:before {
-    content: "\e914";
-}
-.el-icon-d-caret:before {
-    content: "\e915";
-}
-.el-icon-date:before {
-    content: "\e916";
-}
-.el-icon-message:before {
-    content: "\e917";
-}
-.el-icon-loading:before {
-    content: "\e918";
-}
-.el-icon-ellipsis:before {
-    content: "\e919";
-}
-.el-icon-plus:before {
-    content: "\e91a";
-}
-.el-icon-caret-left:before {
-    content: "\e91b";
-}
-.el-icon-caret-right:before {
-    content: "\e91c";
-}
-.el-icon-caret-bottom:before {
-    content: "\e91d";
-}
-.el-icon-edit:before {
-    content: "\e91e";
-}
-.el-icon-caret-top:before {
-    content: "\e91f";
-}
-.el-icon-check:before {
-    content: "\e920";
-}
-.el-icon-minus:before {
-    content: "\e921";
-}
-.el-icon-star-off:before {
-    content: "\e922";
-}
-.el-icon-star-on:before {
-    content: "\e923";
-}
+.el-icon-arrow-down:before { content: "\e600"; }
+.el-icon-arrow-left:before { content: "\e601"; }
+.el-icon-arrow-right:before { content: "\e602"; }
+.el-icon-arrow-up:before { content: "\e603"; }
+.el-icon-caret-bottom:before { content: "\e604"; }
+.el-icon-caret-left:before { content: "\e605"; }
+.el-icon-caret-right:before { content: "\e606"; }
+.el-icon-caret-top:before { content: "\e607"; }
+.el-icon-check:before { content: "\e608"; }
+.el-icon-circle-check:before { content: "\e609"; }
+.el-icon-circle-close:before { content: "\e60a"; }
+.el-icon-circle-cross:before { content: "\e60b"; }
+.el-icon-close:before { content: "\e60c"; }
+.el-icon-cloud:before { content: "\e60d"; }
+.el-icon-d-arrow-left:before { content: "\e60e"; }
+.el-icon-d-arrow-right:before { content: "\e60f"; }
+.el-icon-d-caret:before { content: "\e610"; }
+.el-icon-date:before { content: "\e611"; }
+.el-icon-delete:before { content: "\e612"; }
+.el-icon-document:before { content: "\e613"; }
+.el-icon-edit:before { content: "\e614"; }
+.el-icon-information:before { content: "\e615"; }
+.el-icon-loading:before { content: "\e616"; }
+.el-icon-menu:before { content: "\e617"; }
+.el-icon-message:before { content: "\e618"; }
+.el-icon-minus:before { content: "\e619"; }
+.el-icon-more:before { content: "\e61a"; }
+.el-icon-picture:before { content: "\e61b"; }
+.el-icon-plus:before { content: "\e61c"; }
+.el-icon-search:before { content: "\e61d"; }
+.el-icon-setting:before { content: "\e61e"; }
+.el-icon-share:before { content: "\e61f"; }
+.el-icon-star-off:before { content: "\e620"; }
+.el-icon-star-on:before { content: "\e621"; }
+.el-icon-time:before { content: "\e622"; }
+.el-icon-warning:before { content: "\e623"; }
+.el-icon-delete2:before { content: "\e624"; }
+.el-icon-upload:before { content: "\e625"; }
+.el-icon-view:before { content: "\e626"; }
 
 .el-icon-loading {
   animation: rotating 1s linear infinite;

+ 22 - 12
packages/theme-default/src/upload.css

@@ -11,6 +11,16 @@
     }
     @e inner {
       display: inline-block;
+      position: relative;
+
+      & iframe {
+        position: absolute;
+        z-index: -1;
+        top: 0;
+        left: 0;
+        opacity: 0;
+        filter: alpha(opacity=0);
+      }
     }
     @e files {
       margin: 0;
@@ -103,7 +113,7 @@
       display: block;
       height: 100%;
     }
-    & .el-icon-upload {
+    & .el-icon-cloud {
       font-size: 67px;
       color: #99a9bf;
       margin: 40px 0 16px;
@@ -119,16 +129,7 @@
       border-top: 1px solid rgba(#c0ccda, .2);
     }
 
-    @e progress {
-      position: absolute 0 60px 0 60px;
-      margin: auto;
-
-      & + .el-upload__inner {
-        opacity: 0;
-      }
-    }
-
-    @e uploaded-image {
+    @e cover {
       position: absolute;
       left: 0;
       top: 0;
@@ -144,6 +145,15 @@
         height: auto;
       }
 
+      @e progress {
+        position: absolute 0 60px 0 60px;
+        margin: auto;
+
+        & + .el-upload__inner {
+          opacity: 0;
+        }
+      }
+
       @e interact {
         position: absolute;
         bottom: 0;
@@ -230,7 +240,7 @@
       }
     }
 
-    &:not(.is-showImage):hover {
+    &:not(.is-showCover):hover {
       border-color: var(--color-primary);
     }
 

+ 0 - 142
packages/upload/src/ajax-upload.vue

@@ -1,142 +0,0 @@
-<template>
-  <div class="el-upload__inner"
-    @click="$els.input.click();"
-    @drop.prevent="onDrop"
-    @dragOver.prevent
-  >
-    <slot></slot>
-    <template v-if="$parent.type === 'drag'">
-      <i class="el-icon-upload"></i>
-      <div class="el-dragger__text">将文件拖到此处,或<em>点击上传</em></div>
-    </template>
-    <input class="el-upload__input" type="file" v-el:input @change="handleChange" :multiple="multiple" :accept="accept">
-  </div>
-</template>
-
-<script>
-import ajax from './ajax';
-
-export default {
-  props: {
-    action: {
-      type: String,
-      required: true
-    },
-    name: {
-      type: String,
-      default: 'file'
-    },
-    withCredentials: true,
-    multiple: Boolean,
-    accept: String,
-    onStart: Function,
-    onProgress: Function,
-    onSuccess: Function,
-    onError: Function,
-    beforeUpload: Function
-  },
-
-  data() {
-    return {
-    };
-  },
-
-  computed: {
-    uploading: {
-      get() {
-        return this.$parent.uploading;
-      },
-      set(value) {
-        this.$parent.uploading = value;
-      }
-    },
-    mode() {
-      return this.$parent.mode;
-    }
-  },
-
-  methods: {
-    isImage(str) {
-      return str.indexOf('image') !== -1;
-    },
-    handleChange(ev) {
-      const files = ev.target.files;
-
-      if (this.uploading || !files) {
-        return;
-      }
-      this.$dispatch('filechange', files, this.$parent.uploadedFiles, ev);
-      this.uploading = true;
-      this.uploadFiles(files);
-    },
-    uploadFiles(files) {
-      let postFiles = Array.prototype.slice.call(files);
-      if (!this.multiple) {
-        postFiles = postFiles.slice(0, 1);
-      }
-      const len = postFiles.length;
-      if (len > 0) {
-        for (let i = 0; i < len; i++) {
-          const file = postFiles[i];
-          let isImage = this.isImage(file.type);
-          // file.uid = uid();
-          if (this.mode === 'image' && !isImage) {
-            continue;
-          }
-          this.upload(file);
-        }
-        this.onStart(postFiles);
-      }
-    },
-    upload(file) {
-      if (!this.beforeUpload) {
-        return this.post(file);
-      }
-
-      const before = this.beforeUpload(file);
-      if (before && before.then) {
-        before.then((processedFile) => {
-          if (Object.prototype.toString.call(processedFile) === '[object File]') {
-            this.post(processedFile);
-          } else {
-            this.post(file);
-          }
-        }, () => {
-          this.reset();
-        });
-      } else if (before !== false) {
-        this.post(file);
-      } else {
-        this.reset();
-      }
-    },
-    post(file) {
-      let formData = new FormData();
-      formData.append(this.name, file);
-
-      ajax(this.action, {
-        headers: this.headers,
-        withCredentials: this.withCredentials,
-        file: file,
-        filename: this.name,
-        onProgress: e => {
-          this.onProgress(e, file);
-        },
-        onSuccess: res => {
-          this.onSuccess(res, file);
-        },
-        onError: err => {
-          this.onError(err, file);
-        }
-      });
-    },
-    onDrop(e) {
-      const files = e.dataTransfer.files;
-      this.uploadFiles(files);
-    }
-  },
-
-  ready() {
-  }
-};
-</script>

+ 48 - 0
packages/upload/src/cover.vue

@@ -0,0 +1,48 @@
+<template>
+  <div class="el-dragger__cover" @click.stop v-if="image">
+    <transition name="fade-in">
+      <el-progress
+        class="el-dragger__cover__progress"
+        v-if="image.status === 'loading'"
+        size="large"
+        :percentage="image.percentage"
+        :type="image.status === 'finished' ? 'green' : 'blue'">
+      </el-progress>
+    </transition>
+    <div v-if="image.status === 'finished'" @mouseenter="mouseover = true" @mouseleave="mouseover = false">
+      <img :src="image.url">
+      <transition name="fade-in">
+        <div v-show="mouseover" class="el-dragger__cover__interact">
+          <div class="el-draggeer__cover__btns">
+            <span class="btn" @click="$parent.$refs.input.click()"><i class="el-icon-upload"></i><span>继续上传</span></span>
+            <span class="btn" @click="onPreview(image)"><i class="el-icon-view"></i><span>查看图片</span></span>
+            <span class="btn" @click="onRemove(image)"><i class="el-icon-delete2"></i><span>删除</span></span>
+          </div>
+        </div>
+      </transition>
+      <transition name="md-fade-top">
+        <h4 v-show="mouseover" class="el-dragger__cover__title">{{image.name}}</h4>
+      </transition>
+    </div>
+  </div>
+</template>
+<script>
+  export default {
+    props: {
+      image: {},
+      onPreview: {
+        type: Function,
+        default: function() {}
+      },
+      onRemove: {
+        type: Function,
+        default: function() {}
+      }
+    },
+    data() {
+      return {
+        mouseover: false
+      };
+    }
+  };
+</script>

+ 175 - 104
packages/upload/src/iframe-upload.vue

@@ -1,138 +1,209 @@
-<template>
-  <span class="el-upload__inner" :style="{ position: 'relative', zIndex: 0 }">
-    <iframe v-el:iframe @load="onLoad" v-bind:style="iframeStyle"></iframe>
-    <slot></slot>
-  </span>
-</template>
-
 <script>
-import ajax from './ajax';
-import ElProgress from 'packages/progress/index.js';
+import Cover from './cover';
 
 export default {
   components: {
-    ElProgress
+    Cover
+  },
+  props: {
+    type: String,
+    data: {},
+    action: {
+      type: String,
+      required: true
+    },
+    name: {
+      type: String,
+      default: 'file'
+    },
+    withCredentials: Boolean,
+    multiple: Boolean,
+    accept: String,
+    onStart: Function,
+    onProgress: Function,
+    onSuccess: Function,
+    onError: Function,
+    beforeUpload: Function,
+    onPreview: {
+      type: Function,
+      default: function() {}
+    },
+    onRemove: {
+      type: Function,
+      default: function() {}
+    }
   },
 
   data() {
     return {
-      uploading: false,
-      percentage: 0,
-      uploadedFiles: [],
-      filename: '',
-      success: false,
-      iframeStyle: {
-        position: 'absolute',
-        top: 0,
-        opacity: 0,
-        filter: 'alpha(opacity=0)',
-        left: 0,
-        zIndex: 9999
-      }
+      dragOver: false,
+      mouseover: false,
+      domain: '',
+      file: null,
+      disabled: false
     };
   },
 
+  computed: {
+    lastestFile() {
+      var uploadedFiles = this.$parent.uploadedFiles;
+      return uploadedFiles[uploadedFiles.length - 1];
+    },
+    showCover() {
+      var file = this.lastestFile;
+      return this.thumbnailMode && file && file.status !== 'fail';
+    },
+    thumbnailMode() {
+      return this.$parent.thumbnailMode;
+    }
+  },
+
   methods: {
+    resetIframe() {
+      const iframeNode = this.getIframeNode();
+      let win = iframeNode.contentWindow;
+      let doc = win.document;
+
+      doc.open('text/html', 'replace');
+      doc.write(this.getIframeHTML(this.domain));
+      doc.close();
+    },
+    getIframeHTML(domain) {
+      let domainScript = '';
+      if (domain) {
+        domainScript = `<script>document.domain="${domain}";<` + '/script>';
+      }
+      return `
+      <!DOCTYPE html>
+      <html>
+      <head>
+      <meta http-equiv="X-UA-Compatible" content="IE=edge" />
+      ${domainScript}
+      </head>
+      <body>
+      </body>
+      </html>
+      `;
+    },
+    isImage(str) {
+      return str.indexOf('image') !== -1;
+    },
+    handleClick() {
+      if (!this.disabled) {
+        this.$refs.input.click();
+      }
+    },
     handleChange(ev) {
       const files = ev.target.files;
+      this.file = files;
 
-      if (this.uploading || !files) {
-        return;
-      }
+      this.onStart(files);
 
-      this.uploading = true;
-      this.uploadFiles(files);
-    },
-    uploadFiles(files) {
-      let postFiles = Array.prototype.slice.call(files);
-      if (!this.multiple) {
-        postFiles = postFiles.slice(0, 1);
+      const formNode = this.getFormNode();
+      const dataSpan = this.getFormDataNode();
+      let data = this.data;
+      if (typeof data === 'function') {
+        data = data(files);
       }
-      const len = postFiles.length;
-      if (len > 0) {
-        for (let i = 0; i < len; i++) {
-          const file = postFiles[i];
-          // file.uid = uid();
-          this.upload(file);
-        }
-        if (this.multiple) {
-          this.onStart(postFiles);
-        } else {
-          this.onStart(postFiles[0]);
+      const inputs = [];
+      for (const key in data) {
+        if (data.hasOwnProperty(key)) {
+          inputs.push(`<input name="${key}" value="${data[key]}"/>`);
         }
       }
+      dataSpan.innerHTML = inputs.join('');
+      formNode.submit();
+      dataSpan.innerHTML = '';
+      this.disabled = true;
     },
-    upload(file) {
-      if (!this.beforeUpload) {
-        return this.post(file);
-      }
-
-      const before = this.beforeUpload(file);
-      if (before && before.then) {
-        before.then((processedFile) => {
-          if (Object.prototype.toString.call(processedFile) === '[object File]') {
-            this.post(processedFile);
-          } else {
-            this.post(file);
-          }
-        }, () => {
-          this.reset();
-        });
-      } else if (before !== false) {
-        this.post(file);
-      } else {
-        this.reset();
+    onLoad() {
+      let response;
+      const eventFile = this.file;
+      if (!eventFile) { return; }
+      try {
+        const doc = this.getIframeDocument();
+        const script = doc.getElementsByTagName('script')[0];
+        if (script && script.parentNode === doc.body) {
+          doc.body.removeChild(script);
+        }
+        response = doc.body.innerHTML;
+        this.onSuccess(response, eventFile);
+      } catch (err) {
+        console.log(err);
+        console.warn(false, 'cross domain error for Upload');
+        this.onError(err, eventFile);
       }
+      this.resetIframe();
+      this.disabled = false;
     },
-    post(file) {
-      let formData = new FormData();
-      formData.append(this.name, file);
-
-      ajax(this.action, {
-        headers: this.headers,
-        withCredentials: this.withCredentials,
-        file: file,
-        filename: this.name,
-        onProgress: e => {
-          this.onProgress(e, file);
-        },
-        onSuccess: res => {
-          this.onSuccess(res, file);
-        },
-        onError: err => {
-          this.onError(err, file);
-        }
-      });
+    onDrop(e) {
+      e.preventDefault();
+      this.dragOver = false;
+      this.uploadFiles(e.dataTransfer.files);
     },
-    onLoad() {
-
+    handleDragover(e) {
+      e.preventDefault();
+      this.onDrop = true;
     },
-    onStart(files) {
-      this.filename = files.name;
+    handleDragleave(e) {
+      e.preventDefault();
+      this.onDrop = false;
     },
-    onProgress(ev, file) {
-      console.log(ev.percent);
-      this.percentage = ev.percent;
+    getIframeNode() {
+      return this.$refs.iframe;
     },
-    onSuccess(res, file) {
-      setTimeout(() => {
-        this.uploadedFiles.push(file);
-        this.reset();
-      }, 1000);
-      console.log(res);
+
+    getIframeDocument() {
+      return this.getIframeNode().contentDocument;
     },
-    onError(err, file) {
-      this.reset();
-      console.log(err);
+
+    getFormNode() {
+      return this.$refs.form;
     },
-    reset() {
-      this.uploading = false;
-      this.percent = 0;
-      this.filename = '';
+
+    getFormDataNode() {
+      return this.$refs.data;
     }
   },
 
-  ready() {
+  render(h) {
+    var cover = <cover image={this.lastestFile} onPreview={this.onPreview} onRemove={this.onRemove}></cover>;
+    var frameName = 'frame-' + Date.now();
+    return (
+      <div
+        class={{
+          'el-upload__inner': true,
+          'el-dragger': this.type === 'drag',
+          'is-dragOver': this.dragOver,
+          'is-showCover': this.showCover
+        }}
+        on-click={this.handleClick}
+        nativeOn-drop={this.onDrop}
+        nativeOn-dragover={this.handleDragover}
+        nativeOn-dragleave={this.handleDragleave}
+      >
+        <iframe
+          ref="iframe"
+          on-load={this.onLoad}
+          name={frameName}
+        >
+        </iframe>
+        <form ref="form" action={this.action} target={frameName} enctype="multipart/form-data" method="POST">
+          <input
+            class="el-upload__input"
+            type="file"
+            ref="input"
+            name="file"
+            on-change={this.handleChange}
+            multiple={this.multiple}
+            accept={this.accept}>
+          </input>
+          <input type="hidden" name="documentDomain" value={document.domain} />
+          <span ref="data"></span>
+         </form>
+        {!this.showCover ? this.$slots.default : cover}
+      </div>
+    );
   }
 };
 </script>

+ 18 - 17
packages/upload/src/index.vue

@@ -1,6 +1,7 @@
 <script>
 import UploadList from './upload-list';
 import Upload from './upload';
+import IframeUpload from './iframe-upload';
 import ElProgress from 'packages/progress/index.js';
 
 function noop() {
@@ -9,13 +10,11 @@ function noop() {
 export default {
   name: 'el-upload',
 
-  // extends: typeof FormData !== 'undefined' ? ajaxUpload : iframeUpload,
-  // extends: iframeUpload,
-
   components: {
     ElProgress,
     UploadList,
-    Upload
+    Upload,
+    IframeUpload
   },
 
   props: {
@@ -108,12 +107,14 @@ export default {
     onSuccess(res, file) {
       var _file = this.getFile(file);
 
-      _file.status = 'finished';
-      _file.response = res;
+      if (_file) {
+        _file.status = 'finished';
+        _file.response = res;
 
-      setTimeout(() => {
-        _file.showProgress = false;
-      }, 1000);
+        setTimeout(() => {
+          _file.showProgress = false;
+        }, 1000);
+      }
     },
     onError(err, file) {
       var _file = this.getFile(file);
@@ -147,6 +148,7 @@ export default {
 
   render(h) {
     var uploadList;
+
     if (this.showUploadList && !this.thumbnailMode) {
       uploadList = (
         <UploadList
@@ -159,6 +161,7 @@ export default {
 
     var props = {
       props: {
+        type: this.type,
         action: this.action,
         multiple: this.multiple,
         'before-upload': this.beforeUpload,
@@ -174,26 +177,24 @@ export default {
       }
     };
 
+    var uploadComponent = typeof FormData === 'undefined'
+      ? <upload {...props}>{this.$slots.default}</upload>
+      : <iframeUpload {...props}>{this.$slots.default}</iframeUpload>;
+
     if (this.type === 'select') {
       return (
         <div class="el-upload">
           {uploadList}
-          <upload {...props}>
-            {this.$slots.default}
-          </upload>
+          {uploadComponent}
           {this.$slots.tip}
         </div>
       );
     }
 
     if (this.type === 'drag') {
-      props.props.type = 'drag';
-
       return (
         <div class="el-upload">
-          <upload {...props}>
-            {this.$slots.default}
-          </upload>
+          {uploadComponent}
           {this.$slots.tip}
           {uploadList}
         </div>

+ 10 - 38
packages/upload/src/upload.vue

@@ -3,55 +3,27 @@
     :class="{
       'el-dragger': type === 'drag',
       'is-dragOver': dragOver,
-      'is-hover': mouseover,
-      'is-showImage': showThumbnail
+      'is-showCover': showCover
     }"
     @click="$refs.input.click()"
     @drop.prevent="onDrop"
     @dragover.prevent="dragOver = true"
     @dragleave.prevent="dragOver = false"
-    @mouseenter="mouseover = true"
-    @mouseleave="mouseover = false"
   >
-    <slot></slot>
-    <template v-if="type === 'drag' && !showThumbnail">
-      <i class="el-icon-upload"></i>
-      <div class="el-dragger__text">将文件拖到此处,或<em>点击上传</em></div>
-    </template>
-    <template v-if="thumbnailMode">
-      <transition name="fade-in">
-        <el-progress
-          class="el-dragger__progress"
-          v-if="lastestFile.showProgress"
-          size="large"
-          :percentage="lastestFile.percentage"
-          :type="lastestFile.status === 'finished' ? 'green' : 'blue'">
-        </el-progress>
-      </transition>
-      <div class="el-dragger__uploaded-image" v-if="lastestFile.status === 'finished'" @click.stop>
-        <img :src="lastestFile.url">
-        <transition name="fade-in">
-          <div v-show="mouseover" class="el-dragger__uploaded-image__interact">
-            <div class="el-draggeer__uploaded-image__btns">
-              <span class="btn" @click="$refs.input.click()"><i class="el-icon-upload"></i><span>继续上传</span></span>
-              <span class="btn" @click="onPreview(lastestFile)"><i class="el-icon-search"></i><span>查看图片</span></span>
-              <span class="btn" @click="onRemove(lastestFile)"><i class="el-icon-delete"></i><span>删除</span></span>
-            </div>
-          </div>
-        </transition>
-        <transition name="md-fade-top">
-          <h4 v-show="mouseover" class="el-dragger__uploaded-image__title">{{lastestFile.name}}</h4>
-        </transition>
-      </div>
-    </template>
+    <slot v-if="!showCover"></slot>
+    <cover :image="lastestFile" :on-preview="onPreview" :on-remove="onRemove" v-else></cover>
     <input class="el-upload__input" type="file" ref="input" @change="handleChange" :multiple="multiple" :accept="accept">
   </div>
 </template>
 
 <script>
 import ajax from './ajax';
+import Cover from './cover';
 
 export default {
+  components: {
+    Cover
+  },
   props: {
     type: String,
     action: {
@@ -90,11 +62,11 @@ export default {
   computed: {
     lastestFile() {
       var uploadedFiles = this.$parent.uploadedFiles;
-      return uploadedFiles.length > 0 ? uploadedFiles[uploadedFiles.length - 1] : {};
+      return uploadedFiles[uploadedFiles.length - 1];
     },
-    showThumbnail() {
+    showCover() {
       var file = this.lastestFile;
-      return this.thumbnailMode && file.status && file.status !== 'fail';
+      return this.thumbnailMode && file && file.status !== 'fail';
     },
     thumbnailMode() {
       return this.$parent.thumbnailMode;

Some files were not shown because too many files changed in this diff