preview.js 648 B

123456789101112131415161718192021222324
  1. "use strict";
  2. const common_vendor = require("../../common/vendor.js");
  3. const _sfc_main = {
  4. data() {
  5. return {
  6. // 可以添加需要的数据
  7. };
  8. },
  9. methods: {
  10. // 开始拍摄方法
  11. startCapture() {
  12. common_vendor.index.navigateTo({
  13. url: "/pages/face-photo/face-photo"
  14. });
  15. }
  16. }
  17. };
  18. function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
  19. return {
  20. a: common_vendor.o((...args) => $options.startCapture && $options.startCapture(...args))
  21. };
  22. }
  23. const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render]]);
  24. wx.createPage(MiniProgramPage);