placeholder颜色
Showing
2 changed files
with
21 additions
and
0 deletions
... | @@ -3,6 +3,12 @@ import VueApp from './App.vue' | ... | @@ -3,6 +3,12 @@ import VueApp from './App.vue' |
3 | import router from './router' | 3 | import router from './router' |
4 | import store from './store' | 4 | import store from './store' |
5 | 5 | ||
6 | import { | ||
7 | getToken, | ||
8 | setToken, | ||
9 | removeToken | ||
10 | } from '@/utils/auth' | ||
11 | |||
6 | import api from '@/api/api' | 12 | import api from '@/api/api' |
7 | import { | 13 | import { |
8 | httpGet, | 14 | httpGet, | ... | ... |
... | @@ -57,3 +57,18 @@ div { | ... | @@ -57,3 +57,18 @@ div { |
57 | border-radius: 10px; | 57 | border-radius: 10px; |
58 | padding: 28px 24px; | 58 | padding: 28px 24px; |
59 | } | 59 | } |
60 | |||
61 | // 去掉van-popup背景颜色 | ||
62 | .popup { | ||
63 | background-color: transparent; | ||
64 | } | ||
65 | |||
66 | /* 设置placeholder文本颜色为 #c0c4cc 同vantUI */ | ||
67 | /* Chrome、Safari等WebKit内核浏览器 */ | ||
68 | :-webkit-input-placeholder { | ||
69 | color: #c0c4cc; | ||
70 | } | ||
71 | |||
72 | ::placeholder { | ||
73 | color: #c0c4cc; | ||
74 | } | ||
... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
-
Please register or sign in to post a comment