@10yun/cv-mobile-ui 0.5.63 → 0.5.65
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.
- package/other/uCharts-uniapp/index.js +2 -0
- package/other/uCharts-uniapp/package.json +42 -0
- package/other/{qiun-data-charts/js_sdk → uCharts-uniapp}/u-charts/config-echarts.js +421 -421
- package/other/{qiun-data-charts → uCharts-uniapp/u-charts}/license.md +201 -201
- package/other/uCharts-uniapp/u-charts/package.json +19 -0
- package/other/{qiun-data-charts/readme.md → uCharts-uniapp/u-charts/readme-npm.md} +57 -63
- package/other/{qiun-data-charts/js_sdk → uCharts-uniapp}/u-charts/readme.md +4 -4
- package/other/{qiun-data-charts/js_sdk → uCharts-uniapp}/u-charts/u-charts.js +7661 -7661
- package/other/{qiun-data-charts/js_sdk → uCharts-uniapp}/u-charts/u-charts.min.js +1 -1
- package/package.json +1 -1
- package/ui-cv/components/cv-filter-hm/cv-filter-hm.vue +134 -167
- package/uview-plus/components/u-search/u-search.vue +10 -8
- package/other/qiun-data-charts/changelog.md +0 -320
- package/other/qiun-data-charts/components/qiun-data-charts/qiun-data-charts.vue +0 -1618
- package/other/qiun-data-charts/components/qiun-error/qiun-error.vue +0 -46
- package/other/qiun-data-charts/components/qiun-loading/loading1.vue +0 -162
- package/other/qiun-data-charts/components/qiun-loading/loading2.vue +0 -170
- package/other/qiun-data-charts/components/qiun-loading/loading3.vue +0 -173
- package/other/qiun-data-charts/components/qiun-loading/loading4.vue +0 -222
- package/other/qiun-data-charts/components/qiun-loading/loading5.vue +0 -229
- package/other/qiun-data-charts/components/qiun-loading/qiun-loading.vue +0 -36
- package/other/qiun-data-charts/js_sdk2/app-echarts.min.js +0 -23
- package/other/qiun-data-charts/js_sdk2/h5-echarts.min.js +0 -23
- package/other/qiun-data-charts/package.json +0 -81
- package/other/qiun-data-charts/static/app-plus/echarts.min.js +0 -23
- package/other/qiun-data-charts/static/h5/echarts.min.js +0 -23
- package/other/qiun-data-charts_2.5.0-20230101_example/App.vue +0 -20
- package/other/qiun-data-charts_2.5.0-20230101_example/common/uni-icons.css +0 -542
- package/other/qiun-data-charts_2.5.0-20230101_example/common/uni.css +0 -246
- package/other/qiun-data-charts_2.5.0-20230101_example/components/qiun-title-bar/qiun-title-bar.vue +0 -51
- package/other/qiun-data-charts_2.5.0-20230101_example/components/test-charts/test-charts.vue +0 -48
- package/other/qiun-data-charts_2.5.0-20230101_example/main.js +0 -13
- package/other/qiun-data-charts_2.5.0-20230101_example/manifest.json +0 -75
- package/other/qiun-data-charts_2.5.0-20230101_example/mockdata/demodata.json +0 -448
- package/other/qiun-data-charts_2.5.0-20230101_example/mockdata/mapdata.json +0 -1
- package/other/qiun-data-charts_2.5.0-20230101_example/pages/canvas/canvas.vue +0 -142
- package/other/qiun-data-charts_2.5.0-20230101_example/pages/echarts/echarts.vue +0 -228
- package/other/qiun-data-charts_2.5.0-20230101_example/pages/format-e/format-e.vue +0 -113
- package/other/qiun-data-charts_2.5.0-20230101_example/pages/format-u/format-u.vue +0 -110
- package/other/qiun-data-charts_2.5.0-20230101_example/pages/index/index.vue +0 -58
- package/other/qiun-data-charts_2.5.0-20230101_example/pages/layout/layout.vue +0 -174
- package/other/qiun-data-charts_2.5.0-20230101_example/pages/other/other.vue +0 -233
- package/other/qiun-data-charts_2.5.0-20230101_example/pages/tab/tab.vue +0 -115
- package/other/qiun-data-charts_2.5.0-20230101_example/pages/ucharts/ucharts.vue +0 -339
- package/other/qiun-data-charts_2.5.0-20230101_example/pages/unicloud/unicloud.vue +0 -117
- package/other/qiun-data-charts_2.5.0-20230101_example/pages/updata/updata.vue +0 -212
- package/other/qiun-data-charts_2.5.0-20230101_example/pages.json +0 -79
- package/other/qiun-data-charts_2.5.0-20230101_example/static/logo.png +0 -0
- package/other/qiun-data-charts_2.5.0-20230101_example/uni.scss +0 -76
- package/other/qiun-data-charts_2.5.0-20230101_example/uniCloud-aliyun/database/db_init.json +0 -455
- package/other/qiun-data-charts_2.5.0-20230101_example/uniCloud-aliyun/database/qiun-charts-demo.schema.json +0 -76
- package/other/u-charts/config.js +0 -503
- package/other/u-charts/data.json +0 -1143
- package/other/u-charts/demodata.json +0 -267
- package/other/u-charts/mapdata.json +0 -41
- package/other/u-charts/u-charts.js +0 -5687
- package/other/u-charts/u-charts.min.js +0 -1
- package/other/u-charts/u-charts.vue +0 -466
- /package/other/{qiun-data-charts/js_sdk → uCharts-uniapp}/u-charts/config-ucharts.js +0 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<view class="cv-filter-hm" :class="{ setDropdownBottom: maskVisibility }" @touchmove.stop.prevent="discard" @tap.stop="discard">
|
|
3
|
-
<view class="nav
|
|
3
|
+
<view class="filter-nav-box">
|
|
4
4
|
<template v-for="(item, index) in menu" :key="index">
|
|
5
|
-
<view class="first-
|
|
5
|
+
<view class="first-nav-item" :class="{ on: showPage == index }" @tap="togglePage(index)">
|
|
6
6
|
<text class="name" :style="{ color: color }">{{ item.name }}</text>
|
|
7
7
|
<!-- <cv-icons type="arrowUp" size="12" class="arrows" v-if="statusList[index].isActive" />
|
|
8
8
|
<cv-icons type="arrowDown" size="12" class="arrows" v-if="!statusList[index].isActive" /> -->
|
|
@@ -10,9 +10,9 @@
|
|
|
10
10
|
</view>
|
|
11
11
|
</template>
|
|
12
12
|
</view>
|
|
13
|
-
<view class="mask" :class="{ show: isShowMask, hide: maskVisibility != true }" @tap="togglePage(showPage)"></view>
|
|
13
|
+
<view class="filter-mask-box" :class="{ show: isShowMask, hide: maskVisibility != true }" @tap="togglePage(showPage)"></view>
|
|
14
14
|
<template v-for="(page, page_index) in subData" :key="page_index">
|
|
15
|
-
<view class="
|
|
15
|
+
<view class="filter-main-box" :class="{ show: showPage == page_index, hide: pageState[page_index] != true }">
|
|
16
16
|
<template v-if="page.type == 'hierarchy' && page.submenu.length > 0">
|
|
17
17
|
<scroll-view
|
|
18
18
|
class="sub-menu-list"
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
>
|
|
31
31
|
<view class="menu-name">
|
|
32
32
|
<text>{{ sub.name }}</text>
|
|
33
|
-
<
|
|
33
|
+
<cv-icons type="actionCheck" size="12" />
|
|
34
34
|
</view>
|
|
35
35
|
</view>
|
|
36
36
|
</template>
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
@tap="selectHierarchyMenu(page_index, activeMenuArr[page_index][0], second_index, null)"
|
|
54
54
|
>
|
|
55
55
|
<text>{{ sub_second.name }}</text>
|
|
56
|
-
<
|
|
56
|
+
<cv-icons type="actionCheck" size="12" />
|
|
57
57
|
</view>
|
|
58
58
|
<view
|
|
59
59
|
class="more-sub-menu"
|
|
@@ -75,47 +75,35 @@
|
|
|
75
75
|
</scroll-view>
|
|
76
76
|
</template>
|
|
77
77
|
</template>
|
|
78
|
-
<template v-if="page.type == '
|
|
78
|
+
<template v-if="page.type == 'options'">
|
|
79
79
|
<view class="filter">
|
|
80
|
-
<scroll-view class="
|
|
81
|
-
<view class="box" v-for="(
|
|
82
|
-
<view class="title">{{
|
|
83
|
-
<view class="labels">
|
|
80
|
+
<scroll-view class="filter-group-wrap" :scroll-y="true">
|
|
81
|
+
<view class="filter-group-box" v-for="(gitem, gindex) in page.submenu" :key="gindex">
|
|
82
|
+
<view class="filter-group-title">{{ gitem.name }}</view>
|
|
83
|
+
<view class="filter-group-labels" v-if="gitem.type == 'filter'">
|
|
84
84
|
<view
|
|
85
|
-
v-for="(
|
|
86
|
-
:key="
|
|
87
|
-
@tap="selectFilterLabel(page_index,
|
|
88
|
-
:class="{ on:
|
|
85
|
+
v-for="(labelItem, labelIdx) in gitem.options"
|
|
86
|
+
:key="labelIdx"
|
|
87
|
+
@tap="selectFilterLabel(page_index, gindex, labelIdx)"
|
|
88
|
+
:class="{ on: labelItem.selected }"
|
|
89
89
|
>
|
|
90
|
-
{{
|
|
90
|
+
{{ labelItem.name }}
|
|
91
91
|
</view>
|
|
92
92
|
</view>
|
|
93
|
-
|
|
94
|
-
</scroll-view>
|
|
95
|
-
<view class="btn-box">
|
|
96
|
-
<view class="pub-btn_reset reset" @tap="resetFilterData(page_index)">重置</view>
|
|
97
|
-
<view class="pub-btn_submit submit" @tap="setFilterData(page_index)">确定</view>
|
|
98
|
-
</view>
|
|
99
|
-
</view>
|
|
100
|
-
</template>
|
|
101
|
-
<template v-if="page.type == 'radio'">
|
|
102
|
-
<view class="filter">
|
|
103
|
-
<scroll-view class="menu-box" :scroll-y="true">
|
|
104
|
-
<view class="box" v-for="(box, box_index) in page.submenu" :key="box_index">
|
|
105
|
-
<view class="title">{{ box.name }}</view>
|
|
106
|
-
<view class="labels">
|
|
93
|
+
<view class="filter-group-labels" v-if="gitem.type == 'radio'">
|
|
107
94
|
<view
|
|
108
|
-
v-for="(
|
|
109
|
-
:key="
|
|
110
|
-
@tap="selectRadioLabel(page_index,
|
|
111
|
-
:class="{ on:
|
|
95
|
+
v-for="(labelItem, labelIdx) in gitem.options"
|
|
96
|
+
:key="labelIdx"
|
|
97
|
+
@tap="selectRadioLabel(page_index, gindex, labelIdx)"
|
|
98
|
+
:class="{ on: labelItem.selected }"
|
|
112
99
|
>
|
|
113
|
-
{{
|
|
100
|
+
{{ labelItem.name }}
|
|
114
101
|
</view>
|
|
115
102
|
</view>
|
|
116
103
|
</view>
|
|
104
|
+
<view style="height: 60px"></view>
|
|
117
105
|
</scroll-view>
|
|
118
|
-
<view class="
|
|
106
|
+
<view class="filter-btns-box">
|
|
119
107
|
<view class="reset" @tap="resetFilterData(page_index)">重置</view>
|
|
120
108
|
<view class="submit" @tap="setFilterData(page_index)">确定</view>
|
|
121
109
|
</view>
|
|
@@ -300,6 +288,11 @@ export default {
|
|
|
300
288
|
this.activeMenuArr[page_index] = JSON.parse(JSON.stringify(tmpArr));
|
|
301
289
|
this.$forceUpdate();
|
|
302
290
|
},
|
|
291
|
+
// selectGroupLabel(type,page_index, box_index, label_index){
|
|
292
|
+
// if(type=='filter'){
|
|
293
|
+
|
|
294
|
+
// }
|
|
295
|
+
// },
|
|
303
296
|
//选中筛选类label-UI状态
|
|
304
297
|
selectFilterLabel(page_index, box_index, label_index) {
|
|
305
298
|
let find_index = this.activeMenuArr[page_index][box_index].indexOf(label_index);
|
|
@@ -556,77 +549,71 @@ export default {
|
|
|
556
549
|
</script>
|
|
557
550
|
<style>
|
|
558
551
|
.cv-filter-hm {
|
|
559
|
-
flex-shrink: 0;
|
|
560
552
|
width: 100%;
|
|
561
|
-
position: inherit;
|
|
562
|
-
z-index: 997;
|
|
563
553
|
flex-wrap: nowrap;
|
|
564
554
|
display: flex;
|
|
565
555
|
flex-direction: row;
|
|
566
|
-
|
|
567
|
-
left: 0;
|
|
556
|
+
flex-direction: column;
|
|
568
557
|
overflow-y: hidden;
|
|
569
558
|
}
|
|
570
|
-
|
|
559
|
+
|
|
560
|
+
.filter-mask-box {
|
|
561
|
+
z-index: 998;
|
|
562
|
+
position: fixed;
|
|
563
|
+
top: 0;
|
|
564
|
+
left: 0;
|
|
565
|
+
right: 0;
|
|
571
566
|
bottom: 0;
|
|
567
|
+
background-color: rgba(0, 0, 0, 0);
|
|
568
|
+
transition: background-color 0.15s linear;
|
|
572
569
|
}
|
|
573
|
-
.
|
|
574
|
-
|
|
575
|
-
|
|
570
|
+
.filter-mask-box.show {
|
|
571
|
+
background-color: rgba(0, 0, 0, 0.5);
|
|
572
|
+
}
|
|
573
|
+
.filter-mask-box.hide {
|
|
574
|
+
display: none;
|
|
575
|
+
}
|
|
576
|
+
|
|
577
|
+
.cv-filter-hm.setDropdownBottom {
|
|
578
|
+
bottom: 0;
|
|
576
579
|
}
|
|
577
580
|
.region {
|
|
578
581
|
flex: 1;
|
|
579
582
|
height: 44px;
|
|
580
583
|
}
|
|
581
584
|
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
font-size: 30rpx;
|
|
585
|
+
/**
|
|
586
|
+
* 导航
|
|
587
|
+
*/
|
|
588
|
+
.filter-nav-box {
|
|
587
589
|
display: flex;
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
color: #fff;
|
|
591
|
-
background-image: linear-gradient(to right, #ffab00, #ff6400);
|
|
592
|
-
}
|
|
593
|
-
.pub-btn_reset {
|
|
594
|
-
width: 320rpx;
|
|
595
|
-
height: 80rpx;
|
|
596
|
-
border-radius: 14rpx;
|
|
597
|
-
font-size: 30rpx;
|
|
598
|
-
display: flex;
|
|
599
|
-
justify-content: center;
|
|
600
|
-
align-items: center;
|
|
601
|
-
border: solid 2rpx #ff6400;
|
|
602
|
-
color: #ff6400;
|
|
603
|
-
background: #fff;
|
|
604
|
-
}
|
|
605
|
-
|
|
606
|
-
.nav {
|
|
590
|
+
flex-direction: row;
|
|
591
|
+
flex-wrap: nowrap;
|
|
607
592
|
width: 100%;
|
|
608
593
|
height: 44px;
|
|
609
594
|
border-bottom: solid 1rpx #eee;
|
|
610
|
-
z-index:
|
|
595
|
+
z-index: 999;
|
|
611
596
|
background-color: #ffffff;
|
|
612
|
-
flex-direction: row;
|
|
613
597
|
}
|
|
614
|
-
.
|
|
615
|
-
|
|
616
|
-
font-size: 13px;
|
|
617
|
-
color: #757575;
|
|
598
|
+
.first-nav-item {
|
|
599
|
+
display: flex;
|
|
618
600
|
flex-direction: row;
|
|
601
|
+
flex-wrap: nowrap;
|
|
619
602
|
align-items: center;
|
|
620
603
|
justify-content: center;
|
|
604
|
+
width: 100%;
|
|
605
|
+
font-size: 13px;
|
|
606
|
+
color: #757575;
|
|
607
|
+
|
|
621
608
|
transition: color 0.2s linear;
|
|
622
609
|
}
|
|
623
|
-
.
|
|
610
|
+
.first-nav-item.on {
|
|
624
611
|
color: #409eff;
|
|
625
612
|
}
|
|
626
|
-
.
|
|
613
|
+
.first-nav-item.on .cv-icon {
|
|
627
614
|
color: #409eff;
|
|
628
615
|
}
|
|
629
|
-
.
|
|
616
|
+
.first-nav-item .name {
|
|
630
617
|
height: 100%;
|
|
631
618
|
font-size: 12px;
|
|
632
619
|
height: 20px;
|
|
@@ -636,54 +623,63 @@ export default {
|
|
|
636
623
|
overflow: hidden;
|
|
637
624
|
margin-right: 5px;
|
|
638
625
|
}
|
|
639
|
-
.nav .
|
|
640
|
-
|
|
641
|
-
height: 13px;
|
|
626
|
+
.first-nav-item .cv-icon {
|
|
627
|
+
display: flex;
|
|
642
628
|
align-items: center;
|
|
643
629
|
justify-content: center;
|
|
630
|
+
width: 13px;
|
|
631
|
+
height: 13px;
|
|
644
632
|
transition:
|
|
645
633
|
transform 0.2s linear,
|
|
646
634
|
color 0.2s linear;
|
|
647
635
|
}
|
|
648
|
-
|
|
636
|
+
/**
|
|
637
|
+
* 主要
|
|
638
|
+
*/
|
|
639
|
+
.filter-main-box {
|
|
640
|
+
display: flex;
|
|
641
|
+
flex-wrap: nowrap;
|
|
649
642
|
width: 100%;
|
|
650
643
|
position: absolute;
|
|
651
644
|
left: 0;
|
|
652
645
|
transform: translate3d(0, -100%, 0);
|
|
653
646
|
max-height: 345px;
|
|
654
647
|
background-color: #ffffff;
|
|
655
|
-
z-index:
|
|
648
|
+
z-index: 999;
|
|
656
649
|
box-shadow: 0 5px 5px rgba(0, 0, 0, 0.1);
|
|
657
650
|
overflow: hidden;
|
|
658
651
|
flex-direction: row;
|
|
659
652
|
transition: transform 0.15s linear;
|
|
660
653
|
}
|
|
661
|
-
.
|
|
654
|
+
.filter-main-box.hide {
|
|
662
655
|
display: none;
|
|
663
656
|
}
|
|
664
657
|
|
|
665
|
-
.
|
|
658
|
+
.filter-main-box.show {
|
|
666
659
|
transform: translate3d(0, calc(44px + 1rpx), 0);
|
|
667
660
|
}
|
|
668
661
|
.sub-menu-list {
|
|
662
|
+
display: flex;
|
|
663
|
+
flex-direction: column;
|
|
669
664
|
width: 100%;
|
|
670
665
|
height: 345px;
|
|
671
|
-
flex-direction: column;
|
|
672
666
|
}
|
|
673
667
|
.sub-menu-list .sub-menu {
|
|
668
|
+
display: flex;
|
|
669
|
+
flex-direction: column;
|
|
674
670
|
min-height: 44px;
|
|
675
671
|
font-size: 13px;
|
|
676
|
-
flex-direction: column;
|
|
677
672
|
padding-right: 15px;
|
|
678
673
|
}
|
|
679
674
|
.sub-menu-list .sub-menu > .menu-name {
|
|
680
|
-
|
|
681
|
-
height: 44px;
|
|
675
|
+
display: flex;
|
|
682
676
|
flex-direction: row;
|
|
683
677
|
align-items: center;
|
|
684
678
|
justify-content: space-between;
|
|
679
|
+
font-size: 12px;
|
|
680
|
+
height: 44px;
|
|
685
681
|
}
|
|
686
|
-
.sub-menu-list .sub-menu > .menu-name > .
|
|
682
|
+
.sub-menu-list .sub-menu > .menu-name > .cv-icons {
|
|
687
683
|
display: none;
|
|
688
684
|
font-size: 18px;
|
|
689
685
|
color: #409eff;
|
|
@@ -714,7 +710,7 @@ export default {
|
|
|
714
710
|
}
|
|
715
711
|
.sub-menu-list.alone .sub-menu.on > .menu-name {
|
|
716
712
|
}
|
|
717
|
-
.sub-menu-list.alone .sub-menu.on > .menu-name > .
|
|
713
|
+
.sub-menu-list.alone .sub-menu.on > .menu-name > .cv-icons {
|
|
718
714
|
display: block;
|
|
719
715
|
}
|
|
720
716
|
.sub-menu-list.not-first {
|
|
@@ -728,7 +724,7 @@ export default {
|
|
|
728
724
|
.sub-menu-list.not-first .sub-menu > .menu-name {
|
|
729
725
|
height: calc(44px - 1rpx);
|
|
730
726
|
}
|
|
731
|
-
.sub-menu-list.not-first .sub-menu > .menu-name > .
|
|
727
|
+
.sub-menu-list.not-first .sub-menu > .menu-name > .cv-icons {
|
|
732
728
|
display: none;
|
|
733
729
|
font-size: 18px;
|
|
734
730
|
color: #409eff;
|
|
@@ -738,10 +734,11 @@ export default {
|
|
|
738
734
|
}
|
|
739
735
|
.sub-menu-list.not-first .sub-menu.on > .menu-name {
|
|
740
736
|
}
|
|
741
|
-
.sub-menu-list.not-first .sub-menu.on > .menu-name > .
|
|
737
|
+
.sub-menu-list.not-first .sub-menu.on > .menu-name > .cv-icons {
|
|
742
738
|
display: block;
|
|
743
739
|
}
|
|
744
740
|
.sub-menu-list.not-first .sub-menu .more-sub-menu {
|
|
741
|
+
display: flex;
|
|
745
742
|
flex-direction: row;
|
|
746
743
|
flex-wrap: wrap;
|
|
747
744
|
padding-bottom: 9px;
|
|
@@ -767,45 +764,54 @@ export default {
|
|
|
767
764
|
border-color: #f6c8ac;
|
|
768
765
|
color: #409eff;
|
|
769
766
|
}
|
|
770
|
-
.sub-menu-list.not-first .sub-menu .more-sub-menu > text .
|
|
767
|
+
.sub-menu-list.not-first .sub-menu .more-sub-menu > text .cv-icons {
|
|
771
768
|
color: #9b9b9b;
|
|
772
769
|
}
|
|
773
770
|
|
|
774
771
|
.filter {
|
|
775
|
-
width: 100%;
|
|
776
|
-
height: 100%;
|
|
777
|
-
max-height: 345px;
|
|
778
772
|
display: flex;
|
|
773
|
+
flex-wrap: nowrap;
|
|
779
774
|
flex-direction: column;
|
|
780
775
|
justify-content: space-between;
|
|
781
776
|
align-items: center;
|
|
782
|
-
|
|
783
|
-
.filter .menu-box {
|
|
784
|
-
width: 349px;
|
|
777
|
+
width: 100%;
|
|
785
778
|
height: 100%;
|
|
786
|
-
max-height:
|
|
779
|
+
max-height: 80%;
|
|
780
|
+
}
|
|
781
|
+
.filter-group-wrap {
|
|
782
|
+
/* max-height: calc(345px - 75px);
|
|
787
783
|
flex-shrink: 1;
|
|
784
|
+
height: calc(100% - 75px); */
|
|
785
|
+
height: 100%;
|
|
786
|
+
padding: 0 15px;
|
|
788
787
|
}
|
|
789
|
-
.filter
|
|
788
|
+
.filter-group-box {
|
|
789
|
+
display: flex;
|
|
790
|
+
flex-wrap: nowrap;
|
|
791
|
+
flex-direction: column;
|
|
790
792
|
width: 100%;
|
|
791
793
|
margin-top: 16px;
|
|
792
|
-
flex-direction: column;
|
|
793
794
|
}
|
|
794
|
-
.filter
|
|
795
|
+
.filter-group-title {
|
|
795
796
|
width: 100%;
|
|
796
797
|
font-size: 12px;
|
|
797
798
|
color: #888;
|
|
798
799
|
}
|
|
799
|
-
.filter
|
|
800
|
-
|
|
800
|
+
.filter-group-labels {
|
|
801
|
+
display: flex;
|
|
801
802
|
flex-wrap: wrap;
|
|
803
|
+
flex-direction: row;
|
|
802
804
|
}
|
|
803
|
-
.filter
|
|
805
|
+
.filter-group-labels .on {
|
|
804
806
|
border-color: #409eff;
|
|
805
807
|
background-color: #409eff;
|
|
806
808
|
color: #fff;
|
|
807
809
|
}
|
|
808
|
-
.filter
|
|
810
|
+
.filter-group-labels > view {
|
|
811
|
+
display: flex;
|
|
812
|
+
flex-direction: row;
|
|
813
|
+
justify-content: center;
|
|
814
|
+
align-items: center;
|
|
809
815
|
width: 148rpx;
|
|
810
816
|
height: 30px;
|
|
811
817
|
border: solid 1rpx #adadad;
|
|
@@ -814,82 +820,43 @@ export default {
|
|
|
814
820
|
margin-right: 12px;
|
|
815
821
|
margin-top: 8px;
|
|
816
822
|
font-size: 12px;
|
|
817
|
-
flex-direction: row;
|
|
818
|
-
justify-content: center;
|
|
819
|
-
align-items: center;
|
|
820
823
|
}
|
|
821
|
-
.filter
|
|
824
|
+
.filter-group-labels > view:nth-child(4n) {
|
|
822
825
|
margin-right: 0;
|
|
823
826
|
}
|
|
824
|
-
|
|
827
|
+
/** 按钮 */
|
|
828
|
+
.filter-btns-box {
|
|
829
|
+
display: flex;
|
|
830
|
+
flex-direction: row;
|
|
831
|
+
flex-wrap: nowrap;
|
|
825
832
|
flex-shrink: 0;
|
|
826
|
-
width: 349px;
|
|
827
|
-
height: 75px;
|
|
828
|
-
flex-direction: row !important;
|
|
829
833
|
align-items: center;
|
|
830
834
|
justify-content: space-between;
|
|
835
|
+
height: 60px;
|
|
836
|
+
width: 100%;
|
|
837
|
+
padding: 0 15px;
|
|
838
|
+
border-top: 1px solid #dedede;
|
|
831
839
|
}
|
|
832
|
-
.filter
|
|
840
|
+
.filter-btns-box > view {
|
|
841
|
+
display: flex;
|
|
842
|
+
flex-wrap: nowrap;
|
|
843
|
+
align-items: center;
|
|
844
|
+
justify-content: center;
|
|
845
|
+
flex: 1;
|
|
833
846
|
font-size: 12px;
|
|
834
847
|
padding: 5px 10px;
|
|
835
848
|
margin: 0px 5px;
|
|
836
|
-
border-radius: 3px;
|
|
837
|
-
width: 320rpx;
|
|
838
849
|
height: 40px;
|
|
839
850
|
border-radius: 40px;
|
|
840
|
-
border: solid 1rpx #409eff;
|
|
841
|
-
align-items: center;
|
|
842
|
-
justify-content: center;
|
|
843
851
|
}
|
|
844
|
-
.filter
|
|
845
|
-
border: solid 2rpx #
|
|
852
|
+
.filter-btns-box .reset {
|
|
853
|
+
border: solid 2rpx #ff6400;
|
|
846
854
|
color: #ff6400;
|
|
847
|
-
|
|
855
|
+
background: #fff;
|
|
848
856
|
}
|
|
849
|
-
.filter
|
|
857
|
+
.filter-btns-box .submit {
|
|
850
858
|
color: #fff;
|
|
851
859
|
background-color: #409eff;
|
|
852
860
|
background-image: linear-gradient(to right, #ffab00, #ff6400);
|
|
853
861
|
}
|
|
854
|
-
|
|
855
|
-
.mask {
|
|
856
|
-
z-index: 10;
|
|
857
|
-
position: fixed;
|
|
858
|
-
top: 0;
|
|
859
|
-
left: 0;
|
|
860
|
-
right: 0;
|
|
861
|
-
bottom: 0;
|
|
862
|
-
background-color: rgba(0, 0, 0, 0);
|
|
863
|
-
transition: background-color 0.15s linear;
|
|
864
|
-
}
|
|
865
|
-
.mask.show {
|
|
866
|
-
background-color: rgba(0, 0, 0, 0.5);
|
|
867
|
-
}
|
|
868
|
-
.nav.z-index {
|
|
869
|
-
z-index: 0;
|
|
870
|
-
}
|
|
871
|
-
.mask.hide {
|
|
872
|
-
display: none;
|
|
873
|
-
}
|
|
874
|
-
/* 字体图标
|
|
875
|
-
@font-face {
|
|
876
|
-
font-family: "HM-FD-font";
|
|
877
|
-
src: url('data:application/x-font-woff2;charset=utf-8;base64,d09GMgABAAAAAALAAAsAAAAABpQAAAJzAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHEIGVgCDBgp4gQIBNgIkAwwLCAAEIAWEbQc5G8sFERWMIbIfCbbzqA4hp7InSBibVsYGb4J42o82b3e/nJlHMw/NHbGOlwKJRCRpwzPtpAECCOZubdqxjYpQLMlVg+70/08edrgQOtx2ukpVyApZn+dyehPoQObHo3O85rYx9vOjXoBxQIHugW2yIkqIW2QXcScu4jwE8CSWbKSmrqUHFwOaJoCsLM5P4haSGIxRcRHshrUGucLCVcfqI3AZfV/+USguKCwNmtsxVztDxU/n55C+3W0Z4QQpEOTNFqCBbMCAjDUWB9CIwWk87aa70cYgqLkyd3dEmm+18R8eKATEBrV7A5CulBT8dKiWOYZk412XNcDdKSEKSGODnyKIDl+dmVt9/Dx4pu/xyeutkMlHISGPTsPCnoTNP9nOT6wTtDdlO6dPr47efvj942lkYuQzrhMKEjq9N6y98P3340gmlJ/RStUD6F31CAEEPtUW94/7rf+7XgaAz57X0ZHXAGsFFwVgw38yALuMb0IBbVyNamFYEw4oKMDTj3AHRQP5Pt4dci9VwSVkRNQh5r7CLskZadhsWHhRDBsXczk8ZYk3ewnCxmQeQKa3BOHvA8XXO2j+vqRhf7CE+sPmn4anvoL29JLa4qqaUQkmoK+QG2osCckq7txi2leK86aIPyJ3eQZ8xytXYmyQ51jQndJAxIJlqiGSLsOqImiZCjTiZCJt6Lq26U2OoXqwUo0hRaAE0K5AziANy/uLVeXzWyjVqyjcoeupjxDr5MMDn8MDkLG9Aenu5ZrOSSoghAUsRmogkkahSoWAtnlUARnCkY3It0Iu7mWhdmd9Z/19BwBP6GidEi0G56opckXTGZVSPxgAAAA=');
|
|
878
|
-
}
|
|
879
|
-
.iconfont {
|
|
880
|
-
font-family: "HM-FD-font" !important;
|
|
881
|
-
font-size: 13px;
|
|
882
|
-
font-style: normal;
|
|
883
|
-
color: #757575;
|
|
884
|
-
&.triangle {
|
|
885
|
-
&:before {
|
|
886
|
-
content: "\e65a";
|
|
887
|
-
}
|
|
888
|
-
}
|
|
889
|
-
&.selected {
|
|
890
|
-
&:before {
|
|
891
|
-
content: "\e607";
|
|
892
|
-
}
|
|
893
|
-
}
|
|
894
|
-
}*/
|
|
895
862
|
</style>
|
|
@@ -64,14 +64,16 @@
|
|
|
64
64
|
</view>
|
|
65
65
|
<slot name="inputRight"></slot>
|
|
66
66
|
</view>
|
|
67
|
-
<
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
67
|
+
<slot name="right">
|
|
68
|
+
<text
|
|
69
|
+
:style="[actionStyle]"
|
|
70
|
+
class="u-search__action"
|
|
71
|
+
:class="[(showActionBtn || show) && 'u-search__action--active']"
|
|
72
|
+
@tap.stop.prevent="custom"
|
|
73
|
+
>
|
|
74
|
+
{{ actionText }}
|
|
75
|
+
</text>
|
|
76
|
+
</slot>
|
|
75
77
|
</view>
|
|
76
78
|
</template>
|
|
77
79
|
<script>
|