VUE: 當前頁面 引用自定義公用樣式 (:style="樣式名")

1. 在當前頁面,自行定義了幾個樣式,在不同地方引用。 2. 實現代碼。 樣式定義: data() { return { input: { fontSize: "21px", height: "0px", marginBottom: "0px" }, backgroundColor: { b
相關文章
相關標籤/搜索