租房小程序前端代码
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.

50 lines
1.3 KiB

6 months ago
  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. },
  8. methods: {
  9. onCustomerService() {
  10. common_vendor.index.showModal({
  11. title: "联系客服",
  12. content: "确定拨打客服电话?",
  13. success: function(res) {
  14. if (res.confirm) {
  15. console.log("用户点击确定");
  16. } else if (res.cancel) {
  17. console.log("用户点击取消");
  18. }
  19. }
  20. });
  21. }
  22. }
  23. };
  24. if (!Array) {
  25. const _easycom_uv_icon2 = common_vendor.resolveComponent("uv-icon");
  26. _easycom_uv_icon2();
  27. }
  28. const _easycom_uv_icon = () => "../../uni_modules/uv-icon/components/uv-icon/uv-icon.js";
  29. if (!Math) {
  30. _easycom_uv_icon();
  31. }
  32. function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
  33. return {
  34. a: common_assets._imports_0$3,
  35. b: common_assets._imports_1$4,
  36. c: common_vendor.p({
  37. name: "arrow-right"
  38. }),
  39. d: common_assets._imports_2,
  40. e: common_vendor.p({
  41. name: "arrow-right"
  42. }),
  43. f: common_assets._imports_3,
  44. g: common_vendor.p({
  45. name: "arrow-right"
  46. })
  47. };
  48. }
  49. const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render]]);
  50. wx.createPage(MiniProgramPage);