@10yun/cv-mobile-ui 0.5.62 → 0.5.63

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.
Files changed (67) hide show
  1. package/package.json +1 -1
  2. package/plugins/uni-extend.js +10 -10
  3. package/ui-fireui/components/u-action-sheet/u-action-sheet.vue +46 -16
  4. package/ui-fireui/components/u-alert/u-alert.vue +11 -5
  5. package/ui-fireui/components/u-badge/u-badge.vue +52 -69
  6. package/ui-fireui/components/u-bottom-navigation/u-bottom-navigation.vue +28 -20
  7. package/ui-fireui/components/u-bottom-popup/u-bottom-popup.vue +40 -11
  8. package/ui-fireui/components/u-bubble-popup/u-bubble-popup.vue +3 -6
  9. package/ui-fireui/components/u-button/u-button.vue +262 -259
  10. package/ui-fireui/components/u-calendar/u-calendar.vue +227 -44
  11. package/ui-fireui/components/u-calendar/u-calendar2.js +562 -0
  12. package/ui-fireui/components/u-card/u-card.vue +50 -32
  13. package/ui-fireui/components/u-cascade-selection/u-cascade-selection.vue +197 -74
  14. package/ui-fireui/components/u-circular-progress/u-circular-progress.vue +324 -0
  15. package/ui-fireui/components/u-clipboard2/tui-clipboard.js +53 -0
  16. package/ui-fireui/components/u-collapse/u-collapse.vue +8 -8
  17. package/ui-fireui/components/u-config/index.js +129 -0
  18. package/ui-fireui/components/u-count-down/u-count-down.vue +124 -19
  19. package/ui-fireui/components/u-datetime/u-datetime.vue +416 -176
  20. package/ui-fireui/components/u-divider/u-divider.vue +3 -3
  21. package/ui-fireui/components/u-drawer/u-drawer.vue +55 -12
  22. package/ui-fireui/components/u-dropdown-list/u-dropdown-list.vue +103 -0
  23. package/ui-fireui/components/u-fab/u-fab.vue +344 -0
  24. package/ui-fireui/components/u-footer/u-footer.vue +148 -0
  25. package/ui-fireui/components/u-grid/u-grid.vue +2 -8
  26. package/ui-fireui/components/u-grid-item/u-grid-item.vue +22 -5
  27. package/ui-fireui/components/u-icon/u-icon-new.js +190 -0
  28. package/ui-fireui/components/u-icon/u-icon-new.vue +100 -0
  29. package/ui-fireui/components/u-image-cropper/u-image-cropper.vue +1144 -0
  30. package/ui-fireui/components/u-image-group/u-image-group.vue +164 -0
  31. package/ui-fireui/components/u-keyboard/u-keyboard.vue +3 -2
  32. package/ui-fireui/components/u-keyboard-input/u-keyboard-input.vue +1 -1
  33. package/ui-fireui/components/u-list-cell/u-list-cell.vue +82 -72
  34. package/ui-fireui/components/u-list-view/u-list-view.vue +33 -8
  35. package/ui-fireui/components/u-loading/u-loading.vue +107 -27
  36. package/ui-fireui/components/u-loadmore/u-loadmore.vue +21 -3
  37. package/ui-fireui/components/u-modal/u-modal.vue +140 -176
  38. package/ui-fireui/components/u-navigation-bar/u-navigation-bar.vue +121 -28
  39. package/ui-fireui/components/u-no-data/u-no-data.vue +58 -20
  40. package/ui-fireui/components/u-nomore/u-nomore.vue +5 -4
  41. package/ui-fireui/components/u-numberbox/u-numberbox.vue +88 -45
  42. package/ui-fireui/components/u-picture-cropper/u-picture-cropper.vue +94 -36
  43. package/ui-fireui/components/u-picture-cropper/u-picture-cropper.wxs +27 -17
  44. package/ui-fireui/components/u-rate/u-rate.vue +197 -0
  45. package/ui-fireui/components/u-round-progress/u-round-progress.vue +62 -42
  46. package/ui-fireui/components/u-scroll-top/u-scroll-top.vue +4 -3
  47. package/ui-fireui/components/u-section/u-section.vue +149 -0
  48. package/ui-fireui/components/u-skeleton/u-skeleton.vue +37 -6
  49. package/ui-fireui/components/u-steps/u-steps.vue +110 -27
  50. package/ui-fireui/components/u-sticky/u-sticky.vue +35 -21
  51. package/ui-fireui/components/u-sticky-wxs/u-sticky-wxs.vue +7 -4
  52. package/ui-fireui/components/u-sticky-wxs/u-sticky.wxs +39 -36
  53. package/ui-fireui/components/u-swipe-action/u-swipe-action.vue +76 -19
  54. package/ui-fireui/components/u-tabbar/u-tabbar.vue +71 -38
  55. package/ui-fireui/components/u-tabs/u-tabs.vue +133 -51
  56. package/ui-fireui/components/u-tag/u-tag.vue +109 -226
  57. package/ui-fireui/components/u-time-axis/u-time-axis.vue +1 -1
  58. package/ui-fireui/components/u-timeaxis-item/u-timeaxis-item.vue +1 -1
  59. package/ui-fireui/components/u-tips/u-tips.vue +35 -15
  60. package/ui-fireui/components/u-toast/u-toast.vue +9 -5
  61. package/ui-fireui/components/u-top-dropdown/u-top-dropdown.vue +8 -6
  62. package/ui-fireui/components/u-upload/u-upload-old.vue +462 -0
  63. package/ui-fireui/components/u-upload/u-upload.vue +648 -446
  64. package/ui-fireui/components/u-white-space/u-white-space.vue +68 -0
  65. package/ui-fireui/components/u-wing-blank/u-wing-blank.vue +100 -0
  66. package/uview-plus/libs/ctocode/index.js +1 -0
  67. package/uview-plus/libs/ctocode/richText.js +0 -1
@@ -0,0 +1,148 @@
1
+ <template>
2
+ <view class="up-footer-class up-footer" :class="[fixed ? 'up-fixed' : '']" :style="{ backgroundColor: backgroundColor }">
3
+ <view class="up-footer-link" v-if="navigate.length > 0" :style="{ color: getLinkColor }">
4
+ <block v-for="(item, index) in navigate" :key="index">
5
+ <navigator
6
+ class="up-link"
7
+ hover-class="up-link-hover"
8
+ :hover-stop-propagation="true"
9
+ :style="{ color: item.color || getLinkColor, fontSize: (item.size || 28) + 'rpx' }"
10
+ :open-type="item.type"
11
+ :url="item[urlField]"
12
+ :target="item.target"
13
+ :delta="item.delta"
14
+ :app-id="item.appid"
15
+ :path="item.path"
16
+ :extra-data="item.extradata"
17
+ :bindsuccess="item.bindsuccess"
18
+ :bindfail="item.bindfail"
19
+ >
20
+ {{ item[textField] }}
21
+ </navigator>
22
+ </block>
23
+ </view>
24
+ <view class="up-footer-copyright" :style="{ color: color, fontSize: size + 'rpx' }">
25
+ {{ copyright }}
26
+ </view>
27
+ </view>
28
+ </template>
29
+
30
+ <script>
31
+ export default {
32
+ name: 'tuiFooter',
33
+ props: {
34
+ //type target url delta appid path extradata bindsuccess bindfail text color size
35
+ //链接设置 数据格式对应上面注释的属性值
36
+ navigate: {
37
+ type: Array,
38
+ default: function () {
39
+ return [];
40
+ }
41
+ },
42
+ urlField: {
43
+ type: String,
44
+ default: 'url'
45
+ },
46
+ textField: {
47
+ type: String,
48
+ default: 'text'
49
+ },
50
+ //底部文本
51
+ copyright: {
52
+ type: String,
53
+ default: 'All Rights Reserved.'
54
+ },
55
+ //copyright 字体颜色
56
+ color: {
57
+ type: String,
58
+ default: '#A7A7A7'
59
+ },
60
+ //copyright 字体大小
61
+ size: {
62
+ type: Number,
63
+ default: 24
64
+ },
65
+ //footer背景颜色
66
+ backgroundColor: {
67
+ type: String,
68
+ default: 'transparent'
69
+ },
70
+ //V2.8.0+
71
+ linkColor: {
72
+ type: String,
73
+ default: ''
74
+ },
75
+ //是否固定在底部
76
+ fixed: {
77
+ type: Boolean,
78
+ default: true
79
+ }
80
+ },
81
+ computed: {
82
+ getLinkColor() {
83
+ return this.linkColor || (uni && uni.$tui && uni.$tui.color.link) || '#586c94';
84
+ }
85
+ }
86
+ };
87
+ </script>
88
+
89
+ <style scoped>
90
+ .up-footer {
91
+ width: 100%;
92
+ overflow: hidden;
93
+ padding: 30rpx 24rpx;
94
+ box-sizing: border-box;
95
+ }
96
+
97
+ .up-fixed {
98
+ position: fixed;
99
+ z-index: 9999;
100
+ bottom: 0;
101
+ left: 0;
102
+ }
103
+
104
+ .up-footer-link {
105
+ /* color: #586c94; */
106
+ display: flex;
107
+ align-items: center;
108
+ justify-content: center;
109
+ font-size: 28rpx;
110
+ }
111
+
112
+ .up-link {
113
+ position: relative;
114
+ padding: 0 18rpx;
115
+ line-height: 1;
116
+ }
117
+
118
+ .up-link::before {
119
+ content: ' ';
120
+ position: absolute;
121
+ right: 0;
122
+ top: 0;
123
+ width: 1px;
124
+ bottom: 0;
125
+ border-right: 1px solid #d3d3d3;
126
+ -webkit-transform-origin: 100% 0;
127
+ transform-origin: 100% 0;
128
+ -webkit-transform: scaleX(0.5);
129
+ transform: scaleX(0.5);
130
+ }
131
+
132
+ .up-link:last-child::before {
133
+ border-right: 0 !important;
134
+ }
135
+
136
+ .up-link-hover {
137
+ opacity: 0.5;
138
+ }
139
+
140
+ .up-footer-copyright {
141
+ font-size: 24rpx;
142
+ color: #a7a7a7;
143
+ line-height: 1;
144
+ text-align: center;
145
+ padding-top: 16rpx;
146
+ padding-bottom: env(safe-area-inset-bottom);
147
+ }
148
+ </style>
@@ -6,7 +6,7 @@
6
6
 
7
7
  <script>
8
8
  export default {
9
- name: 'fuiGrid',
9
+ name: 'tuiGrid',
10
10
  props: {
11
11
  //是否去掉上线条
12
12
  unlined: {
@@ -22,13 +22,6 @@ export default {
22
22
  width: 100%;
23
23
  position: relative;
24
24
  overflow: hidden;
25
-
26
- /* justify-content: space-between; */
27
-
28
- /* display: flex;
29
- display: -webkit-flex;
30
- flex-direction: row;
31
- flex-wrap: wrap; */
32
25
  }
33
26
 
34
27
  .up-grids::after {
@@ -44,6 +37,7 @@ export default {
44
37
  -webkit-transform: scaleY(0.5);
45
38
  transform: scaleY(0.5);
46
39
  }
40
+
47
41
  .up-border-top::after {
48
42
  border-top: 0 !important;
49
43
  }
@@ -1,7 +1,7 @@
1
1
  <template>
2
2
  <view
3
3
  class="up-grid"
4
- :class="[bottom ? '' : 'up-grid-bottom', 'up-grid-' + (cell < 2 ? 3 : cell)]"
4
+ :class="[bottomLine ? '' : 'up-grid-bottom', border ? '' : 'up-grid__unlined', 'up-grid-' + (cell < 2 ? 3 : cell)]"
5
5
  :hover-class="hover ? 'up-item-hover' : ''"
6
6
  :hover-stay-time="150"
7
7
  :style="{ backgroundColor: backgroundColor }"
@@ -12,9 +12,11 @@
12
12
  </view>
13
13
  </view>
14
14
  </template>
15
+
15
16
  <script>
16
17
  export default {
17
- name: 'fuiGridItem',
18
+ name: 'tuiGridItem',
19
+ emits: ['click'],
18
20
  props: {
19
21
  cell: {
20
22
  type: [Number, String],
@@ -29,8 +31,13 @@ export default {
29
31
  type: Boolean,
30
32
  default: true
31
33
  },
32
- //底部线条
33
- bottom: {
34
+ //是否需要底部线条
35
+ bottomLine: {
36
+ type: Boolean,
37
+ default: true
38
+ },
39
+ //是否需要纵向边框线条
40
+ border: {
34
41
  type: Boolean,
35
42
  default: true
36
43
  },
@@ -52,11 +59,16 @@ export default {
52
59
  <style scoped>
53
60
  .up-grid {
54
61
  position: relative;
55
- padding: 20px 10px;
62
+ padding: 40rpx 20rpx;
56
63
  box-sizing: border-box;
57
64
  background: #fff;
58
65
  float: left;
59
66
  }
67
+ /* #ifdef MP-BAIDU */
68
+ .up-grid:active {
69
+ background-color: #f7f7f9;
70
+ }
71
+ /* #endif */
60
72
 
61
73
  .up-grid-2 {
62
74
  width: 50%;
@@ -110,6 +122,11 @@ export default {
110
122
  transform: scaleX(0.5);
111
123
  }
112
124
 
125
+ .up-grid__unlined::before {
126
+ width: 0 !important;
127
+ border-right: 0 !important;
128
+ }
129
+
113
130
  .up-grid::after {
114
131
  content: ' ';
115
132
  position: absolute;
@@ -0,0 +1,190 @@
1
+ export default {
2
+ "about": "\ue772",
3
+ "about-fill": "\ue771",
4
+ "add": "\ue770",
5
+ "add-fill": "\ue76f",
6
+ "addmessage": "\ue76e",
7
+ "addressbook": "\ue76d",
8
+ "agree": "\ue76c",
9
+ "agree-fill": "\ue76b",
10
+ "alarm": "\ue76a",
11
+ "alarm-fill": "\ue769",
12
+ "alipay": "\ue768",
13
+ "android": "\ue767",
14
+ "applets": "\ue766",
15
+ "arrowdown": "\ue765",
16
+ "arrowleft": "\ue764",
17
+ "arrowright": "\ue763",
18
+ "arrowup": "\ue762",
19
+ "attestation": "\ue761",
20
+ "back": "\ue760",
21
+ "bag": "\ue75f",
22
+ "bag-fill": "\ue75e",
23
+ "balloon": "\ue75d",
24
+ "bankcard": "\ue75c",
25
+ "bankcard-fill": "\ue75b",
26
+ "bottom": "\ue75a",
27
+ "calendar": "\ue759",
28
+ "camera": "\ue758",
29
+ "camera-fill": "\ue757",
30
+ "camera-add": "\ue756",
31
+ "card": "\ue755",
32
+ "card-fill": "\ue754",
33
+ "cart": "\ue753",
34
+ "cart-fill": "\ue752",
35
+ "category": "\ue751",
36
+ "category-fill": "\ue750",
37
+ "check": "\ue74f",
38
+ "circle": "\ue74e",
39
+ "circle-fill": "\ue74d",
40
+ "circle-selected": "\ue74c",
41
+ "clock": "\ue74b",
42
+ "clock-fill": "\ue74a",
43
+ "close": "\ue749",
44
+ "close-fill": "\ue748",
45
+ "community": "\ue747",
46
+ "community-fill": "\ue746",
47
+ "computer": "\ue745",
48
+ "computer-fill": "\ue744",
49
+ "coupon": "\ue743",
50
+ "delete": "\ue742",
51
+ "deletekey": "\ue741",
52
+ "dingtalk": "\ue740",
53
+ "dissatisfied": "\ue73f",
54
+ "down": "\ue73e",
55
+ "download": "\ue73d",
56
+ "edit": "\ue73c",
57
+ "ellipsis": "\ue73b",
58
+ "enlarge": "\ue73a",
59
+ "evaluate": "\ue739",
60
+ "exchange": "\ue738",
61
+ "explain": "\ue737",
62
+ "explain-fill": "\ue736",
63
+ "explore": "\ue735",
64
+ "explore-fill": "\ue734",
65
+ "eye": "\ue733",
66
+ "feedback": "\ue732",
67
+ "fingerprint": "\ue730",
68
+ "friendadd": "\ue72f",
69
+ "friendadd-fill": "\ue72e",
70
+ "gps": "\ue72d",
71
+ "histogram": "\ue72c",
72
+ "home": "\ue72b",
73
+ "home-fill": "\ue72a",
74
+ "house": "\ue729",
75
+ "imface": "\ue728",
76
+ "imkeyboard": "\ue727",
77
+ "immore": "\ue726",
78
+ "imvoice": "\ue725",
79
+ "ios": "\ue724",
80
+ "kefu": "\ue723",
81
+ "label": "\ue722",
82
+ "label-fill": "\ue721",
83
+ "like": "\ue720",
84
+ "like-fill": "\ue71f",
85
+ "link": "\ue71e",
86
+ "listview": "\ue71d",
87
+ "loading": "\ue71c",
88
+ "location": "\ue71b",
89
+ "mail": "\ue71a",
90
+ "mail-fill": "\ue719",
91
+ "manage": "\ue718",
92
+ "manage-fill": "\ue717",
93
+ "member": "\ue716",
94
+ "member-fill": "\ue715",
95
+ "message": "\ue714",
96
+ "message-fill": "\ue713",
97
+ "mobile": "\ue712",
98
+ "moments": "\ue711",
99
+ "more": "\ue710",
100
+ "more-fill": "\ue70f",
101
+ "narrow": "\ue70e",
102
+ "news": "\ue70d",
103
+ "news-fill": "\ue70c",
104
+ "nodata": "\ue70b",
105
+ "notice": "\ue699",
106
+ "notice-fill": "\ue698",
107
+ "offline": "\ue697",
108
+ "offline-fill": "\ue696",
109
+ "oppose": "\ue695",
110
+ "oppose-fill": "\ue694",
111
+ "order": "\ue693",
112
+ "partake": "\ue692",
113
+ "people": "\ue691",
114
+ "people-fill": "\ue690",
115
+ "pic": "\ue68f",
116
+ "pic-fill": "\ue68e",
117
+ "picture": "\ue68d",
118
+ "pie": "\ue68c",
119
+ "plus": "\ue689",
120
+ "polygonal": "\ue688",
121
+ "position": "\ue686",
122
+ "pwd": "\ue685",
123
+ "qq": "\ue684",
124
+ "qrcode": "\ue682",
125
+ "redpacket": "\ue681",
126
+ "redpacket-fill": "\ue680",
127
+ "reduce": "\ue67f",
128
+ "refresh": "\ue67e",
129
+ "revoke": "\ue67d",
130
+ "satisfied": "\ue67c",
131
+ "screen": "\ue67b",
132
+ "search": "\ue67a",
133
+ "search-2": "\ue679",
134
+ "send": "\ue678",
135
+ "service": "\ue677",
136
+ "service-fill": "\ue676",
137
+ "setup": "\ue675",
138
+ "setup-fill": "\ue674",
139
+ "share": "\ue673",
140
+ "share-fill": "\ue672",
141
+ "shield": "\ue671",
142
+ "shop": "\ue670",
143
+ "shop-fill": "\ue66f",
144
+ "shut": "\ue66e",
145
+ "signin": "\ue66d",
146
+ "sina": "\ue66c",
147
+ "skin": "\ue66b",
148
+ "soso": "\ue669",
149
+ "square": "\ue668",
150
+ "square-fill": "\ue667",
151
+ "square-selected": "\ue666",
152
+ "star": "\ue665",
153
+ "star-fill": "\ue664",
154
+ "strategy": "\ue663",
155
+ "sweep": "\ue662",
156
+ "time": "\ue661",
157
+ "time-fill": "\ue660",
158
+ "todown": "\ue65f",
159
+ "toleft": "\ue65e",
160
+ "tool": "\ue65d",
161
+ "top": "\ue65c",
162
+ "toright": "\ue65b",
163
+ "towardsleft": "\ue65a",
164
+ "towardsright": "\ue659",
165
+ "towardsright-fill": "\ue658",
166
+ "transport": "\ue657",
167
+ "transport-fill": "\ue656",
168
+ "turningdown": "\ue654",
169
+ "turningleft": "\ue653",
170
+ "turningright": "\ue652",
171
+ "turningup": "\ue651",
172
+ "unreceive": "\ue650",
173
+ "seen": "\ue7d2",
174
+ "unseen": "\ue7d1",
175
+ "up": "\ue64e",
176
+ "upload": "\ue64c",
177
+ "video": "\ue64b",
178
+ "voice": "\ue649",
179
+ "voice-fill": "\ue648",
180
+ "voipphone": "\ue647",
181
+ "wallet": "\ue646",
182
+ "warning": "\ue645",
183
+ "wealth": "\ue644",
184
+ "wealth-fill": "\ue643",
185
+ "weather": "\ue642",
186
+ "wechat": "\ue641",
187
+ "wifi": "\ue640",
188
+ "play": "\ue7d5",
189
+ "suspend": "\ue7d4"
190
+ }