|
|
- "use strict";
- const common_vendor = require("../../common/vendor.js");
- const pages_mixins_pullRefreshMixin = require("../mixins/pullRefreshMixin.js");
- const emailPopup = () => "../../wxcomponents/email-popup/email-popup.js";
- const _sfc_main = {
- components: {
- emailPopup
- },
- mixins: [pages_mixins_pullRefreshMixin.pullRefreshMixin],
- data() {
- return {
- showEmailPopup: false
- };
- },
- methods: {
- async onRefresh() {
- await new Promise((resolve) => setTimeout(resolve, 1e3));
- common_vendor.index.stopPullRefresh();
- },
- // 显示弹窗
- openEmailPopup() {
- this.showEmailPopup = true;
- },
- // 关闭弹窗
- handleCloseEmailPopup() {
- this.showEmailPopup = false;
- },
- navigateBack() {
- common_vendor.index.navigateBack();
- },
- handleOnlineService() {
- common_vendor.index.navigateTo({
- url: "/pages/customer-service/index"
- });
- }
- }
- };
- if (!Array) {
- const _easycom_uni_icons2 = common_vendor.resolveComponent("uni-icons");
- const _component_email_popup = common_vendor.resolveComponent("email-popup");
- (_easycom_uni_icons2 + _component_email_popup)();
- }
- const _easycom_uni_icons = () => "../../uni_modules/uni-icons/components/uni-icons/uni-icons.js";
- if (!Math) {
- _easycom_uni_icons();
- }
- function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
- return {
- a: common_vendor.p({
- type: "left",
- size: "20"
- }),
- b: common_vendor.o((...args) => $options.navigateBack && $options.navigateBack(...args)),
- c: common_vendor.o((...args) => $options.openEmailPopup && $options.openEmailPopup(...args)),
- d: common_vendor.o($options.handleCloseEmailPopup),
- e: common_vendor.p({
- show: $data.showEmailPopup
- })
- };
- }
- const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-a871b013"]]);
- wx.createPage(MiniProgramPage);
- //# sourceMappingURL=../../../.sourcemap/mp-weixin/pages/subcomponent/faq.js.map
|