@indfnd/common-mobile 1.0.42 → 1.0.44
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 +15 -0
- package/dist/ind-common-mobile.es.js +31 -36
- package/dist/ind-common-mobile.umd.cjs +3 -3
- package/dist/styles/index.css +1 -1
- package/package.json +1 -1
- package/src/styles/variables/theme/emerald-green/common.less +6 -2
- package/src/styles/variables/theme/gleam-golden/common.less +4 -0
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,21 @@
|
|
|
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
|
+
### [1.0.44](http://git.inspur.com/imp-ec/ind-front/ind-common-mobile-front/compare/v1.0.43...v1.0.44) (2026-02-28)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* 处理配置获取时机 ([b0114fa](http://git.inspur.com/imp-ec/ind-front/ind-common-mobile-front/commit/b0114fa0a1981a012b128f97fd346cf1eb73f85d))
|
|
11
|
+
* 处理配置获取时机 ([83236d3](http://git.inspur.com/imp-ec/ind-front/ind-common-mobile-front/commit/83236d33464f35359f2d610287bff3cb09969529))
|
|
12
|
+
|
|
13
|
+
### [1.0.43](http://git.inspur.com/imp-ec/ind-front/ind-common-mobile-front/compare/v1.0.42...v1.0.43) (2026-02-07)
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
### Bug Fixes
|
|
17
|
+
|
|
18
|
+
* 增加轮播dot样式 ([b620db0](http://git.inspur.com/imp-ec/ind-front/ind-common-mobile-front/commit/b620db09729bbeba485a34ae8040015aae37818a))
|
|
19
|
+
|
|
5
20
|
### [1.0.42](http://git.inspur.com/imp-ec/ind-front/ind-common-mobile-front/compare/v1.0.41...v1.0.42) (2026-02-06)
|
|
6
21
|
|
|
7
22
|
|
|
@@ -3,7 +3,7 @@ import { getQuarterNum, getHalfYearNum, formatDate, useConfig, getLocalStorage,
|
|
|
3
3
|
import Vue$1 from "vue";
|
|
4
4
|
import { DropdownMenu as DropdownMenu$1, DropdownItem as DropdownItem$1, Message, LoadingBar, Spin } from "view-design";
|
|
5
5
|
const name = "@indfnd/common-mobile";
|
|
6
|
-
const version$1 = "1.0.
|
|
6
|
+
const version$1 = "1.0.43";
|
|
7
7
|
const author = "huxuetong";
|
|
8
8
|
const publishConfig = {
|
|
9
9
|
registry: "https://registry.npmjs.org/"
|
|
@@ -29973,7 +29973,7 @@ var render$9 = function() {
|
|
|
29973
29973
|
var _c = _vm._self._c || _h;
|
|
29974
29974
|
return _c("IndMCard", { attrs: { "showHeader": false, "innerPadding": "0px" } }, [_c("div", { staticClass: "ind-myApp-slim-new-content" }, [_c("div", { staticClass: "ind-myApp-slim-new-content-title" }, [_vm._v("\u6211\u7684\u5E94\u7528")]), _c("div", { staticClass: "ind-myApp-slim-new-content-center", on: { "click": _vm.open } }, [!_vm.expanded ? _c("div", { staticClass: "ind-myApp-slim-new-icon-group" }, _vm._l(_vm.displayedIcons, function(icon, index2) {
|
|
29975
29975
|
return _c("div", { key: index2, staticClass: "ind-myApp-slim-new-icon" }, [_c("img", { staticStyle: { "height": "100%", "width": "100%", "border-radius": "8px", "background-color": "#fff" }, attrs: { "src": _vm.getImg(icon.meta.icon) } })]);
|
|
29976
|
-
}), 0) : _vm._e(), _vm.icons.length !== 0 && !_vm.expanded ? _c("Icon", { staticClass: "ind-myApp-slim-new-toggle-icon", attrs: { "type": "ios-arrow-forward" } }) : _vm._e(), _vm.icons.length !== 0 && _vm.expanded ? _c("Icon", { staticClass: "ind-myApp-slim-new-toggle-icon", attrs: { "type": "ios-arrow-down" } }) : _vm._e()], 1), _c("div", { staticClass: "ind-myApp-slim-new-content-button" }, [_c("div", { staticClass: "ind-myApp-slim-new-content-button-btn", on: { "click": _vm.edit } }, [_vm._v("\u7F16\u8F91")])])]), _vm.expanded ? _c("div", { staticStyle: { "width": "100%", "height": "auto" } }, [_c("van-swipe", { attrs: { "show-indicators": true, "loop": false } }, _vm._l(_vm.list, function(page, pageIdx) {
|
|
29976
|
+
}), 0) : _vm._e(), _vm.icons.length !== 0 && !_vm.expanded ? _c("Icon", { staticClass: "ind-myApp-slim-new-toggle-icon", attrs: { "type": "ios-arrow-forward" } }) : _vm._e(), _vm.icons.length !== 0 && _vm.expanded ? _c("Icon", { staticClass: "ind-myApp-slim-new-toggle-icon", attrs: { "type": "ios-arrow-down" } }) : _vm._e()], 1), _c("div", { staticClass: "ind-myApp-slim-new-content-button" }, [_c("div", { staticClass: "ind-myApp-slim-new-content-button-btn", on: { "click": _vm.edit } }, [_vm._v("\u7F16\u8F91")])])]), _vm.expanded ? _c("div", { staticStyle: { "width": "100%", "height": "auto" } }, [_c("van-swipe", { staticClass: "ind-myApp-slim-new-content-swipe", attrs: { "show-indicators": true, "loop": false } }, _vm._l(_vm.list, function(page, pageIdx) {
|
|
29977
29977
|
return _c("van-swipe-item", { key: pageIdx }, [_c("div", { style: { paddingBottom: _vm.list.length > 1 ? "30px" : "0" } }, [_c("div", { staticClass: "ind-myApp-slim-new-content-content" }, _vm._l(page, function(item2, itemIdx) {
|
|
29978
29978
|
return _c("div", { key: itemIdx, staticClass: "ind-myApp-slim-new-content-content-item", style: {
|
|
29979
29979
|
width: "calc(100% / " + _vm.rowAppCount + ")"
|
|
@@ -33481,7 +33481,6 @@ const store = {
|
|
|
33481
33481
|
}
|
|
33482
33482
|
};
|
|
33483
33483
|
const install = function(Vue2, opts = { theme: "" }) {
|
|
33484
|
-
var _a;
|
|
33485
33484
|
if (install.installed)
|
|
33486
33485
|
return;
|
|
33487
33486
|
const theme = opts.theme || getDefaultTheme();
|
|
@@ -33498,42 +33497,38 @@ const install = function(Vue2, opts = { theme: "" }) {
|
|
|
33498
33497
|
Vue2.prototype.$config = _.merge({}, Vue2.prototype.$config || {}, data50);
|
|
33499
33498
|
});
|
|
33500
33499
|
}
|
|
33501
|
-
|
|
33502
|
-
|
|
33503
|
-
|
|
33504
|
-
|
|
33505
|
-
|
|
33506
|
-
|
|
33507
|
-
|
|
33508
|
-
|
|
33509
|
-
if ((item2
|
|
33510
|
-
|
|
33511
|
-
|
|
33512
|
-
|
|
33513
|
-
|
|
33514
|
-
});
|
|
33515
|
-
}
|
|
33516
|
-
temp[item2.key] = item2.value;
|
|
33500
|
+
Vue2.ready = axios$3.get(`/user-manage-server/anon/system/qrySystemConfig`, { params: { deviceType: "11" } }).then((response) => {
|
|
33501
|
+
var _a;
|
|
33502
|
+
try {
|
|
33503
|
+
const ret = JSON.parse(((_a = response == null ? void 0 : response.data) == null ? void 0 : _a.settingInfo) || "{}");
|
|
33504
|
+
if ((ret == null ? void 0 : ret.systemDefaultConfig) && ret.systemDefaultConfig.extPropsList && Array.isArray(ret.systemDefaultConfig.extPropsList)) {
|
|
33505
|
+
const temp = {};
|
|
33506
|
+
ret.systemDefaultConfig.extPropsList.forEach((item2) => {
|
|
33507
|
+
if ((item2 == null ? void 0 : item2.key) && item2.value !== void 0) {
|
|
33508
|
+
if (ret.systemDefaultConfig.hasOwnProperty(item2.key)) {
|
|
33509
|
+
console.warn(`\u914D\u7F6E\u952E\u540D ${item2.key} \u91CD\u590D\uFF0C\u539F\u503C\u88AB\u8986\u76D6`, {
|
|
33510
|
+
oldValue: ret.systemDefaultConfig[item2.key],
|
|
33511
|
+
newValue: item2.value
|
|
33512
|
+
});
|
|
33517
33513
|
}
|
|
33518
|
-
|
|
33519
|
-
ret.systemDefaultConfig = { ...ret.systemDefaultConfig, ...temp };
|
|
33520
|
-
}
|
|
33521
|
-
Vue2.prototype.$config = _.merge({}, Vue2.prototype.$config || {}, ret);
|
|
33522
|
-
console.log("\u7CFB\u7EDF\u914D\u7F6E\u5DF2\u52A0\u8F7D", Vue2.prototype.$config);
|
|
33523
|
-
setTimeout(() => {
|
|
33524
|
-
if (ret.systemDefaultConfig.changeUI == "1") {
|
|
33525
|
-
doChangeTheme(theme + " " + ret.systemDefaultConfig.theme);
|
|
33514
|
+
temp[item2.key] = item2.value;
|
|
33526
33515
|
}
|
|
33527
|
-
}
|
|
33528
|
-
|
|
33529
|
-
console.error("\u89E3\u6790 settingInfo \u5931\u8D25:", error);
|
|
33516
|
+
});
|
|
33517
|
+
ret.systemDefaultConfig = { ...ret.systemDefaultConfig, ...temp };
|
|
33530
33518
|
}
|
|
33531
|
-
|
|
33532
|
-
console.
|
|
33533
|
-
|
|
33534
|
-
|
|
33535
|
-
|
|
33536
|
-
|
|
33519
|
+
Vue2.prototype.$config = _.merge({}, Vue2.prototype.$config || {}, ret);
|
|
33520
|
+
console.log("\u7CFB\u7EDF\u914D\u7F6E\u5DF2\u52A0\u8F7D", Vue2.prototype.$config);
|
|
33521
|
+
setTimeout(() => {
|
|
33522
|
+
if (ret.systemDefaultConfig.changeUI == "1") {
|
|
33523
|
+
doChangeTheme(theme + " " + ret.systemDefaultConfig.theme);
|
|
33524
|
+
}
|
|
33525
|
+
}, 0);
|
|
33526
|
+
} catch (error) {
|
|
33527
|
+
console.error("\u89E3\u6790 settingInfo \u5931\u8D25:", error);
|
|
33528
|
+
}
|
|
33529
|
+
}).catch((error) => {
|
|
33530
|
+
console.error("\u8BF7\u6C42\u5931\u8D25:", error);
|
|
33531
|
+
});
|
|
33537
33532
|
Object.keys(components).forEach((key) => {
|
|
33538
33533
|
Vue2.component(`IndM${key}`, components[key]);
|
|
33539
33534
|
});
|