瀏覽代碼

调整样式

bayi 1 年之前
父節點
當前提交
f533ed6a39

+ 2 - 1
components/authority/index.less

@@ -3,9 +3,10 @@
     padding: 0rpx 25rpx;
 
     .module {
-        margin-bottom: 30rpx;
+        margin-bottom: 45rpx;
 
         .topic {
+            margin-bottom: 8rpx;
             font-size: 36rpx;
             color: #000;
         }

+ 2 - 1
components/authority/index.wxss

@@ -3,9 +3,10 @@
   padding: 0rpx 25rpx;
 }
 .authority .module {
-  margin-bottom: 30rpx;
+  margin-bottom: 45rpx;
 }
 .authority .module .topic {
+  margin-bottom: 8rpx;
   font-size: 36rpx;
   color: #000;
 }

+ 2 - 2
pages/index/index.less

@@ -41,8 +41,8 @@
 
             .search-icon {
                 margin-left: 22rpx;
-                width: 30rpx;
-                height: 27rpx;
+                width: 28rpx;
+                height: 28rpx;
             }
         }
     }

+ 1 - 1
pages/index/index.wxml

@@ -12,7 +12,7 @@
             <image bindtap="showTips" class="icon" src="/static/future.png" />
         </view>
         <view class="searchBox" bindtap="jumpSearch">
-            内容搜索
+            查找课文
             <image src="/static/search-3.png" class="search-icon" />
         </view>
     </view>

+ 2 - 2
pages/index/index.wxss

@@ -39,8 +39,8 @@
 }
 .recommend .firstClassify .searchBox .search-icon {
   margin-left: 22rpx;
-  width: 30rpx;
-  height: 27rpx;
+  width: 28rpx;
+  height: 28rpx;
 }
 .recommend .desktopTips {
   position: fixed;

+ 3 - 4
pages/message/index.less

@@ -62,8 +62,8 @@
 
                 .search-icon {
                     margin-left: 22rpx;
-                    width: 30rpx;
-                    height: 27rpx;
+                    width: 28rpx;
+                    height: 28rpx;
                 }
             }
         }
@@ -92,7 +92,6 @@
                 box-sizing: border-box;
                 .body {
                     flex: 1;
-
                     .name {
                         max-width: 330rpx;
                         font-size: 30rpx;
@@ -127,7 +126,7 @@
 
         .user {
             .info {
-                margin-top: 4rpx;
+                margin-top: 8rpx;
                 width: 400rpx;
                 color: #969696;
                 font-size: 24rpx;

+ 3 - 3
pages/message/index.wxss

@@ -263,8 +263,8 @@
 }
 .messagePage .messageList .fixed .searchBox .search-icon {
   margin-left: 22rpx;
-  width: 30rpx;
-  height: 27rpx;
+  width: 28rpx;
+  height: 28rpx;
 }
 .messagePage .messageList .base {
   display: flex;
@@ -317,7 +317,7 @@
   background-color: #FF0000;
 }
 .messagePage .messageList .user .info {
-  margin-top: 4rpx;
+  margin-top: 8rpx;
   width: 400rpx;
   color: #969696;
   font-size: 24rpx;

+ 3 - 2
pages/personal/index.js

@@ -32,10 +32,11 @@ Page({
       type: options.type || 'user',
       uid: options.uid
     })
-  },
-  onShow() {
     this.getUserInfo()
   },
+ /*  onShow() {
+    this.getUserInfo()
+  }, */
   async getUserInfo() {
     let res = await getUserInfo({
       uid: this.data.uid

+ 4 - 4
pages/works/index.less

@@ -3,7 +3,7 @@
     padding-bottom: calc(140rpx + env(safe-area-inset-bottom)) !important;
 
     .itemize {
-        margin: 0 auto 43rpx;
+        margin: 0 auto 56rpx;
         width: 700rpx;
         height: 250rpx;
         background: #FFFFFF;
@@ -33,14 +33,14 @@
         margin: 26rpx 30rpx;
         display: flex;
         align-items: center;
+        justify-content: center;
         font-size: 36rpx;
         color: #000000;
-
-        .icon {
+    /*     .icon {
             width: 50rpx;
             height: 50rpx;
             margin-right: 12rpx;
-        }
+        } */
     }
 
     .worksList {

+ 1 - 1
pages/works/index.wxml

@@ -16,7 +16,7 @@
     </view>
     <!-- 优秀作品展播-->
     <view class="logo">
-        <image src="/static/works.png" class="icon" />优秀作品展播
+       <!--  <image src="/static/works.png" class="icon" /> -->优秀作品展播
     </view>
     <worksList id="worksList" worksList="{{list}}" videoType="public" tabBarPadding='true' autoPlay='{{true}}' />
 </view>

+ 7 - 6
pages/works/index.wxss

@@ -3,7 +3,7 @@
   padding-bottom: calc(140rpx + env(safe-area-inset-bottom)) !important;
 }
 .worksBox .itemize {
-  margin: 0 auto 43rpx;
+  margin: 0 auto 56rpx;
   width: 700rpx;
   height: 250rpx;
   background: #FFFFFF;
@@ -28,13 +28,14 @@
   margin: 26rpx 30rpx;
   display: flex;
   align-items: center;
+  justify-content: center;
   font-size: 36rpx;
   color: #000000;
-}
-.worksBox .logo .icon {
-  width: 50rpx;
-  height: 50rpx;
-  margin-right: 12rpx;
+  /*     .icon {
+            width: 50rpx;
+            height: 50rpx;
+            margin-right: 12rpx;
+        } */
 }
 .worksBox .worksList {
   margin: 0 auto;