得往父级标签传变量,子级才能接受得到 <body :style="{'--color':'red'}"> <p class="aiqi"></p> </body> <style> .aiqi{ color