<wxs module="parse">
module.exports = {
getLeft: function(left,right) {
var val = "auto "
if (left && !right) {
val =left + 'rpx'
}
return val
},
getRight:function(left,right){
var val = right + 'rpx'
if (left && !right) {
val = "auto "
}
return val
}
}
</wxs>
网友评论