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