interview_success.js 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. "use strict";
  2. const common_vendor = require("../../common/vendor.js");
  3. const _sfc_main = {
  4. data() {
  5. return {
  6. checkItems: [
  7. { name: "左手手心", status: "动作检测成功" },
  8. { name: "左手手背", status: "动作检测成功" },
  9. { name: "左手握拳", status: "动作检测成功" },
  10. { name: "右手手心", status: "动作检测成功" },
  11. { name: "右手手背", status: "动作检测成功" },
  12. { name: "右手握拳", status: "动作检测成功" }
  13. ]
  14. };
  15. },
  16. methods: {
  17. retake() {
  18. common_vendor.index.navigateBack();
  19. },
  20. goNext() {
  21. common_vendor.index.reLaunch({
  22. url: "/pages/success/success"
  23. });
  24. }
  25. }
  26. };
  27. function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
  28. return {
  29. a: common_vendor.f($data.checkItems, (item, index, i0) => {
  30. return {
  31. a: common_vendor.t(index + 1),
  32. b: common_vendor.t(item.name),
  33. c: common_vendor.t(item.status),
  34. d: index
  35. };
  36. }),
  37. b: common_vendor.o((...args) => $options.retake && $options.retake(...args)),
  38. c: common_vendor.o((...args) => $options.goNext && $options.goNext(...args))
  39. };
  40. }
  41. const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render]]);
  42. wx.createPage(MiniProgramPage);