将背景切片为head、body、foot三个png
/*背景图片*/
background: url(~@/assets/head.png) no-repeat center
top/100% 73px,
url(~@/assets/body.png) no-repeat center 73px/100%
calc(100% - 73px - 69px),
url(~@/assets/foot.png) no-repeat center bottom/100%
69px;
参考: