Browse Source

修改icon位置,修改信息过长显示不全的问题

sophieChenyx 6 years ago
parent
commit
5a8c0d0615

+ 8 - 1
.idea/workspace.xml

@@ -1,7 +1,14 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <project version="4">
   <component name="ChangeListManager">
-    <list default="true" id="4f17d6f9-a5b0-4bb4-9071-d9334baf6515" name="Default" comment="" />
+    <list default="true" id="4f17d6f9-a5b0-4bb4-9071-d9334baf6515" name="Default" comment="">
+      <change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
+      <change beforePath="$PROJECT_DIR$/compontents/lesson_list/lessonList.js" beforeDir="false" afterPath="$PROJECT_DIR$/compontents/lesson_list/lessonList.js" afterDir="false" />
+      <change beforePath="$PROJECT_DIR$/compontents/preview/preview.js" beforeDir="false" afterPath="$PROJECT_DIR$/compontents/preview/preview.js" afterDir="false" />
+      <change beforePath="$PROJECT_DIR$/compontents/target/target.js" beforeDir="false" afterPath="$PROJECT_DIR$/compontents/target/target.js" afterDir="false" />
+      <change beforePath="$PROJECT_DIR$/pages/input_content/input_content.wxml" beforeDir="false" afterPath="$PROJECT_DIR$/pages/input_content/input_content.wxml" afterDir="false" />
+      <change beforePath="$PROJECT_DIR$/pages/input_content/input_content.wxss" beforeDir="false" afterPath="$PROJECT_DIR$/pages/input_content/input_content.wxss" afterDir="false" />
+    </list>
     <ignored path="$PROJECT_DIR$/.tmp/" />
     <ignored path="$PROJECT_DIR$/temp/" />
     <ignored path="$PROJECT_DIR$/tmp/" />

+ 1 - 1
compontents/chat/chat.wxml

@@ -15,7 +15,7 @@
                     </view>    
                     <view class="lesson-name">
                         <text>{{item.featureMap.wechatName}}</text>
-                        <text style="height: 100%">{{item.title}}</text>
+                        <text class="content-data" style="height: 100%">{{item.title}}</text>
                     </view>
                     <view wx:if="{{type == 1 && (item.currentReplyCount > 0)}}" class="message"></view>
                 </view>

+ 5 - 0
compontents/chat/chat.wxss

@@ -245,4 +245,9 @@
     top: 20rpx;
     height: 19rpx;
     width: 19rpx;    
+}
+
+.content-data{
+  display:block;
+  word-break:break-all;
 }

+ 3 - 3
compontents/lesson_list/lessonList.js

@@ -21,7 +21,7 @@ Component({
     flag: false,
     animationData: {},
     downUp: '展开',
-    src: '../../pages/image/toUp.png',
+    src: '../../pages/image/toDown.png',
   },
 
   /**
@@ -36,14 +36,14 @@ Component({
         this.setData({
           'flag': false,
           'downUp': '展开',
-          'src':'../../pages/image/toUp.png'
+          'src':'../../pages/image/toDown.png'
       })
       } else {
         this.util(flage, height + 'rpx');
         this.setData({
           'flag': true,
           'downUp': '收起',
-          'src': '../../pages/image/toDown.png'
+          'src': '../../pages/image/toUp.png'
         })
       }
     },

+ 3 - 3
compontents/preview/preview.js

@@ -21,7 +21,7 @@ Component({
     flag: false,
     animationData: {},
     downUp: '展开',
-    src: '../../pages/image/toUp.png'
+    src: '../../pages/image/toDown.png'
   },
 
   /**
@@ -37,14 +37,14 @@ Component({
         this.setData({
           'flag': false,
           'downUp': '展开',
-          'src': '../../pages/image/toUp.png'
+          'src': '../../pages/image/toDown.png'
         })
       } else {
         this.util(flage, height + 'rpx');
         this.setData({
           'flag': true,
           'downUp': '收起',
-          'src': '../../pages/image/toDown.png'
+          'src': '../../pages/image/toUp.png'
         })
       }
     },

+ 3 - 3
compontents/target/target.js

@@ -17,7 +17,7 @@ Component({
     flag: false,
     animationData: {},
     downUp: '展开',
-    src: '../../pages/image/toUp.png'
+    src: '../../pages/image/toDown.png'
   },
 
   /**
@@ -31,14 +31,14 @@ Component({
         this.setData({
           'flag': false,
           'downUp': '展开',
-          'src': '../../pages/image/toUp.png'
+          'src': '../../pages/image/toDown.png'
         })
       } else {
         this.util(flage, '200rpx');
         this.setData({
           'flag': true,
           'downUp': '收起',
-          'src': '../../pages/image/toDown.png'
+          'src': '../../pages/image/toUp.png'
         })
       }
     },

+ 1 - 1
pages/input_content/input_content.wxml

@@ -5,7 +5,7 @@
         <text bindtap="send">发送</text>
     </view>
     <view class="write">
-        <textarea placeholder="写点什么..." bindinput="bindKeyInput" auto-height />
+        <textarea class='shareArea' placeholder="写点什么..." bindinput="bindKeyInput"/>
         <view wx:if="{{type == 2}}">
             <block wx:for="{{tempFilePath}}" wx:key="{{index}}">
                 <image class="minImg" mode='aspectFill' src="{{item}}" bindtap="listenerButtonPreviewImage" data-index="{{index}}"/>

+ 7 - 5
pages/input_content/input_content.wxss

@@ -33,13 +33,15 @@
 }
 
 .write .add {
-    width: 126rpx;
-    height: 126rpx;
-    margin-top: 30rpx;
+    width: 180rpx;
+    height: 180rpx;
 }
 
 .minImg{
-  width: 33.3%;
-  height: 300rpx;
+  width: 180rpx;
+  height: 180rpx;
   margin: 10rpx;
 }
+.shareArea{
+  height:200rpx;
+}

+ 1 - 1
pages/particulars/particulars.wxml

@@ -10,7 +10,7 @@
                     </view>    
                     <view class="lesson-name">
                         <text>{{productionData.featureMap.wechatName}}</text>
-                        <text style="height: 100%">{{productionData.title}}</text>
+                        <text class='content-data'>{{productionData.title}}</text>
                     </view>
                 </view>
                 <view class="picture" wx:if="{{type == 2}}">

+ 5 - 0
pages/particulars/particulars.wxss

@@ -186,4 +186,9 @@
     bottom: 0;
     width: 100%;
     height: 140rpx;
+}
+
+.content-data{
+  display:block;
+  word-break:break-all;
 }