dongyuan0658 6 years ago
parent
commit
eed826ad46
3 changed files with 9 additions and 2 deletions
  1. 1 1
      component/my/my.wxml
  2. 8 1
      component/my/my.wxss
  3. BIN
      static/image/_edit.png

+ 1 - 1
component/my/my.wxml

@@ -9,7 +9,7 @@
         </view>
         <view class='mine-edit'>
           <view class='edit-image'>
-            <image class='edit-img' src='../../static/image/edit.png'></image>
+            <image class='edit-img' src='../../static/image/_edit.png'></image>
           </view>
           <view class='edit-text'>修改个人资料</view>
         </view>

+ 8 - 1
component/my/my.wxss

@@ -45,6 +45,9 @@
 }
 
 .mine-edit{
+  position: absolute;
+  top: 110rpx;
+  right: 83rpx;
   width: 224rpx;
   height: 46rpx;
   border-radius: 22rpx;
@@ -56,6 +59,7 @@
 .edit-image{
   width: 24rpx;
   height: 36rpx;
+  margin: 0 10rpx 6rpx 20rpx;
 }
 
 .edit-img{
@@ -64,7 +68,10 @@
 }
 
 .edit-text{
-  
+  width: 144rpx;
+  height: 34rpx;
+  color: #FFFFFF;
+  font-size: 24rpx;
 }
 
 /* .containers{

BIN
static/image/_edit.png