当前位置:网站首页>(最新版) Wifi分销多开版+安装框架
(最新版) Wifi分销多开版+安装框架
2022-07-03 11:56:00 【程序员-南】
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"
};
}
附上下载地址:立即下载
留下个关注吧~
感谢阅读
边栏推荐
- Jsup crawls Baidu Encyclopedia
- 2020-11_ Technical experience set
- [embedded] - Introduction to four memory areas
- 剑指Offer07. 重建二叉树
- Alibaba is bigger than sending SMS (user microservice - message microservice)
- elastic_ L01_ summary
- 2020-10_ Development experience set
- Sword finger offer10- I. Fibonacci sequence
- Swagger
- 111. Minimum depth of binary tree
猜你喜欢

公纵号发送提示信息(用户微服务--消息微服务)

Fluent: Engine Architecture

Shutter widget: centerslice attribute

The future of cloud computing cloud native

剑指Offer07. 重建二叉树

OpenGL index cache object EBO and lineweight mode

Flutter 退出登录二次确认怎么做才更优雅?

If you can't learn, you have to learn. Jetpack compose writes an im app (II)

【ManageEngine】IP地址扫描的作用

Sword finger offer10- I. Fibonacci sequence
随机推荐
If you can't learn, you have to learn. Jetpack compose writes an im app (I)
剑指Offer05. 替换空格
RedHat5 安装Socket5代理服务器
Introduction to concurrent programming (II)
Is it safe to open an account for online stock speculation? Who can answer
【ManageEngine】IP地址扫描的作用
【嵌入式】---- 内存四区介绍
2.6 preliminary cognition of synergetic couroutines
手机号码变成空号导致亚马逊账号登陆两步验证失败的恢复网址及方法
剑指Offer10- I. 斐波那契数列
1-2 project technology selection and structure
111. Minimum depth of binary tree
剑指Offer09. 用两个栈实现队列
New features of ES6
Lambda表达式
Dart: about Libraries
Lambda expression
232. Implement queue with stack
SLF4J 日志门面
347. Top k high frequency elements