@jx3box/jx3box-common-ui 6.6.6 → 6.6.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -54,16 +54,16 @@ body {
54
54
  transition: 0.3s ease-in-out;
55
55
  }
56
56
  // &:hover {
57
- // background-color:@primary;
58
- // .u-pic {
59
- // // transform: rotateZ(180deg);
60
- // svg {
61
- // fill: #0cf;
62
- // }
63
- // }
64
- // .u-txt {
65
- // color: #0cf;
66
- // }
57
+ // background-color:@primary;
58
+ // .u-pic {
59
+ // // transform: rotateZ(180deg);
60
+ // svg {
61
+ // fill: #0cf;
62
+ // }
63
+ // }
64
+ // .u-txt {
65
+ // color: #0cf;
66
+ // }
67
67
  // }
68
68
  .u-txt {
69
69
  color: #fff;
@@ -89,43 +89,46 @@ body {
89
89
  }
90
90
 
91
91
  //怀旧服
92
- .c-header-origin{
92
+ .c-header-origin {
93
93
  .fl;
94
- margin:15px 0;
94
+ margin: 15px 0;
95
95
  .mr(10px);
96
96
  .pr;
97
- background-color:#7d7d7d;
97
+ background-color: #7d7d7d;
98
98
  border: 2px solid #303133;
99
99
  border-radius: 4px;
100
100
  overflow: hidden;
101
- .u-active{
101
+ .u-active {
102
102
  .db;
103
- .size(50%,100%);
103
+ .size(50%, 100%);
104
104
  background: @color-link;
105
- &:hover{
106
- background-color:#3590f7;
105
+ &:hover {
106
+ background-color: #3590f7;
107
107
  }
108
- .pa;.lt(0);
108
+ .pa;
109
+ .lt(0);
109
110
 
110
111
  transition: all 0.2s ease-in-out;
111
- &.isOffset{
112
+ &.isOffset {
112
113
  transform: translateX(100%);
113
114
  }
114
115
  }
115
- .u-item{
116
- .dbi;.y(top);
116
+ .u-item {
117
+ .dbi;
118
+ .y(top);
117
119
  font-size: 14px;
118
120
  color: #fff;
119
121
  .pointer;
120
122
  padding: 5px 10px;
121
- .pr;.z(1);
123
+ .pr;
124
+ .z(1);
122
125
  }
123
- .on{
126
+ .on {
124
127
  cursor: default;
125
128
  }
126
129
  }
127
- @media screen and (max-width:@phone){
128
- .c-header-origin{
130
+ @media screen and (max-width: @phone) {
131
+ .c-header-origin {
129
132
  .ml(10px);
130
133
  .mt(16px);
131
134
  }
@@ -192,7 +195,7 @@ body {
192
195
  .fl;
193
196
  font-family: Montserrat, "Helvetica Neue", sans-serif;
194
197
  .clearfix;
195
- .u-item-box{
198
+ .u-item-box {
196
199
  .fl;
197
200
  }
198
201
  .u-item {
@@ -222,7 +225,7 @@ body {
222
225
  }
223
226
  padding: 16px 15px;
224
227
  transition: 0.1s ease-in;
225
- i{
228
+ i {
226
229
  .none;
227
230
  }
228
231
  }
@@ -243,9 +246,9 @@ body {
243
246
  line-height: 16px;
244
247
  padding: 10px 30px;
245
248
  .db;
246
- span{
249
+ span {
247
250
  .fz(12px);
248
- color:#999;
251
+ color: #999;
249
252
  }
250
253
  }
251
254
  }
@@ -284,8 +287,6 @@ body {
284
287
  }
285
288
 
286
289
  .u-menu {
287
- // .none;
288
-
289
290
  background-clip: padding-box;
290
291
  background-color: #fff;
291
292
  color: @color;
@@ -348,25 +349,27 @@ body {
348
349
  }
349
350
  }
350
351
 
351
- .i-icon-vip{
352
- .dbi;vertical-align: baseline;
353
- padding:2px 5px;
354
- .fz(12px,14px);
352
+ .i-icon-vip {
353
+ .dbi;
354
+ vertical-align: baseline;
355
+ padding: 2px 5px;
356
+ .fz(12px, 14px);
355
357
  font-style: normal;
356
358
  border-radius: 2px;
357
- background-color:#ddd;
358
- color:#fff;
359
- &.on{
359
+ background-color: #ddd;
360
+ color: #fff;
361
+ &.on {
360
362
  background-color: #6f42c1;
361
363
  }
362
364
  }
363
- .u-expire,.u-vip-type{
365
+ .u-expire,
366
+ .u-vip-type {
364
367
  .fz(12px);
365
368
  // color:#999;
366
369
  .ml(5px);
367
370
  }
368
- .u-vip-left{
369
- color:#999;
371
+ .u-vip-left {
372
+ color: #999;
370
373
  .ml(5px);
371
374
  }
372
375
 
@@ -376,6 +379,10 @@ body {
376
379
  display: inline-block;
377
380
  margin-right: 3px;
378
381
  }
382
+
383
+ .off {
384
+ filter: grayscale(100%);
385
+ }
379
386
  }
380
387
 
381
388
  //消息面板
@@ -386,18 +393,20 @@ body {
386
393
 
387
394
  .u-msg {
388
395
  display: block;
389
- height: 32px;
390
- padding: 13px 10px;
396
+ // height: 32px;
397
+ padding: 27px 14px 20px 14px;
391
398
  &:hover {
392
399
  opacity: 0.7;
393
400
  }
394
401
  cursor: pointer;
395
402
  }
396
403
  .u-icon-msg {
397
- .mt(10px);
398
- width: 15px;
399
- height: 16px;
404
+ // .mt(10px);
405
+ width: 17px;
406
+ height: 17px;
400
407
  display: block;
408
+ .pr;
409
+ top: -1px;
401
410
  // margin-top: 9px;
402
411
  svg {
403
412
  width: 100%;
@@ -415,7 +424,7 @@ body {
415
424
  border-radius: 50%;
416
425
  position: absolute;
417
426
  right: -5px;
418
- top: -10px;
427
+ top: -6px;
419
428
  }
420
429
  .u-list {
421
430
  // .none;
@@ -435,14 +444,13 @@ body {
435
444
  border: 1px solid #ccc;
436
445
  padding: 10px;
437
446
 
438
-
439
447
  ul {
440
448
  padding: 0;
441
449
  margin: 0;
442
450
  list-style: none;
443
451
  *zoom: 1;
444
452
  &::after {
445
- content: '';
453
+ content: "";
446
454
  flex: 1;
447
455
  }
448
456
  // &:after {
@@ -593,11 +601,11 @@ body {
593
601
  height: 100%;
594
602
  user-select: none;
595
603
  cursor: pointer;
604
+ box-sizing: border-box;
596
605
 
597
606
  .u-post {
598
607
  .db;
599
- height: 32px;
600
- padding: 20px 10px 10px 10px;
608
+ padding: 24px 8px 24px 10px;
601
609
  }
602
610
 
603
611
  .u-add {
@@ -620,6 +628,106 @@ body {
620
628
  }
621
629
  }
622
630
 
631
+ // 用户资产
632
+ .c-header-assets {
633
+ float: left;
634
+ position: relative;
635
+ height: 100%;
636
+
637
+ .u-coin {
638
+ .db;
639
+ .size(18px);
640
+ * {
641
+ fill: #fff !important;
642
+ }
643
+ }
644
+ .u-asset {
645
+ .db;
646
+ padding: (@header-height - 16px)/2 10px;
647
+ &:hover {
648
+ .tm(0.7);
649
+ }
650
+ }
651
+
652
+ .u-icon {
653
+ .size(16px);
654
+ // font-size: 15px;
655
+ display: block;
656
+ // height: 32px;
657
+ padding: 24px 10px 10px 10px;
658
+ .pointer;
659
+ }
660
+
661
+ .u-assets {
662
+ .pa;
663
+ background-clip: padding-box;
664
+ background-color: #fff;
665
+ color: #3d454d;
666
+ border: 1px solid rgba(27, 31, 35, 0.15);
667
+ border-radius: 4px;
668
+ box-shadow: 0 3px 12px rgb(27 31 35 / 15%);
669
+ right: 0;
670
+ list-style: none;
671
+ margin: -6px 0 0 0;
672
+ padding: 15px;
673
+ position: absolute;
674
+ z-index: 820;
675
+ top: 100%;
676
+ width: 200px;
677
+
678
+ &:before {
679
+ content: "";
680
+ display: inline-block;
681
+ position: absolute;
682
+ left: auto;
683
+ right: 9px;
684
+ top: -16px;
685
+ border: 8px solid transparent;
686
+ border-bottom-color: rgba(27, 31, 35, 0.15);
687
+ }
688
+
689
+ &:after {
690
+ content: "";
691
+ display: inline-block;
692
+ position: absolute;
693
+ left: auto;
694
+ right: 10px;
695
+ top: -14px;
696
+ border: 7px solid transparent;
697
+ border-bottom-color: #fff;
698
+ }
699
+ }
700
+
701
+ .u-detail {
702
+ .u-item {
703
+ font-size: 12px;
704
+ color: #454545;
705
+ .flex;
706
+ align-items: center;
707
+ justify-content: space-between;
708
+ padding: 5px 0;
709
+
710
+ .u-value {
711
+ font-weight: bold;
712
+ .ml(5px);
713
+ color: #da076a;
714
+ }
715
+ .u-item-extend {
716
+ a {
717
+ .ml(5px);
718
+ &:hover {
719
+ color: @pink;
720
+ }
721
+ }
722
+ }
723
+ }
724
+ }
725
+ }
726
+
727
+ // 管理菜单
728
+ .c-header-manage {
729
+ }
730
+
623
731
  //登录、注册
624
732
  .c-header-login {
625
733
  margin: 16px 5px 16px 0;
@@ -692,12 +800,11 @@ body {
692
800
  }
693
801
 
694
802
  // .u-register {
695
- // background-color: @primary;
696
- // .mr(10px);
803
+ // background-color: @primary;
804
+ // .mr(10px);
697
805
  // }
698
806
  }
699
807
 
700
-
701
808
  // 用户信息
702
809
  .c-header-info {
703
810
  float: left;
@@ -779,6 +886,85 @@ body {
779
886
  opacity: 0.7;
780
887
  }
781
888
  }
889
+
890
+ .m-info {
891
+ background-clip: padding-box;
892
+ background-color: #fff;
893
+ color: #3d454d;
894
+ border: 1px solid rgba(27, 31, 35, 0.15);
895
+ border-radius: 4px;
896
+ box-shadow: 0 3px 12px rgb(27 31 35 / 35%);
897
+ right: 0;
898
+ list-style: none;
899
+ position: absolute;
900
+ z-index: 820;
901
+ top: 100%;
902
+ width: 400px;
903
+ margin-top: 18px;
904
+ margin-right: -10px;
905
+
906
+ .u-profile {
907
+ background-color: #f4f6f7;
908
+ padding: 10px;
909
+ }
910
+
911
+ .u-id {
912
+ font-size: 12px;
913
+ color: #999;
914
+ margin-top: 5px;
915
+ }
916
+ .u-copy {
917
+ margin-left: 5px;
918
+ .pointer;
919
+
920
+ &:hover {
921
+ color: @primary;
922
+ }
923
+ }
924
+ .m-vip {
925
+ margin-top: 5px;
926
+ }
927
+ .u-vip {
928
+ margin-left: 10px;
929
+ }
930
+
931
+ .u-actions {
932
+ width: 100%;
933
+ .flex;
934
+
935
+ .el-button {
936
+ border-radius: 0;
937
+ flex: 1;
938
+
939
+ &:first-of-type {
940
+ border-left-width: 0;
941
+ }
942
+ &:last-of-type {
943
+ border-right-width: 0;
944
+ }
945
+ }
946
+ }
947
+
948
+ .m-other {
949
+ .u-item {
950
+ display: block;
951
+ padding: 5px 10px;
952
+ color: #454545;
953
+
954
+ &:hover {
955
+ background: @primary;
956
+ color: #fff;
957
+ }
958
+ }
959
+ .u-logout {
960
+ padding: 0 10px 10px 10px;
961
+
962
+ .el-button {
963
+ width: 100%;
964
+ }
965
+ }
966
+ }
967
+ }
782
968
  }
783
969
 
784
970
  @media print {
@@ -787,16 +973,18 @@ body {
787
973
  }
788
974
  }
789
975
 
790
- @media screen and (max-width:@phone){
791
- .env-app{
792
- .c-header{.none;}
793
- body{
976
+ @media screen and (max-width: @phone) {
977
+ .env-app {
978
+ .c-header {
979
+ .none;
980
+ }
981
+ body {
794
982
  padding-top: 0;
795
983
  }
796
984
  }
797
985
  }
798
986
 
799
- .c-header-jx3box{
987
+ .c-header-jx3box {
800
988
  top: @header-height;
801
989
  left: 0;
802
990
  }
@@ -602,122 +602,5 @@
602
602
  ]
603
603
  }
604
604
  ]
605
- },
606
- {
607
- "name": "用户",
608
- "icon": "",
609
- "children": [
610
- {
611
- "name": "账号",
612
- "children": [
613
- {
614
- "name": "注册/登录账号",
615
- "href": "/account/",
616
- "client": "std",
617
- "status": true,
618
- "hasMark": false,
619
- "markcls": "ishot"
620
- },
621
- {
622
- "name": "资料设置",
623
- "href": "/dashboard/profile",
624
- "client": "all",
625
- "status": true,
626
- "hasMark": false,
627
- "markcls": "ishot"
628
- },
629
- {
630
- "name": "亲友/黑名单",
631
- "href": "/dashboard/privacy",
632
- "client": "all",
633
- "status": true,
634
- "hasMark": true,
635
- "markcls": "ishot"
636
- },
637
- {
638
- "name": "反馈中心",
639
- "href": "/dashboard/feedback",
640
- "client": "all",
641
- "status": true,
642
- "hasMark": false,
643
- "markcls": "ishot"
644
- },
645
- {
646
- "name": "申请签约",
647
- "href": "/dashboard/cooperation",
648
- "client": "all",
649
- "status": true,
650
- "hasMark": false,
651
- "markcls": "ishot"
652
- },
653
- {
654
- "name": "注销账号",
655
- "href": "/dashboard/feedback/erase",
656
- "client": "all",
657
- "status": true,
658
- "hasMark": false,
659
- "markcls": "ishot"
660
- }
661
- ]
662
- },
663
- {
664
- "name": "资产",
665
- "children": [
666
- {
667
- "name": "盒币兑换",
668
- "href": "/dashboard/boxcoin",
669
- "client": "std",
670
- "status": true,
671
- "hasMark": false,
672
- "markcls": "ishot"
673
- },
674
- {
675
- "name": "金箔提现",
676
- "href": "/dashboard/cny",
677
- "client": "all",
678
- "status": true,
679
- "hasMark": false,
680
- "markcls": "ishot"
681
- },
682
- {
683
- "name": "银铛兑换",
684
- "href": "/dashboard/points",
685
- "client": "all",
686
- "status": true,
687
- "hasMark": false,
688
- "markcls": "ishot"
689
- },
690
- {
691
- "name": "卡密/激活码",
692
- "href": "/dashboard/card",
693
- "client": "all",
694
- "status": true,
695
- "hasMark": false,
696
- "markcls": "ishot"
697
- }
698
- ]
699
- },
700
- {
701
- "name": "增值服务",
702
- "children": [
703
- {
704
- "name": "付费版账号",
705
- "href": "/vip/premium/?from=header_box",
706
- "client": "std",
707
- "status": true,
708
- "hasMark": false,
709
- "markcls": "ishot"
710
- },
711
- {
712
- "name": "积分商城",
713
- "href": "/vip/mall/",
714
- "client": "all",
715
- "status": true,
716
- "hasMark": false,
717
- "markcls": "ishot"
718
- }
719
- ]
720
- }
721
- ]
722
605
  }
723
606
  ]
@@ -0,0 +1 @@
1
+ <svg fill="#ffffff" enable-background="new 0 0 32 32" height="512" viewBox="0 0 32 32" width="512" xmlns="http://www.w3.org/2000/svg"><g id="Layer_2"><path d="m27.943 22.07-.601-1c-.779-1.298-1.191-2.784-1.191-4.298v-5.52c0-5.598-4.553-10.152-10.151-10.152s-10.151 4.554-10.151 10.151v5.52c0 1.514-.412 3-1.191 4.298l-.601 1.001c-.485.809-.498 1.781-.033 2.603.465.821 1.305 1.311 2.249 1.311h19.455c.943 0 1.784-.49 2.249-1.311.464-.821.451-1.794-.034-2.603zm-1.533 1.716c-.068.12-.27.398-.682.398h-19.456c-.413 0-.614-.278-.682-.398-.068-.119-.202-.436.01-.789l.601-1c.947-1.578 1.448-3.384 1.448-5.225v-5.52c-.001-4.606 3.746-8.352 8.351-8.352s8.352 3.747 8.352 8.352v5.52c0 1.84.5 3.647 1.448 5.225l.601 1c.211.353.077.67.009.789z"/><path d="m19.087 27.758c-.657.84-1.811 1.342-3.087 1.342s-2.43-.502-3.087-1.342c-.307-.391-.873-.46-1.264-.154s-.46.872-.154 1.264c.995 1.272 2.68 2.032 4.505 2.032s3.51-.76 4.505-2.033c.306-.392.237-.958-.154-1.264-.391-.305-.957-.235-1.264.155z"/></g></svg>
@@ -0,0 +1 @@
1
+ <svg fill="none" height="512" viewBox="0 0 24 24" width="512" xmlns="http://www.w3.org/2000/svg"><path d="m12 22c-5.523 0-10-4.477-10-10s4.477-10 10-10 10 4.477 10 10-4.477 10-10 10zm0-2c2.1217 0 4.1566-.8429 5.6569-2.3431 1.5002-1.5003 2.3431-3.5352 2.3431-5.6569 0-2.12173-.8429-4.15656-2.3431-5.65685-1.5003-1.5003-3.5352-2.34315-5.6569-2.34315-2.12173 0-4.15656.84285-5.65685 2.34315-1.5003 1.50029-2.34315 3.53512-2.34315 5.65685 0 2.1217.84285 4.1566 2.34315 5.6569 1.50029 1.5002 3.53512 2.3431 5.65685 2.3431zm0-12.95 4.95 4.95-4.95 4.95-4.95-4.95zm0 2.829-2.121 2.121 2.121 2.121 2.121-2.121z" fill="rgb(0,0,0)"/></svg>
@@ -0,0 +1 @@
1
+ <svg height="15px" viewBox="0 -1 401.52289 401" width="15px" xmlns="http://www.w3.org/2000/svg"><path d="m370.589844 250.972656c-5.523438 0-10 4.476563-10 10v88.789063c-.019532 16.5625-13.4375 29.984375-30 30h-280.589844c-16.5625-.015625-29.980469-13.4375-30-30v-260.589844c.019531-16.558594 13.4375-29.980469 30-30h88.789062c5.523438 0 10-4.476563 10-10 0-5.519531-4.476562-10-10-10h-88.789062c-27.601562.03125-49.96875 22.398437-50 50v260.59375c.03125 27.601563 22.398438 49.96875 50 50h280.589844c27.601562-.03125 49.96875-22.398437 50-50v-88.792969c0-5.523437-4.476563-10-10-10zm0 0"/><path d="m376.628906 13.441406c-17.574218-17.574218-46.066406-17.574218-63.640625 0l-178.40625 178.40625c-1.222656 1.222656-2.105469 2.738282-2.566406 4.402344l-23.460937 84.699219c-.964844 3.472656.015624 7.191406 2.5625 9.742187 2.550781 2.546875 6.269531 3.527344 9.742187 2.566406l84.699219-23.464843c1.664062-.460938 3.179687-1.34375 4.402344-2.566407l178.402343-178.410156c17.546875-17.585937 17.546875-46.054687 0-63.640625zm-220.257812 184.90625 146.011718-146.015625 47.089844 47.089844-146.015625 146.015625zm-9.40625 18.875 37.621094 37.625-52.039063 14.417969zm227.257812-142.546875-10.605468 10.605469-47.09375-47.09375 10.609374-10.605469c9.761719-9.761719 25.589844-9.761719 35.351563 0l11.738281 11.734375c9.746094 9.773438 9.746094 25.589844 0 35.359375zm0 0"/></svg>
@@ -0,0 +1 @@
1
+ <svg t="1674922277276" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="8703" width="18" height="18"><path d="M224 423.84V231.744l192-0.096 0.096 192.096L224 423.84z m192.096-256.096H223.904A64 64 0 0 0 160 231.68v192.192a64 64 0 0 0 63.904 63.904h192.192A64 64 0 0 0 480 423.84V231.68a64 64 0 0 0-63.904-63.904zM224 807.84v-192.096l192-0.096 0.096 192.096L224 807.84z m192.096-256.096H223.904A64 64 0 0 0 160 615.68v192.192a64 64 0 0 0 63.904 63.904h192.192A64 64 0 0 0 480 807.84V615.68a64 64 0 0 0-63.904-63.904zM704.064 463.616l-135.84-135.84 135.712-135.84 135.904 135.744-135.776 135.936z m181.024-181.024l-135.904-135.904a64 64 0 0 0-90.368 0L522.912 282.56a63.456 63.456 0 0 0-18.656 45.056 63.456 63.456 0 0 0 18.656 45.312l135.904 135.936a63.904 63.904 0 0 0 90.368-0.032l135.904-135.904a63.936 63.936 0 0 0 0-90.368zM608 807.84v-192.096l192-0.096 0.096 192.096-192.096 0.096z m192.096-256.096h-192.192A64 64 0 0 0 544 615.68v192.192a64 64 0 0 0 63.904 63.904h192.192A64 64 0 0 0 864 807.84V615.68a64 64 0 0 0-63.904-63.904z" fill="#fff" p-id="8704"></path></svg>
@@ -0,0 +1,56 @@
1
+ <?xml version="1.0" encoding="iso-8859-1"?>
2
+ <!-- Generator: Adobe Illustrator 19.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
3
+ <svg version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
4
+ viewBox="0 0 367.92 367.92" style="enable-background:new 0 0 367.92 367.92;" xml:space="preserve" fill="#ffffff" width="16px" height="16px">
5
+ <g>
6
+ <g>
7
+ <g>
8
+ <path d="M367.851,6.944c-0.056-0.424-0.12-0.832-0.248-1.248c-0.136-0.456-0.32-0.872-0.528-1.296
9
+ c-0.112-0.232-0.152-0.48-0.288-0.704c-0.088-0.144-0.232-0.24-0.336-0.376c-0.264-0.368-0.576-0.688-0.904-1.016
10
+ c-0.328-0.328-0.656-0.632-1.032-0.896c-0.136-0.096-0.224-0.232-0.36-0.312c-0.224-0.136-0.472-0.168-0.704-0.28
11
+ c-0.44-0.216-0.872-0.4-1.336-0.536c-0.392-0.104-0.776-0.16-1.176-0.208c-0.472-0.056-0.928-0.088-1.4-0.064
12
+ c-0.44,0.024-0.864,0.112-1.296,0.216c-0.272,0.064-0.552,0.04-0.824,0.136l-352,120c-3.184,1.072-5.352,4.04-5.416,7.408
13
+ c-0.064,3.368,1.984,6.416,5.136,7.624l164.456,63.192l71.064,164.512c1.272,2.936,4.168,4.824,7.344,4.824
14
+ c0.136,0,0.264,0,0.4-0.008c3.336-0.168,6.208-2.384,7.224-5.56l112-352c0.08-0.248,0.056-0.504,0.104-0.76
15
+ c0.096-0.448,0.168-0.88,0.184-1.336C367.931,7.808,367.907,7.384,367.851,6.944z M31.475,128.368L330.011,26.592
16
+ L173.619,182.984L31.475,128.368z M246.859,337.112l-61.76-142.976L342.403,36.824L246.859,337.112z"/>
17
+ <path d="M125.659,242.264c-3.128-3.128-8.184-3.128-11.312,0l-112,112c-3.128,3.128-3.128,8.184,0,11.312
18
+ c1.56,1.56,3.608,2.344,5.656,2.344s4.096-0.784,5.656-2.344l112-112C128.787,250.448,128.787,245.392,125.659,242.264z"/>
19
+ <path d="M146.347,298.264l-56,56c-3.128,3.128-3.128,8.184,0,11.312c1.56,1.56,3.608,2.344,5.656,2.344
20
+ c2.048,0,4.096-0.784,5.656-2.344l56-56c3.128-3.128,3.128-8.184,0-11.312C154.531,295.136,149.475,295.136,146.347,298.264z"/>
21
+ <path d="M8.003,279.92c2.048,0,4.096-0.784,5.656-2.344l56-56c3.128-3.128,3.128-8.184,0-11.312
22
+ c-3.128-3.128-8.184-3.128-11.312,0l-56,56c-3.128,3.128-3.128,8.184,0,11.312C3.907,279.136,5.955,279.92,8.003,279.92z"/>
23
+ </g>
24
+ </g>
25
+ </g>
26
+ <g>
27
+ </g>
28
+ <g>
29
+ </g>
30
+ <g>
31
+ </g>
32
+ <g>
33
+ </g>
34
+ <g>
35
+ </g>
36
+ <g>
37
+ </g>
38
+ <g>
39
+ </g>
40
+ <g>
41
+ </g>
42
+ <g>
43
+ </g>
44
+ <g>
45
+ </g>
46
+ <g>
47
+ </g>
48
+ <g>
49
+ </g>
50
+ <g>
51
+ </g>
52
+ <g>
53
+ </g>
54
+ <g>
55
+ </g>
56
+ </svg>
@@ -0,0 +1 @@
1
+ <svg t="1674921978278" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="4292" width="16" height="16"><path d="M844.89 85.33H179.11L0 436.6l512 502.07 512-502.07L844.89 85.33zM106.34 419.67l126.77-248.64h557.77l126.77 248.64L512 817.46 106.34 419.67z" fill="#fff" p-id="4293"></path><path d="M512 603.21L324.41 419.26l-61.8 60.6L512 724.42l249.39-244.56-61.8-60.6z" fill="#fff" p-id="4294"></path></svg>
@@ -0,0 +1,28 @@
1
+ import { Notification } from 'element-ui';
2
+ // 复制
3
+ export function copyText(text){
4
+ if (window.navigator.clipboard) {
5
+ window.navigator.clipboard.writeText(text).then(function() {
6
+ Notification.success({
7
+ title: '复制成功',
8
+ });
9
+ console.log('Async: Copying to clipboard was successful!');
10
+ }, function(err) {
11
+ console.error('Async: Could not copy text: ', err);
12
+ });
13
+ } else {
14
+ var textArea = document.createElement("textarea");
15
+ textArea.value = text;
16
+ document.body.appendChild(textArea);
17
+ textArea.focus();
18
+ textArea.select();
19
+ try {
20
+ var successful = document.execCommand('copy');
21
+ var msg = successful ? 'successful' : 'unsuccessful';
22
+ console.log('Fallback: Copying text command was ' + msg);
23
+ } catch (err) {
24
+ console.error('Fallback: Oops, unable to copy', err);
25
+ }
26
+ document.body.removeChild(textArea);
27
+ }
28
+ }