个人页、修改页顶部背景修改;修改页手机号码展示格式化
This commit is contained in:
@@ -1,7 +1,17 @@
|
||||
// 编辑资料页面样式
|
||||
.edit_profile_page {
|
||||
height: 100vh;
|
||||
background: radial-gradient(circle at 50% 0%, rgba(238, 255, 220, 1) 0%, rgba(255, 255, 255, 1) 37%);
|
||||
height: 100vh; // position: relative;
|
||||
background: radial-gradient(circle at 50% 0,
|
||||
/* 光晕圆心在顶部中间 */
|
||||
rgba(191, 255, 239, 0.9) 0px,
|
||||
/* 中间更深的浅蓝 */
|
||||
rgba(191, 255, 239, 0.5) 200px,
|
||||
/* 100px 处开始淡化 */
|
||||
#fff 300px,
|
||||
/* 到 200px 变成白色 */
|
||||
#fff 100%
|
||||
/* 200px 以下全白 */
|
||||
);
|
||||
position: relative;
|
||||
// overflow: hidden;
|
||||
box-sizing: border-box;
|
||||
@@ -28,7 +38,6 @@
|
||||
position: sticky;
|
||||
top: 0;
|
||||
z-index: 100;
|
||||
background-color: rgb(238, 255, 220);
|
||||
}
|
||||
|
||||
.detail-navigator {
|
||||
|
||||
@@ -591,7 +591,8 @@ const EditProfilePage: React.FC = () => {
|
||||
openType="getPhoneNumber"
|
||||
onGetPhoneNumber={onGetPhoneNumber}
|
||||
>
|
||||
{form_data.phone || "未绑定"}
|
||||
{form_data.phone ? form_data.phone.replace(/(\d{3})(\d{4})(\d{4})/, "$1 $2 $3")
|
||||
: "未绑定"}
|
||||
</Button>
|
||||
<Image
|
||||
className="arrow_icon"
|
||||
|
||||
@@ -20,9 +20,9 @@
|
||||
// position: relative;
|
||||
background: radial-gradient(circle at 50% 0,
|
||||
/* 光晕圆心在顶部中间 */
|
||||
rgba(173, 216, 230, 0.9) 0px,
|
||||
rgba(191, 255, 239, 0.9) 0px,
|
||||
/* 中间更深的浅蓝 */
|
||||
rgba(173, 216, 230, 0.5) 200px,
|
||||
rgba(191, 255, 239, 0.5) 200px,
|
||||
/* 100px 处开始淡化 */
|
||||
#fafafa 300px,
|
||||
/* 到 200px 变成白色 */
|
||||
|
||||
@@ -61,7 +61,6 @@
|
||||
.topSearchWrapper {
|
||||
position: sticky;
|
||||
top: -1px;
|
||||
background-color: #fff;
|
||||
padding: 5px 15px;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user