# 網頁模板
## search.ejs
只顯示每個活動的大綱
```
result =
{
title
category
discountInfo
price
startDate
endtime
descriptionHTML
location
locationName
}
```
## info.ejs
```
result =
{
title
location
locationName
category
showUnit
descriptionFilter
discountinfo
price
onSales
imageUrl
masterUnit :[]
webSales
comment
sourceWebName
startDate
endDate
starttime : ["2020/09/2619:30:00","2020/09/26 19:30:00","2020/05/17 09:30:00"]
endtime : ["2020/09/26 21:30:00","2020/09/26 21:30:00","2020/09/26 21:30:00"]
}
```
## summary.ejs
```
result =
{
sum : 1000,
location:
{
taipei : 20,
shinchu : 10,
...
},
category : {
"音樂表演" : 2000,
"戲劇表演" : 123,
...
},
"OnSale_Y" : 500,
"OnSale_N" : 600,
"postponed": 1000,
"cancelled" : 2000,
}
```
## main.ejs
## random.ejs
(次月推薦)
```
url : /recommend.html
跟 info 一樣
result = {
...
}
```