外卖CPS红包小程序源码分享
外卖cps带分销返利源码
饿了么红包、美团优惠券开发(外卖cps,三级裂变源码)
源代码地址
搭建步骤
- 下载以上源代码到本地
http://y.mybei.cn
截图
步骤
- 下载以上源代码到本地
http://www.mybei.cn - 修改为你自己的微信小程序,打开 /dist/pages/ele/index.js
- 微信小程序->开发管理->开发设置 添加 request的域名: 地址:
https://mp.weixin.qq.com/wxamp/devprofile/get_profile?token=271531762&lang=zh_CN
- 小程序管理后台配置你的链接
后台地址: http://q.mybei.cn - 进去之后选择小程序管理->无裂变小程序管理->添加小程序->填入你自己的链接
- 微信开发者工具,导入项目,提交审核
(wx.webpackJsonp = wx.webpackJsonp || []).push([ [ 65 ], {
140: function(t, e, o) {
t.exports = o.p + “pages/main/home/hotGoodsItem/index.wxml”;
},
376: function(t, e, o) {
“use strict”;
o(140);
},
377: function(t, e, o) {},
489: function(t, e, o) {
“use strict”;
o.r(e);
o(376);
var n, r, s, a = o(1), i = o.n(a), c = o(0), p = o.n©, u = o(8), l = o(2), f = (o(377),
function() {
function defineProperties(t, e) {
for (var o = 0; o < e.length; o++) {
var n = e[o];
n.enumerable = n.enumerable || !1, n.configurable = !0, “value” in n && (n.writable = !0),
Object.defineProperty(t, n.key, n);
}
}
return function(t, e, o) {
return e && defineProperties(t.prototype, e), o && defineProperties(t, o), t;
};
}());
function _classCallCheck(t, e) {
if (!(t instanceof e)) throw new TypeError(“Cannot call a class as a function”);
}
function _possibleConstructorReturn(t, e) {
if (!t) throw new ReferenceError(“this hasn’t been initialised - super() hasn’t been called”);
return !e || “object” != typeof e && “function” != typeof e ? t : e;
}
var d = Object(u.connect)(function mapState(t) {
return {
user: t.user,
rebate: t.rebate
};
}, function mapDispatch() {
return {};
})((s = r = function(t) {
function HotGoodsItem() {
var t, e, o;
_classCallCheck(this, HotGoodsItem);
for (var n = arguments.length, r = Array(n), s = 0; s < n; s++) r[s] = arguments[s];
return e = o = _possibleConstructorReturn(this, (t = HotGoodsItem.proto || Object.getPrototypeOf(HotGoodsItem)).call.apply(t, [ this ].concat®)),
o.KaTeX parse error: Expected group after '_' at position 30: …"anonymousState_̲_temp", "goods"…KaTeX parse error: Expected 'EOF', got '}' at position 43: … }̲ }, {…prefix;
console.log(“src/pages/main/home/hotGoodsItem/index.jsx/HotGoodsItem/render”);
var t = this.__props, e = t.user, o = t.goods, n = (t.onShow, Object(c.internal_inline_style)({
backgroundImage: “url(” + this.getRankIconUrl() + “)”
}));
return Object.assign(this.__state, {
anonymousState__temp: n,
goods: o,
user: e,
oss: l.c
}), this.__state;
}
}, {
key: “funPrivatebbdzz”,
value: function funPrivatebbdzz() {
return this.props.onShow.apply(void 0, Array.prototype.slice.call(arguments, 1));
}
} ]), HotGoodsItem;
}(c.Component), r. e v e n t s = [ " f u n P r i v a t e b b d z z " ] , r . events = [ "funPrivatebbdzz" ], r. events=["funPrivatebbdzz"],r.componentPath = “pages/main/home/hotGoodsItem/index”,
n = s)) || n;
d.defaultProps = {
goods: {},
onShow: function onShow() {}
}, d.propType = {
goods: i.a.object,
onShow: i.a.func
};
Component(o(0).default.createComponent(d));
}
}, [ [ 489, 0, 1, 2 ] ] ]);