zhongshujie
4 天以前 b385fcc30e0ee871dc31c06526e9ab84ba507ea2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
<template>
  <div class="chat-box">
    <div class="chat-box-content">
      <div class="chat-date">03/15 13:10:00</div>
      <div class="chat-send">
        <div class="chat-send-info">推荐一本关于月亮的书。</div>
      </div>
      <div class="chat-back-info">
        <div class="back-avator">
          <img src="../assets/images/image2.png" alt="" />
        </div>
        <div class="base-book-box" @click="handleBookDetial">
          <div class="base-book-item">
            <img class="book-icon" src="../assets/images/book.png" alt="" />
            <div class="base-book-item-feilds">
              <div class="book-title">《月亮与六便士》</div>
              <el-row v-if="screenWidth > 375">
                <el-col :span="8">
                  <div class="grid-content ep-bg-purple">
                    <span>责任者:</span>
                    <span>袁雷,张云飞著</span>
                  </div>
                  <div class="grid-content ep-bg-purple">
                    <span>ISBN号:</span>
                    <span>978-7-300-25494-4</span>
                  </div>
                  <div class="grid-content ep-bg-purple">
                    <span>入档时间:</span>
                    <span>20220226</span>
                  </div>
                  <div class="grid-content ep-bg-purple">
                    <span>馆藏地:</span>
                    <span>外文图书馆2楼-1-8954</span>
                  </div>
                </el-col>
                <el-col :span="8">
                  <div class="grid-content ep-bg-purple">
                    <span>出版社:</span>
                    <span>中国人民大学出版社</span>
                  </div>
                  <div class="grid-content ep-bg-purple">
                    <span>主题词:</span>
                    <span>月亮</span>
                  </div>
                  <div class="grid-content ep-bg-purple">
                    <span>索书号:</span>
                    <span>V1-18/12.3354(ENG)</span>
                  </div>
                </el-col>
              </el-row>
              <el-row v-else>
                <el-col :span="8">
                  <div class="grid-content ep-bg-purple">
                    <span>责任者:</span>
                    <span>袁雷,张云飞著</span>
                  </div>
                  <div class="grid-content ep-bg-purple">
                    <span>ISBN号:</span>
                    <span>978-7-300-25494-4</span>
                  </div>
                  <div class="grid-content ep-bg-purple">
                    <span>入档时间:</span>
                    <span>20220226</span>
                  </div>
                  <div class="grid-content ep-bg-purple">
                    <span>馆藏地:</span>
                    <span>外文图书馆2楼-1-8954</span>
                  </div>
                  <div class="grid-content ep-bg-purple">
                    <span>出版社:</span>
                    <span>中国人民大学出版社</span>
                  </div>
                  <div class="grid-content ep-bg-purple">
                    <span>主题词:</span>
                    <span>月亮</span>
                  </div>
                  <div class="grid-content ep-bg-purple">
                    <span>索书号:</span>
                    <span>V1-18/12.3354(ENG)</span>
                  </div>
                </el-col>
              </el-row>
            </div>
          </div>
          <div class="base-book-desc-box">
            <div class="base-book-desc-title">图书简介:</div>
            <p>
              本书以生动笔触描绘了卡尔·马克思的一生,展现了他作为思想家革命家的非凡,历程。全书围绕马克思的学术探索、政治实践与个人生活展开,深入剖析其对资本主义的批判及对人类解放的追求。作者将马克思比作“人间的普罗米修斯”,凸显其为无产阶级和全人类福祉不懈奋斗的精神。语言通俗易懂,适合对马克思主义思想及其发展历程感兴趣的读者阅读。
            </p>
            <el-divider border-style="double" style="border-color: #e9d8bf" />
          </div>
        </div>
      </div>
      <div class="back-item">
        <span>张云飞还有哪些著作</span>
        <img src="../assets/images/zuo1.png" alt="" />
      </div>
      <div class="back-item">
        <span>张云飞还有哪些著作</span>
        <img src="../assets/images/zuo2.png" alt="" />
      </div>
      <div class="chat-footer">
        <div class="icon-list">
          <img src="../assets/images/liebiao1.png" alt="" />
          <img src="../assets/images/tianjia2.png" alt="" />
        </div>
        <div class="chat-text">
          <el-input
            v-model="inputValue"
            type="textarea"
            :autosize="{ minRows: 3, maxRows: 10 }"
            placeholder="请输入您的问题"
          />
        </div>
        <div class="select">
          <div class="select-left">
            <div class="select-item">
              <img src="../assets/images/sikao.png" alt="" />
              <span>深度思考(R1)</span>
            </div>
            <div class="select-item">
              <img src="../assets/images/lianwang.png" alt="" />
              <span>联网搜索</span>
            </div>
          </div>
          <div class="select-right">
            <div class="select-item">
              <img src="../assets/images/fujian1.png" alt="" />
            </div>
            <div class="select-item">
              <img src="../assets/images/shangchuan2.png" alt="" />
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>
</template>
<script lang="ts" setup>
import { ref } from 'vue'
import { useRouter } from 'vue-router'
 
const router = useRouter()
const screenWidth = ref(window.innerWidth)
 
const inputValue = ref('')
 
const handleBookDetial = () => {
  router.push('/baseInfo')
}
</script>
<style lang="less" scoped>
@media screen and (max-width: 750px) {
  .chat-box {
    width: 100%;
    background-image: url('@/assets/images/beijing2.png');
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    .chat-box-content {
      width: 100%;
      display: flex;
      flex-direction: column;
      justify-content: flex-start;
      align-items: flex-start;
 
      .chat-date {
        width: 100%;
        text-align: center;
        margin-bottom: 30px;
      }
 
      .chat-send {
        width: 100%;
        display: flex;
        justify-content: flex-end;
        margin-bottom: 20px;
 
        .chat-send-info {
          width: 263px;
          height: 40px;
          background: #af8b56;
          border-radius: 20px;
          line-height: 40px;
          padding: 0 20px;
          color: #fff;
        }
      }
 
      .chat-back-info {
        margin-bottom: 20px;
        display: flex;
        justify-content: flex-start;
 
        .back-avator {
          margin-right: 10px;
 
          img {
            width: 40px;
          }
        }
 
        .base-book-box {
          width: 300px;
          padding: 10px;
          box-sizing: border-box;
          background-color: #fff;
          border-radius: 20px;
          cursor: pointer;
 
          .base-book-item {
            flex: 1;
            display: flex;
            justify-content: center;
            flex-direction: column;
            align-items: center;
            padding: 0 20px;
            margin-bottom: 50px;
 
            .book-icon {
              width: 120px;
              height: auto;
            }
 
            .base-book-item-feilds {
              flex: 1;
              display: flex;
              flex-direction: column;
              justify-content: space-between;
              align-items: flex-start;
 
              .book-title {
                width: 100%;
                font-size: 18px;
                font-family:
                  Microsoft YaHei,
                  Microsoft YaHei-Bold;
                font-weight: 700;
                color: #333333;
                margin-bottom: 20px;
                text-align: center;
              }
 
              .el-row {
                width: 100%;
                padding-left: 10px;
 
                .el-col {
                  margin-right: 0px;
                  .grid-content {
                    min-width: 280px;
                    padding: 0px 10px;
                    text-align: left;
                    span:nth-child(1) {
                      letter-spacing: 5px;
                    }
                    span:nth-child(2) {
                      color: #999;
                    }
                  }
                }
              }
            }
          }
 
          .base-book-desc-box {
            width: 100%;
            padding: 0 20px;
 
            .base-book-desc-title {
              font-size: 18px;
              font-family: 'FFZHTJW';
              color: #af8c56;
            }
            p {
              font-size: 14px;
              font-family:
                Microsoft YaHei,
                Microsoft YaHei-Regular;
              font-weight: 400;
              text-align: left;
              color: #666666;
              line-height: 26px;
              text-indent: 2em;
            }
          }
        }
      }
 
      .back-item {
        width: 263px;
        height: 40px;
        background: #ffffff;
        border-radius: 20px;
        line-height: 40px;
        padding: 0 20px;
        margin-bottom: 20px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        cursor: pointer;
        margin-left: 50px;
      }
 
      .chat-footer {
        width: 300px;
        background-color: #fff;
        border-radius: 20px;
        padding: 20px;
        box-sizing: border-box;
        margin-left: 50px;
        margin-bottom: 20px;
 
        .icon-list img {
          margin-right: 10px;
          cursor: pointer;
        }
 
        ::v-deep(.chat-text) {
          margin-bottom: 10px;
          .el-textarea__inner {
            border: none !important;
            outline: none !important;
            box-shadow: none !important;
            background-color: transparent !important;
            resize: none !important;
          }
        }
 
        .select {
          width: 100%;
          display: flex;
          align-items: center;
          justify-content: space-between;
 
          .select-left,
          .select-right {
            display: flex;
            align-items: center;
            justify-content: flex-start;
 
            .select-item {
              display: flex;
              align-items: center;
              box-sizing: border-box;
              border: 1px solid #e9d8bf;
              border-radius: 15px;
              font-size: 12px;
              font-family:
                Microsoft YaHei,
                Microsoft YaHei-Regular;
              font-weight: 400;
              color: #e1c49a;
 
              img {
                margin-right: 5px;
                cursor: pointer;
              }
            }
          }
 
          .select-left {
            .select-item {
              min-width: 70px;
              padding: 5px 8px;
            }
          }
 
          .select-right {
            display: flex;
            align-items: center;
            justify-content: flex-end;
 
            .select-item {
              border: 0;
            }
          }
        }
      }
    }
  }
}
@media screen and (min-width: 750px) {
  .chat-box {
    width: 100%;
    height: 100%;
    background-image: url('@/assets/images/beijing2.png');
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    .chat-box-content {
      width: 1200px;
      display: flex;
      flex-direction: column;
      justify-content: flex-start;
      align-items: flex-start;
 
      .chat-date {
        width: 100%;
        text-align: center;
        margin-bottom: 30px;
      }
 
      .chat-send {
        width: 100%;
        display: flex;
        justify-content: flex-end;
        margin-bottom: 20px;
 
        .chat-send-info {
          width: 263px;
          height: 40px;
          background: #af8b56;
          border-radius: 20px;
          line-height: 40px;
          padding: 0 20px;
          color: #fff;
        }
      }
 
      .chat-back-info {
        height: 500px;
        margin-bottom: 20px;
        display: flex;
        justify-content: flex-start;
 
        .back-avator {
          margin-right: 37px;
 
          img {
            width: 60px;
          }
        }
 
        .base-book-box {
          width: 800px;
          padding: 47px 30px 0px 30px;
          box-sizing: border-box;
          background-color: #fff;
          border-radius: 20px;
 
          .base-book-item {
            flex: 1;
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 0 20px;
            margin-bottom: 50px;
 
            .book-icon {
              width: 120px;
              height: auto;
              margin-right: 45px;
            }
 
            .base-book-item-feilds {
              flex: 1;
              display: flex;
              flex-direction: column;
              justify-content: space-between;
              align-items: flex-start;
 
              .book-title {
                font-size: 18px;
                font-family:
                  Microsoft YaHei,
                  Microsoft YaHei-Bold;
                font-weight: 700;
                text-align: left;
                color: #333333;
                margin-bottom: 20px;
              }
 
              .el-row {
                width: 100%;
 
                .el-col {
                  margin-right: 70px;
                  .grid-content {
                    min-width: 280px;
                    padding: 0px 10px;
                    text-align: left;
                    span:nth-child(1) {
                      letter-spacing: 5px;
                    }
                  }
                }
              }
            }
          }
 
          .base-book-desc-box {
            width: 100%;
            padding: 0 20px;
 
            .base-book-desc-title {
              font-size: 18px;
              font-family: 'FFZHTJW';
              color: #af8c56;
            }
            p {
              font-size: 14px;
              font-family:
                Microsoft YaHei,
                Microsoft YaHei-Regular;
              font-weight: 400;
              text-align: left;
              color: #666666;
              line-height: 26px;
              text-indent: 2em;
            }
          }
        }
      }
 
      .back-item {
        width: 263px;
        height: 40px;
        background: #ffffff;
        border-radius: 20px;
        line-height: 40px;
        padding: 0 20px;
        margin-bottom: 20px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        cursor: pointer;
        margin-left: 103px;
      }
 
      .chat-footer {
        width: 800px;
        height: 170px;
        background-color: #fff;
        border-radius: 20px;
        padding: 20px;
        box-sizing: border-box;
        margin-left: 103px;
 
        .icon-list img {
          margin-right: 10px;
          cursor: pointer;
        }
 
        ::v-deep(.chat-text) {
          margin-bottom: 10px;
          .el-textarea__inner {
            border: none !important;
            outline: none !important;
            box-shadow: none !important;
            background-color: transparent !important;
            resize: none !important;
          }
        }
 
        .select {
          width: 100%;
          display: flex;
          align-items: center;
          justify-content: space-between;
 
          .select-left,
          .select-right {
            flex: 1;
            display: flex;
            align-items: center;
            justify-content: flex-start;
 
            .select-item {
              display: flex;
              align-items: center;
              padding: 2px 10px;
              box-sizing: border-box;
              border: 1px solid #e9d8bf;
              border-radius: 15px;
              margin-right: 10px;
              font-size: 14px;
              font-family:
                Microsoft YaHei,
                Microsoft YaHei-Regular;
              font-weight: 400;
              color: #e1c49a;
 
              img {
                margin-right: 10px;
                cursor: pointer;
              }
            }
          }
 
          .select-right {
            display: flex;
            align-items: center;
            justify-content: flex-end;
 
            .select-item {
              border: 0;
            }
          }
        }
      }
    }
  }
}
</style>