Procházet zdrojové kódy

处理ios无法复制的问题

黎海 před 2 roky
rodič
revize
5ce2d229f5
2 změnil soubory, kde provedl 4 přidání a 4 odebrání
  1. 2 2
      src/pages/chat/index.jsx
  2. 2 2
      src/pages/chat/index.less

+ 2 - 2
src/pages/chat/index.jsx

@@ -269,7 +269,7 @@ export default class Albums_play extends Component {
269
                   item.name == 'mine' &&
269
                   item.name == 'mine' &&
270
                   <View className='mine-speak-info'>
270
                   <View className='mine-speak-info'>
271
                     <View className='mine-text'>
271
                     <View className='mine-text'>
272
-                      <Text selectable className='mine-text-content'>
272
+                      <Text selectable userSelect className='mine-text-content'>
273
                         {item.userTexts}
273
                         {item.userTexts}
274
                       </Text>
274
                       </Text>
275
                       <View className='mine-text-tip'></View>
275
                       <View className='mine-text-tip'></View>
@@ -282,7 +282,7 @@ export default class Albums_play extends Component {
282
                   <View className='other-speak-info'>
282
                   <View className='other-speak-info'>
283
                     <Image className='other-image' src={item.userImage}></Image>
283
                     <Image className='other-image' src={item.userImage}></Image>
284
                     <View className='other-text'>
284
                     <View className='other-text'>
285
-                      <Text selectable className='other-text-content'>
285
+                      <Text selectable userSelect className='other-text-content'>
286
                         {item.userTexts}
286
                         {item.userTexts}
287
                       </Text>
287
                       </Text>
288
                       <View className='other-text-tip'></View>
288
                       <View className='other-text-tip'></View>

+ 2 - 2
src/pages/chat/index.less

@@ -115,7 +115,7 @@ page {
115
   display: flex;
115
   display: flex;
116
   padding:  20px;
116
   padding:  20px;
117
   .other-text{
117
   .other-text{
118
-    background-color: #9EE770;
118
+    background-color: #f8f8f8;
119
     border-radius: 10px;
119
     border-radius: 10px;
120
     padding: 20px;
120
     padding: 20px;
121
     max-width: 485px;
121
     max-width: 485px;
@@ -132,7 +132,7 @@ page {
132
       height: 0;
132
       height: 0;
133
       border-top: 20px solid transparent;
133
       border-top: 20px solid transparent;
134
       border-left: 20px solid transparent;
134
       border-left: 20px solid transparent;
135
-      border-right: 20px solid #9EE770;
135
+      border-right: 20px solid #f8f8f8;
136
       border-bottom: 20px solid transparent;
136
       border-bottom: 20px solid transparent;
137
     }
137
     }
138
   }
138
   }