## 設置個人中心頁-頂部顏色
### 1、修改頁面配置文件
文件路徑:`pages/user/index.json`
~~~
{ "navigationBarTitleText": "個人中心", "navigationBarBackgroundColor":"#ffdd00", "navigationBarTextStyle": "black"}
~~~
定義`navigationBarBackgroundColor`項的顏色值
### 2\. 修改頁面樣式文件
文件路徑:`pages/user/index.wxss`
~~~
.user-header { display: flex; padding-top: 1px; width: 100%; height: 310rpx; align-content: center; background-color: #fd0; background-repeat: no-repeat; background-position: center right; background-size: auto 100%;}
~~~
定義`background-color`項的顏色值