(最新版) Wifi分销多开版+安装框架

Wifi分销多开版
免费分享给大家

功能模块:

WIFI管理

新建编辑WIFI、累计有效次数统计、搜索WIFI、WIFI码管理、批量新建WIFI码

佣金管理

查看每日佣金记录
查看每次连接分成
任意比例设置

团队管理

团长、拓展员、商家
可任意设置下级佣金比例
可通过审核和拒绝代理申请

结算单管理

提现管理

支付宝提现、微信提现、收款码上传

话不多说先看效果图

在这里插入图片描述
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述
小程序采用原生代码

    use: [ "customLoading", "custom", "userInfo" ],
    data: {
        singlePage: "singlePage" === i.globalData.mode,
        menuList: [],
        defaultAvatar: "".concat(i.globalData.moduleHost, "/resources/image/default_user.png"),
        defaultInvite: "".concat(i.globalData.moduleHost, "/resources/image/invite.png"),
        defaultManager: "".concat(i.globalData.moduleHost, "/resources/image/invite.png"),
        showPopupImage: !1,
        currentItem: {}
    },
    onLoad: function() {
        var e = this;
        t.default.getCustom(function(t) {
            console.log("custom: ", t), e._initAd(), t.title && wx.setNavigationBarTitle({
                title: t.title
            });
        });
    },
    _initAd: function() {
        var e = this.data.$.custom;
        wx.createInterstitialAd && 1 == e.ad_screen_active && (n = wx.createInterstitialAd({
            adUnitId: e.ad_screen || ""
        })).onError(function(e) {
            console.error("插屏广告加载失败:", e);
        });
    },
    onShow: function() {
        var e = this.data.$.custom;
        setTimeout(function() {
            n && 1 == e.ad_screen_active && n.show().catch(function(e) {
                console.error("插屏广告加载失败:", e);
            });
        }, 1e3 * e.ad_screen_timeout);
    },
    onClose: function() {
        this.setData({
            showPopupImage: !1
        });
    },
    handleBannerItemClick: function(e) {
        var t = e.currentTarget.dataset.item;
        switch (t.type) {
          case "h5":
            t.url ? wx.navigateTo({
                url: "/pages/webview/index?src=".concat(t.url)
            }) : i.utils.modalText("未设置跳转内容,操作失败");
            break;

          case "mini":
            wx.navigateToMiniProgram({
                appId: t.appid,
                path: decodeURIComponent(t.url),
                fail: function(e) {
                    var a = e.errMsg;
                    "navigateToMiniProgram:fail invalid appid" === a ? i.utils.modalText("跳转失败,可能是小程序路径或appid填写错误") : "navigateToMiniProgram:fail can't navigate to myself" === a && wx.navigateTo({
                        url: decodeURIComponent(t.url)
                    });
                }
            });
        }
    },
    handleItemClick: function(e) {
        var t = e.currentTarget.dataset.item;
        switch (t.type) {
          case "h5":
            t.url ? wx.navigateTo({
                url: "/pages/webview/index?src=".concat(t.url)
            }) : i.utils.modalText("未设置内容,操作失败");
            break;

          case "image":
            t.content ? this.setData({
                showPopupImage: !0,
                currentItem: {
                    content: t.content
                }
            }) : i.utils.modalText("未设置内容,操作失败");
            break;

          case "text":
            t.content ? wx.showModal({
                title: t.title || "",
                content: t.content,
                showCancel: !1,
                confirmText: t.confirm_text || "我知道了"
            }) : i.utils.toastText("未设置内容,操作失败");
            break;

          case "mini":
            if (!t.appid) return void wx.navigateTo({
                url: t.url
            });
            wx.navigateToMiniProgram({
                appId: t.appid,
                path: decodeURIComponent(t.url),
                fail: function(e) {
                    var a = e.errMsg;
                    "navigateToMiniProgram:fail invalid appid" === a ? i.utils.modalText("跳转失败,可能是小程序路径或appid填写错误") : "navigateToMiniProgram:fail can't navigate to myself" === a && wx.navigateTo({
                        url: t.url
                    });
                }
            });
        }
    },
    handleCreateWifi: function() {
        wx.navigateTo({
            url: "/wifi/edit/index"
        });
    },
    handleManagerClick: function() {
        wx.navigateTo({
            url: "/wifi/list/index"
        });
    },
    handleInvite: function() {
        wx.navigateTo({
            url: "/pages/invite/index"
        });
    },
    handleMember: function() {
        wx.navigateTo({
            url: "/pages/member/index"
        });
    },
    onShareAppMessage: function() {
        var e = this.data.$.custom || {};
        return {
            title: e.share_title || "无需密码,一键连WiFi",
            path: "/pages/home/index?share=1&uid=" + this.data.$.userInfo.id,
            imageUrl: e.share_icon || i.globalData.moduleHost + "/resources/image/wifi_square2.png"
        };
    },
    onShareTimeline: function() {
        var e = this.data.$.custom || {};
        return {
            title: e.share_title || "点击创建您的专属WiFi",
            imageUrl: e.share_icon || i.globalData.moduleHost + "/resources/image/wifi_square2.png"
        };
    }

附上下载地址:立即下载
留下个关注吧~
感谢阅读

评论 9
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

程序员-南

你的鼓励将是我创作最大的动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值