黎海 2 vuotta sitten
vanhempi
commit
8c326580f5

+ 1 - 1
src/app.config.js

@@ -20,7 +20,7 @@ export default defineAppConfig({
20 20
   },
21 21
   tabBar: {
22 22
     color: "#000000",
23
-    selectedColor: "#FF5819",
23
+    selectedColor: "#1E1E1E",
24 24
     borderStyle: "white",
25 25
     backgroundColor: "#fff",
26 26
     list: [

+ 1 - 1
src/pages/chat/index.config.js

@@ -1,5 +1,5 @@
1 1
 export default definePageConfig({
2
-  navigationBarTitleText: '智能聊天室',
2
+  navigationBarTitleText: '',
3 3
   enableShareAppMessage: true,
4 4
   enableShareTimeline: true ,
5 5
 })

+ 7 - 1
src/pages/chat/index.jsx

@@ -1,11 +1,12 @@
1 1
 import { Component } from 'react'
2 2
 import { View, Text, Button, Image, ScrollView, Input, Textarea } from '@tarojs/components'
3
-import Taro, { requirePlugin } from '@tarojs/taro'
3
+import Taro, { requirePlugin,getCurrentInstance } from '@tarojs/taro'
4 4
 import * as api from '../../service/index'
5 5
 import './index.less'
6 6
 import tool from '../../common/tool'
7 7
 
8 8
 export default class Albums_play extends Component {
9
+  $instance = getCurrentInstance()
9 10
   plugin = process.env.TARO_ENV == 'weapp' ? requirePlugin("WechatSI") : '';
10 11
   manager = process.env.TARO_ENV == 'weapp' ? this.plugin.getRecordRecognitionManager() : '';
11 12
   options = {
@@ -35,6 +36,11 @@ export default class Albums_play extends Component {
35 36
   }
36 37
 
37 38
   componentDidShow () {
39
+    let routers = this.$instance.router.params
40
+    console.log(routers,'routers');
41
+     Taro.setNavigationBarTitle({
42
+        title: routers.title
43
+      })
38 44
     console.log('页面启动', this.state.userId);
39 45
     if (process.env.TARO_ENV == 'weapp') {
40 46
       this.initRecord()

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

@@ -84,7 +84,7 @@ page {
84 84
   padding:  20px;
85 85
   justify-content: flex-end;
86 86
   .mine-text{
87
-    background-color: #f8f8f8;
87
+    background-color: #9EE770;
88 88
     border-radius: 10px;
89 89
     padding: 20px;
90 90
     max-width: 485px;
@@ -100,7 +100,7 @@ page {
100 100
       width: 0;
101 101
       height: 0;
102 102
       border-top: 20px solid transparent;
103
-      border-left: 20px solid #f8f8f8;
103
+      border-left: 20px solid #9EE770;
104 104
       border-right: 20px solid transparent;
105 105
       border-bottom: 20px solid transparent;
106 106
     }

+ 56 - 9
src/pages/index/index.jsx

@@ -1,24 +1,71 @@
1 1
 import { Component } from 'react'
2 2
 import { View, Text, Button, Image, scrollView, Input } from '@tarojs/components'
3
+import Taro, {getCurrentInstance} from '@tarojs/taro'
4
+
3 5
 import './index.less'
4 6
 
5 7
 export default class Mine extends Component {
8
+  
9
+  state = {
10
+    classList: [
11
+      {
12
+        name: '美食家',
13
+        tips: '你想吃的美食我都会做哟',
14
+        image: 'https://we-spa.oss-cn-shenzhen.aliyuncs.com/total_picture/1678353807082.png',
15
+      },
16
+      {
17
+        name: '作者',
18
+        tips: '你想吃的美食我都会做哟',
19
+        image: 'https://we-spa.oss-cn-shenzhen.aliyuncs.com/total_picture/1678353807082.png',
20
+      },
21
+      {
22
+        name: '美食家',
23
+        tips: '你想吃的美食我都会做哟',
24
+        image: 'https://we-spa.oss-cn-shenzhen.aliyuncs.com/total_picture/1678353807082.png',
25
+      },
26
+      {
27
+        name: '美食家',
28
+        tips: '你想吃的美食我都会做哟',
29
+        image: 'https://we-spa.oss-cn-shenzhen.aliyuncs.com/total_picture/1678353807082.png',
30
+      },
31
+      {
32
+        name: '美食家',
33
+        tips: '你想吃的美食我都会做哟',
34
+        image: 'https://we-spa.oss-cn-shenzhen.aliyuncs.com/total_picture/1678353807082.png',
35
+      },
36
+    ]
37
+  }
6 38
 
7
-  componentWillMount() { }
39
+  componentWillMount () { }
8 40
 
9
-  componentDidMount() { }
41
+  componentDidMount () { }
10 42
 
11
-  componentWillUnmount() { }
43
+  componentWillUnmount () { }
12 44
 
13
-  componentDidShow() { }
45
+  componentDidShow () { }
14 46
 
15
-  componentDidHide() { }
47
+  componentDidHide () { }
48
+  toChat (e) {
49
+    Taro.navigateTo({
50
+      url: `/pages/chat/index?title=${e.name}`
51
+    })
52
+  }
16 53
 
17
-  render() {
54
+  render () {
18 55
     return (
19
-     <View>
20
-      mine
21
-     </View>
56
+      <View className='mine'>
57
+        <View className='food'>
58
+          {
59
+            this.state.classList.map((item, index) => (
60
+              <View className='food-info' key={index} onClick={e => (this.toChat(item))}>
61
+                <Image className='food-img' src={item.image}> </Image>
62
+                <View className='food-name'>{item.name}</View>
63
+                <View className='food-tips'>{item.tips}</View>
64
+              </View>
65
+            ))
66
+          }
67
+        </View>
68
+      </View>
22 69
     )
23 70
   }
24 71
 }

+ 30 - 372
src/pages/index/index.less

@@ -4,376 +4,34 @@ page {
4 4
   padding: 0 auto;
5 5
   margin: 0 auto;
6 6
 }
7
-.login{
8
-  z-index: 999;
9
-  position: fixed;
10
-  top: 300rpx;
11
-  height: 100rpx;
12
-  text-align: center;
13
-  line-height: 100rpx;
14
-  width: 400rpx;
15
-  left: 50%;
16
-  margin-left: -200rpx;
17
-  background: white;
18
-}
19
-.Phone{
20
-  top: 500rpx;
21
-  width: 400rpx;
22
-}
23
-.login_zz{
24
-  position: fixed;
25
-  left: 0;
26
-  top: 0;
27
-  width: 100%;
28
-  height: 100%;
29
-  z-index: 998;
30
-  
31
-background-color: rgba(0,0,0,0.5);
32
-}
33
-swiper {
34
-  height: 180rpx;
35
-}
36
- 
37
-swiper swiper-item .slide-image {
38
-  width: 100%;
39
-  height: 180rpx;
40
-}
41
- 
42
-.jia_img {
43
-  height: 80rpx;
44
-  width: 90rpx;
45
-}
46
- 
47
-.time {
48
-  text-align: center;
49
-  padding: 5rpx 20rpx 5rpx 20rpx;
50
-  border-radius: 10rpx;
51
-  display: block;
52
-  height: 38rpx;
53
-  line-height: 38rpx;
54
-  position: relative;
55
-  margin: 0 auto;
56
-  margin-bottom: 20rpx;
57
-  width: 90rpx;
58
-  color: white;
59
-  font-size: 26rpx;
60
-  background-color: #dedede;
61
-}
62
- 
63
-.tab {
64
-  bottom: 120rpx;
65
-}
66
- 
67
-.tab_1 {
68
-  position: fixed;
69
-  bottom: 50rpx;
70
-  width: 200rpx;
71
-  font-size: 26rpx;
72
-  left: 50%;
73
-  margin-left: -45rpx;
74
-  height: 100rpx;
75
-}
76
- 
77
-.tab_2 {
78
-  right: 30rpx;
79
-  position: fixed;
80
-}
81
- 
82
-/* 聊天 */
83
- 
84
-.my_right {
85
-  float: right;
86
-  margin-top: 30rpx;
87
-  position: relative;
88
-}
89
- 
90
-.my_audio {
91
-  height: 60rpx;
92
-  width: 60rpx;
93
-  z-index: 2;
94
-  position: relative;
95
-  top: 10rpx;
96
-  left: 20rpx;
97
-}
98
- 
99
-.you_left {
100
-  margin-top: 30rpx;
101
-  float: left;
102
-  position: relative;
103
-  padding-left: 5rpx;
104
-}
105
- 
106
-.new_img {
107
-  width: 85rpx;
108
-  height: 85rpx;
109
-  overflow: hidden;
110
-}
111
- 
112
-.page_r {
113
-  float: right;
114
-}
115
- 
116
-.new_txt {
117
-  min-width: 380rpx;
118
-  width: 460rpx;
119
-  word-break: break-all;
120
-}
121
- 
122
-.new_txt_my {
123
-  border-radius: 7rpx;
124
-  background: #9fe75a;
125
-  position: relative;
126
-  right: 30rpx;
127
-  padding: 17rpx 30rpx 17rpx 30rpx;
128
-  float: right;
129
-  border: 1px solid #d0d0d0;
130
-}
131
- 
132
-.new_txt_my .arrow {
133
-  position: absolute;
134
-  z-index: 2;
135
-  width: 40rpx;
136
-  right: -38rpx;
137
-}
138
- 
139
-.new_txt_my .arrow em {
140
-  position: absolute;
141
-  border-style: solid;
142
-  border-width: 15rpx;
143
-  border-color: transparent transparent transparent #d0d0d0;
144
-  top: 1rpx;
145
-}
146
- 
147
-.new_txt_my .arrow span {
148
-  position: absolute;
149
-  top: 5rpx;
150
-  border-style: solid;
151
-  border-width: 15rpx;
152
-  border-color: transparent transparent transparent #9fe75a;
153
-}
154
- 
155
-.new_txt_my_2 {
156
-  word-break: break-all;
157
-  border-radius: 7rpx;
158
-  background: #9fe75a;
159
-  min-width: 330rpx;
160
-  max-width: 530rpx;
161
-  padding: 17rpx 30rpx 17rpx 30rpx;
162
-  float: right;
163
-}
164
- 
165
-.new_txt_ai {
166
-  border-radius: 7rpx;
167
-  left: 20rpx;
168
-  background-color: #fff;
169
-  position: relative;
170
-  border: 1px solid #d0d0d0;
171
-  float: left;
172
-}
173
- 
174
-.new_txt_ai .arrow {
175
-  position: relative;
176
-  width: 40rpx;
177
-  left: -30rpx;
178
-}
179
- 
180
-.new_txt_ai .arrow em {
181
-  position: absolute;
182
-  border-style: solid;
183
-  border-width: 15rpx;
184
-  top: 20rpx;
185
-  border-color: transparent #d0d0d0 transparent transparent;
186
-}
187
- 
188
-.new_txt_ai .arrow span {
189
-  position: absolute;
190
-  top: 20rpx;
191
-  border-style: solid;
192
-  border-width: 15rpx;
193
-  border-color: transparent #fff transparent transparent;
194
-  left: 2rpx;
195
-}
196
- 
197
-.ai_content {
198
-  word-break: break-all;
199
-  padding: 17rpx 30rpx 17rpx 30rpx;
200
-}
201
- 
202
-.sanjiao {
203
-  top: 25rpx;
204
-  position: relative;
205
-  width: 0px;
206
-  height: 0px;
207
-  border-width: 15rpx;
208
-  border-style: solid;
209
-}
210
- 
211
-.my {
212
-  border-color: transparent transparent transparent #9fe75a;
213
-}
214
- 
215
-.you {
216
-  border-color: transparent #fff transparent transparent;
217
-}
218
- 
219
-._span {
220
-  border-color: #fff transparent transparent;
221
-  top: -17px;
222
-}
223
- 
224
-.is_ai_btn {
225
-  border-radius: 0 0 7px 7px;
226
-  border-top: 1px solid #d0d0d0;
227
-  background: white;
228
-  position: relative;
229
-  bottom: 0;
230
-  left: 0;
231
-  width: 100%;
232
-  height: 80rpx;
233
-  line-height: 80rpx;
234
-  display: flex;
235
-  flex-direction: row;
236
-  text-align: center;
237
-}
238
- 
239
-.is_ai_btn view {
240
-  width: 50%;
241
-}
242
- 
243
-.is_ai_btn image {
244
-  width: 32rpx;
245
-  position: relative;
246
-  top: 4rpx;
247
-  height: 32rpx;
248
-}
249
- 
250
-.is_ai_btn .two {
251
-  border-left: 1px solid #d0d0d0;
252
-}
253
- 
254
-.yes_problem_log {
255
-  border-top: 1px solid #d0d0d0;
256
-  height: 80rpx;
257
-  text-align: center;
258
-  line-height: 80rpx;
259
-}
260
- 
261
-.voice_icon {
262
-  width: 60rpx;
263
-  height: 60rpx;
264
-  margin: 0 auto;
265
-  padding: 10rpx 10rpx 10rpx 10rpx;
266
-}
267
- 
268
-.add_icon {
269
-  width: 70rpx;
270
-  height: 70rpx;
271
-  margin: 0 auto;
272
-  padding: 20rpx 10rpx 10rpx 15rpx;
273
-}
274
- 
275
-.voice_ing {
276
-  width: 90%;
277
-  height: 75rpx;
278
-  line-height: 85rpx;
279
-  text-align: center;
280
-  border-radius: 15rpx;
281
-  border: 1px solid #d0d0d0;
282
-}
283
- 
284
-.zezhao {
285
-  height: 100%;
286
-  position: absolute;
287
-  top: 0;
288
-  left: 0;
289
-  z-index: 2;
290
-  width: 100%;
291
-  background: rgba(0, 0, 0, 0.5);
292
-}
293
- 
294
-.in_voice_icon {
295
-  z-index: 3;
296
-  left: 0;
297
-  bottom: 0;
298
-  width: 100%;
299
-  position: absolute;
300
-  height: 500rpx;
301
-  background: #f8f8f8;
302
-}
303
- 
304
-.in_voice_icon .item {
305
-  position: relative;
306
-  margin-top: 50rpx;
307
-  margin-left: 50rpx;
308
-  text-align: center;
309
-  width: 140rpx;
310
-}
311
- 
312
-.in_voice_icon .img {
313
-  width: 80rpx;
314
-  height: 80rpx;
315
-  border-radius: 15rpx;
316
-}
317
- 
318
-.in_voice_icon .text {
319
-  font-size: 32rpx;
320
-  margin-top: 20rpx;
321
-}
322
- 
323
-.sendmessage {
324
-  width: 100%;
325
-  z-index: 2;
326
-  display: flex;
327
-  position: fixed;
328
-  bottom: 0px;
329
-  background-color: #f8f8f8;
330
-  flex-direction: row;
331
-  height: 100rpx;
332
-}
333
- 
334
-.sendmessage input {
335
-  width: 78%;
336
-  height: 80rpx;
337
-  line-height: 80rpx;
338
-  font-size: 28rpx;
339
-  margin-top: 10rpx;
340
-  margin-left: 20rpx;
341
-  border-bottom: 1px solid #d0d0d0;
342
-  padding-left: 20rpx;
343
-}
344
- 
345
-.sendmessage button {
346
-  border: 1px solid white;
347
-  width: 18%;
348
-  height: 80rpx;
349
-  background: #0c0;
350
-  color: white;
351
-  line-height: 80rpx;
352
-  margin-top: 10rpx;
353
-  font-size: 28rpx;
354
-}
355
- 
356
-.hei {
357
-  height: 20rpx;
358
-}
359
- 
360
-.history {
361
-  height: 88%;
362
-  display: flex;
363
-  font-size: 14px;
364
-  line-height: 50rpx;
365
-  position: relative;
366
-  top: 20rpx;
367
-}
368
- 
369
-.icno_kf {
370
-  position: fixed;
371
-  bottom: 160rpx;
372
-  margin: 0 auto;
373
-  text-align: center;
374
-  left: 50%;
375
-  margin-left: -40rpx;
376
-  width: 100rpx;
377
-  height: 100rpx;
378
-  border-radius: 50%;
7
+
8
+.mine {
9
+  .food {
10
+    margin: 20px;
11
+    display: flex;
12
+    justify-content: space-between;
13
+    flex-wrap: wrap;
14
+
15
+    .food-info {
16
+      width: 43%;
17
+      border-radius: 10px;
18
+      background-color: #FFFFFF;
19
+      margin: 10px;
20
+      padding: 10px;
21
+      box-shadow: 0px 0px 10px rgb(139, 138, 138);
22
+
23
+      .food-img {
24
+        width: 100px;
25
+        height: 100px;
26
+        border-radius: 50%;
27
+      }
28
+      .food-name{
29
+        font-size: 32px;
30
+      }
31
+      .food-tips{
32
+        font-size: 28px;
33
+        color: #656363;
34
+      }
35
+    }
36
+  }
379 37
 }

+ 47 - 9
src/pages/mine/index.jsx

@@ -4,21 +4,59 @@ import './index.less'
4 4
 
5 5
 export default class Mine extends Component {
6 6
 
7
-  componentWillMount() { }
7
+  state = {
8
+    classList: [
9
+      {
10
+        name: '美食家',
11
+        tips: '你想吃的美食我都会做哟',
12
+        image: 'https://we-spa.oss-cn-shenzhen.aliyuncs.com/total_picture/1678353807082.png',
13
+      },
14
+      {
15
+        name: '美食家',
16
+        tips: '你想吃的美食我都会做哟',
17
+        image: 'https://we-spa.oss-cn-shenzhen.aliyuncs.com/total_picture/1678353807082.png',
18
+      },
19
+      {
20
+        name: '美食家',
21
+        tips: '你想吃的美食我都会做哟',
22
+        image: 'https://we-spa.oss-cn-shenzhen.aliyuncs.com/total_picture/1678353807082.png',
23
+      },
24
+      {
25
+        name: '美食家',
26
+        tips: '你想吃的美食我都会做哟',
27
+        image: 'https://we-spa.oss-cn-shenzhen.aliyuncs.com/total_picture/1678353807082.png',
28
+      },
29
+      {
30
+        name: '美食家',
31
+        tips: '你想吃的美食我都会做哟',
32
+        image: 'https://we-spa.oss-cn-shenzhen.aliyuncs.com/total_picture/1678353807082.png',
33
+      },
34
+    ]
35
+  }
36
+
37
+  componentWillMount () { }
8 38
 
9
-  componentDidMount() { }
39
+  componentDidMount () { }
10 40
 
11
-  componentWillUnmount() { }
41
+  componentWillUnmount () { }
12 42
 
13
-  componentDidShow() { }
43
+  componentDidShow () { }
14 44
 
15
-  componentDidHide() { }
45
+  componentDidHide () { }
16 46
 
17
-  render() {
47
+  render () {
18 48
     return (
19
-     <View>
20
-      mine
21
-     </View>
49
+      <View className='mine'>
50
+        <View className='food'>
51
+          {
52
+            this.state.classList.map((item, index) => (
53
+              <View className='food-info'>
54
+                
55
+              </View>
56
+            ))
57
+          }
58
+        </View>
59
+      </View>
22 60
     )
23 61
   }
24 62
 }

+ 13 - 378
src/pages/mine/index.less

@@ -1,379 +1,14 @@
1
-page {
2
-  background-color: #f2f2f2;
3
-  height: 100%;
4
-  padding: 0 auto;
5
-  margin: 0 auto;
6
-}
7
-.login{
8
-  z-index: 999;
9
-  position: fixed;
10
-  top: 300rpx;
11
-  height: 100rpx;
12
-  text-align: center;
13
-  line-height: 100rpx;
14
-  width: 400rpx;
15
-  left: 50%;
16
-  margin-left: -200rpx;
17
-  background: white;
18
-}
19
-.Phone{
20
-  top: 500rpx;
21
-  width: 400rpx;
22
-}
23
-.login_zz{
24
-  position: fixed;
25
-  left: 0;
26
-  top: 0;
27
-  width: 100%;
28
-  height: 100%;
29
-  z-index: 998;
30
-  
31
-background-color: rgba(0,0,0,0.5);
32
-}
33
-swiper {
34
-  height: 180rpx;
35
-}
36
- 
37
-swiper swiper-item .slide-image {
38
-  width: 100%;
39
-  height: 180rpx;
40
-}
41
- 
42
-.jia_img {
43
-  height: 80rpx;
44
-  width: 90rpx;
45
-}
46
- 
47
-.time {
48
-  text-align: center;
49
-  padding: 5rpx 20rpx 5rpx 20rpx;
50
-  border-radius: 10rpx;
51
-  display: block;
52
-  height: 38rpx;
53
-  line-height: 38rpx;
54
-  position: relative;
55
-  margin: 0 auto;
56
-  margin-bottom: 20rpx;
57
-  width: 90rpx;
58
-  color: white;
59
-  font-size: 26rpx;
60
-  background-color: #dedede;
61
-}
62
- 
63
-.tab {
64
-  bottom: 120rpx;
65
-}
66
- 
67
-.tab_1 {
68
-  position: fixed;
69
-  bottom: 50rpx;
70
-  width: 200rpx;
71
-  font-size: 26rpx;
72
-  left: 50%;
73
-  margin-left: -45rpx;
74
-  height: 100rpx;
75
-}
76
- 
77
-.tab_2 {
78
-  right: 30rpx;
79
-  position: fixed;
80
-}
81
- 
82
-/* 聊天 */
83
- 
84
-.my_right {
85
-  float: right;
86
-  margin-top: 30rpx;
87
-  position: relative;
88
-}
89
- 
90
-.my_audio {
91
-  height: 60rpx;
92
-  width: 60rpx;
93
-  z-index: 2;
94
-  position: relative;
95
-  top: 10rpx;
96
-  left: 20rpx;
97
-}
98
- 
99
-.you_left {
100
-  margin-top: 30rpx;
101
-  float: left;
102
-  position: relative;
103
-  padding-left: 5rpx;
104
-}
105
- 
106
-.new_img {
107
-  width: 85rpx;
108
-  height: 85rpx;
109
-  overflow: hidden;
110
-}
111
- 
112
-.page_r {
113
-  float: right;
114
-}
115
- 
116
-.new_txt {
117
-  min-width: 380rpx;
118
-  width: 460rpx;
119
-  word-break: break-all;
120
-}
121
- 
122
-.new_txt_my {
123
-  border-radius: 7rpx;
124
-  background: #9fe75a;
125
-  position: relative;
126
-  right: 30rpx;
127
-  padding: 17rpx 30rpx 17rpx 30rpx;
128
-  float: right;
129
-  border: 1px solid #d0d0d0;
130
-}
131
- 
132
-.new_txt_my .arrow {
133
-  position: absolute;
134
-  z-index: 2;
135
-  width: 40rpx;
136
-  right: -38rpx;
137
-}
138
- 
139
-.new_txt_my .arrow em {
140
-  position: absolute;
141
-  border-style: solid;
142
-  border-width: 15rpx;
143
-  border-color: transparent transparent transparent #d0d0d0;
144
-  top: 1rpx;
145
-}
146
- 
147
-.new_txt_my .arrow span {
148
-  position: absolute;
149
-  top: 5rpx;
150
-  border-style: solid;
151
-  border-width: 15rpx;
152
-  border-color: transparent transparent transparent #9fe75a;
153
-}
154
- 
155
-.new_txt_my_2 {
156
-  word-break: break-all;
157
-  border-radius: 7rpx;
158
-  background: #9fe75a;
159
-  min-width: 330rpx;
160
-  max-width: 530rpx;
161
-  padding: 17rpx 30rpx 17rpx 30rpx;
162
-  float: right;
163
-}
164
- 
165
-.new_txt_ai {
166
-  border-radius: 7rpx;
167
-  left: 20rpx;
168
-  background-color: #fff;
169
-  position: relative;
170
-  border: 1px solid #d0d0d0;
171
-  float: left;
172
-}
173
- 
174
-.new_txt_ai .arrow {
175
-  position: relative;
176
-  width: 40rpx;
177
-  left: -30rpx;
178
-}
179
- 
180
-.new_txt_ai .arrow em {
181
-  position: absolute;
182
-  border-style: solid;
183
-  border-width: 15rpx;
184
-  top: 20rpx;
185
-  border-color: transparent #d0d0d0 transparent transparent;
186
-}
187
- 
188
-.new_txt_ai .arrow span {
189
-  position: absolute;
190
-  top: 20rpx;
191
-  border-style: solid;
192
-  border-width: 15rpx;
193
-  border-color: transparent #fff transparent transparent;
194
-  left: 2rpx;
195
-}
196
- 
197
-.ai_content {
198
-  word-break: break-all;
199
-  padding: 17rpx 30rpx 17rpx 30rpx;
200
-}
201
- 
202
-.sanjiao {
203
-  top: 25rpx;
204
-  position: relative;
205
-  width: 0px;
206
-  height: 0px;
207
-  border-width: 15rpx;
208
-  border-style: solid;
209
-}
210
- 
211
-.my {
212
-  border-color: transparent transparent transparent #9fe75a;
213
-}
214
- 
215
-.you {
216
-  border-color: transparent #fff transparent transparent;
217
-}
218
- 
219
-._span {
220
-  border-color: #fff transparent transparent;
221
-  top: -17px;
222
-}
223
- 
224
-.is_ai_btn {
225
-  border-radius: 0 0 7px 7px;
226
-  border-top: 1px solid #d0d0d0;
227
-  background: white;
228
-  position: relative;
229
-  bottom: 0;
230
-  left: 0;
231
-  width: 100%;
232
-  height: 80rpx;
233
-  line-height: 80rpx;
234
-  display: flex;
235
-  flex-direction: row;
236
-  text-align: center;
237
-}
238
- 
239
-.is_ai_btn view {
240
-  width: 50%;
241
-}
242
- 
243
-.is_ai_btn image {
244
-  width: 32rpx;
245
-  position: relative;
246
-  top: 4rpx;
247
-  height: 32rpx;
248
-}
249
- 
250
-.is_ai_btn .two {
251
-  border-left: 1px solid #d0d0d0;
252
-}
253
- 
254
-.yes_problem_log {
255
-  border-top: 1px solid #d0d0d0;
256
-  height: 80rpx;
257
-  text-align: center;
258
-  line-height: 80rpx;
259
-}
260
- 
261
-.voice_icon {
262
-  width: 60rpx;
263
-  height: 60rpx;
264
-  margin: 0 auto;
265
-  padding: 10rpx 10rpx 10rpx 10rpx;
266
-}
267
- 
268
-.add_icon {
269
-  width: 70rpx;
270
-  height: 70rpx;
271
-  margin: 0 auto;
272
-  padding: 20rpx 10rpx 10rpx 15rpx;
273
-}
274
- 
275
-.voice_ing {
276
-  width: 90%;
277
-  height: 75rpx;
278
-  line-height: 85rpx;
279
-  text-align: center;
280
-  border-radius: 15rpx;
281
-  border: 1px solid #d0d0d0;
282
-}
283
- 
284
-.zezhao {
285
-  height: 100%;
286
-  position: absolute;
287
-  top: 0;
288
-  left: 0;
289
-  z-index: 2;
290
-  width: 100%;
291
-  background: rgba(0, 0, 0, 0.5);
292
-}
293
- 
294
-.in_voice_icon {
295
-  z-index: 3;
296
-  left: 0;
297
-  bottom: 0;
298
-  width: 100%;
299
-  position: absolute;
300
-  height: 500rpx;
301
-  background: #f8f8f8;
302
-}
303
- 
304
-.in_voice_icon .item {
305
-  position: relative;
306
-  margin-top: 50rpx;
307
-  margin-left: 50rpx;
308
-  text-align: center;
309
-  width: 140rpx;
310
-}
311
- 
312
-.in_voice_icon .img {
313
-  width: 80rpx;
314
-  height: 80rpx;
315
-  border-radius: 15rpx;
316
-}
317
- 
318
-.in_voice_icon .text {
319
-  font-size: 32rpx;
320
-  margin-top: 20rpx;
321
-}
322
- 
323
-.sendmessage {
324
-  width: 100%;
325
-  z-index: 2;
326
-  display: flex;
327
-  position: fixed;
328
-  bottom: 0px;
329
-  background-color: #f8f8f8;
330
-  flex-direction: row;
331
-  height: 100rpx;
332
-}
333
- 
334
-.sendmessage input {
335
-  width: 78%;
336
-  height: 80rpx;
337
-  line-height: 80rpx;
338
-  font-size: 28rpx;
339
-  margin-top: 10rpx;
340
-  margin-left: 20rpx;
341
-  border-bottom: 1px solid #d0d0d0;
342
-  padding-left: 20rpx;
343
-}
344
- 
345
-.sendmessage button {
346
-  border: 1px solid white;
347
-  width: 18%;
348
-  height: 80rpx;
349
-  background: #0c0;
350
-  color: white;
351
-  line-height: 80rpx;
352
-  margin-top: 10rpx;
353
-  font-size: 28rpx;
354
-}
355
- 
356
-.hei {
357
-  height: 20rpx;
358
-}
359
- 
360
-.history {
361
-  height: 88%;
362
-  display: flex;
363
-  font-size: 14px;
364
-  line-height: 50rpx;
365
-  position: relative;
366
-  top: 20rpx;
367
-}
368
- 
369
-.icno_kf {
370
-  position: fixed;
371
-  bottom: 160rpx;
372
-  margin: 0 auto;
373
-  text-align: center;
374
-  left: 50%;
375
-  margin-left: -40rpx;
376
-  width: 100rpx;
377
-  height: 100rpx;
378
-  border-radius: 50%;
1
+.mine {
2
+  .food {
3
+    margin: 20px;
4
+    display: flex;
5
+    justify-content: space-around;
6
+    .food-info{
7
+      width: 40%;
8
+      border-radius: 10px;
9
+      background-color: #FFFFFF;
10
+      padding: 10px;
11
+      box-shadow:0px 0px 5px rgb(139, 138, 138) ;
12
+    }
13
+  }
379 14
 }