<template>
  <div class="auto-p">
   右侧留白10px
  </div>
</template>

<style lang='stylus' scoped>
$pr = 10px
.auto-p
  width 'calc(100% - %s)' % $pr
</style>