新版交易所前段管理后台
1
admin
2026-02-01 d841e83acfd09a5c4f455a2cc74c615ac30c049d
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
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
<template>
  <el-dialog
    title="订单详情"
    :close-on-click-modal="false"
    :visible.sync="visible"
    @close="handClose"
    width="1200px"
    class="transport-dialog"
  >
    <div class="allBox">
      <!-- 左侧详情 -->
      <div class="leftBox">
        <div class="minibox" v-if="roleList.direction == 'buy'">
          {{ roleList.c2c_user_nick_name }}向{{ roleList.username }}出售<span
            class="moneyText"
            >{{ roleList.coin_amount + roleList.symbol }}</span
          >
        </div>
        <div class="minibox" v-if="roleList.direction == 'sell'">
          {{ roleList.username }}向{{ roleList.c2c_user_nick_name }}出售<span
            class="moneyText"
            >{{ roleList.coin_amount + roleList.symbol }}</span
          >
        </div>
        <div class="miniMiddle">
          <div class="chetBox">
            <span class="cicle"></span>
            <div class="title">订单信息</div>
            <div class="miniTitle">
              <span class="titLeft">订单号</span>
              <span class="titRight">订单状态</span>
            </div>
            <div class="textTitle">
              <span class="textBush">{{ roleList.order_no }}</span>
              <span class="textFig yellow" v-if="roleList.state == '0'"
                >待付款</span
              >
              <span class="textFig yellow" v-if="roleList.state == '1'"
                >已付款</span
              >
              <span class="textFig red" v-if="roleList.state == '2'"
                >申诉中</span
              >
              <span class="textFig green" v-if="roleList.state == '3'"
                >已完成</span
              >
              <span class="textFig yellow" v-if="roleList.state == '4'"
                >已取消</span
              >
              <span class="textFig red" v-if="roleList.state == '5'"
                >已超时</span
              >
            </div>
          </div>
          <div class="chetBox">
            <span class="cicle"></span>
            <div class="title">价格</div>
            <div class="miniTitle">
              <span class="titLeft">单价</span>
              <span class="titRight">总价</span>
            </div>
            <div class="textTitle">
              <span class="textBush">{{
                roleList.symbol_value +
                roleList.currency +
                "/" +
                roleList.symbol
              }}</span>
              <span class="textFig green">{{
                roleList.amount + roleList.currency
              }}</span>
            </div>
          </div>
          <div class="chetBox">
            <span class="cicle"></span>
            <div class="title">时间</div>
            <div class="miniTitle">
              <span class="titLeft">下单时间</span>
              <span class="titRight">付款时间</span>
            </div>
            <div class="textTitle">
              <span class="textBush">{{roleList.create_time}}</span>
              <span class="textFigTwo">{{roleList.handle_time}}</span>
            </div>
          </div>
          <div class="chetBox">
            <span class="cicle"></span>
            <div class="title">收款信息</div>
            <div class="miniTitle">
              <span class="titLeft">支付方式类型</span>
              <span class="titRight">支付方式名称</span>
            </div>
            <div class="textTitle">
              <span class="textBush">{{ roleList.method_type_name }}</span>
              <span class="textFigTwo">{{ roleList.method_name }}</span>
            </div>
            <div class="miniTitle" style="margin-top: 20px">
              <span class="titLeft">真实姓名</span>
              <span class="titRight" v-if="roleList.param_value1">{{ roleList.param_name1 }}</span>
              <span class="titRight" v-if="roleList.param_value2">{{ roleList.param_name2 }}</span>
              <span class="titRight" v-if="roleList.param_value3">{{ roleList.param_name3 }}</span>
              <span class="titRight" v-if="roleList.param_value4">{{ roleList.param_name4 }}</span>
              <span class="titRight" v-if="roleList.param_value5">{{ roleList.param_name5 }}</span>
              <span class="titRight" v-if="roleList.param_value6">{{ roleList.param_name6 }}</span>
              <span class="titRight" v-if="roleList.param_value7">{{ roleList.param_name7 }}</span>
              <span class="titRight" v-if="roleList.param_value8">{{ roleList.param_name8 }}</span>
              <span class="titRight" v-if="roleList.param_value9">{{ roleList.param_name9 }}</span>
              <span class="titRight" v-if="roleList.param_value10">{{ roleList.param_name10 }}</span>
              <span class="titRight" v-if="roleList.param_value11">{{ roleList.param_name11 }}</span>
              <span class="titRight" v-if="roleList.param_value12">{{ roleList.param_name12 }}</span>
              <span class="titRight" v-if="roleList.param_value13">{{ roleList.param_name13 }}</span>
              <span class="titRight" v-if="roleList.param_value14">{{ roleList.param_name14 }}</span>
              <span class="titRight" v-if="roleList.param_value15">{{ roleList.param_name15 }}</span>
            </div>
            <div class="textTitle">
              <span class="textBush">{{ roleList.real_name }}</span>
              <span class="textFigTwo" v-if="roleList.param_value1">{{ roleList.param_value1 }}</span>
              <span class="textFigTwo" v-if="roleList.param_value2">{{ roleList.param_value2 }}</span>
              <span class="textFigTwo" v-if="roleList.param_value3">{{ roleList.param_value3 }}</span>
              <span class="textFigTwo" v-if="roleList.param_value4">{{ roleList.param_value4 }}</span>
              <span class="textFigTwo" v-if="roleList.param_value5">{{ roleList.param_value5 }}</span>
              <span class="textFigTwo" v-if="roleList.param_value6">{{ roleList.param_value6 }}</span>
              <span class="textFigTwo" v-if="roleList.param_value7">{{ roleList.param_value7 }}</span>
              <span class="textFigTwo" v-if="roleList.param_value8">{{ roleList.param_value8 }}</span>
              <span class="textFigTwo" v-if="roleList.param_value9">{{ roleList.param_value9 }}</span>
              <span class="textFigTwo" v-if="roleList.param_value10">{{ roleList.param_value10 }}</span>
              <span class="textFigTwo" v-if="roleList.param_value11">{{ roleList.param_value11 }}</span>
              <span class="textFigTwo" v-if="roleList.param_value12">{{ roleList.param_value12 }}</span>
              <span class="textFigTwo" v-if="roleList.param_value13">{{ roleList.param_value13}}</span>
              <span class="textFigTwo" v-if="roleList.param_value14">{{ roleList.param_value14 }}</span>
              <span class="textFigTwo" v-if="roleList.param_value15">{{ roleList.param_value15 }}</span>
            </div>
            <div class="miniTitle" style="margin-top: 20px">
              <span class="titLeft">支付方真实姓名</span>
 
              <span class="titRight">支付二维码</span>
 
            </div>
            <div style="display: flex;justify-content: space-between;width: 400px;">
              <el-input 
                v-model="payRealName" 
                placeholder="请输入支付方真实姓名"
                style="width: 200px;"
                size="small"
              ></el-input>
              <img :src="roleList.qrcode" alt="" width="150" height="150" />
            </div>
          </div>
          <div class="chetBox">
            <span class="cicle"></span>
            <div class="title">操作</div>
            <div>
              <el-button
                type="primary"
                size="medium "
                v-if="
                  roleList.state == '1' ||
                  roleList.state == '2' ||
                  roleList.state == '5'
                "
                @click.stop="passtHandle(row, 'n')"
                >手动放行</el-button
              >
              <el-button
                type="primary"
                size="medium "
                v-if="roleList.state == '0'"
                @click.stop="passtHandle(row)"
                >一键通过</el-button
              >
              <el-button
                type="text"
                v-if="
                  roleList.state == '0' ||
                  roleList.state == '1' ||
                  roleList.state == '2' ||
                  roleList.state == '3' ||
                  roleList.state == '5'
                "
                @click.stop="deletOrdeHandle(row)"
                style="margin-left: 70px"
                >取消订单</el-button
              >
            </div>
          </div>
        </div>
      </div>
      <!-- 右侧聊天框 -->
      <div class="rightBox">
        <div class="kefu" >
          <div :isActive="true" :w="500" :h="620" v-on:resizing="resize" class="kefu-tuozhuai"
                        @activated="activateEv"
                        :isResizable="false" v-on:dragging="resize" :isDrag="false">
            <div class="kefu-title">
               <div id="panel-header" class="header">
                  <div class="module1 left-module left-1">
 
                    <div style="width: 100%; height: 100%;display: flex;justify-content: space-between;">
                      <div class="module" style="">
                        <div>
                          <span class="nickname">{{ dataForm.username }}</span>
                        </div>
                        
                        <!-- <div>
                          <span class="nickname">{{ params.remarks ? '(' + params.remarks + ')' : '' }}</span>
                        </div> -->
                        
                        
                        <!-- <div class="pointer" style="height: auto;padding-left: 10px;" @click="editFriendRemarks(params)">
                          <img src="~@/assets/img/ri_delete-bin-3-line.png" width="24px" height="25px"/>
                        </div>
 
                        <div>
                          <span class="nickname">设置备注</span>
                        </div> -->
 
                      </div>
 
                      <!-- <div class="module" style="height: auto;display: flex;justify-content: flex-end;">
                        <div class="pointer" style="height: auto;margin-right: 40px;" @click="deleteChat(params)">
                          <i class="el-icon-delete"></i>
                        </div>
                        <div class="pointer" style="height: auto;margin-right: 20px;" @click="close()">
                          <img src="~@/assets/img/clear.png" width="28px" height="28px"/>
                        </div>       
                      </div> -->
                    </div>
                  </div>
                  <div class="module left-module left-2">
                    <span class="text1">UID:{{ dataForm.usercode }}</span>
                    <span class="text1">账户类型:<span style="color:#38E1A5;">{{ dataForm.roleNameDesc}}</span></span>
                    <!-- <span class="text1">推荐人:{{ params.recom_parent_name }}</span> -->
                    <!-- <span class="text1">登录IP:{{ params.loginIp }}</span> -->
                    <span class="text1">订单时间:{{ dataForm.create_time }}</span>
                    <!-- <span class="text1">最后登录时间:{{ params.last_login_time }}</span> -->
                  </div>
                </div>
              <!-- <span>在线客服</span> -->
              <!-- <img  src="@/assets/img/Group609.png" @click="show_kefu=false" /> -->
            </div>
            <div class="kegu-nrkegu-nr">
              <chat ref="chat"/>
            </div>
          </div>
        </div>
      </div>
    </div>
 
    <span slot="footer" class="dialog-footer">
      <el-button @click="closeDiog()">取消</el-button>
      <el-button type="primary" @click="updatePayRealName()">确定</el-button>
    </span>
     <!-- 取消订单 -->
     <passtpn
      v-if="passtpnVisible"
      @refreshDataList="getC2cManagerInfo"
      :append-to-body="true"
      ref="passtpnUpdate"
    >
    </passtpn>
     <!-- 取消订单 -->
     <deletMsg
      v-if="deletVisible"
      @refreshDataList="getC2cManagerInfo"
      :append-to-body="true"
      ref="deletUpdate"
    >
    </deletMsg>
  </el-dialog>
</template>
 
<script>
import { Debounce } from "@/utils/debounce";
import passtpn from "./c2c-ord-passtpn";
import { encrypt } from "@/utils/crypto";
import VueDragResize from 'vue-drag-resize';
import Chat from '@/components/chat2'
import deletMsg from "./c2c-ord-delet";
export default {
  data() {
    return {
      hasFreeCondition: 0,
      visible: false,
      addOrUpdateVisible: false,
      passtpnVisible:false,
      deletVisible:false,
      dataForm: {
        id: "",
      },
      roleList: [],
      payRealName: "", // 支付方真实姓名
      page: {
        total: 0, // 总页数
        currentPage: 1, // 当前页数
        pageSize: 10, // 每页显示多少条
      },
      dataRule: {
        login_safeword: [
          { required: true, message: "资金密码不能为空", trigger: "blur" },
        ],
      },
    };
  },
  components: {VueDragResize,Chat,passtpn,
    deletMsg},
  methods: {
    //拖拽事件
    resize(newRect) {
    },
    activateEv() { // 结局文本框无法输入的问题
      if (this.$refs['chat'] && this.$refs['chat'].$refs['input']) {
        this.$refs['chat'].$refs['input'].focus()
      }
    },
    init(row) {
      console.log(row);
      this.dataForm = {...row};
      this.getC2cManagerInfo();
      this.visible = true;
      this.$nextTick(() => {
        this.$refs['chat'].init(this.dataForm);
      });
    },
    handClose() {
      this.$nextTick(() => {
        this.$refs['chat'].close();
      });
      this.$emit('refreshDataList', this.page)
      this.$data.dataForm = JSON.parse(
        JSON.stringify(this.$options.data().dataForm)
      );
      // this.$nextTick(() => {
      //   this.$refs["dataForm"].clearValidate(); // 清除表单验证
      // });
    },
    getC2cManagerInfo() {
      //获取详情
      this.$http({
        url: this.$http.adornUrl("/c2cOrder/detail"),
        method: "post",
        data: this.$http.adornData(
          Object.assign({
            order_no: this.dataForm.order_no,
          })
        ),
      }).then(({ data }) => {
        if (data.code == 0) {
          this.roleList = data.data;
          // 回显支付方真实姓名
          this.payRealName = data.data.pay_real_name || "";
        }
      });
    },
    passtHandle(row, n) {
      this.passtpnVisible = true;
      this.$nextTick(() => {
        this.$refs.passtpnUpdate.init(row, n);
      });
    },
    deletOrdeHandle(row) {
      this.deletVisible = true;
      this.$nextTick(() => {
        this.$refs.deletUpdate.init(row);
      });
    },
    // 表单提交
closeDiog(){
  this.visible = false
  this.$emit('refreshDataList', this.page)
},
    // 更新支付方真实姓名
    updatePayRealName() {
      this.$http({
        url: this.$http.adornUrl("/c2cOrder/update"),
        method: "post",
        data: this.$http.adornData({
          order_no: this.dataForm.order_no,
          pay_real_name: this.payRealName,
        }),
      }).then(({ data }) => {
        if (data.code == 0) {
          this.$message({
            message: "操作成功",
            type: "success",
            duration: 1500,
            onClose: () => {
              this.visible = false;
              this.$emit('refreshDataList', this.page);
            },
          });
        } else {
          this.$message({
            message: data.msg || "操作失败",
            type: "error",
            duration: 1500,
          });
        }
      }).catch(() => {
        this.$message({
          message: "操作失败",
          type: "error",
          duration: 1500,
        });
      });
    },
  },
};
</script>
 
<style lang="scss" scoped>
.transport-dialog .table-con .el-form-item {
  margin-top: 16px;
  margin-bottom: 16px !important;
}
.allBox {
  width: 100%;
  overflow: hidden;
}
.leftBox {
  width: 550px;
  float: left;
}
.rightBox {
  width: 500px;
  float: right;
  padding: 30px;
  height: 600px;
  // background: yellow;
}
.moneyText {
  font-size: 20px;
}
.minibox {
  height: 50px;
  line-height: 50px;
  letter-spacing: 1px;
  border-bottom: 1px solid #eaecef;
}
.miniMiddle {
  margin-top: 20px;
  overflow: hidden;
  height: 800px;
  border-left: 1px solid #eaecef;
}
.cicle {
  display: block;
  width: 10px;
  height: 10px;
  border: 2px solid #1d91ff;
  border-radius: 50%;
  position: absolute;
  left: 13px;
  margin-top: 3px;
}
.chetBox {
  padding-left: 10px;
  margin-bottom: 40px;
}
.title {
  font-size: 17px;
  color: black;
  margin-bottom: 10px;
  font-weight: 540;
}
.titLeft {
  float: left;
  color: #727a89;
  font-size: 14px;
}
.titRight {
  float: right;
  color: #727a89;
}
.textBush {
  float: left;
  font-size: 16px;
  color: black;
}
.textFig {
  float: right;
  font-size: 19px;
}
.textFigTwo {
  float: right;
  font-size: 16px;
  color: black;
}
.textTitle {
  overflow: hidden;
  width: 400px;
}
.miniTitle {
  overflow: hidden;
  margin-bottom: 10px;
  width: 400px;
}
</style>
 
<style>
#app {
  min-height: 100vh;
  overflow-x: hidden;
}
body {
  margin: 0;
}
/* 客服 */
.service-box{
  bottom: 1px;
  cursor: pointer;
}
.vdr.active:before {
  display: none;
}
 
/* .item-dropdown-wrapper.el-dropdown-menu,.quotes-dropdown.el-dropdown-menu {
  background: #24282D !important;
  border: 1px solid #24282D !important;
}
 
.popper__arrow {
  border-bottom-color: #24282D !important;
}
 
.el-popper[x-placement^=bottom] .popper__arrow::after {
  border-bottom-color: #24282D !important;
} */
 
.item-dropdown-wrapper  .el-dropdown-menu__item:focus, .item-dropdown-wrapper .el-dropdown-menu__item:not(.is-disabled):hover {
  background-color: transparent !important;
  color: #1D91FF !important;
}
 
.quotes-dropdown.el-dropdown-menu {
  padding: 0 !important;
}
 
.quotes-dropdown .el-dropdown-menu__item {
  min-width: 60px !important;
  padding: 6px 13px !important;
}
 
.quotes-dropdown .el-dropdown-menu__item:hover {
  background: #2C3138 !important;
}
 
 
</style>
<style scoped>
.kefu{
  cursor: pointer;
}
.embed-responsive-item{
  width: 100%;
  height: 100%;
  border: none;
}
.kefu-title{
  width: 100%;
  height: 87px;
  position: relative;
  text-align: center;
  background: linear-gradient(90.3deg, rgba(45, 45, 53, 0.71) 0.21%, #23232E 99.83%);
  border-radius: 10px 10px 0px 0px;
}
.kegu-nrkegu-nr{
  width: 100%;
  height: 559px;
}
.kefu-title span{
  text-align: center;
  font-style: normal;
  font-weight: 400;
  font-size: 20px;
  line-height: 61px;
  color: #FFFFFF;
}
.kefu-title img{
  position: absolute;
  width: 30px;
  height: 30px;
  right: 21px;
  top: 16px;
}
 
::v-deep .kefu-title .date{
  color: #fff !important;
}
.kefu-tuozhuai {
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.5);
  outline: none;
  background: #FFFFFF;
  border-radius: 10px;
}
 
.kefu-tuozhuai:before {
    position: absolute;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
 
</style>
 
 
<style lang="less" scoped>
 
  .pointer {
    cursor: pointer;
  }
 
  .header{
    // max-width: 1450px;
    // max-width: 1290px;
    width: auto;
    height: 87px;
    background-color: #2E2F33;
    // display: flex;
  }
 
#panel-header {
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
  border-bottom: 1px solid #f5eeee;
  color: #FFFFFF;
 
 
  .module1 {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
  }
 
  .module {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
  }
 
  .left-1{
    background: linear-gradient(90deg, #121212 0%, #2F3032 51.04%, #6E6F75 100%),
    linear-gradient(0deg, #393939, #393939);
    // width: 1171px;
    height: 55px;
    // top: 204px;
    // left: 720px;
    border-radius: 0px 10px 0px 0px;
 
  }
 
  .left-2{
    background-color: #2E2F33;
    // width: 1171px
    height: 32px;
    // top: 259px
    // left: 720px
 
  }
 
  .left-module {
    padding-right: 0px;
 
    .nickname {
      // overflow: hidden;
      // white-space: nowrap;
      // text-overflow: ellipsis;
      font-family: PingFang SC;
      font-size: 18px;
      font-weight: 500;
      line-height: 25px;
      letter-spacing: 0em;
      text-align: center;
 
      padding-left: 10px;
    }
 
    .text1{
      overflow: hidden;
      white-space: nowrap;
      text-overflow: ellipsis;
      font-family: PingFang SC;
      font-size: 12px;
      font-weight: 400;
      line-height: 17px;
      letter-spacing: 0em;
      text-align: center;
 
      font-family: PingFang SC;
      font-size: 12px;
      font-weight: 500;
      line-height: 17px;
      letter-spacing: 0em;
      text-align: center;
 
      padding-left: 10px;
    }
 
  }
 
  .center-module {
    flex-direction: column;
    justify-content: center;
 
    .online {
      color: #cccccc;
      font-weight: 300;
      font-size: 15px;
 
      &.color {
        color: #1890ff;
      }
 
      .online-status {
        position: relative;
        top: -1px;
        display: inline-block;
        width: 6px;
        height: 6px;
        vertical-align: middle;
        border-radius: 50%;
        position: relative;
        background-color: #1890ff;
        margin-right: 5px;
 
        &:after {
          position: absolute;
          top: -1px;
          left: -1px;
          width: 100%;
          height: 100%;
          border: 1px solid #1890ff;
          border-radius: 50%;
          -webkit-animation: antStatusProcessing 1.2s ease-in-out infinite;
          animation: antStatusProcessing 1.2s ease-in-out infinite;
          content: '';
        }
      }
    }
 
    .keyboard-status {
      height: 20px;
      line-height: 18px;
      font-size: 10px;
      animation: inputfade 600ms infinite;
      -webkit-animation: inputfade 600ms infinite;
    }
  }
 
  .right-module {
    display: flex;
    justify-content: flex-end;
    align-items: center;
 
    p {
      cursor: pointer;
      margin: 0 8px;
      font-size: 20px;
      color: #828f95;
      &:active i {
        font-size: 26px;
        transform: scale(1.3);
        transition: ease 0.5s;
        color: red;
      }
    }
  }
}
 
/* css 动画 */
@keyframes inputfade {
  from {
    opacity: 1;
  }
 
  50% {
    opacity: 0.4;
  }
 
  to {
    opacity: 1;
  }
}
 
@-webkit-keyframes inputfade {
  from {
    opacity: 1;
  }
 
  50% {
    opacity: 0.4;
  }
 
  to {
    opacity: 1;
  }
}
 
@-webkit-keyframes antStatusProcessing {
  0% {
    -webkit-transform: scale(0.8);
    transform: scale(0.8);
    opacity: 0.5;
  }
 
  to {
    -webkit-transform: scale(2.4);
    transform: scale(2.4);
    opacity: 0;
  }
}
 
@keyframes antStatusProcessing {
  0% {
    -webkit-transform: scale(0.8);
    transform: scale(0.8);
    opacity: 0.5;
  }
 
  to {
    -webkit-transform: scale(2.4);
    transform: scale(2.4);
    opacity: 0;
  }
}
</style>