zhytech-ui-mobile 1.0.10 → 1.0.11

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.
@@ -22199,7 +22199,6 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
22199
22199
  const props = __props;
22200
22200
  const { component } = toRefs(props);
22201
22201
  const tabComponents = ref({});
22202
- console.log(component.value);
22203
22202
  if ((_b = (_a = component.value) == null ? void 0 : _a.children) == null ? void 0 : _b.length) {
22204
22203
  component.value.children.forEach((child) => {
22205
22204
  const pageIndex = component.value.props.pages.findIndex((page) => page.value === child.props.pageID);
@@ -22239,8 +22238,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
22239
22238
  return openBlock(), createBlock(_component_wd_tab, {
22240
22239
  "custom-class": "zhy",
22241
22240
  key: index2,
22242
- title: page.label,
22243
- name: page.label
22241
+ title: page.label
22244
22242
  }, {
22245
22243
  default: withCtx(() => [
22246
22244
  createVNode(_sfc_main$5, {
@@ -22250,7 +22248,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
22250
22248
  }, null, 8, ["components", "showDescription"]),
22251
22249
  unref(component).props.showNavigation ? (openBlock(), createBlock(_component_v_uni_view, {
22252
22250
  key: 0,
22253
- class: "w-full text-right sons-class-wd-button:mx-10px!"
22251
+ class: "w-full pos-absolute bottom-4px left-0 text-right sons-class-wd-button:mx-10px!"
22254
22252
  }, {
22255
22253
  default: withCtx(() => [
22256
22254
  index2 !== 0 ? (openBlock(), createBlock(_component_wd_button, {
@@ -22280,7 +22278,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
22280
22278
  }, 1024)) : createCommentVNode("", true)
22281
22279
  ]),
22282
22280
  _: 2
22283
- }, 1032, ["title", "name"]);
22281
+ }, 1032, ["title"]);
22284
22282
  }), 128))
22285
22283
  ]),
22286
22284
  _: 1
@@ -22446,7 +22444,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
22446
22444
  }, null, 40, ["component", "disabled", "labelPosition", "showDescription", "onePageItemFlag", "currentShowIDArray"])) : (openBlock(), createBlock(_component_wd_cell, {
22447
22445
  key: 1,
22448
22446
  "custom-class": `zhy form-item form-prop-${component.id}`,
22449
- vertical: __props.labelPosition === "top",
22447
+ vertical: true,
22450
22448
  "title-width": `${component.props.showLabel && __props.labelPosition !== "top" ? component.props.labelWidth : ""}px`,
22451
22449
  prop: component.id,
22452
22450
  rules: component.rules
@@ -22475,7 +22473,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
22475
22473
  }, null, 40, ["class", "componentProps", "onUpdate:componentProps", "datas", "componentID", "disabled", "readonly", "showDescription"]))
22476
22474
  ]),
22477
22475
  _: 2
22478
- }, 1032, ["custom-class", "vertical", "title-width", "prop", "rules"]))
22476
+ }, 1032, ["custom-class", "title-width", "prop", "rules"]))
22479
22477
  ]),
22480
22478
  _: 2
22481
22479
  }, 1024)) : createCommentVNode("", true)
@@ -23359,6 +23357,13 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
23359
23357
  everyItemDisplayAnalysisSwitch: {
23360
23358
  type: Boolean,
23361
23359
  default: false
23360
+ },
23361
+ /**
23362
+ * 答题卡显示正确与否
23363
+ */
23364
+ showCorrectOrNot: {
23365
+ type: Boolean,
23366
+ default: false
23362
23367
  }
23363
23368
  },
23364
23369
  emits: ["change", "switchPage"],
@@ -23583,9 +23588,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
23583
23588
  };
23584
23589
  };
23585
23590
  const showAnswerSheetFlag = ref(false);
23586
- const showCorrectOrNot = ref(false);
23587
- const showAnswerSheet = (showCorrectOrNotFlag) => {
23588
- showCorrectOrNot.value = showCorrectOrNotFlag ?? false;
23591
+ const showAnswerSheet = () => {
23589
23592
  showAnswerSheetFlag.value = false;
23590
23593
  nextTick(() => {
23591
23594
  showAnswerSheetFlag.value = true;
@@ -23761,7 +23764,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
23761
23764
  }),
23762
23765
  unref(showAnswerSheetFlag) ? (openBlock(), createBlock(answerSheetPopup, {
23763
23766
  key: 0,
23764
- showCorrectOrNot: unref(showCorrectOrNot),
23767
+ showCorrectOrNot: __props.showCorrectOrNot,
23765
23768
  formData: unref(formData),
23766
23769
  onShowItem: scrollToField
23767
23770
  }, null, 8, ["showCorrectOrNot", "formData"])) : createCommentVNode("", true),