Created
September 9, 2017 12:18
-
-
Save fengliu222/37155ff3f8e414424961994376f5726d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* 走势图彩种结构 | |
*/ | |
const lottery = { | |
fields: [ | |
{ | |
key: 'number', | |
name: '期号', | |
}, | |
{ | |
key: 'result', | |
name: '开奖号码', | |
}, | |
{ | |
key: '万位', | |
name: '开奖号码', | |
subColumns: [ | |
'0', | |
'1', | |
'2', | |
'...', | |
], | |
}, | |
], | |
}; | |
/** | |
* 走势图单条数据的结构 | |
* @type {[null]} | |
*/ | |
const res = [ | |
{ | |
Columns: [ | |
{ | |
key: 'number', | |
number: '20170909060', | |
}, | |
{ | |
key: 'result', | |
number: '20170909060', | |
}, | |
{ | |
key: 'xxx', | |
fields: [ | |
{ | |
number: '10', | |
active: false, | |
}, | |
{ | |
number: '09', | |
active: true, | |
}, | |
], | |
}, | |
], | |
}, | |
]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment