当前位置:网站首页>(最新版) 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"
};
}
附上下载地址:立即下载
留下个关注吧~
感谢阅读
边栏推荐
- 2020-11_ Technical experience set
- Nodejs+Express+MySQL实现登陆功能(含验证码)
- Shutter: overview of shutter architecture (excerpt)
- With pictures and texts, summarize the basic review of C language in detail, so that all kinds of knowledge points are clear at a glance?
- Display time with message interval of more than 1 minute in wechat applet discussion area
- Sqoop1.4.4原生增量导入特性探秘
- 01_ Using the concurrent tool class library, is thread safety safe
- 剑指Offer07. 重建二叉树
- Sword finger offer05 Replace spaces
- 【ArcGIS自定义脚本工具】矢量文件生成扩大矩形面要素
猜你喜欢

【附下载】密码获取工具LaZagne安装及使用

Develop plug-ins for idea

Take you to the installation and simple use tutorial of the deveco studio compiler of harmonyos to create and run Hello world?

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

LeetCode 0556. Next bigger element III - end of step 4

Integer string int mutual conversion

Integer int compare size

ES6 standard

Implement verification code verification

Public and private account sending prompt information (user microservice -- message microservice)
随机推荐
temp
JVM内存模型
239. Sliding window maximum
Shutter widget: centerslice attribute
Sword finger offer03 Repeated numbers in the array [simple]
Cloud Computing future - native Cloud
启用MemCached的SASL认证
Prompt unread messages and quantity before opening chat group
Swift5.7 扩展 some 到泛型参数
Self made pop-up input box, input text, and click to complete the event.
Write a simple nodejs script
Sword finger offer07 Rebuild binary tree
The future of cloud computing cloud native
Dart: about Libraries
(construction notes) ADT and OOP
Is it OK to open an account for online stock speculation? Is the fund safe?
(构造笔记)从类、API、框架三个层面学习如何设计可复用软件实体的具体技术
Official website of Unicode query
云计算未来 — 云原生
[ManageEngine] the role of IP address scanning