add
yirongjin
2025-07-23 d518ecbcbc853e891c389c422d1470b028ed1dc6
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* eslint-disable */
var style = require('../wxs/style.wxs');
var addUnit = require('../wxs/add-unit.wxs');
 
function sizeStyle(data) {
  return style({
    width: addUnit(data.previewSize),
    height: addUnit(data.previewSize),
  });
}
 
module.exports = {
  sizeStyle: sizeStyle,
};