interview_success.js 1.4 KB

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