Browse Source

解决提出的bug

Limengbo 5 years ago
parent
commit
168cd4c27c

+ 8 - 8
compontents/chat/chat.wxss

@@ -120,8 +120,8 @@
     position: absolute;
     right: 30rpx;
     top: 50rpx;
-    height: 28rpx;
-    width: 28rpx;
+    height: 38rpx;
+    width: 42rpx;
 }
 
 .message {
@@ -147,18 +147,18 @@
 }
 
 .icon .zan {
-    width: 26rpx;
-    height: 23rpx;
+    width: 36rpx;
+    height: 33rpx;
 }
 
 .icon .weatch {
-    width: 30rpx;
-    height: 23rpx;
+    width: 40rpx;
+    height: 33rpx;
 }
 
 .icon .discuss {
-    width: 32rpx;
-    height: 29rpx;  
+    width: 42rpx;
+    height: 39rpx;  
 }
 
 .icon view text {

+ 46 - 16
compontents/ranking/ranking.wxss

@@ -16,29 +16,29 @@
 
 .my-rank {
     position: relative;
-    height: 266rpx;
+    height: 322rpx;
 }
 
 .my-rank .head-rank-0 {
     position: absolute;
-    left: 120rpx;
-    top: 0rpx;
-    width: 116rpx;
+    left: 70rpx;
+    top: 32rpx;
+    width: 152rpx;
     text-align: center;   
 }
 
 .my-rank .head-rank-1 {
     position: absolute;
-    left: 295rpx;
+    left: 262rpx;
     top: 0rpx;
-    width: 136rpx;
+    width: 176rpx;
     text-align: center;  
 }
 
 .my-rank .head-rank-2 {
     position: absolute;
     left: 485rpx;
-    top: 0rpx;
+    top: 52rpx;
     width: 116rpx;
     text-align: center;  
 }
@@ -48,16 +48,24 @@
     left: 0;
     top: 0;
     z-index: 9;
-    width: 136rpx;
-    height: 200rpx;
+    width: 176rpx;
+    height: 256rpx;
+}
+
+.my-rank .head-rank-0 .head {
+    position: absolute;
+    left: 0;
+    top: 0;
+    z-index: 9;
+    width: 152rpx;
+    height: 222rpx;
 }
 
-.my-rank .head-rank-0 .head,
 .my-rank .head-rank-2 .head {
     position: absolute;
     left: 0;
     top: 30rpx;
-    z-index: 9;
+    z-index: 9;    
     width: 116rpx;
     height: 172rpx;
 }
@@ -71,13 +79,21 @@
 .my-rank .head-rank-1 .big-head-img{
     position: absolute;
     left: 5rpx;
-    top: 55rpx;
+    top: 66rpx;
+    border-radius: 50%;
+    width: 172rpx;
+    height: 172rpx;
+}
+
+.my-rank .head-rank-0 .big-head-img {
+    position: absolute;
+    left: 2rpx;
+    top: 60rpx;
     border-radius: 50%;
-    width: 130rpx;
-    height: 130rpx;
+    width: 148rpx;
+    height: 148rpx;   
 }
 
-.my-rank .head-rank-0 .big-head-img,
 .my-rank .head-rank-2 .big-head-img {
     position: absolute;
     left: 2rpx;
@@ -87,7 +103,21 @@
     height: 112rpx;
 }
 
-.txt {
+.my-rank .head-rank-0 .txt {
+    display: flex;
+    flex-direction: column;
+    align-items: center;
+    margin-top: 222rpx;
+}
+
+.my-rank .head-rank-1 .txt {
+    display: flex;
+    flex-direction: column;
+    align-items: center;
+    margin-top: 254rpx;
+}
+
+.my-rank .head-rank-2 .txt {
     display: flex;
     flex-direction: column;
     align-items: center;

+ 3 - 1
compontents/set_grade/set_grade.wxml

@@ -1,11 +1,13 @@
 <!--compontents/share/share.wxml-->
 <view class="container" bindtap="hidePopup" hidden="{{flag}}">
     <view class="share">
-        <view class="title">年级</view>
         <view class="share-img"> 
             <view class="download" wx:for="{{gradeData}}" wx:key="{{index}}">
                 <text class="{{item === grade ? 'color' : ''}}" catchtap="grade" data-grade="{{index}}">{{item}}</text>
             </view>
         </view>
+        <view class="deselect" catchtap="hidePopup">
+            取消
+        </view>
     </view>
 </view>

+ 19 - 14
compontents/set_grade/set_grade.wxss

@@ -15,7 +15,7 @@
     bottom: 0;   
     width: 100%;
     height: 100%;
-    background: rgba(255,255,255,.8);
+    background: rgba(0,0,0,.5);
     filter: blur(15px);
     z-index: 99;
 }
@@ -25,30 +25,28 @@
     left: 15rpx;
     bottom: 0;
     width: calc(100% - 30rpx);
-    border-radius:25rpx;
-    padding:32rpx 24rpx;
     box-sizing:border-box;
-    background:#fff;
+    background: #C8C8C8;
     z-index: 100;
 }
 
-.share .title {
-    font-size: 32rpx;
-    font-weight: bolder;
-    color: #3F3F3F;
-    text-align: center;
-    padding-bottom: 20rpx;
-    border-bottom: 2rpx solid #C8C8C8;
-    
-}
+
 
 .share-img {
     display: flex;
     flex-direction: column;
-    align-items: center;
     justify-content: center;
 }
 
+.download {
+    width: 100%;
+    text-align: center;
+    background: #fff;
+    border-bottom: 2rpx solid #C8C8C8;
+    padding: 20rpx 0;
+    box-sizing: border-box;
+}
+
 .share-img text {
     font-size: 32rpx;
     color: #3F3F3F;
@@ -57,4 +55,11 @@
 
 .share-img .color {
     color: red;
+}
+
+.deselect {
+    background: #fff;
+    margin-top: 30rpx;
+    text-align: center;
+    padding: 20rpx 0;
 }

BIN
pages/image/bg_1.png


BIN
pages/image/bg_2.png


BIN
pages/image/bg_3.png


BIN
pages/image/share_up.png


+ 0 - 1
pages/index/index.js

@@ -203,7 +203,6 @@ Page({
         uid: res.data.data.uid
       }, {
         "type": type,
-        "category": columnId,
         "pageNo": pageNo,
         "pageSize": pageSize
       }).success(success)

+ 1 - 1
utils/const.js

@@ -6,7 +6,7 @@ module.exports = {
 	// apiUrl: 'https://weixin.ai160.com/',
 	// host: 'wss://weixin.ai160.com/wx/websocket'
 	// ----测试环境-----
-  //apiUrl: 'https://weixin.efunbox.cn/',
+   //apiUrl: 'https://weixin.efunbox.cn/',
    apiUrl: 'https://schedule.api.ai160.com/'
 
 }