|
[BUG]
ios11 UICalendar变形了,日期跑到星期上面了,请修复
[复制链接]
本帖最后由 哈哈哈哈 于 2017-9-29 11:54 编辑
- var UICalendar = api.require('UICalendar');
- UICalendar.open({
- rect: {
- x: 0,
- y: 0,
- w: api.frameWidth,
- h: 340
- },
- styles: {
- bg: 'rgba(0,0,0,0)',
- week: {
- weekdayColor: '#3b3b3b',
- weekendColor: '#a8d400',
- size: 12
- },
- date: {
- color: '#3b3b3b',
- selectedColor: '#fff',
- selectedBg: '#a8d500',
- size: 12
- },
- today: {
- color: 'rgb(230,46,37)',
- bg: ''
- },
- specialDate: {
- color: '#a8d500',
- bg: 'widget://image/a.png'
- }
- },
- specialDate: [{
- date: '2015-06-01'
- }],
- switchMode: 'vertical',
- fixedOn: api.frameName,
- fixed: false
- }, function(ret, err) {
- if (ret) {
- alert(JSON.stringify(ret));
- } else {
- alert(JSON.stringify(err));
- }
- });
复制代码
|
|