提交 191e0901 编写于 作者: N nenyah

fix(*): add desc md

上级 f8d93c8c
## 投票小程序
#### 一、需求分析
![image-20200911162959907](%E6%8A%95%E7%A5%A8%E5%B0%8F%E7%A8%8B%E5%BA%8F%20.assets/image-20200911162959907.png)
问题:1. 怎么判断是否关注公众号?
#### 二、数据结构
选手:
```typescript
export interface Iitem {
id: number // 选手编号
name: string // 选手名称
img: string // 选手图片
company?: string // 选手公司
group: string // 选手分组
vote: number // 当前票数
rank: number // 当前排名
diffLast: number // 比上一名差多少票
desc: string // 选手简介
}
```
活动:
```typescript
export interface Iactivate {
id:number // 活动编号
name:string //活动名称
bannerImg:Array<string> //广告图片
startTime:string //开始时间
endTime:string //结束时间
rule:Irule // 活动规则
desc:string //活动描述
}
```
统计项:
```typescript
// 属性
export interface Iinfo {
name: string // 属性名称
value: number // 属性值
}
// 统计项
export interface Istats {
info:Array<Iinfo> // 属性
}
```
投票规则:
```typescript
export interface Irule {
day:number // 一天可以投票最大次数
item:number //一次可以投几人
}
```
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册