Authored by htoooth

init red envelope

registry=http://npm.yohops.com
package-lock=false
\ No newline at end of file
... ...
This diff could not be displayed because it is too large.
... ... @@ -18,18 +18,18 @@
"licenses": "MIT",
"devDependencies": {
"babel-preset-es2015-rollup": "^3.0.0",
"cssnano": "^3.9.1",
"postcss-cssnext": "^2.9.0",
"postcss-nested": "^1.0.0",
"postcss-simple-vars": "^3.0.0",
"rollup": "^0.38.0",
"rollup-plugin-babel": "^2.7.1",
"rollup-plugin-commonjs": "^6.0.1",
"rollup-plugin-eslint": "^3.0.0",
"rollup-plugin-json": "^2.1.0",
"rollup-plugin-node-resolve": "^2.0.0",
"rollup-plugin-postcss": "^0.2.0",
"rollup-plugin-uglify": "^1.0.1",
"rollup-watch": "^2.5.0"
"cssnano": "^4.1.3",
"postcss-cssnext": "^3.1.0",
"postcss-nested": "^4.1.0",
"postcss-simple-vars": "^5.0.1",
"rollup": "^0.66.2",
"rollup-plugin-babel": "^4.0.3",
"rollup-plugin-commonjs": "^9.1.8",
"rollup-plugin-eslint": "^5.0.0",
"rollup-plugin-json": "^3.1.0",
"rollup-plugin-node-resolve": "^3.4.0",
"rollup-plugin-postcss": "^1.6.2",
"rollup-plugin-uglify": "^6.0.0",
"rollup-watch": "^4.3.1"
}
}
... ...
... ... @@ -214,9 +214,14 @@ let _initCoupon = function(uid) {
});
};
let _initRedEnvelope = function(uid) {
}
export default {
init(uid) {
_initCoin(uid); // 初始化有货币
_initCoupon(uid); // 初始化优惠券
_initRedEnvelope(uid); // 初始化红包
}
};
... ...