@indfnd/common-mobile 0.0.30 → 0.0.31
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/CHANGELOG.md +7 -0
- package/dist/ind-common-mobile.es.js +30 -3
- package/dist/ind-common-mobile.umd.cjs +19 -19
- package/dist/styles/index.css +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
### [0.0.31](http://git.inspur.com/imp-ec/ind-front/ind-common-mobile-front/compare/v0.0.30...v0.0.31) (2024-06-16)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
* 支持滚动加载 ([108e33e](http://git.inspur.com/imp-ec/ind-front/ind-common-mobile-front/commit/108e33ecb53bd5376d16c770d259a7fdeb2e46cf))
|
|
11
|
+
|
|
5
12
|
### [0.0.30](http://git.inspur.com/imp-ec/ind-front/ind-common-mobile-front/compare/v0.0.29...v0.0.30) (2024-06-16)
|
|
6
13
|
|
|
7
14
|
|
|
@@ -2,7 +2,7 @@ import { getQuarterNum, getHalfYearNum, getHalfYear, formatDate, useConfig, getL
|
|
|
2
2
|
import Vue$1 from "vue";
|
|
3
3
|
import { DropdownMenu as DropdownMenu$1, DropdownItem as DropdownItem$1, Message, LoadingBar, Spin } from "view-design";
|
|
4
4
|
const name$1 = "@indfnd/common-mobile";
|
|
5
|
-
const version$2 = "0.0.
|
|
5
|
+
const version$2 = "0.0.30";
|
|
6
6
|
const author$1 = "huxuetong";
|
|
7
7
|
const publishConfig = {
|
|
8
8
|
registry: "https://registry.npmjs.org/"
|
|
@@ -43259,6 +43259,7 @@ var staticRenderFns$m = [];
|
|
|
43259
43259
|
const __vue2_script$m = {
|
|
43260
43260
|
name: "IndMLoadMore",
|
|
43261
43261
|
props: {
|
|
43262
|
+
enableLoadMore: Boolean,
|
|
43262
43263
|
dataUrl: String,
|
|
43263
43264
|
params: Object,
|
|
43264
43265
|
datas: {
|
|
@@ -44521,7 +44522,7 @@ var render$h = function() {
|
|
|
44521
44522
|
_vm.searchVal = $event;
|
|
44522
44523
|
}, "update:search-val": function($event) {
|
|
44523
44524
|
_vm.searchVal = $event;
|
|
44524
|
-
}, "doSearch": _vm.doSearch, "doSearchFilter": _vm.doSearchFilter } }), _vm.topMsg ? _c("van-notice-bar", { staticClass: "ind-flex-no-shrink", attrs: { "mode": "closeable" } }, [_vm._v(_vm._s(_vm.topMsg))]) : _vm._e(), _c("div", {
|
|
44525
|
+
}, "doSearch": _vm.doSearch, "doSearchFilter": _vm.doSearchFilter } }), _vm.topMsg ? _c("van-notice-bar", { staticClass: "ind-flex-no-shrink", attrs: { "mode": "closeable" } }, [_vm._v(_vm._s(_vm.topMsg))]) : _vm._e(), _c("div", { class: ["ind-page", _vm.enableLoadMore ? "loadmore" : ""] }, [_c("IndMLoadMore", { attrs: { "enableLoadMore": _vm.enableLoadMore, "pageLen": 10, "datas": _vm.displayRows, "dataUrl": _vm.dataUrl, "params": _vm.searchForm }, scopedSlots: _vm._u([{ key: "item", fn: function(ref) {
|
|
44525
44526
|
var item2 = ref.item;
|
|
44526
44527
|
return [_vm._t("item", function() {
|
|
44527
44528
|
return [_c("IndMForm", { attrs: { "fieldList": _vm.formFieldList, "cardBtns": _vm.cardBtns, "value": item2, "formType": "card" } })];
|
|
@@ -44557,7 +44558,8 @@ const __vue2_script$h = {
|
|
|
44557
44558
|
searchFields: Array,
|
|
44558
44559
|
searchForm: Object,
|
|
44559
44560
|
apiParams: Object,
|
|
44560
|
-
cardFields: Array
|
|
44561
|
+
cardFields: Array,
|
|
44562
|
+
enableLoadMore: Boolean
|
|
44561
44563
|
},
|
|
44562
44564
|
data() {
|
|
44563
44565
|
return {
|
|
@@ -70120,6 +70122,31 @@ axios$1.isAxiosError = isAxiosError;
|
|
|
70120
70122
|
axios$2.exports = axios$1;
|
|
70121
70123
|
axios$2.exports.default = axios$1;
|
|
70122
70124
|
var axios = axios$2.exports;
|
|
70125
|
+
const Cookie = {
|
|
70126
|
+
set: function(key, value17, exdays) {
|
|
70127
|
+
if (key.indexOf("=") !== -1) {
|
|
70128
|
+
throw new Error("Cookie\u4E0D\u652F\u6301key\u4E2D\u4F7F\u7528\u7B49\u53F7\u3010=\u3011, key:" + key);
|
|
70129
|
+
}
|
|
70130
|
+
let exdate = new Date();
|
|
70131
|
+
exdate.setTime(exdate.getTime() + 24 * 60 * 60 * 1e3 * exdays);
|
|
70132
|
+
window.document.cookie = key + "=" + value17 + ";path=/;expires=" + exdate.toGMTString();
|
|
70133
|
+
},
|
|
70134
|
+
get: function(key) {
|
|
70135
|
+
if (document.cookie.length > 0) {
|
|
70136
|
+
var arr = document.cookie.split("; ");
|
|
70137
|
+
for (let i = 0; i < arr.length; i++) {
|
|
70138
|
+
let arr2 = arr[i].split("=");
|
|
70139
|
+
if (arr2[0] === key) {
|
|
70140
|
+
var value17 = arr2[1];
|
|
70141
|
+
for (let j = 2; j < arr2.length; j++) {
|
|
70142
|
+
value17 += "=" + arr2[j];
|
|
70143
|
+
}
|
|
70144
|
+
return value17;
|
|
70145
|
+
}
|
|
70146
|
+
}
|
|
70147
|
+
}
|
|
70148
|
+
}
|
|
70149
|
+
};
|
|
70123
70150
|
async function renderRoutes({ router, store: store2, microType, allowPermissionList, routerOptionsBak }) {
|
|
70124
70151
|
await store2.dispatch("getUserInfo");
|
|
70125
70152
|
await store2.dispatch("getAppListData");
|