hy-app 0.1.1

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 (206) hide show
  1. package/README.md +42 -0
  2. package/api/http.ts +138 -0
  3. package/api/index.ts +1 -0
  4. package/common/index.ts +1 -0
  5. package/common/versionControl.ts +102 -0
  6. package/components/dialog/TheDialog.vue +128 -0
  7. package/components/dialog/index.ts +38 -0
  8. package/components/hy-address-picker/hy-address-picker.vue +262 -0
  9. package/components/hy-address-picker/props.ts +27 -0
  10. package/components/hy-address-picker/typing.d.ts +98 -0
  11. package/components/hy-avatar/hy-avatar.vue +217 -0
  12. package/components/hy-avatar/props.ts +20 -0
  13. package/components/hy-avatar/typing.d.ts +64 -0
  14. package/components/hy-back-top/hy-back-top.vue +71 -0
  15. package/components/hy-back-top/props.ts +23 -0
  16. package/components/hy-back-top/typing.d.ts +49 -0
  17. package/components/hy-badge/hy-badge.vue +155 -0
  18. package/components/hy-badge/props.ts +19 -0
  19. package/components/hy-badge/typing.d.ts +60 -0
  20. package/components/hy-button/hy-button.vue +394 -0
  21. package/components/hy-button/props.ts +36 -0
  22. package/components/hy-button/typing.d.ts +125 -0
  23. package/components/hy-card/hy-card.vue +198 -0
  24. package/components/hy-card/props.ts +29 -0
  25. package/components/hy-card/typing.d.ts +112 -0
  26. package/components/hy-cell/hy-cell.vue +268 -0
  27. package/components/hy-cell/props.ts +20 -0
  28. package/components/hy-cell/typing.d.ts +98 -0
  29. package/components/hy-check-button/hy-check-button.vue +71 -0
  30. package/components/hy-check-button/props.ts +20 -0
  31. package/components/hy-check-button/typing.d.ts +79 -0
  32. package/components/hy-checkbox/hy-checkbox.vue +299 -0
  33. package/components/hy-checkbox/props.ts +28 -0
  34. package/components/hy-checkbox/typing.d.ts +77 -0
  35. package/components/hy-datetime-picker/hy-datetime-picker.vue +584 -0
  36. package/components/hy-datetime-picker/props.ts +36 -0
  37. package/components/hy-datetime-picker/typing.d.ts +135 -0
  38. package/components/hy-divider/hy-divider.vue +164 -0
  39. package/components/hy-divider/props.ts +21 -0
  40. package/components/hy-divider/typing.d.ts +64 -0
  41. package/components/hy-empty/hy-empty.vue +122 -0
  42. package/components/hy-empty/props.ts +21 -0
  43. package/components/hy-empty/typing.d.ts +68 -0
  44. package/components/hy-folding-panel/hy-folding-panel.vue +94 -0
  45. package/components/hy-folding-panel/props.ts +17 -0
  46. package/components/hy-folding-panel/typing.d.ts +59 -0
  47. package/components/hy-form/hy-form.vue +372 -0
  48. package/components/hy-form/props.ts +15 -0
  49. package/components/hy-form/typing.d.ts +51 -0
  50. package/components/hy-grid/hy-grid.vue +126 -0
  51. package/components/hy-grid/props.ts +16 -0
  52. package/components/hy-grid/typing.d.ts +62 -0
  53. package/components/hy-icon/hy-icon.vue +207 -0
  54. package/components/hy-icon/props.ts +24 -0
  55. package/components/hy-icon/typing.d.ts +80 -0
  56. package/components/hy-input/hy-input.vue +402 -0
  57. package/components/hy-input/props.ts +41 -0
  58. package/components/hy-input/typing.d.ts +148 -0
  59. package/components/hy-line/hy-line.vue +44 -0
  60. package/components/hy-line/props.ts +12 -0
  61. package/components/hy-line/typing.d.ts +32 -0
  62. package/components/hy-line-progress/hy-line-progress.vue +118 -0
  63. package/components/hy-line-progress/props.ts +12 -0
  64. package/components/hy-line-progress/typing.d.ts +28 -0
  65. package/components/hy-list/hy-list.vue +250 -0
  66. package/components/hy-list/props.ts +18 -0
  67. package/components/hy-list/typing.d.ts +50 -0
  68. package/components/hy-login/ThePhoneLogin.vue +106 -0
  69. package/components/hy-login/TheUserLogin.vue +391 -0
  70. package/components/hy-login/hy-login.vue +283 -0
  71. package/components/hy-login/props.ts +32 -0
  72. package/components/hy-login/typing.d.ts +60 -0
  73. package/components/hy-modal/hy-modal.vue +240 -0
  74. package/components/hy-modal/props.ts +24 -0
  75. package/components/hy-modal/typing.d.ts +70 -0
  76. package/components/hy-navbar/hy-navbar.vue +194 -0
  77. package/components/hy-navbar/props.ts +24 -0
  78. package/components/hy-navbar/typing.d.ts +81 -0
  79. package/components/hy-notice-bar/hy-column-notice.vue +130 -0
  80. package/components/hy-notice-bar/hy-notice-bar.vue +82 -0
  81. package/components/hy-notice-bar/hy-row-notice.vue +182 -0
  82. package/components/hy-notice-bar/props.ts +19 -0
  83. package/components/hy-notice-bar/typing.d.ts +56 -0
  84. package/components/hy-number-step/hy-number-step.vue +428 -0
  85. package/components/hy-number-step/props.ts +29 -0
  86. package/components/hy-number-step/typing.d.ts +104 -0
  87. package/components/hy-overlay/hy-overlay.vue +54 -0
  88. package/components/hy-overlay/props.ts +10 -0
  89. package/components/hy-overlay/typing.d.ts +24 -0
  90. package/components/hy-picker/hy-picker.vue +499 -0
  91. package/components/hy-picker/props.ts +30 -0
  92. package/components/hy-picker/typing.d.ts +115 -0
  93. package/components/hy-popup/hy-popup.vue +269 -0
  94. package/components/hy-popup/props.ts +21 -0
  95. package/components/hy-popup/typing.d.ts +68 -0
  96. package/components/hy-price/hy-price.vue +86 -0
  97. package/components/hy-price/props.ts +13 -0
  98. package/components/hy-price/typing.d.ts +36 -0
  99. package/components/hy-qrcode/hy-qrcode.vue +153 -0
  100. package/components/hy-qrcode/props.ts +20 -0
  101. package/components/hy-qrcode/qrcode.js +1364 -0
  102. package/components/hy-qrcode/typing.d.ts +64 -0
  103. package/components/hy-radio/hy-radio.vue +319 -0
  104. package/components/hy-radio/props.ts +28 -0
  105. package/components/hy-radio/typing.d.ts +85 -0
  106. package/components/hy-rate/hy-rate.vue +261 -0
  107. package/components/hy-rate/props.ts +18 -0
  108. package/components/hy-rate/typing.d.ts +60 -0
  109. package/components/hy-read-more/hy-read-more.vue +134 -0
  110. package/components/hy-read-more/props.ts +20 -0
  111. package/components/hy-read-more/typing.d.ts +44 -0
  112. package/components/hy-safe-bottom/hy-safe-bottom.vue +64 -0
  113. package/components/hy-scroll-list/hy-scroll-list.vue +146 -0
  114. package/components/hy-scroll-list/props.ts +12 -0
  115. package/components/hy-scroll-list/typing.d.ts +28 -0
  116. package/components/hy-search/hy-search.vue +294 -0
  117. package/components/hy-search/props.ts +29 -0
  118. package/components/hy-search/typing.d.ts +109 -0
  119. package/components/hy-slider/hy-slider.vue +511 -0
  120. package/components/hy-slider/props.ts +21 -0
  121. package/components/hy-slider/typing.d.ts +68 -0
  122. package/components/hy-steps/hy-steps.vue +352 -0
  123. package/components/hy-steps/props.ts +15 -0
  124. package/components/hy-steps/typing.d.ts +58 -0
  125. package/components/hy-subsection/hy-subsection.vue +272 -0
  126. package/components/hy-subsection/props.ts +16 -0
  127. package/components/hy-subsection/typing.d.ts +44 -0
  128. package/components/hy-swiper/hy-swiper-indicator.vue +105 -0
  129. package/components/hy-swiper/hy-swiper.vue +242 -0
  130. package/components/hy-swiper/props.ts +30 -0
  131. package/components/hy-swiper/typing.d.ts +107 -0
  132. package/components/hy-switch/hy-switch.vue +168 -0
  133. package/components/hy-switch/props.ts +16 -0
  134. package/components/hy-switch/typing.d.ts +48 -0
  135. package/components/hy-tabs/hy-tabs.vue +416 -0
  136. package/components/hy-tabs/props.ts +26 -0
  137. package/components/hy-tabs/typing.d.ts +86 -0
  138. package/components/hy-tag/hy-tag.vue +374 -0
  139. package/components/hy-tag/props.ts +22 -0
  140. package/components/hy-tag/typing.d.ts +76 -0
  141. package/components/hy-textarea/hy-textarea.vue +229 -0
  142. package/components/hy-textarea/props.ts +26 -0
  143. package/components/hy-textarea/typing.d.ts +27 -0
  144. package/components/hy-tooltip/hy-tooltip.vue +332 -0
  145. package/components/hy-tooltip/props.ts +17 -0
  146. package/components/hy-tooltip/typing.d.ts +52 -0
  147. package/components/hy-transition/hy-transition.vue +150 -0
  148. package/components/hy-transition/index.scss +113 -0
  149. package/components/hy-transition/props.ts +10 -0
  150. package/components/hy-transition/typing.d.ts +36 -0
  151. package/components/hy-upload/hy-upload.vue +557 -0
  152. package/components/hy-upload/props.ts +29 -0
  153. package/components/hy-upload/typing.d.ts +147 -0
  154. package/components/hy-warn/hy-warn.vue +228 -0
  155. package/components/hy-warn/props.ts +14 -0
  156. package/components/hy-warn/typing.d.ts +40 -0
  157. package/components/hy-waterfall/hy-waterfall.vue +51 -0
  158. package/components/hy-waterfall/props.ts +10 -0
  159. package/components/hy-waterfall/typing.d.ts +20 -0
  160. package/components/index.ts +162 -0
  161. package/components/message/TheMessage.vue +169 -0
  162. package/components/message/index.ts +54 -0
  163. package/components/u-form/form.js +22 -0
  164. package/components/u-form/hy-form.vue +324 -0
  165. package/components/u-form/props.js +49 -0
  166. package/components/u-form/schema.js +1451 -0
  167. package/components/u-form/u-form.vue +267 -0
  168. package/components/u-form/utils.js +65 -0
  169. package/components/u-form-item/formItem.js +24 -0
  170. package/components/u-form-item/hy-form-item.vue +360 -0
  171. package/components/u-form-item/props.js +57 -0
  172. package/components/u-form-item/u-form-item.vue +294 -0
  173. package/components/yk-dialog/yk-dialog.vue +129 -0
  174. package/components/yk-tabbar/props.ts +49 -0
  175. package/components/yk-tabbar/yk-tabbar.vue +224 -0
  176. package/config/color.ts +6 -0
  177. package/config/icon.ts +366 -0
  178. package/config/index.ts +2 -0
  179. package/global/index.ts +6 -0
  180. package/global/register-properties.ts +37 -0
  181. package/index.ts +8 -0
  182. package/libs/css/common.scss +0 -0
  183. package/libs/css/iconfont.css +379 -0
  184. package/libs/css/iconfont.ttf +0 -0
  185. package/libs/css/mixin.scss +15 -0
  186. package/package.json +42 -0
  187. package/public/icons/error.png +0 -0
  188. package/public/icons/success.png +0 -0
  189. package/public/icons/warning.png +0 -0
  190. package/store/index.ts +1 -0
  191. package/store/userInfo.ts +25 -0
  192. package/theme.scss +94 -0
  193. package/typing/index.ts +7 -0
  194. package/typing/modules/common.d.ts +50 -0
  195. package/typing/modules/dialog.ts +17 -0
  196. package/typing/modules/enum.ts +67 -0
  197. package/typing/modules/form.ts +161 -0
  198. package/typing/modules/http.ts +68 -0
  199. package/typing/modules/icon.d.ts +366 -0
  200. package/typing/modules/img.ts +15 -0
  201. package/typing/modules/rect.ts +10 -0
  202. package/utils/address.json +5890 -0
  203. package/utils/base64.ts +119 -0
  204. package/utils/index.ts +3 -0
  205. package/utils/inside.ts +310 -0
  206. package/utils/utils.ts +446 -0
@@ -0,0 +1,129 @@
1
+ <template>
2
+ <view class="promptBox">
3
+ <view class="prompt">
4
+ <image class="promptRipple" src="../../public/icons/warning.png"></image>
5
+
6
+ <view class="promptTit">
7
+ {{ title }}
8
+ </view>
9
+ <view class="promptDesc"> 我是内容 </view>
10
+ <view class="pBtnBox">
11
+ <button class="pBtnCancel" @click="onCancel">取消</button>
12
+ <button class="pBtnOk" @click="onOk('hahahhaah')">确定</button>
13
+ </view>
14
+ </view>
15
+ </view>
16
+ </template>
17
+
18
+ <script setup lang="ts">
19
+ import { ref } from "vue";
20
+
21
+ const title = ref("我是标题");
22
+ </script>
23
+
24
+ <style lang="scss" scoped>
25
+ .promptBox {
26
+ position: absolute;
27
+ top: 0;
28
+ left: 0;
29
+ width: 100%;
30
+ height: 100%;
31
+ background: rgba(0, 0, 0, 0.4);
32
+ z-index: 9999;
33
+
34
+ .prompt {
35
+ position: fixed;
36
+ width: 300px;
37
+ height: 234px;
38
+ border-radius: 16px;
39
+ background: linear-gradient(180deg, #e3eeff 0%, #ffffff 100%);
40
+ left: 50%;
41
+ top: 50%;
42
+ transform: translate(-50%, -50%);
43
+ z-index: 100;
44
+ background-size: cover;
45
+ display: flex;
46
+ flex-direction: column;
47
+ justify-content: flex-start;
48
+ align-items: center;
49
+
50
+ .promptRipple {
51
+ position: absolute;
52
+ top: -50px;
53
+ width: 100px;
54
+ height: 100px;
55
+ z-index: -1;
56
+ }
57
+
58
+ .promptIcon {
59
+ position: absolute;
60
+ top: 0;
61
+ transform: translateY(-50%);
62
+ width: 110px;
63
+ height: 110px;
64
+ border-radius: 90px;
65
+ overflow: hidden;
66
+ // background: linear-gradient(149.98deg, rgba(132, 181, 255, 1) 5.7%, rgba(33, 119, 250, 1) 90.23%);
67
+ // box-shadow: 0px 4px 10px rgba(18, 103, 232, 0.4);
68
+ }
69
+
70
+ .promptTit {
71
+ width: 80%;
72
+ font-size: 20px;
73
+ font-family: PingFang SC;
74
+ font-weight: 500;
75
+ color: rgba(0, 0, 0, 1);
76
+ text-align: center;
77
+ margin-top: 66px;
78
+ }
79
+
80
+ .promptDesc {
81
+ height: 40px;
82
+ margin-top: 12px;
83
+ color: rgba(102, 102, 102, 1);
84
+ font-family: PingFang SC;
85
+ font-size: 14px;
86
+ text-align: center;
87
+ }
88
+
89
+ .pBtnBox {
90
+ width: 280px;
91
+ display: flex;
92
+ justify-content: space-around;
93
+ align-items: center;
94
+ margin-top: 12px;
95
+
96
+ .pBtnOk {
97
+ width: 120px;
98
+ height: 44px;
99
+ line-height: 44px;
100
+ border-radius: 8px !important;
101
+ background: linear-gradient(
102
+ 301.23deg,
103
+ rgba(71, 143, 253, 1) 0%,
104
+ rgba(18, 103, 232, 1) 102.96%
105
+ );
106
+ border: none;
107
+ color: #ffffff;
108
+ font-weight: 500;
109
+ font-size: 15px;
110
+ }
111
+
112
+ .pBtnCancel {
113
+ width: 120px;
114
+ height: 44px;
115
+ line-height: 44px;
116
+ border-radius: 8px;
117
+ background: rgba(224, 237, 255, 1);
118
+ color: rgba(18, 103, 232, 1);
119
+ font-weight: 500;
120
+ font-size: 15px;
121
+ }
122
+ }
123
+ }
124
+ }
125
+
126
+ button::after {
127
+ border: none;
128
+ }
129
+ </style>
@@ -0,0 +1,49 @@
1
+ export default {
2
+ /**
3
+ * tab当前值
4
+ * */
5
+ current: 0,
6
+ /**
7
+ * 文字颜色
8
+ * */
9
+ textColor: "#FFFFFF",
10
+ /**
11
+ * 底部导航栏背景颜色
12
+ * 支持渐变色--linear-gradient(155deg, #192b6e, #a6307c)
13
+ * */
14
+ bgColor: "linear-gradient(155deg, #192b6e, #a6307c)",
15
+ /**
16
+ * 点击突出按钮的背景颜色
17
+ * 支持渐变色--linear-gradient(0deg, #ffa576,#0951eb)
18
+ * */
19
+ activeColor: "linear-gradient(0deg, #ffa576,#0951eb)",
20
+ /**
21
+ * 导航栏值
22
+ * {
23
+ * key: 唯一建值,
24
+ * label: 中文名,
25
+ * icon: uview-plus里面的矢量图标库
26
+ * iconUrl: 图片地址
27
+ * }
28
+ * */
29
+ list: [
30
+ {
31
+ key: 0,
32
+ label: "首页",
33
+ icon: "home",
34
+ iconUrl: ""
35
+ },
36
+ {
37
+ key: 1,
38
+ label: "工具栏",
39
+ icon: "grid",
40
+ iconUrl: ""
41
+ },
42
+ {
43
+ key: 2,
44
+ label: "我的",
45
+ icon: "account",
46
+ iconUrl: ""
47
+ }
48
+ ]
49
+ }
@@ -0,0 +1,224 @@
1
+ <template>
2
+ <view class="placeholder-view"></view>
3
+ <view class="bg">
4
+ <view class="custom-tabbar" :style="{'background': props.bgColor}">
5
+ <view class="ul">
6
+ <view :class="['li', 'list', current === item.key ? 'active' : '']" v-for="item in props.list" :key="item.key" @click="checkItem(item.key)">
7
+ <view class="bar">
8
+ <view class="icon">
9
+ <!-- <text-->
10
+ <!-- :class="['t-icon', `custom-t-icon-${item.icon}`]"-->
11
+ <!-- ></text>-->
12
+ <image
13
+ v-if="item.iconUrl"
14
+ :src="item.iconUrl"
15
+ style="height: 25px; width: 25px"
16
+ ></image>
17
+ <u-icon v-else :name="item.icon" :color="props.textColor" size="25"></u-icon>
18
+ </view>
19
+ <text class="text" :style="['color:' + props.textColor]">{{ item.label }}</text>
20
+ <text class="circle"></text>
21
+ </view>
22
+ </view>
23
+ <view
24
+ class="indicator"
25
+ :style="{
26
+ '--num': `translateX(calc(((100vw - 110rpx - ${props.list.length} * 70rpx) / ${props.list.length - 1} + 70rpx) * ${current}))`,
27
+ 'background': activeColor
28
+ }"
29
+ ></view>
30
+ </view>
31
+ </view>
32
+ </view>
33
+ </template>
34
+
35
+ <script setup lang="ts">
36
+ import { ref, reactive, watch } from "vue";
37
+ import prop from "./props";
38
+
39
+ interface IProps {
40
+ current: number;
41
+ textColor?: string;
42
+ bgColor?: string;
43
+ activeColor?: string;
44
+ list: () => ([]);
45
+ }
46
+ const props = withDefaults(defineProps<IProps>(),{...prop})
47
+ const emit = defineEmits(['clickTab'])
48
+
49
+ const current = ref(0);
50
+ watch(
51
+ () => props.current,
52
+ (newVal) => {
53
+ current.value = newVal
54
+ }
55
+ )
56
+
57
+ const checkItem = (index: number) => {
58
+ current.value = index;
59
+ emit("clickTab", index)
60
+ }
61
+ </script>
62
+
63
+ <style lang="scss" scoped>
64
+ .placeholder-view {
65
+ height: 135rpx;
66
+ }
67
+ .bg {
68
+ background: #F8F8F8;
69
+ height: 135rpx;
70
+ z-index: 999;
71
+ position: fixed;
72
+ bottom: 0;
73
+ }
74
+ .custom-tabbar {
75
+ margin-top: 15rpx;
76
+ position: relative;
77
+ width: 100vw;
78
+ height: 120rpx;
79
+ display: flex;
80
+ justify-content: center;
81
+ align-items: center;
82
+ border-radius: 15rpx 15rpx 0 0;
83
+ padding: 0 20rpx;
84
+ /* #ifndef APP-PLUS-NVUE */
85
+ box-sizing: border-box;
86
+ /* #endif */
87
+ .ul {
88
+ width: 100%;
89
+ display: flex;
90
+ justify-content: space-between;
91
+ align-items: center;
92
+ padding: 0 20rpx;
93
+ .li {
94
+ position: relative;
95
+ width: 100rpx;
96
+ height: 70rpx;
97
+ z-index: 1;
98
+ .bar {
99
+ position: relative;
100
+ display: flex;
101
+ justify-content: center;
102
+ align-items: center;
103
+ flex-direction: column;
104
+ width: 100%;
105
+ text-align: center;
106
+ font-weight: 500;
107
+ .icon {
108
+ /* #ifndef APP-PLUS-NVUE */
109
+ transition: .5s;
110
+ /* #endif */
111
+ }
112
+ .text {
113
+ position: absolute;
114
+ font-weight: 400;
115
+ font-size: .75em;
116
+ /* #ifndef APP-PLUS-NVUE */
117
+ letter-spacing: .05em;
118
+ transition: .5s;
119
+ /* #endif */
120
+ transform: translateY(20px) scale(0);
121
+ }
122
+ .circle {
123
+ position: absolute;
124
+ /* #ifndef APP-PLUS-NVUE */
125
+ display: block;
126
+ /* #endif */
127
+ width: 75rpx;
128
+ height: 75rpx;
129
+ background: transparent;
130
+ border-radius: 50%;
131
+ border: 3rpx solid #fff;
132
+ transform: translateY(-70rpx) scale(0);
133
+ }
134
+ }
135
+
136
+ &.active {
137
+ .bar {
138
+ .icon {
139
+ transform: translate(2rpx, -56rpx);
140
+ }
141
+ .text {
142
+ opacity: 1;
143
+ transform: translateY(20rpx);
144
+ }
145
+ .circle {
146
+ /* #ifndef APP-PLUS-NVUE */
147
+ margin: 0 auto;
148
+ transition: .5s;
149
+ /* #endif */
150
+ transition-delay: .5s;
151
+ transform: translate(2rpx, -56rpx) scale(1);
152
+ }
153
+ }
154
+ }
155
+ }
156
+ }
157
+ }
158
+
159
+ .indicator {
160
+ position: absolute;
161
+ top: -59%;
162
+ left: 30rpx;
163
+ width: 100rpx;
164
+ height: 100rpx;
165
+ border: 12rpx solid #F8F8F8;
166
+ border-radius: 50%;
167
+ display: flex;
168
+ justify-content: center;
169
+ align-items: center;
170
+ /* #ifndef APP-PLUS-NVUE */
171
+ transition: .5s;
172
+ /* #endif */
173
+ }
174
+
175
+ .indicator::before {
176
+ /* #ifndef APP-PLUS-NVUE */
177
+ content: '';
178
+ /* #endif */
179
+ position: absolute;
180
+ top: 59%;
181
+ left: -45rpx;
182
+ width: 50rpx;
183
+ height: 40rpx;
184
+ background: transparent;
185
+ border-top-right-radius: 20px;
186
+ box-shadow: 1px -15rpx 0 #F8F8F8;
187
+ }
188
+
189
+ .indicator::after {
190
+ /* #ifndef APP-PLUS-NVUE */
191
+ content: '';
192
+ /* #endif */
193
+ position: absolute;
194
+ top: 58%;
195
+ right: -49rpx;
196
+ width: 50rpx;
197
+ height: 40rpx;
198
+ background: transparent;
199
+ border-top-left-radius: 40rpx;
200
+ box-shadow: -1px -15rpx 0 #F8F8F8;
201
+ }
202
+
203
+ /* #ifndef APP-PLUS-NVUE */
204
+ .custom-tabbar .ul .li:nth-child(1).active~.indicator {
205
+ transform: var(--num);
206
+ }
207
+
208
+ .custom-tabbar .ul .li:nth-child(2).active~.indicator {
209
+ transform: var(--num);
210
+ }
211
+
212
+ .custom-tabbar .ul .li:nth-child(3).active~.indicator {
213
+ transform: var(--num);
214
+ }
215
+
216
+ .custom-tabbar .ul .li:nth-child(4).active~.indicator {
217
+ transform: var(--num);
218
+ }
219
+
220
+ .custom-tabbar .ul .li:nth-child(5).active~.indicator {
221
+ transform: var(--num);
222
+ }
223
+ /* #endif */
224
+ </style>
@@ -0,0 +1,6 @@
1
+ export const ColorConfig = {
2
+ success: "#5ac725",
3
+ primary: "#3c9cff",
4
+ warning: "#f9ae3d",
5
+ error: "#f56c6c"
6
+ };