Rorschach 6 rokov pred
rodič
commit
8dd4d74dd6

+ 1 - 1
component/group/group.wxss

@@ -175,7 +175,7 @@ scroll-view {
     color: #393939;
     font-weight: 800;
     position: absolute;
-    top: 10rpx;
+    top: 13rpx;
     right: 30rpx;
 }
 

+ 2 - 2
component/hot/hot.wxss

@@ -224,10 +224,10 @@ swiper {
 
 .recommdSection .recommd-title {
     width: 100%;
-    height: 68rpx;
+    height: 74rpx;
     color: #393939;
     font-size: 30rpx;
-    line-height: 68rpx;
+    line-height: 89rpx;
     text-indent: 30rpx;
     font-weight: 800;
 }

+ 1 - 1
component/my/my.wxml

@@ -72,7 +72,7 @@
         </view>
         <view class="btn">
           <image src="../../static/image/message.png" bindtap="goToMessage" />
-          <view class="btn-title">消息通知</view>
+          <view class="btn-title">消息/客服</view>
         </view>
       </view>
       <view class="my-reading-section">

+ 6 - 3
component/my/my.wxss

@@ -309,9 +309,10 @@ image {
 
 .my-reading-title {
   width: 100%;
-  height: 68rpx;
+  height: 74rpx;
+  line-height: 89rpx;
   display: flex;
-  align-items: center;
+  /* align-items: center; */
   justify-content: space-between;
   padding: 0 0 0 30rpx;
   color: #393939;
@@ -334,15 +335,17 @@ image {
   float: right;
   width: 100rpx;
   height: 38rpx;
+  line-height: 92rpx;
   font-size: 28rpx;
   color: #444;
-  align-items: center;
+  /* align-items: center; */
 }
 
 .title-right image {
   width: 15rpx;
   height: 27rpx;
   margin-left: 10rpx;
+  margin-top: 33rpx;
 }
 
 .set-msg-temp {

+ 1 - 1
pages/index/index.wxss

@@ -98,7 +98,7 @@
   /* padding: 26rpx; */
   /* border-radius: 12rpx; */
   /* margin: 0 0 18rpx 16rpx; */
-  margin: 0 auto 10rpx;
+  margin: 0 auto 20rpx;
   /* box-shadow: 0 8rpx 6rpx 0 rgba(0, 0, 0, .28); */
 }
 

+ 8 - 1
pages/social/insideMessage/insideMessage.wxml

@@ -1,7 +1,14 @@
 <view class="message-view">
+    <button open-type="contact" plain="true" hover-class="none" style="border: none;">
+        <view class="contact-btn">
+            <image src="../../../static/image/contact_img.png"></image>
+        </view>
+    </button>
     <view class="message-box" wx:for="{{messageList}}" wx:key="{{index}}">
         <view class="message-time">{{item.gmtCreated}}</view>
-        <view class="message-text">{{item.type === 'MESSAGE' ? '[通知]' : item.type === 'OFFICIAL' ? '[官方消息]' : '[本周学习报告]'}}: {{item.content}}</view>
+        <view class="message-text">
+            {{item.type === 'MESSAGE' ? '[通知]' : item.type === 'OFFICIAL' ? '[官方消息]' : '[本周学习报告]'}}: {{item.content}}
+        </view>
     </view>
     <view wx:if="{{messageList.length === 0}}" class="message-box-placerholder">暂无更多消息</view>
 </view>

+ 31 - 6
pages/social/insideMessage/insideMessage.wxss

@@ -1,4 +1,4 @@
-.message-view{
+.message-view {
     width: 100%;
     min-height: 100%;
     background: #f0eff2;
@@ -6,11 +6,12 @@
     overflow: hidden;
 }
 
-.message-box{
+.message-box {
     width: 100%;
     margin-bottom: 19rpx;
 }
-.message-time{
+
+.message-time {
     color: #fff;
     font-size: 24rpx;
     background: #cccbce;
@@ -20,9 +21,10 @@
     margin: 0 auto;
     text-align: center;
     border-radius: 18rpx;
-    
+
 }
-.message-text{
+
+.message-text {
     color: #464646;
     font-weight: 800;
     font-size: 29rpx;
@@ -36,7 +38,7 @@
     box-sizing: border-box;
 }
 
-.message-box-placerholder{
+.message-box-placerholder {
     width: 100%;
     color: #979797;
     font-weight: 400;
@@ -44,4 +46,27 @@
     text-align: center;
     height: 100rp;
     line-height: 100rpx;
+}
+
+button {
+    padding: 0;
+    margin: 0;
+    line-height: 42rpx;
+    overflow: visible;
+    -webkit-appearance: none;
+    -webkit-tap-highlight-color: #fff;
+}
+
+.contact-btn {
+    width: 186rpx;
+    height: 164rpx;
+    position: fixed;
+    right: 44rpx;
+    bottom: 70rpx;
+
+}
+
+.contact-btn image {
+    width: 100%;
+    height: 100%;
 }

BIN
static/image/contact_img.png