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 --> <!-- pages/myInfo/myInfo.wxml -->
<view class="bg"></view> <view class="bg"></view>
<view class='box'> <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"> <view class="info-box">
<image class='avatar' src='../../images/avatar.png' /> <image class='avatar' src='../../images/avatar.png' />
<view class="info"> <view class="info">

17
weapp/pages/myInfo/myInfo.wxss

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

Loading…
Cancel
Save