You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

51 lines
1.7 KiB

1 week ago
  1. "use strict";
  2. const common_vendor = require("../../../common/vendor.js");
  3. if (!Array) {
  4. const _easycom_up_navbar2 = common_vendor.resolveComponent("up-navbar");
  5. const _easycom_oneBtn2 = common_vendor.resolveComponent("oneBtn");
  6. (_easycom_up_navbar2 + _easycom_oneBtn2)();
  7. }
  8. const _easycom_up_navbar = () => "../../../uni_modules/uview-plus/components/u-navbar/u-navbar.js";
  9. const _easycom_oneBtn = () => "../../../components/oneBtn/oneBtn.js";
  10. if (!Math) {
  11. (_easycom_up_navbar + _easycom_oneBtn)();
  12. }
  13. const _sfc_main = {
  14. __name: "examResultsOne",
  15. setup(__props) {
  16. common_vendor.ref(false);
  17. common_vendor.ref(1);
  18. const currentChart = common_vendor.ref(1);
  19. function changeChart(num) {
  20. currentChart.value = num;
  21. }
  22. return (_ctx, _cache) => {
  23. return common_vendor.e({
  24. a: common_vendor.p({
  25. leftText: " ",
  26. leftIconColor: "#fff",
  27. safeAreaInsetTop: true,
  28. autoBack: true,
  29. title: "我的学习",
  30. bgColor: "transparent",
  31. titleStyle: {
  32. color: "#fff"
  33. }
  34. }),
  35. b: common_vendor.o(($event) => _ctx.$goPage("/pages/vip/vipEntry/vipEntry")),
  36. c: common_vendor.p({
  37. text: "快速提升通过率"
  38. }),
  39. d: common_vendor.o(($event) => changeChart(1)),
  40. e: currentChart.value == 1 ? 1 : "",
  41. f: common_vendor.o(($event) => changeChart(2)),
  42. g: currentChart.value == 2 ? 1 : "",
  43. h: currentChart.value == 1
  44. }, currentChart.value == 1 ? {} : {}, {
  45. i: currentChart.value == 2
  46. }, currentChart.value == 2 ? {} : {});
  47. };
  48. }
  49. };
  50. const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-a61fa573"]]);
  51. wx.createPage(MiniProgramPage);