bayi 2 anos atrás
pai
commit
15747c95ef

+ 3 - 0
components/activityList/index.less

@@ -10,6 +10,7 @@
     box-sizing: border-box;
     background-color: white;
     border-radius: 30rpx;
+    box-shadow: rgba(99, 99, 99, 0.1) 0px 2px 8px 0px;
 
     .header {
       display: flex;
@@ -139,6 +140,7 @@
     box-sizing: border-box;
     border-radius: 30rpx;
     overflow: hidden;
+    box-shadow: rgba(99, 99, 99, 0.1) 0px 2px 8px 0px;
 
     .header {
       display: flex;
@@ -273,6 +275,7 @@
     box-sizing: border-box;
     background-color: white;
     border-radius: 30rpx;
+    box-shadow: rgba(99, 99, 99, 0.1) 0px 2px 8px 0px;
 
     .cover {
       width: 100%;

+ 1 - 1
components/activityList/index.wxml

@@ -88,7 +88,7 @@
             </view>
           </view>
           <view class="right">
-            <image src="{{item.type=='1'?'/static/yx.png':item.type=='3'?'/static/play.png':'/static/win.png'}}"
+            <image src="{{item.type=='2'?'/static/yx.png':item.type=='3'?'/static/play.png':'/static/win.png'}}"
               class="playIcon" />
             <view class="num">{{item.userList[index].count}}</view>
           </view>

+ 3 - 0
components/activityList/index.wxss

@@ -10,6 +10,7 @@
   box-sizing: border-box;
   background-color: white;
   border-radius: 30rpx;
+  box-shadow: rgba(99, 99, 99, 0.1) 0px 2px 8px 0px;
 }
 .activityList .ranking-class-1 .header {
   display: flex;
@@ -116,6 +117,7 @@
   box-sizing: border-box;
   border-radius: 30rpx;
   overflow: hidden;
+  box-shadow: rgba(99, 99, 99, 0.1) 0px 2px 8px 0px;
 }
 .activityList .ranking-class-2 .header {
   display: flex;
@@ -219,6 +221,7 @@
   box-sizing: border-box;
   background-color: white;
   border-radius: 30rpx;
+  box-shadow: rgba(99, 99, 99, 0.1) 0px 2px 8px 0px;
 }
 .activityList .activityBox .cover {
   width: 100%;

+ 3 - 3
components/videoPreview/index.less

@@ -167,9 +167,9 @@
 
       .titleBox {
         position: relative;
-        margin-left: 80rpx;
+        margin-left: 50rpx;
         margin-right: 30rpx;
-        width: 320rpx;
+        width: 380rpx;
         font-size: 36rpx;
         line-height: 54rpx;
         color: white;
@@ -257,7 +257,7 @@
 
       .icon-name {
         margin-left: 8rpx;
-        font-size: 28rpx;
+        font-size: 26rpx;
       }
     }
   }

+ 3 - 3
components/videoPreview/index.wxss

@@ -144,9 +144,9 @@
 }
 .work .workContent .audioBox .titleBox {
   position: relative;
-  margin-left: 80rpx;
+  margin-left: 50rpx;
   margin-right: 30rpx;
-  width: 320rpx;
+  width: 380rpx;
   font-size: 36rpx;
   line-height: 54rpx;
   color: white;
@@ -221,7 +221,7 @@
 }
 .work .workFooter .mangeL-box .icon-name {
   margin-left: 8rpx;
-  font-size: 28rpx;
+  font-size: 26rpx;
 }
 .work .toReading {
   width: 166rpx;

+ 2 - 2
custom-tab-bar/index.less

@@ -9,7 +9,7 @@
     box-sizing: border-box;
     padding: 14rpx 0rpx;
     padding-bottom: env(safe-area-inset-bottom);
-
+    box-shadow: rgba(0, 0, 0, 0.35) 0px 30rpx 20rpx 20rpx;
     .tab-bar-item {
         flex: 1;
         text-align: center;
@@ -25,7 +25,7 @@
         }
 
         view {
-            font-size: 24rpx;
+            font-size: 28rpx;
             margin-top: 10rpx;
         }
     }

+ 2 - 1
custom-tab-bar/index.wxss

@@ -9,6 +9,7 @@
   box-sizing: border-box;
   padding: 14rpx 0rpx;
   padding-bottom: env(safe-area-inset-bottom);
+  box-shadow: rgba(0, 0, 0, 0.35) 0px 30rpx 20rpx 20rpx;
 }
 .tab-bar .tab-bar-item {
   flex: 1;
@@ -24,6 +25,6 @@
   height: 48rpx;
 }
 .tab-bar .tab-bar-item view {
-  font-size: 24rpx;
+  font-size: 28rpx;
   margin-top: 10rpx;
 }

+ 5 - 3
pages/childClassify/index.js

@@ -88,14 +88,16 @@ Page({
       grade: this.data.userInfo.grade
     })
     let list = res.map(item => {
+      console.log(item);
       return {
         readAmount: item.readAmount,
         ...item.userRead
       }
     })
-    this.setData({
-      list
-    })
+    /*  console.log(list);
+     this.setData({
+       list
+     }) */
   },
   goRead({
     currentTarget

+ 4 - 4
pages/editUser/index.wxml

@@ -15,9 +15,9 @@
       <image class='black' src='/static/black.png'></image>
     </view>
   </view>
-  <view class="editRow">
+  <view class="editRow" bindtap="selectGender">
     <view class="name">性别</view>
-    <view class="right" bindtap="selectGender">
+    <view class="right">
       <view class="name">
         {{userInfo.gender===0?'女':'男'}}
       </view>
@@ -34,9 +34,9 @@
       <image class='black' src='/static/black.png'></image>
     </view>
   </view>
-  <view class="editRow mt40">
+  <view class="editRow mt40" bindtap="selectProfession">
     <view class="name">身份</view>
-    <view class="right" bindtap="selectProfession">
+    <view class="right">
       <view class="name">
         {{userInfo.profession}}
       </view>

+ 1 - 1
pages/index/index.less

@@ -46,7 +46,7 @@
         .name {
           margin-top: 6rpx;
           font-weight: bold;
-          font-size: 24rpx;
+          font-size: 28rpx;
         }
       }
     }

+ 1 - 1
pages/index/index.wxss

@@ -41,7 +41,7 @@
 .recommend .scrollBox .firstClassify .firstBox .name {
   margin-top: 6rpx;
   font-weight: bold;
-  font-size: 24rpx;
+  font-size: 28rpx;
 }
 .recommend .selectType {
   padding: 30rpx 15rpx 30rpx 26rpx;

+ 1 - 2
pages/personal/index.js

@@ -46,7 +46,7 @@ Page({
   },
   // 关注
   async setFans() {
-    if (this.data.userInfo.user.uid == this.data.uid) {
+    if (wx.getStorageSync('uid') == this.data.uid) {
       return wx.showToast({
         title: '不可以关注自己哦~',
         icon: 'none'
@@ -56,7 +56,6 @@ Page({
     let res = await setFans({
       uid: this.data.userInfo.user.uid,
     }, 'put')
-    console.log(res);
     this.setData({
       ['userInfo.like']: newLike
     })

+ 1 - 1
pages/works/index.less

@@ -14,7 +14,7 @@
       border: 1rpx solid #9f9f9fa4;
       border-radius: 50rpx;
       color: #1A1A1A;
-      font-size: 24rpx;
+      font-size: 28rpx;
     }
 
     .currentType {

+ 1 - 1
pages/works/index.wxss

@@ -13,7 +13,7 @@
   border: 1rpx solid #9f9f9fa4;
   border-radius: 50rpx;
   color: #1A1A1A;
-  font-size: 24rpx;
+  font-size: 28rpx;
 }
 .worksBox .selectType .currentType {
   border: none;