node写数据并实现数据跨域(不是用插件解决的)

本文展示了如何使用Node.js进行数据写入操作,并重点讲解了一种不依赖插件的手动解决跨域问题的方法。核心代码应当放置在数据处理逻辑之后,以确保正确处理跨域请求。
摘要由CSDN通过智能技术生成

首先贴上node写的数据代码

const express = require('express')
const bodyParser = require('body-parser') ///npm i body-parser自己去下载,用于post请求的
const app = express()
app.use(bodyParser.urlencoded({
	extended: false
}))
//parse application/json
app.use(bodyParser.json())

const broadcast = [{
		carouselImg: '../../assets/images/carousel1.jpg'
	},
	{
		carouselImg: '../../assets/images/carousel2.jpg'
	},
	{
		carouselImg: '../../assets/images/carousel3.jpg'
	},
	{
		carouselImg: '../../assets/images/carousel4.jpg'
	}
]
const person = ['haha', "hello", "world"]
/*登陆密码账号*/
const accountpassword = [{
		account: 18482101665,
		password: 123456
	},
	{
		account: 100651,
		password: 000000
	}
]
/*home页面得数据*/
const todos = [{
		code: 0,

		id: 1,
		name: '小敏',
		years: '22',
		img: "../../../static/images/a1.png"

	},
	{
		code: 0,

		id: 2,
		name: '小张',
		years: '22',
		img: "../../../static/images/a2.png"

	},
	{
		code: 0,

		id: 3,
		name: 'like',
		years: '22',
		img: "../../../static/images/a3.png"

	},
	{
		code: 0,

		id: 4,
		name: 'like',
		years: '22',
		img: "../../../static/images/a4.png"

	},
	{
		code: 0,

		id: 5,
		name: 'like',
		years: '22',
		img: "../../../static/images/a5.png"

	},
	{
		code: 0,

		id: 6,
		name: 'like',
		years: '22',
		img: "../../../static/images/a5.png"

	},
	{
		code: 0,

		id: 7,
		name: 'like',
		years: '22',
		img: "../../../static/images/a2.png"

	},
	{
		code: 0,

		id: 8,
		name: 'like',
		years: '22',
		img: "../../../static/images/a3.png"

	},
	{
		code: 0,

		id: 9,
		name: 'like',
		years: '22',
		img: "../../../static/images/a4.png"

	},
	{
		code: 0,

		id: 10,
		name: 'like',
		years: '22',
		img: "../../../static/images/a5.png"

	},
	{
		code: 0,

		id: 11,
		name: 'like',
		years: '22',
		img: "../../../static/images/a5.png"

	},
	{
		code: 0,

		id: 12,
		name: 'like',
		years: '22',
		img: "../../../static/images/a5.png"

	},
	{
		code: 0,

		id: 13,
		name: 'like',
		years: '22',
		img: "../../../static/images/a5.png"

	},
	{
		code: 0,

		id: 14,
		name: 'like',
		years: '22',
		img: "../../../static/images/a5.png"

	}
]
/*经纬度*/
const longitude = [

	{
		code: 0,
		latitude: '39.91667', //纬度
		longitude: '116.41667', //经度
		address: {
			geohash: '39.91667,116.41667',
			city: '北京市',
			latitude: '39.91667', //纬度
			longitude: '116.41667' //经度
		}
	},
	{
		code: 0,
		latitude: '34.50000',
		longitude: '121.43333',
		address: {
			geohash: '34.50000,121.43333',
			city: '上海市',
			latitude: '34.50000',
			longitude: '121.43333'
		}
	},
	{
		code: 0,
		latitude: '30.66667',
		longitude: '104.06667',
		address: {
			geohash: '30.66667,104.06667',
			city: '成都市武侯区天府大道中段500号',
			latitude: '30.66667',
			longitude: '104.06667'

		}
	}

]
/*享美食数据*/
const meitodos = [{

		code: 0,
		id: 1,
		name: '禄合門美蛙火锅(太古里店)',
		img: 'https://img.meituan.net/600.600/msmerchant/dc05cd41001fca3f78366fbc229f181b137776.jpg@220w_125h_1e_1c',
		address: '锦江区天仙桥北路1号',
		already: '已售52'

	},
	{

		code: 0,
		id: 2,
		name: '行大田牛排海鲜自助(凯德广场店)',
		img: 'http://p1.meituan.net/600.600/deal/3e143a4a233b44a8ca83e1f9d3d11826354717.jpg@220w_125h_1e_1c',
		address: '成华区万科路9号凯德广场3层',
		already: '已售90'

	},
	{

		code: 0,
		id: 3,
		name: '蓉记香辣蟹爬爬虾(西安中路店)',
		img: 'https://img.meituan.net/600.600/msmerchant/2ca4205c3f12b7d49cde0a2c146ebc7252939.jpg@220w_125h_1e_1c',
		address: '金牛区西安中路40号豪瑞大厦1楼(枣子巷口斜对面)',
		already: '已售88'

	},
	{

		code: 0,
		id: 4,
		name: '喜蜗院子火锅',
		img: 'https://img.meituan.net/600.600/msmerchant/5380ee292557897b4943524c8483eaaf203917.jpg@220w_125h_1e_1c',
		address: '锦江区菊园路112号(三圣花乡东篱菊园)',
		already: '已售135'

	},
	{

		code: 0,
		id: 5,
		name: '汉丽轩韩式自助烤肉(SM广场店)',
		img: 'http://p1.meituan.net/600.600/deal/023f3344e4025ac8225f5d412dcbc15930177.jpg@220w_125h_1e_1c',
		address: '成华区SM广场4楼南停车场出口(海乐迪KTV旁)',
		already: '已售248'

	},
	{

		code: 0,
		id: 6,
		name: '爱客得海鲜自助烤肉·涮涮锅(春熙路店)',
		img: 'https://img.meituan.net/600.600/msmerchant/9ed47269bd60cafa43d37fa1e06325ca578361.jpg@220w_125h_1e_1c',
		address: '锦江区春熙路北段35号(三益公商厦3楼,春熙路步行街北段)',
		already: '已售200'

	}

]
/*惠生活数据*/
const lifetodos = [{
		code: 0,
		id: 1,
		name: '金逸科技净化治理中心',
		img: 'http://p0.meituan.net/joymerchant/6177380994615175473-40377588-1530602350542.jpg@275w_157h_1e_1c',
		address: '保洁清洗|汇锦城/铁像寺武侯区吉庆四路'
	},
	{
		code: 0,
		id: 2,
		name: '蓝管家家政(大悦城店)',
		img: 'http://p1.meituan.net/mogu/97a3cdefc8b2f124a5a61731f57598ae57687.jpg@275w_157h_1e_1c',
		address: '保洁清洗|武侯区武侯区星悦路40号高碑瑞苑B区4栋一单元1015'
	},
	{
		code: 0,
		id: 3,
		name: '摄扉照相馆',
		img: 'http://p1.meituan.net/joymerchant/-6089421493983669068-2209565-1508562636308.png@275w_157h_1e_1c',
		address: '科华北路武侯区科华街3号川大花园南园13栋1单元9楼23号(近蓝色加勒比'
	},
	{
		code: 0,
		id: 4,
		name: '诗奈尔洗衣会所',
		img: 'http://p1.meituan.net/dpdeal/33e9dbec4fdbf8a7ba5a280f753cda5a115452.jpg@275w_157h_1e_1c',
		address: '伊藤/世豪广场武侯区盛邦街653号'
	},
	{
		code: 0,
		id: 5,
		name: '四川法也律师事务所',
		img: 'http://p0.meituan.net/joymerchant/2138677941616203968-26419767-1496197303995.jpg@275w_157h_1e_1c',
		address: '武侯区地铁1号线世纪城站天府大道中段东方希望天祥广场530-1号1201'
	},
	{
		code: 0,
		id: 6,
		name: '小赵开锁金点原子换锁',
		img: 'http://p0.meituan.net/joymerchant/-821338670965251186-25028667-1535707493993.jpg@275w_157h_1e_1c',
		address: '金牛区解放路一段69号'
	}

]
/*爱玩乐数据*/
const playtodos = [{
		code: 0,
		id: 1,
		name: '道赫蕴纳米汗蒸',
		img: 'http://p0.meituan.net/mogu/36ef72a0d50961540626af1fa7eb9717273376.jpg@275w_157h_1e_1c',
		address: '都江堰柏条河北路下段133号'
	},
	{
		code: 0,
		id: 2,
		name: '何日君温泉酒店(净居寺店)',
		img: 'http://p0.meituan.net/joymerchant/-5490559115617468882-4620660-1533023715264.jpg@275w_157h_1e_1c',
		address: '锦江区净居寺南街88号'
	},
	{
		code: 0,
		id: 3,
		name: '镭战帝国真人CS野战(映月湖店)',
		img: 'http://p1.meituan.net/joymerchant/1356305792182614256.jpg@275w_157h_1e_1c',
		address: '双流区天府新区永兴镇干塘村8组300号东山大道三段'
	},
	{
		code: 0,
		id: 4,
		name: '紫兰会阳光KTV',
		img: 'http://p0.meituan.net/joymerchant/162537508066034023-34583873-1536739637049.jpg@275w_157h_1e_1c',
		address: '武侯区航空路10号附2号好百年广场内'
	},
	{
		code: 0,
		id: 5,
		name: 'oAo惟一私人影咖',
		img: 'http://p0.meituan.net/merchantpic/fadfd6ea8a571d8eec8863e0c46822442125675.jpg@275w_157h_1e_1c',
		address: '锦江区华兴街39号商业场新座1411'
	},
	{
		code: 0,
		id: 6,
		name: '漫时光电竞网咖',
		img: 'http://p0.meituan.net/dpdeal/6db28aa09f86c97e861a009a3430e7471525862.jpg@275w_157h_1e_1c',
		address: '彭州天彭镇金华西路一段225号2楼'
	}

]
/*享美食详情数据*/
const meishidetail = [{
		id: 1,
		money: '¥40/人',
		time: "21:00打烊",
		popularity: '当前人气92',
		name: '禄合門美蛙火锅(太古里店)',
		img: 'https://img.meituan.net/600.600/msmerchant/dc05cd41001fca3f78366fbc229f181b137776.jpg@220w_125h_1e_1c',
		address: '锦江区天仙桥北路1号',
		start: 5,
		kong: true
	},
	{
		id: 2,
		money: '¥35/人',
		time: "23:00打烊",
		popularity: '当前人气76',
		name: '行大田牛排海鲜自助(凯德广场店)',
		img: 'http://p1.meituan.net/600.600/deal/3e143a4a233b44a8ca83e1f9d3d11826354717.jpg@220w_125h_1e_1c',
		address: '成华区万科路9号凯德广场3层',
		start: 3,
		kong: true
	},
	{
		id: 3,
		money: '¥68/人',
		time: "23:00打烊",
		popularity: '当前人气84',
		name: '蓉记香辣蟹爬爬虾(西安中路店)',
		img: 'https://img.meituan.net/600.600/msmerchant/2ca4205c3f12b7d49cde0a2c146ebc7252939.jpg@220w_125h_1e_1c',
		address: '金牛区西安中路40号豪瑞大厦1楼(枣子巷口斜对面)',
		start: 4,
		kong: true
	},
	{
		id: 4,
		money: '¥32/人',
		time: "22:00打烊",
		popularity: '当前人气60',
		name: '喜蜗院子火锅',
		img: 'https://img.meituan.net/600.600/msmerchant/5380ee292557897b4943524c8483eaaf203917.jpg@220w_125h_1e_1c',
		address: '锦江区菊园路112号(三圣花乡东篱菊园)',
		start: 3,
		kong: true
	},
	{
		id: 5,
		money: '¥61/人',
		time: "23:00打烊",
		popularity: '当前人气24',
		name: '汉丽轩韩式自助烤肉(SM广场店)',
		img: 'http://p1.meituan.net/600.600/deal/023f3344e4025ac8225f5d412dcbc15930177.jpg@220w_125h_1e_1c',
		address: '成华区SM广场4楼南停车场出口(海乐迪KTV旁)',
		start: 2,
		kong: true
	},
	{
		id: 6,
		money: '¥200/人',
		time: "02:00打烊",
		popularity: '当前人气99',
		name: '爱客得海鲜自助烤肉·涮涮锅(春熙路店)',
		img: 'https://img.meituan.net/600.600/msmerchant/9ed47269bd60cafa43d37fa1e06325ca578361.jpg@220w_125h_1e_1c',
		address: '锦江区春熙路北段35号(三益公商厦3楼,春熙路步行街北段)',
		start: 5,
		kong: true
	}
]
/*惠生活详情数据*/
const lifedetail = [{
		id: 1,
		money: '¥40/人',
		time: "21:00打烊",
		popularity: '当前人气92',
		name: '金逸科技净化治理中心',
		img: 'http://p0.meituan.net/joymerchant/6177380994615175473-40377588-1530602350542.jpg@275w_157h_1e_1c',
		address: '保洁清洗|汇锦城/铁像寺武侯区吉庆四路',
		start: 5,
		kong: true
	},
	{
		id: 2,
		money: '¥35/人',
		time: "23:00打烊",
		popularity: '当前人气76',
		name: '蓝管家家政(大悦城店)',
		img: 'http://p1.meituan.net/mogu/97a3cdefc8b2f124a5a61731f57598ae57687.jpg@275w_157h_1e_1c',
		address: '保洁清洗|武侯区武侯区星悦路40号高碑瑞苑B区4栋一单元1015',
		start: 3,
		kong: true
	},
	{
		id: 3,
		money: '¥68/人',
		time: "23:00打烊",
		popularity: '当前人气84',
		name: '摄扉照相馆',
		img: 'http://p1.meituan.net/joymerchant/-6089421493983669068-2209565-1508562636308.png@275w_157h_1e_1c',
		address: '科华北路武侯区科华街3号川大花园南园13栋1单元9楼23号(近蓝色加勒比',
		start: 4,
		kong: true
	},
	{
		id: 4,
		money: '¥32/人',
		time: "22:00打烊",
		popularity: '当前人气60',
		name: '诗奈尔洗衣会所',
		img: 'http://p1.meituan.net/dpdeal/33e9dbec4fdbf8a7ba5a280f753cda5a115452.jpg@275w_157h_1e_1c',
		address: '伊藤/世豪广场武侯区盛邦街653号',
		start: 3,
		kong: true
	},
	{
		id: 5,
		money: '¥61/人',
		time: "23:00打烊",
		popularity: '当前人气24',
		name: '四川法也律师事务所',
		img: 'http://p0.meituan.net/joymerchant/2138677941616203968-26419767-1496197303995.jpg@275w_157h_1e_1c',
		address: '武侯区地铁1号线世纪城站天府大道中段东方希望天祥广场530-1号1201',
		start: 2,
		kong: true
	},
	{
		id: 6,
		money: '¥200/人',
		time: "02:00打烊",
		popularity: '当前人气99',
		name: '小赵开锁金点原子换锁',
		img: 'http://p0.meituan.net/joymerchant/-821338670965251186-25028667-1535707493993.jpg@275w_157h_1e_1c',
		address: '金牛区解放路一段69号',
		start: 5,
		kong: true
	}
]
/*爱玩乐详情数据*/
const playdetail = [{

		id: 1,
		money: '¥100/人',
		time: "23:00打烊",
		popularity: '当前人气99',
		name: '道赫蕴纳米汗蒸',
		img: 'http://p0.meituan.net/mogu/36ef72a0d50961540626af1fa7eb9717273376.jpg@275w_157h_1e_1c',
		address: '都江堰柏条河北路下段133号',
		start: 5,
		kong: true
	},
	{

		id: 2,
		money: '¥250/人',
		time: "24:00打烊",
		popularity: '当前人气79',
		name: '何日君温泉酒店(净居寺店)',
		img: 'http://p0.meituan.net/joymerchant/-5490559115617468882-4620660-1533023715264.jpg@275w_157h_1e_1c',
		address: '锦江区净居寺南街88号',
		start: 4,
		kong: true
	},
	{

		id: 3,
		money: '¥65/人',
		time: "21:00打烊",
		popularity: '当前人气79',
		name: '镭战帝国真人CS野战(映月湖店)',
		img: 'http://p1.meituan.net/joymerchant/1356305792182614256.jpg@275w_157h_1e_1c',
		address: '双流区天府新区永兴镇干塘村8组300号东山大道三段',
		start: 5,
		kong: true
	},
	{

		id: 4,
		money: '¥40/人',
		time: "03:00打烊",
		popularity: '当前人气89',
		name: '紫兰会阳光KTV',
		img: 'http://p0.meituan.net/joymerchant/162537508066034023-34583873-1536739637049.jpg@275w_157h_1e_1c',
		address: '武侯区航空路10号附2号好百年广场内',
		start: 3,
		kong: true
	},
	{

		id: 5,
		money: '¥50/人',
		time: "02:00打烊",
		popularity: '当前人气99',
		name: 'oAo惟一私人影咖',
		img: 'http://p0.meituan.net/merchantpic/fadfd6ea8a571d8eec8863e0c46822442125675.jpg@275w_157h_1e_1c',
		address: '锦江区华兴街39号商业场新座1411',
		start: 4,
		kong: true
	},
	{

		id: 6,
		money: '¥10/人',
		time: "05:00打烊",
		popularity: '当前人气69',
		name: '漫时光电竞网咖',
		img: 'http://p0.meituan.net/dpdeal/6db28aa09f86c97e861a009a3430e7471525862.jpg@275w_157h_1e_1c',
		address: '彭州天彭镇金华西路一段225号2楼',
		start: 5,
		kong: true
	}

]
/*首页猜你喜欢数据*/
const guess = [{
		id: 1,
		money: '¥47',
		name: '叮叮猫儿玩吧',
		img: '../../../static/images/home/banner.png',
		address: '金牛区人民北路金牛万达SOHOD座37楼',
		already: '已售256'
	},
	{
		id: 2,
		money: '¥47',
		name: '一只眼私人影吧',
		img: 'https://p0.meituan.net/joymerchant/4106600840449007885-3299674-1514971606423.jpg@275w_157h_1e_1c',
		address: '金牛区二环路北一段10号沙湾凯德广场沙湾万科加州湾v派商务中心1505(肯德基旁)',
		already: '已售360'
	},
	{
		id: 3,
		money: '¥35',
		name: '青柠影咖',
		img: 'https://p0.meituan.net/shopmainpic/b211ec74808b1424b7cf20ccfec6581e291887.jpg@275w_157h_1e_1c',
		address: '简阳简城镇政府街22号淘宝城3楼',
		already: '已售52'
	},
	{
		id: 4,
		money: '¥82',
		name: '长藤鬼校(春熙店)',
		img: 'https://p0.meituan.net/shopmainpic/1dbf3f5243cd6d06e1be2c4329148ba51067233.jpg@275w_157h_1e_1c',
		address: '锦江区春熙路第一城5楼(IFS对面)',
		already: '已售3205'
	},
	{
		id: 5,
		money: '¥30',
		name: '绿洲OASIS桌游狼人杀轰趴馆',
		img: 'https://p1.meituan.net/merchantpic/7122f5997fc650e524e9b481bfb026a852368.jpg@275w_157h_1e_1c',
		address: '武侯区人民南路四段嘉云台甲幢17楼A座',
		already: '已售260'
	},
	{
		id: 6,
		money: '¥129',
		name: '天外妙音录音棚',
		img: 'https://p1.meituan.net/joymerchant/4807349124650628846-32744839-1514511118874.jpg@275w_157h_1e_1c',
		address: '武侯区吾悦广场1栋B座9楼0921(武侯立交旁)',
		already: '已售152'
	},
	{
		id: 7,
		money: '¥95',
		name: '海滨动漫城',
		img: 'https://p1.meituan.net/joymerchant/4576871375198052088.jpg@275w_157h_1e_1c',
		address: '双流区蛟龙大道21号海滨城购物中心F4',
		already: '已售2562'
	}
]
/*首页详情内部数据*/
const guessdetail = [{
		id: 1,
		money: '¥47',
		time: "23:00打烊",
		popularity: '当前人气99',
		name: '叮叮猫儿玩吧',
		img: 'https://p0.meituan.net/merchantpic/5241e628438d625c5619e4ec054c23545137010.jpg@275w_157h_1e_1c',
		address: '金牛区人民北路金牛万达SOHOD座37楼',
		start: 5,
		kong: true
	},
	{

		id: 2,
		money: '¥47',
		name: '一只眼私人影吧',
		img: 'https://p0.meituan.net/joymerchant/4106600840449007885-3299674-1514971606423.jpg@275w_157h_1e_1c',
		address: '金牛区二环路北一段10号沙湾凯德广场沙湾万科加州湾v派商务中心1505(肯德基旁)',
		time: "24:00打烊",
		popularity: '当前人气79',
		start: 4,
		kong: true
	},
	{

		id: 3,
		money: '¥35',
		name: '青柠影咖',
		img: 'https://p0.meituan.net/shopmainpic/b211ec74808b1424b7cf20ccfec6581e291887.jpg@275w_157h_1e_1c',
		address: '简阳简城镇政府街22号淘宝城3楼',
		time: "21:00打烊",
		popularity: '当前人气79',
		start: 5,
		kong: true
	},
	{

		id: 4,
		money: '¥82',
		name: '长藤鬼校(春熙店)',
		img: 'https://p0.meituan.net/shopmainpic/1dbf3f5243cd6d06e1be2c4329148ba51067233.jpg@275w_157h_1e_1c',
		address: '锦江区春熙路第一城5楼(IFS对面)',
		time: "03:00打烊",
		popularity: '当前人气89',
		start: 3,
		kong: true
	},
	{

		id: 5,
		money: '¥30',
		name: '绿洲OASIS桌游狼人杀轰趴馆',
		img: 'https://p1.meituan.net/merchantpic/7122f5997fc650e524e9b481bfb026a852368.jpg@275w_157h_1e_1c',
		address: '武侯区人民南路四段嘉云台甲幢17楼A座',
		time: "02:00打烊",
		popularity: '当前人气99',
		start: 4,
		kong: true
	},
	{

		id: 6,
		money: '¥129',
		name: '天外妙音录音棚',
		img: 'https://p1.meituan.net/joymerchant/4807349124650628846-32744839-1514511118874.jpg@275w_157h_1e_1c',
		address: '武侯区吾悦广场1栋B座9楼0921(武侯立交旁)',
		time: "05:00打烊",
		popularity: '当前人气69',
		start: 5,
		kong: true
	},
	{

		id: 7,
		money: '¥95',
		name: '海滨动漫城',
		img: 'https://p1.meituan.net/joymerchant/4576871375198052088.jpg@275w_157h_1e_1c',
		address: '双流区蛟龙大道21号海滨城购物中心F4',
		time: "05:00打烊",
		popularity: '当前人气69',
		start: 5,
		kong: true
	}

]
const movie = [{

		id: 1,
		cname: "无双",
		img: "http://p1.meituan.net/movie/740bd990e4af29d537ce324ec2cd08d6300433.jpg@464w_644h_1e_1c",
		ename: "Project Gutenberg",
		score: '8.9分',
		type: "动作,惊悚,犯罪",
		time: "2018-09-30大陆上映",
		adress: "中国大陆,中国香港 / 130分钟",
		want: false,
		start: 0,
		bgimg: "../../../static/images/movie/wushaung.png",
		today: [{
				id: 1,
				name: '保利国际影城(复城店)',
				money: '¥25.9起',
				adress: "武侯区高新区益州大道722号复城国际广场4楼",
				benefit: true,
				benefitconent: "等4部影片特惠",
				card: true,
				distance: "1.5km",
				xiaochi: true,
				ka: true,
				max: false,
				ju: true,
				dubi: false,
				tui: false,
				fourk: true,
				time1: '16:00',
				time2: '|17:00'
			},
			{
				id: 2,
				name: 'CGV影城(高新IMAX店)',
				money: '¥29.9起',
				adress: "武侯区剑南大道中段998号世豪广场5F",
				benefit: true,
				benefitconent: "等3部影片特惠",
				card: false,
				distance: "2.6km",
				xiaochi: true,
				ka: true,
				max: true,
				ju: false,
				dubi: true,
				tui: false,
				fourk: false,
				time1: '13:30',
				time2: '|14:30'
			},
			{
				id: 3,
				name: '星美国际影商城(环球IMAX店)',
				money: '¥26.9起',
				adress: "武侯区天府大道北段1700号新世纪环球购物中心四层",
				benefit: true,
				benefitconent: "等2部影片特惠",
				card: true,
				distance: "3.8km",
				xiaochi: true,
				ka: true,
				max: false,
				ju: false,
				dubi: false,
				tui: false,
				fourk: false,
				time1: '18:30',
				time2: '|19:30',
				time3: '|20:30'
			},
			{
				id: 4,
				name: '太平洋影城(武侯店)',
				money: '¥28.9起',
				adress: "武侯区武侯祠大街266号华达商城4F(近一环路南四段)",
				benefit: false,
				benefitconent: "等4部影片特惠",
				card: false,
				distance: "3.0km",
				xiaochi: true,
				ka: false,
				max: true,
				ju: true,
				dubi: false,
				tui: false,
				fourk: true,
				time1: "10:30",
				time2: "|11:30",
				time3: "|12:30"
			},
			{
				id: 5,
				name: '和平电影院(草市街店)',
				money: '¥29.9起',
				adress: "青羊区草市街71号和平大厦三楼",
				benefit: false,
				benefitconent: "等4部影片特惠",
				card: true,
				distance: "4.3km",
				xiaochi: true,
				ka: false,
				max: true,
				ju: true,
				dubi: false,
				tui: false,
				fourk: false,
				time1: "19:00",
				time2: "|20:00",
				time3: "|21:00"
			},
			{
				id: 6,
				name: '横店影城(武侯店)',
				money: '¥30.9起',
				adress: "武侯区永康路17号正成广场3楼",
				benefit: true,
				benefitconent: "等4部影片特惠",
				card: true,
				distance: "0.9km",
				xiaochi: true,
				ka: false,
				max: true,
				ju: true,
				dubi: true,
				tui: false,
				fourk: false,
				time1: "19:00",
				time2: "|20:00",
				time3: "|21:00"
			}

		],
		tomorrow: [{
				id: 1,
				name: '星美国际影商城(环球IMAX店)',
				money: '¥26.9起',
				adress: "武侯区天府大道北段1700号新世纪环球购物中心四层",
				benefit: true,
				benefitconent: "等2部影片特惠",
				card: true,
				distance: "3.8km",
				xiaochi: true,
				ka: false,
				max: true,
				ju: true,
				dubi: true,
				tui: false,
				fourk: false,
				time1: "19:00",
				time2: "|20:00",
				time3: "|21:00"
			},
			{
				id: 2,
				name: 'CGV影城(高新IMAX店)',
				money: '¥29.9起',
				adress: "武侯区剑南大道中段998号世豪广场5F",
				benefit: true,
				benefitconent: "等3部影片特惠",
				card: false,
				distance: "2.6km",
				xiaochi: true,
				ka: false,
				max: true,
				ju: true,
				dubi: false,
				tui: false,
				fourk: false,
				time1: "19:00",
				time2: "|20:00",
				time3: "|21:00"
			},
			{
				id: 3,
				name: '保利国际影城(复城店)',
				money: '¥25.9起',
				adress: "武侯区高新区益州大道722号复城国际广场4楼",
				benefit: true,
				benefitconent: "等4部影片特惠",
				card: true,
				distance: "1.5km",
				xiaochi: true,
				ka: false,
				max: true,
				ju: true,
				dubi: false,
				tui: false,
				fourk: true,
				time1: "10:30",
				time2: "|11:30",
				time3: "|12:30"
			},
			{
				id: 4,
				name: '横店影城(武侯店)',
				money: '¥30.9起',
				adress: "武侯区永康路17号正成广场3楼",
				benefit: true,
				benefitconent: "等4部影片特惠",
				card: true,
				distance: "0.9km",
				xiaochi: true,
				ka: false,
				max: true,
				ju: true,
				dubi: false,
				tui: false,
				fourk: true,
				time1: "10:30",
				time2: "|11:30",
				time3: "|12:30"

			},
			{
				id: 5,
				name: '和平电影院(草市街店)',
				money: '¥29.9起',
				adress: "青羊区草市街71号和平大厦三楼",
				benefit: false,
				benefitconent: "等4部影片特惠",
				card: true,
				distance: "4.3km",
				xiaochi: true,
				ka: true,
				max: false,
				ju: false,
				dubi: false,
				tui: false,
				fourk: false,
				time1: '18:30',
				time2: '|19:30',
				time3: '|20:30'
			},
			{
				id: 6,
				name: '太平洋影城(武侯店)',
				money: '¥28.9起',
				adress: "武侯区武侯祠大街266号华达商城4F(近一环路南四段)",
				benefit: false,
				benefitconent: "等4部影片特惠",
				card: false,
				distance: "3.0km",
				xiaochi: true,
				ka: true,
				max: false,
				ju: true,
				dubi: false,
				tui: false,
				fourk: true,
				time1: '16:00',
				time2: '|17:00'
			}

		],
		aftertomorrow: [{
				id: 1,
				name: '星美国际影商城(环球IMAX店)',
				money: '¥26.9起',
				adress: "武侯区天府大道北段1700号新世纪环球购物中心四层",
				benefit: true,
				benefitconent: "等2部影片特惠",
				card: true,
				distance: "3.8km",
				xiaochi: true,
				ka: true,
				max: false,
				ju: false,
				dubi: false,
				tui: false,
				fourk: false,
				time1: '18:30',
				time2: '|19:30',
				time3: '|20:30'
			},
			{
				id: 2,
				name: 'CGV影城(高新IMAX店)',
				money: '¥29.9起',
				adress: "武侯区剑南大道中段998号世豪广场5F",
				benefit: true,
				benefitconent: "等3部影片特惠",
				card: false,
				distance: "2.6km",
				xiaochi: true,
				ka: false,
				max: true,
				ju: true,
				dubi: false,
				tui: false,
				fourk: true,
				time1: "10:30",
				time2: "|11:30",
				time3: "|12:30"
			},
			{
				id: 3,
				name: '保利国际影城(复城店)',
				money: '¥25.9起',
				adress: "武侯区高新区益州大道722号复城国际广场4楼",
				benefit: true,
				benefitconent: "等4部影片特惠",
				card: true,
				distance: "1.5km",
				xiaochi: true,
				ka: false,
				max: true,
				ju: true,
				dubi: false,
				tui: false,
				fourk: true,
				time1: "10:30",
				time2: "|11:30",
				time3: "|12:30"
			},
			{
				id: 4,
				name: '横店影城(武侯店)',
				money: '¥30.9起',
				adress: "武侯区永康路17号正成广场3楼",
				benefit: true,
				benefitconent: "等4部影片特惠",
				card: true,
				distance: "0.9km",
				xiaochi: true,
				ka: false,
				max: true,
				ju: true,
				dubi: false,
				tui: false,
				fourk: false,
				time1: "19:00",
				time2: "|20:00",
				time3: "|21:00"

			}
		],
		after2tomorrow: [{
				id: 1,
				name: '保利国际影城(复城店)',
				money: '¥25.9起',
				adress: "武侯区高新区益州大道722号复城国际广场4楼",
				benefit: true,
				benefitconent: "等4部影片特惠",
				card: true,
				distance: "1.5km",
				xiaochi: false,
				ka: true,
				max: false,
				ju: true,
				dubi: true,
				tui: false,
				fourk: true,
				time1: '20:00',
				time2: '|21:00'

			},
			{
				id: 2,
				name: '太平洋影城(武侯店)',
				money: '¥28.9起',
				adress: "武侯区武侯祠大街266号华达商城4F(近一环路南四段)",
				benefit: false,
				benefitconent: "等4部影片特惠",
				card: false,
				distance: "3.0km",
				xiaochi: false,
				ka: true,
				max: false,
				ju: false,
				dubi: true,
				tui: true,
				fourk: true,
				time1: '21:00',
				time2: '|22:00'
			},
			{
				id: 3,
				name: '星美国际影商城(环球IMAX店)',
				money: '¥26.9起',
				adress: "武侯区天府大道北段1700号新世纪环球购物中心四层",
				benefit: true,
				benefitconent: "等2部影片特惠",
				card: true,
				distance: "3.8km",
				xiaochi: false,
				ka: true,
				max: false,
				ju: true,
				dubi: false,
				tui: true,
				fourk: true,
				time1: '13:30',
				time2: '|14:30'
			},

			{
				id: 4,
				name: '横店影城(武侯店)',
				money: '¥30.9起',
				adress: "武侯区永康路17号正成广场3楼",
				benefit: true,
				benefitconent: "等4部影片特惠",
				card: true,
				distance: "0.9km",
				xiaochi: true,
				ka: false,
				max: false,
				ju: true,
				dubi: true,
				tui: false,
				fourk: true,
				time1: '14:30',
				time2: '|15:30'
			},
			{
				id: 5,
				name: '和平电影院(草市街店)',
				money: '¥29.9起',
				adress: "青羊区草市街71号和平大厦三楼",
				benefit: false,
				benefitconent: "等4部影片特惠",
				card: true,
				distance: "4.3km",
				xiaochi: true,
				ka: true,
				max: false,
				ju: true,
				dubi: true,
				tui: false,
				fourk: true,
				time1: '13:00',
				time2: '|14:00'
			}
		],
		anther: [{
				id: 1,
				name: '和平电影院(草市街店)',
				money: '¥29.9起',
				adress: "青羊区草市街71号和平大厦三楼",
				benefit: false,
				benefitconent: "等4部影片特惠",
				card: true,
				distance: "4.3km",
				xiaochi: true,
				ka: true,
				max: false,
				ju: false,
				dubi: true,
				tui: false,
				fourk: true,
				time1: '23:00',
				time2: '|24:00'

			},
			{
				id: 2,
				name: '太平洋影城(武侯店)',
				money: '¥28.9起',
				adress: "武侯区武侯祠大街266号华达商城4F(近一环路南四段)",
				benefit: false,
				benefitconent: "等4部影片特惠",
				card: false,
				distance: "3.0km",
				xiaochi: true,
				ka: true,
				max: false,
				ju: true,
				dubi: false,
				tui: false,
				fourk: true,
				time1: '13:00',
				time2: '|14:00'
			},
			{
				id: 3,
				name: '星美国际影商城(环球IMAX店)',
				money: '¥26.9起',
				adress: "武侯区天府大道北段1700号新世纪环球购物中心四层",
				benefit: true,
				benefitconent: "等2部影片特惠",
				card: true,
				distance: "3.8km",
				xiaochi: true,
				ka: true,
				max: false,
				ju: false,
				dubi: false,
				tui: false,
				fourk: true,
				time1: '20:00',
				time2: '|21:00'
			},

			{
				id: 4,
				name: '横店影城(武侯店)',
				money: '¥30.9起',
				adress: "武侯区永康路17号正成广场3楼",
				benefit: true,
				benefitconent: "等4部影片特惠",
				card: true,
				distance: "0.9km",
				xiaochi: false,
				ka: true,
				max: false,
				ju: true,
				dubi: true,
				tui: false,
				fourk: true,
				time1: '14:00',
				time2: '|15:00'
			},
			{
				id: 5,
				name: '保利国际影城(复城店)',
				money: '¥25.9起',
				adress: "武侯区高新区益州大道722号复城国际广场4楼",
				benefit: true,
				benefitconent: "等4部影片特惠",
				card: true,
				distance: "1.5km",
				xiaochi: true,
				ka: true,
				max: false,
				ju: false,
				dubi: true,
				tui: false,
				fourk: true,
				time1: '13:30',
				time2: '|14:30'
			}
		]

	},
	{
		id: 2,
		cname: "铁血战士",
		img: "http://p0.meituan.net/movie/ef18d29a6f6f5841f4a2dfdbcfd60a4b826961.jpg@464w_644h_1e_1c",
		ename: "The Predator",
		score: '8.9分',
		type: "动作,冒险,科幻",
		time: "2018-10-26 08:00大陆上映",
		adress: "美国 / 106分钟",
		want: false,
		start: 0,
		bgimg: "../../../static/images/movie/tiexue.png",
		today: [{
				id: 1,
				name: '星美国际影商城(环球IMAX店)',
				money: '¥26.9起',
				adress: "武侯区天府大道北段1700号新世纪环球购物中心四层",
				benefit: true,
				benefitconent: "等2部影片特惠",
				card: true,
				distance: "3.8km",
				xiaochi: true,
				ka: false,
				max: true,
				ju: true,
				dubi: true,
				tui: false,
				fourk: false,
				time1: "19:00",
				time2: "|20:00",
				time3: "|21:00"
			},
			{
				id: 2,
				name: 'CGV影城(高新IMAX店)',
				money: '¥29.9起',
				adress: "武侯区剑南大道中段998号世豪广场5F",
				benefit: true,
				benefitconent: "等3部影片特惠",
				card: false,
				distance: "2.6km",
				xiaochi: true,
				ka: false,
				max: true,
				ju: true,
				dubi: false,
				tui: false,
				fourk: false,
				time1: "19:00",
				time2: "|20:00",
				time3: "|21:00"
			},
			{
				id: 3,
				name: '保利国际影城(复城店)',
				money: '¥25.9起',
				adress: "武侯区高新区益州大道722号复城国际广场4楼",
				benefit: true,
				benefitconent: "等4部影片特惠",
				card: true,
				distance: "1.5km",
				xiaochi: true,
				ka: false,
				max: true,
				ju: true,
				dubi: false,
				tui: false,
				fourk: true,
				time1: "10:30",
				time2: "|11:30",
				time3: "|12:30"
			},
			{
				id: 4,
				name: '横店影城(武侯店)',
				money: '¥30.9起',
				adress: "武侯区永康路17号正成广场3楼",
				benefit: true,
				benefitconent: "等4部影片特惠",
				card: true,
				distance: "0.9km",
				xiaochi: true,
				ka: false,
				max: true,
				ju: true,
				dubi: false,
				tui: false,
				fourk: true,
				time1: "10:30",
				time2: "|11:30",
				time3: "|12:30"

			},
			{
				id: 5,
				name: '和平电影院(草市街店)',
				money: '¥29.9起',
				adress: "青羊区草市街71号和平大厦三楼",
				benefit: false,
				benefitconent: "等4部影片特惠",
				card: true,
				distance: "4.3km",
				xiaochi: true,
				ka: true,
				max: false,
				ju: false,
				dubi: false,
				tui: false,
				fourk: false,
				time1: '18:30',
				time2: '|19:30',
				time3: '|20:30'
			},
			{
				id: 6,
				name: '太平洋影城(武侯店)',
				money: '¥28.9起',
				adress: "武侯区武侯祠大街266号华达商城4F(近一环路南四段)",
				benefit: false,
				benefitconent: "等4部影片特惠&
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值