数据魔方更新
parent
7f1d10f965
commit
f93aafbe64
|
|
@ -190,7 +190,6 @@
|
|||
const container_height = !isEmpty(new_form.container_height) ? new_form.container_height : sys_width;
|
||||
const density = !isEmpty(new_form.magic_cube_density) ? new_form.magic_cube_density : 4;
|
||||
const { margin_left, margin_right, padding_left, padding_right } = new_style.common_style;
|
||||
console.log(border_width(new_style.common_style));
|
||||
const width = sys_width - margin_left - margin_right - padding_left - padding_right - border_width(new_style.common_style) - this.propOuterContainerPadding;
|
||||
this.setData({
|
||||
form: new_form,
|
||||
|
|
@ -206,7 +205,6 @@
|
|||
div_width: sys_width,
|
||||
cubeCellWidth: sys_width / density,
|
||||
container_size: container_height * 2 + 'rpx',
|
||||
|
||||
});
|
||||
},
|
||||
get_data_magic_list(data, new_style) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue