@kengic/uni 0.6.3-beta.20 → 0.6.3-beta.22
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/dist/service/http-client.ts +10 -1
- package/dist/uni/uni-ui/uni-datetime-picker/uni-datetime-picker.vue +4 -4
- package/dist/uni/uni-ui/uni-pagination/uni-pagination.vue +4 -4
- package/dist/uni/uni-ui/uni-segmented-control/uni-segmented-control.vue +4 -4
- package/package.json +3 -1
- package/script/bump-to.luotao.smartfactory.product.wms.wms--project-kengic-factory.ts +3 -0
- package/script/copy-to.luotao.smartfactory.product.wms.wms--project-kengic-factory.ts +3 -0
|
@@ -10,7 +10,9 @@ import { isNil } from 'lodash-es';
|
|
|
10
10
|
*/
|
|
11
11
|
uni.addInterceptor('request', {
|
|
12
12
|
invoke(args) {
|
|
13
|
-
|
|
13
|
+
if (args?.isShowLoading !== false) {
|
|
14
|
+
uni.showLoading({});
|
|
15
|
+
}
|
|
14
16
|
|
|
15
17
|
const appStore = useAppStore();
|
|
16
18
|
|
|
@@ -70,6 +72,13 @@ type IRequestOptions = Omit<UniApp.RequestOptions, 'url'> & {
|
|
|
70
72
|
*/
|
|
71
73
|
dynamicQueryOperatorModel?: Record<string, KG_DYNAMIC_QUERY_OPERATOR>;
|
|
72
74
|
|
|
75
|
+
/**
|
|
76
|
+
* 是否显示加载提示.
|
|
77
|
+
*
|
|
78
|
+
* @default true
|
|
79
|
+
*/
|
|
80
|
+
isShowLoading?: boolean;
|
|
81
|
+
|
|
73
82
|
/**
|
|
74
83
|
* 是否不显示错误消息提示.
|
|
75
84
|
*
|
|
@@ -817,7 +817,7 @@
|
|
|
817
817
|
flex-direction: row;
|
|
818
818
|
align-items: center;
|
|
819
819
|
justify-content: center;
|
|
820
|
-
border-radius:
|
|
820
|
+
border-radius: 3px;
|
|
821
821
|
background-color: #fff;
|
|
822
822
|
color: #666;
|
|
823
823
|
font-size: 14px;
|
|
@@ -837,7 +837,7 @@
|
|
|
837
837
|
|
|
838
838
|
.uni-date-x--border {
|
|
839
839
|
box-sizing: border-box;
|
|
840
|
-
border-radius:
|
|
840
|
+
border-radius: 3px;
|
|
841
841
|
border: 1px solid #e5e5e5;
|
|
842
842
|
}
|
|
843
843
|
|
|
@@ -907,7 +907,7 @@
|
|
|
907
907
|
z-index: 999;
|
|
908
908
|
border: 1px solid #EBEEF5;
|
|
909
909
|
box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
|
|
910
|
-
border-radius:
|
|
910
|
+
border-radius: 3px;
|
|
911
911
|
}
|
|
912
912
|
|
|
913
913
|
.uni-date-range--x {
|
|
@@ -917,7 +917,7 @@
|
|
|
917
917
|
z-index: 999;
|
|
918
918
|
border: 1px solid #EBEEF5;
|
|
919
919
|
box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
|
|
920
|
-
border-radius:
|
|
920
|
+
border-radius: 3px;
|
|
921
921
|
}
|
|
922
922
|
|
|
923
923
|
.uni-date-editor--x__disabled {
|
|
@@ -26,8 +26,8 @@
|
|
|
26
26
|
</view>
|
|
27
27
|
<view class="uni-pagination__num uni-pagination__num-flex-none">
|
|
28
28
|
<view class="uni-pagination__num-current">
|
|
29
|
-
<text class="uni-pagination__num-current-text is-pc-hide current-index-text">{{ currentIndex }}
|
|
30
|
-
<text class="uni-pagination__num-current-text is-pc-hide"
|
|
29
|
+
<text class="uni-pagination__num-current-text is-pc-hide current-index-text">{{ currentIndex }} </text>
|
|
30
|
+
<text class="uni-pagination__num-current-text is-pc-hide">/ {{ maxPage || 0 }}</text>
|
|
31
31
|
<!-- #ifndef APP-NVUE -->
|
|
32
32
|
<view v-for="(item, index) in paper" :key="index" :class="{ 'page--active': item === currentIndex }"
|
|
33
33
|
class="uni-pagination__num-tag tag--active is-phone-hide" @click.top="selectPage(item, index)">
|
|
@@ -341,7 +341,7 @@
|
|
|
341
341
|
justify-content: center;
|
|
342
342
|
align-items: center;
|
|
343
343
|
text-align: center;
|
|
344
|
-
border-radius:
|
|
344
|
+
border-radius: 3px;
|
|
345
345
|
// border-width: 1px;
|
|
346
346
|
// border-style: solid;
|
|
347
347
|
// border-color: $uni-border-color;
|
|
@@ -387,7 +387,7 @@
|
|
|
387
387
|
line-height: 30px;
|
|
388
388
|
// border: 1px red solid;
|
|
389
389
|
color: #999;
|
|
390
|
-
border-radius:
|
|
390
|
+
border-radius: 3px;
|
|
391
391
|
// border-width: 1px;
|
|
392
392
|
// border-style: solid;
|
|
393
393
|
// border-color: $uni-border-color;
|
|
@@ -122,13 +122,13 @@
|
|
|
122
122
|
|
|
123
123
|
.segmented-control__item--button--first {
|
|
124
124
|
border-left-width: 1px;
|
|
125
|
-
border-top-left-radius:
|
|
126
|
-
border-bottom-left-radius:
|
|
125
|
+
border-top-left-radius: 3px;
|
|
126
|
+
border-bottom-left-radius: 3px;
|
|
127
127
|
}
|
|
128
128
|
|
|
129
129
|
.segmented-control__item--button--last {
|
|
130
|
-
border-top-right-radius:
|
|
131
|
-
border-bottom-right-radius:
|
|
130
|
+
border-top-right-radius: 3px;
|
|
131
|
+
border-bottom-right-radius: 3px;
|
|
132
132
|
}
|
|
133
133
|
|
|
134
134
|
.segmented-control__item--text {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kengic/uni",
|
|
3
|
-
"version": "0.6.3-beta.
|
|
3
|
+
"version": "0.6.3-beta.22",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "npm run use-node && rimraf dist && vue-tsc && vite build",
|
|
6
6
|
"------ -------------------------------------------": "",
|
|
@@ -13,6 +13,8 @@
|
|
|
13
13
|
"- ------------------------------------------------": "",
|
|
14
14
|
"copy-to:luotao.smartfactory.product.wms.wms--dev-3.2": "npm run build && npx tsx script/copy-to.luotao.smartfactory.product.wms.wms--dev-3.2.ts",
|
|
15
15
|
"bump-to:luotao.smartfactory.product.wms.wms--dev-3.2": "npm run use-node && npx tsx script/bump-to.luotao.smartfactory.product.wms.wms--dev-3.2.ts",
|
|
16
|
+
"copy-to:luotao.smartfactory.product.wms.wms--project-kengic-factory": "npm run build && npx tsx script/copy-to.luotao.smartfactory.product.wms.wms--project-kengic-factory.ts",
|
|
17
|
+
"bump-to:luotao.smartfactory.product.wms.wms--project-kengic-factory": "npm run use-node && npx tsx script/bump-to.luotao.smartfactory.product.wms.wms--project-kengic-factory.ts",
|
|
16
18
|
"-- -----------------------------------------------": "",
|
|
17
19
|
"cnpm:sync": "npx cnpm --yes sync @kengic/uni",
|
|
18
20
|
"--- ----------------------------------------------": "",
|