Browse Source

细节优化

master
liujiangyong 2 years ago
parent
commit
c1b88589d3
  1. 2
      weapp/pages/myInfo/myInfo.wxml
  2. 17
      weapp/pages/myInfo/myInfo.wxss

2
weapp/pages/myInfo/myInfo.wxml

@ -1,7 +1,7 @@
<!-- pages/myInfo/myInfo.wxml -->
<view class="bg"></view>
<view class='box'>
<view class='header-item-container' style="background-image: url('/images/card_bg.png')">
<view class='header-item-container' style="background-image: url('images/card_bg.png')">
<view class="info-box">
<image class='avatar' src='../../images/avatar.png' />
<view class="info">

17
weapp/pages/myInfo/myInfo.wxss

@ -12,13 +12,14 @@ page {
}
.bg {
width: 100%;
height: 160px;
position: fixed;
display: flex;
justify-content: center;
background-image: linear-gradient(180deg, #1979ff 0%, #4E87FF 100%);
border-radius: 0 0 50% 50%;
position: absolute;
left: -25%;
width: 150%;
height: 145px;
background-color: #1979ff;
border-bottom-left-radius: 100%;
border-bottom-right-radius: 100%;
background-image: linear-gradient(0deg, #4E87FF, #1979ff 100%);
z-index: -1;
}
@ -151,7 +152,7 @@ page {
.foot-container {
position: absolute;
bottom: 50px;
width: 343px;
width: 90%;
height: 42px;
border: 1px solid #006BE3;
border-radius: 24px;

Loading…
Cancel
Save