mirror of
https://github.com/wu736139669/vczero.github.io.git
synced 2026-08-05 06:23:38 +00:00
101 lines
1.8 KiB
JavaScript
101 lines
1.8 KiB
JavaScript
define('common/data', function() {
|
|
var data = {};
|
|
//路线
|
|
data.router = [];
|
|
data.router.push([{
|
|
x: 121.352921,
|
|
y: 31.252139,
|
|
content: '上海',
|
|
startTime: '8:00'
|
|
}, {
|
|
x: 120.986375,
|
|
y: 31.335728,
|
|
content: '昆山'
|
|
}, {
|
|
x: 120.594682,
|
|
y: 31.34791,
|
|
content: '苏州'
|
|
}, {
|
|
x: 120.333252,
|
|
y: 31.632337,
|
|
content: '无锡'
|
|
}, {
|
|
x: 119.946671,
|
|
y: 31.853648,
|
|
content: '常州'
|
|
}, {
|
|
x: 119.53331,
|
|
y: 32.044169,
|
|
content: '丹阳'
|
|
}, {
|
|
x: 119.373322,
|
|
y: 32.198276,
|
|
content: '镇江'
|
|
}, {
|
|
x: 119.4104,
|
|
y: 32.393298,
|
|
content: '扬州'
|
|
}]);
|
|
|
|
data.router.push([{
|
|
x: 121.406822,
|
|
y: 31.28794,
|
|
content: '上海',
|
|
startTime: '9:00'
|
|
}, {
|
|
x: 120.651855,
|
|
y: 31.333698,
|
|
content: '苏州'
|
|
}, {
|
|
x: 120.344238,
|
|
y: 31.619474,
|
|
content: '无锡'
|
|
}, {
|
|
x: 119.932251,
|
|
y: 31.858897,
|
|
content: '常州'
|
|
}]);
|
|
|
|
data.router.push([{
|
|
x: 121.433945,
|
|
y: 31.16816,
|
|
content: '上海',
|
|
startTime: '6:00'
|
|
}, {
|
|
x: 120.772705,
|
|
y: 30.674534,
|
|
content: '嘉兴'
|
|
}, {
|
|
x: 120.260468,
|
|
y: 30.353916,
|
|
content: '杭州'
|
|
}, {
|
|
x: 119.687805,
|
|
y: 29.150962,
|
|
content: '金华'
|
|
}, {
|
|
x: 118.834991,
|
|
y: 28.984718,
|
|
content: '衢州'
|
|
}]);
|
|
|
|
//链接
|
|
data.urls = [
|
|
'http://m.ctrip.com/webapp/you/appshare/bargain/18484.html?from=http%3A%2F%2Fm.ctrip.com%2Fwebapp%2Fyou%2Fplace%2F12.html',
|
|
'http://m.ctrip.com/webapp/you/sight/zhenjiang13.html?from=http%3A%2F%2Fm.ctrip.com%2Fwebapp%2Fyou%2Fplace%2F13.html',
|
|
'http://m.ctrip.com/webapp/hotel/hoteldetail/485097.html?days=1&atime=20150801&contrl=2&num=1&biz=1',
|
|
'http://m.ctrip.com/webapp/hotel/hoteldetail/436337.html?days=1&atime=20150801&contrl=2&num=1&biz=1',
|
|
'http://m.douban.com/note/510096555/?refer=home',
|
|
];
|
|
|
|
//图片数据
|
|
data.pics = [
|
|
'img/city.jpg',
|
|
'img/2.jpg',
|
|
'img/3.jpeg',
|
|
'img/4.jpg',
|
|
'img/5.jpeg'
|
|
];
|
|
|
|
return data;
|
|
}); |