Procházet zdrojové kódy

关注粉丝列表

begmoon před 2 roky
rodič
revize
8cbf1cd2db
2 změnil soubory, kde provedl 8 přidání a 5 odebrání
  1. 1 1
      pages/follow/follow.wxml
  2. 7 4
      pages/follow/follow.wxss

+ 1 - 1
pages/follow/follow.wxml

@@ -1,5 +1,5 @@
 <scroll-view  scroll-y='{{true}}' bindscrolltolower='next'>
-  <navigator hover-class="none" class="follow" wx:for='{{list}}' url="../today/today?id={{item.match_id}}&record_id={{item.id}}&user_id={{item.user_id}}">
+  <navigator hover-class="none" class="follow" wx:for='{{list}}' url="../homepage/homepage?user_id={{item.id}}">
     <view class="per_top">
       <image src="{{item.avatar}}" ></image>
       <view class="name">{{item.username}}  <text>选手</text> 

+ 7 - 4
pages/follow/follow.wxss

@@ -9,7 +9,8 @@ page{
 .name{
   font-size: 32rpx;
   font-weight: 500;
-  margin-bottom: 20rpx;
+  margin-top: 8rpx;
+  margin-left: 110rpx;
 }
 .name>text{
   color: #AAAAAA;
@@ -61,17 +62,19 @@ page{
 }
 
 .per_top{
-  height: 138rpx;
+  height: 100rpx;
   position: relative;
   padding:24rpx;
-  background: #D94B24;
+  justify-content: space-between;
+  border-bottom: 1px solid #F5F5F5;
 }
 .per_top>image{
   width: 90rpx;
   height: 90rpx;
   position: absolute;
   left: 24rpx;
-  top: 24rpx;
+  top: 5rpx;
+  margin-bottom: 10rpx;
   border-radius: 100%;
 }