|
@@ -17,6 +17,11 @@
|
17
|
17
|
</div>
|
18
|
18
|
</li>
|
19
|
19
|
</ul>
|
|
20
|
+ <ul class="tags_selection">
|
|
21
|
+ <li class="J_ping option" @click="selectData.selected = 'all'" :class="{selected: selectData.selected === 'all'}"><a href="javascript:void(0)">全部事件</a></li>
|
|
22
|
+ <li class="J_ping option" @click="selectData.selected = 'todo'" :class="{selected: selectData.selected ==='todo'}"><a href="javascript:void(0)">待我处理</a></li>
|
|
23
|
+ <li class="J_ping option" @click="selectData.selected = 'done'" :class="{selected: selectData.selected ==='done'}"><a href="javascript:void(0)">与我关联</a></li>
|
|
24
|
+ </ul>
|
20
|
25
|
<template v-if="!isSelectArea && !isSelectCategory">
|
21
|
26
|
<ul class="mod_list">
|
22
|
27
|
<li class="arrow_li J_ping" @click="selectArea">
|
|
@@ -74,6 +79,7 @@ export default {
|
74
|
79
|
hospital: undefined,
|
75
|
80
|
area: {id: 0, area: '全部'},
|
76
|
81
|
category: {id: 0, category: '全部'},
|
|
82
|
+ selected: 'todo',
|
77
|
83
|
},
|
78
|
84
|
flag: false,
|
79
|
85
|
isSelectArea: false,
|
|
@@ -88,6 +94,7 @@ export default {
|
88
|
94
|
clear(){
|
89
|
95
|
this.selectData.area = {id: 0, area: '全部'};
|
90
|
96
|
this.selectData.category = {id: 0, category: '全部'};
|
|
97
|
+ this.selectData.selected = 'todo';
|
91
|
98
|
},
|
92
|
99
|
// 确定
|
93
|
100
|
confirm(){
|
|
@@ -749,5 +756,177 @@ export default {
|
749
|
756
|
input[type="search"]::-webkit-search-results-decoration {
|
750
|
757
|
display: none;
|
751
|
758
|
}
|
|
759
|
+
|
|
760
|
+ .tags_selection {
|
|
761
|
+ margin: 15px 0;
|
|
762
|
+ padding: 10px 0 0 10px;
|
|
763
|
+ font-size: 14px;
|
|
764
|
+ text-align: center;
|
|
765
|
+ background-color: #fff
|
|
766
|
+ }
|
|
767
|
+
|
|
768
|
+ .tags_selection .label_li {
|
|
769
|
+ margin-bottom: 3px;
|
|
770
|
+ padding-right: 27px;
|
|
771
|
+ text-align: left;
|
|
772
|
+ line-height: 33px
|
|
773
|
+ }
|
|
774
|
+
|
|
775
|
+ .tags_selection .label_li .li_line {
|
|
776
|
+ display: -webkit-box;
|
|
777
|
+ display: -webkit-flex;
|
|
778
|
+ display: flex
|
|
779
|
+ }
|
|
780
|
+
|
|
781
|
+ .tags_selection .label_li .li_line .big {
|
|
782
|
+ height: 25px;
|
|
783
|
+ max-width: 250px;
|
|
784
|
+ overflow: hidden;
|
|
785
|
+ font-size: 16px;
|
|
786
|
+ color: #333;
|
|
787
|
+ text-overflow: ellipsis
|
|
788
|
+ }
|
|
789
|
+
|
|
790
|
+ .tags_selection .label_li .li_line .right {
|
|
791
|
+ overflow: hidden;
|
|
792
|
+ text-overflow: ellipsis;
|
|
793
|
+ white-space: nowrap;
|
|
794
|
+ -webkit-box-flex: 1;
|
|
795
|
+ -webkit-flex: 1;
|
|
796
|
+ flex: 1;
|
|
797
|
+ margin-left: 5px;
|
|
798
|
+ text-align: right;
|
|
799
|
+ font-size: 12px;
|
|
800
|
+ color: #999
|
|
801
|
+ }
|
|
802
|
+
|
|
803
|
+ .tags_selection .label_li .li_line .right.color_red {
|
|
804
|
+ color: #e4393c
|
|
805
|
+ }
|
|
806
|
+
|
|
807
|
+ .search_jx .tags_selection .label_li .li_line .right.color_red {
|
|
808
|
+ color: #ff4142
|
|
809
|
+ }
|
|
810
|
+
|
|
811
|
+ .tags_selection .option {
|
|
812
|
+ box-sizing: border-box;
|
|
813
|
+ float: left;
|
|
814
|
+ width: 33.33%;
|
|
815
|
+ padding-right: 10px;
|
|
816
|
+ height: 30px;
|
|
817
|
+ line-height: 30px;
|
|
818
|
+ margin-bottom: 10px;
|
|
819
|
+ overflow: hidden
|
|
820
|
+ }
|
|
821
|
+
|
|
822
|
+ .tags_selection .option a {
|
|
823
|
+ position: relative;
|
|
824
|
+ display: block;
|
|
825
|
+ padding: 0 5px;
|
|
826
|
+ color: #666;
|
|
827
|
+ background-color: #f7f7f7;
|
|
828
|
+ border-radius: 4px
|
|
829
|
+ }
|
|
830
|
+
|
|
831
|
+ .search_jx .tags_selection .option a {
|
|
832
|
+ border-radius: 20px
|
|
833
|
+ }
|
|
834
|
+
|
|
835
|
+ .tags_selection .option.selected a {
|
|
836
|
+ color: #e4393c;
|
|
837
|
+ background-color: #fdf0f0;
|
|
838
|
+ height: 30px;
|
|
839
|
+ line-height: 30px
|
|
840
|
+ }
|
|
841
|
+
|
|
842
|
+ .search_jx .tags_selection .option.selected a {
|
|
843
|
+ color: #ff4142;
|
|
844
|
+ height: 28px;
|
|
845
|
+ line-height: 28px;
|
|
846
|
+ background: #fff0f0;
|
|
847
|
+ border: 1px solid #ff4142
|
|
848
|
+ }
|
|
849
|
+
|
|
850
|
+ .tags_selection .option.selected a:after {
|
|
851
|
+ content: "";
|
|
852
|
+ position: absolute;
|
|
853
|
+ right: 0;
|
|
854
|
+ bottom: 0;
|
|
855
|
+ width: 15px;
|
|
856
|
+ height: 15px;
|
|
857
|
+ border-radius: 0 0 2px 0;
|
|
858
|
+ background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeBAMAAADJHrORAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAhUExURUdwTOQ4POQ5PPrV1f///+dGSO17ff3u7/Kio+lcXvW4uZrptW4AAAACdFJOUwB/timhlQAAAH1JREFUGNNdzkEOQDAQheG6Qo/whNjjBBWs9QbiCFzExl4cFG1HzOvuz5fpjDHqZTqNJQYxiEEMYhCDGMQgBjGIQQxiEOPPRf114NxJx+lrkw5cDXvqyEsv/z1cT2U3p365aY9R9r3T3q1n6ri7cXJPPM23qeVyudfq1gxi3DyiIhPh30TpAAAAAElFTkSuQmCC) no-repeat;
|
|
859
|
+ background-size: 15px auto;
|
|
860
|
+ overflow: hidden;
|
|
861
|
+ z-index: 1
|
|
862
|
+ }
|
|
863
|
+
|
|
864
|
+ .search_jx .tags_selection .option.selected a:after {
|
|
865
|
+ content: none
|
|
866
|
+ }
|
|
867
|
+
|
|
868
|
+ .tags_selection .option.arrow a {
|
|
869
|
+ background-color: #fff;
|
|
870
|
+ overflow: visible
|
|
871
|
+ }
|
|
872
|
+
|
|
873
|
+ .tags_selection .option.arrow a:before {
|
|
874
|
+ content: "";
|
|
875
|
+ position: absolute;
|
|
876
|
+ z-index: 1;
|
|
877
|
+ pointer-events: none;
|
|
878
|
+ background-color: #ccc;
|
|
879
|
+ top: 0;
|
|
880
|
+ bottom: 0;
|
|
881
|
+ left: 0;
|
|
882
|
+ right: 0;
|
|
883
|
+ background: none;
|
|
884
|
+ border: 1px solid #ccc;
|
|
885
|
+ border-radius: 4px
|
|
886
|
+ }
|
|
887
|
+
|
|
888
|
+ @media only screen and (-webkit-min-device-pixel-ratio: 2) {
|
|
889
|
+ .tags_selection .option.arrow a:before {
|
|
890
|
+ right:-100%;
|
|
891
|
+ bottom: -100%;
|
|
892
|
+ -webkit-transform: scale(.5);
|
|
893
|
+ -webkit-transform-origin: 0 0;
|
|
894
|
+ border-radius: 8px
|
|
895
|
+ }
|
|
896
|
+ }
|
|
897
|
+
|
|
898
|
+ .search_jx .tags_selection .option.arrow a:before {
|
|
899
|
+ border-radius: 40px
|
|
900
|
+ }
|
|
901
|
+
|
|
902
|
+ .tags_selection .option.arrow a:after {
|
|
903
|
+ content: "";
|
|
904
|
+ display: inline-block;
|
|
905
|
+ vertical-align: middle;
|
|
906
|
+ margin-top: -2px;
|
|
907
|
+ width: 6px;
|
|
908
|
+ height: 10px;
|
|
909
|
+ background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 20'%3E%3Cpath fill='%23CCC' fill-rule='evenodd' d='M2 20c-.8 0-1.5-.5-1.8-1.2-.3-.8-.2-1.6.4-2.2L7.2 10 .6 3.4c-.8-.8-.8-2 0-2.8.8-.8 2-.8 2.8 0l8 8c.4.4.6 1 .6 1.4 0 .5-.2 1-.6 1.4l-8 8c-.4.4-1 .6-1.4.6z'/%3E%3C/svg%3E");
|
|
910
|
+ background-repeat: no-repeat;
|
|
911
|
+ background-size: 100%;
|
|
912
|
+ margin-left: 4px
|
|
913
|
+ }
|
|
914
|
+
|
|
915
|
+ @media screen and (min-width: 360px) {
|
|
916
|
+ .tags_selection .option.arrow a:after {
|
|
917
|
+ margin-left:6px
|
|
918
|
+ }
|
|
919
|
+ }
|
|
920
|
+
|
|
921
|
+ .tags_selection .option.disabled a {
|
|
922
|
+ background-color: #f2f2f2;
|
|
923
|
+ color: #d2d2d2
|
|
924
|
+ }
|
|
925
|
+
|
|
926
|
+ .datalist:after,.mod_clist:after,.pro_filter_more>ul:after,.s_page:after,.search_keywordlist ul:after,.search_prolist.cols_2:after,.search_prolist .search_prolist_attr:after,.search_prolist .search_prolist_info:after,.search_recoword_list:after,.selection.line_cols_2:after,.selection:after,.tags_selection:after {
|
|
927
|
+ content: "";
|
|
928
|
+ display: block;
|
|
929
|
+ clear: both
|
|
930
|
+}
|
752
|
931
|
}
|
753
|
932
|
</style>
|