|
@@ -108,7 +108,10 @@ export default class Albums_play extends Component {
|
108
|
108
|
})
|
109
|
109
|
let params = {
|
110
|
110
|
user_id: this.state.userId,
|
111
|
|
- text: inputHtml
|
|
111
|
+ text: inputHtml,
|
|
112
|
+ }
|
|
113
|
+ if (process.env.TARO_ENV == 'tt') {
|
|
114
|
+ params['app_id'] = 'tt6e291894f116667e01'
|
112
|
115
|
}
|
113
|
116
|
api.getAsk(params).then(res => {
|
114
|
117
|
if (res.code == 200) {
|
|
@@ -196,7 +199,7 @@ export default class Albums_play extends Component {
|
196
|
199
|
item.name == 'mine' &&
|
197
|
200
|
<View className='mine-speak-info'>
|
198
|
201
|
<View className='mine-text'>
|
199
|
|
- <Text selectable className='mine-text-content'>
|
|
202
|
+ <Text selectable userSelect className='mine-text-content'>
|
200
|
203
|
{item.userTexts}
|
201
|
204
|
</Text>
|
202
|
205
|
<View className='mine-text-tip'></View>
|
|
@@ -209,7 +212,7 @@ export default class Albums_play extends Component {
|
209
|
212
|
<View className='other-speak-info'>
|
210
|
213
|
<Image className='other-image' src={item.userImage}></Image>
|
211
|
214
|
<View className='other-text'>
|
212
|
|
- <Text selectable className='other-text-content'>
|
|
215
|
+ <Text selectable userSelect className='other-text-content'>
|
213
|
216
|
{item.userTexts}
|
214
|
217
|
</Text>
|
215
|
218
|
<View className='other-text-tip'></View>
|
|
@@ -243,7 +246,7 @@ export default class Albums_play extends Component {
|
243
|
246
|
onBlur={e => (this.blur(e))}
|
244
|
247
|
onKeyboardHeightChange={e => (this.onKeyboardHeightChange(e))}
|
245
|
248
|
onLineChange={e => (this.onLineChange(e))}
|
246
|
|
- placeholder="请输入您要咨询的问题" />
|
|
249
|
+ placeholder="请输入" />
|
247
|
250
|
|
248
|
251
|
<Button onClick={e => (this.submitTo(e))}
|
249
|
252
|
disabled={this.state.sendDisabled}
|