@indfnd/common-mobile 1.0.10 → 1.0.12

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 CHANGED
@@ -2,6 +2,30 @@
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.12](http://git.inspur.com/imp-ec/ind-front/ind-common-mobile-front/compare/v1.0.11...v1.0.12) (2026-01-08)
6
+
7
+
8
+ ### Features
9
+
10
+ * merge ([a53dc5a](http://git.inspur.com/imp-ec/ind-front/ind-common-mobile-front/commit/a53dc5ad94be1336fb58195788304bf1c4192cff))
11
+
12
+
13
+ ### Bug Fixes
14
+
15
+ * 修改 ([43dbae2](http://git.inspur.com/imp-ec/ind-front/ind-common-mobile-front/commit/43dbae25fe70bbb1272ef7ce0df64196550ad4fa))
16
+
17
+ ### [1.0.11](http://git.inspur.com/imp-ec/ind-front/ind-common-mobile-front/compare/v1.0.10...v1.0.11) (2026-01-08)
18
+
19
+
20
+ ### Features
21
+
22
+ * 企业微信应用广场新展示问题修复 ([d6a67ed](http://git.inspur.com/imp-ec/ind-front/ind-common-mobile-front/commit/d6a67edb327ac167bfe3eddb3fc82c60d60caa03))
23
+
24
+
25
+ ### Bug Fixes
26
+
27
+ * 修改 ([43dbae2](http://git.inspur.com/imp-ec/ind-front/ind-common-mobile-front/commit/43dbae25fe70bbb1272ef7ce0df64196550ad4fa))
28
+
5
29
  ### [1.0.10](http://git.inspur.com/imp-ec/ind-front/ind-common-mobile-front/compare/v1.0.9...v1.0.10) (2025-12-31)
6
30
 
7
31
 
@@ -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$1 = "@indfnd/common-mobile";
6
- const version$2 = "1.0.9";
6
+ const version$2 = "1.0.11";
7
7
  const author$1 = "huxuetong";
8
8
  const publishConfig = {
9
9
  registry: "https://registry.npmjs.org/"
@@ -22976,15 +22976,20 @@ const __vue2_script$d = {
22976
22976
  this.searchNum = data49;
22977
22977
  },
22978
22978
  updateSelectedTitles() {
22979
- var _a;
22979
+ var _a, _b, _c, _d;
22980
22980
  let tempNodes = _.filter(this.value, (d) => {
22981
22981
  return !d.children || d.children.length == 0;
22982
22982
  });
22983
22983
  let textField = "title";
22984
- if (((_a = this.columnsComp) == null ? void 0 : _a.length) > 1) {
22984
+ if ((_a = this.options) == null ? void 0 : _a.length) {
22985
+ textField = "V";
22986
+ } else if (((_b = this.columnsComp) == null ? void 0 : _b.length) > 1) {
22985
22987
  textField = this.columnsComp[1].field;
22986
22988
  }
22987
- this.selectedTitles = (tempNodes == null ? void 0 : tempNodes.length) ? (tempNodes == null ? void 0 : tempNodes.length) == 1 ? tempNodes[0][textField] : "\u5171\u9009\u62E9" + ((tempNodes == null ? void 0 : tempNodes.length) || 0) + "\u4E2A" + this.title : "";
22989
+ console.log("textField is", textField);
22990
+ this.selectedTitles = (tempNodes == null ? void 0 : tempNodes.length) ? (tempNodes == null ? void 0 : tempNodes.length) == 1 ? ((_c = this.options) == null ? void 0 : _c.length) ? (_d = this.options.find((d) => {
22991
+ return d.K == tempNodes[0].K;
22992
+ })) == null ? void 0 : _d.V : tempNodes[0][textField] : "\u5171\u9009\u62E9" + ((tempNodes == null ? void 0 : tempNodes.length) || 0) + "\u4E2A" + this.title : "";
22988
22993
  },
22989
22994
  setSelectedTitles(title4) {
22990
22995
  this.selectedTitles = title4;
@@ -28145,7 +28150,9 @@ var render$5 = function() {
28145
28150
  return _c("div", { key: index2, staticClass: "ind-myApp-slim-icon" }, [_c("img", { staticStyle: { "height": "100%", "width": "100%", "border-radius": "50%", "background-color": "#fff" }, attrs: { "src": _vm.getImg(icon2.meta.icon) } })]);
28146
28151
  }), _vm.showMoreIcon ? _c("div", { staticClass: "ind-myApp-slim-icon" }, [_vm._v(" " + _vm._s("...") + " ")]) : _vm._e()], 2) : _vm._e(), _vm.icons.length !== 0 ? _c("van-icon", { staticClass: "ind-myApp-slim-toggle-icon", class: { "ind-myApp-slim-rotate-down": _vm.expanded }, attrs: { "name": "arrow" } }) : _vm._e()], 1), _c("div", { staticClass: "ind-myApp-slim-content-button" }, [_c("div", { staticClass: "ind-myApp-slim-content-button-btn", on: { "click": _vm.edit } }, [_vm._v("\u7F16\u8F91")])])]), _vm.expanded ? _c("div", { staticStyle: { "width": "100%", "height": "auto", "background-color": "#fff" } }, [_c("van-swipe", { attrs: { "show-indicators": true, "loop": false, "indicator-color": "#005aaf" } }, _vm._l(_vm.list, function(page, pageIdx) {
28147
28152
  return _c("van-swipe-item", { key: pageIdx }, [_c("div", { style: { paddingBottom: _vm.list.length > 1 ? "30px" : "0" } }, [_c("div", { staticClass: "ind-myApp-slim-content-content" }, _vm._l(page, function(item2, itemIdx) {
28148
- return _c("div", { key: itemIdx, staticClass: "ind-myApp-slim-content-content-item" }, [_c("apps-item", { attrs: { "item": item2, "state": item2.state, "editStatus": "off" }, on: { "touchend": _vm.routeTo } })], 1);
28153
+ return _c("div", { key: itemIdx, staticClass: "ind-myApp-slim-content-content-item", style: {
28154
+ width: "calc(100% / " + _vm.rowAppCount + ")"
28155
+ } }, [_c("apps-item", { attrs: { "item": item2, "state": item2.state, "editStatus": "off" }, on: { "touchend": _vm.routeTo } })], 1);
28149
28156
  }), 0)])]);
28150
28157
  }), 1)], 1) : _vm._e()]);
28151
28158
  };
@@ -28182,6 +28189,10 @@ const __vue2_script$5 = {
28182
28189
  moreCount() {
28183
28190
  const count5 = this.icons.length - 9;
28184
28191
  return count5 > 99 ? "99" : count5;
28192
+ },
28193
+ rowAppCount() {
28194
+ var _a, _b;
28195
+ return ((_b = (_a = this.$config) == null ? void 0 : _a.systemDefaultConfig) == null ? void 0 : _b.rowAppCount) || 5;
28185
28196
  }
28186
28197
  },
28187
28198
  methods: {
@@ -31330,7 +31341,7 @@ const install = function(Vue2, opts = { theme: "" }) {
31330
31341
  });
31331
31342
  }
31332
31343
  if (!((_a = Vue2.prototype.$config) == null ? void 0 : _a.systemDefaultConfig)) {
31333
- axios$3.get(`/user-manage-server/anon/system/qrySystemConfig`).then((response) => {
31344
+ axios$3.get(`/user-manage-server/anon/system/qrySystemConfig`, { params: { deviceType: "11" } }).then((response) => {
31334
31345
  var _a2;
31335
31346
  try {
31336
31347
  const ret = JSON.parse(((_a2 = response == null ? void 0 : response.data) == null ? void 0 : _a2.settingInfo) || "{}");