Showing
4 changed files
with
20 additions
and
13 deletions
This diff could not be displayed because it is too large.
@@ -18,18 +18,18 @@ | @@ -18,18 +18,18 @@ | ||
18 | "licenses": "MIT", | 18 | "licenses": "MIT", |
19 | "devDependencies": { | 19 | "devDependencies": { |
20 | "babel-preset-es2015-rollup": "^3.0.0", | 20 | "babel-preset-es2015-rollup": "^3.0.0", |
21 | - "cssnano": "^3.9.1", | ||
22 | - "postcss-cssnext": "^2.9.0", | ||
23 | - "postcss-nested": "^1.0.0", | ||
24 | - "postcss-simple-vars": "^3.0.0", | ||
25 | - "rollup": "^0.38.0", | ||
26 | - "rollup-plugin-babel": "^2.7.1", | ||
27 | - "rollup-plugin-commonjs": "^6.0.1", | ||
28 | - "rollup-plugin-eslint": "^3.0.0", | ||
29 | - "rollup-plugin-json": "^2.1.0", | ||
30 | - "rollup-plugin-node-resolve": "^2.0.0", | ||
31 | - "rollup-plugin-postcss": "^0.2.0", | ||
32 | - "rollup-plugin-uglify": "^1.0.1", | ||
33 | - "rollup-watch": "^2.5.0" | 21 | + "cssnano": "^4.1.3", |
22 | + "postcss-cssnext": "^3.1.0", | ||
23 | + "postcss-nested": "^4.1.0", | ||
24 | + "postcss-simple-vars": "^5.0.1", | ||
25 | + "rollup": "^0.66.2", | ||
26 | + "rollup-plugin-babel": "^4.0.3", | ||
27 | + "rollup-plugin-commonjs": "^9.1.8", | ||
28 | + "rollup-plugin-eslint": "^5.0.0", | ||
29 | + "rollup-plugin-json": "^3.1.0", | ||
30 | + "rollup-plugin-node-resolve": "^3.4.0", | ||
31 | + "rollup-plugin-postcss": "^1.6.2", | ||
32 | + "rollup-plugin-uglify": "^6.0.0", | ||
33 | + "rollup-watch": "^4.3.1" | ||
34 | } | 34 | } |
35 | } | 35 | } |
@@ -214,9 +214,14 @@ let _initCoupon = function(uid) { | @@ -214,9 +214,14 @@ let _initCoupon = function(uid) { | ||
214 | }); | 214 | }); |
215 | }; | 215 | }; |
216 | 216 | ||
217 | +let _initRedEnvelope = function(uid) { | ||
218 | + | ||
219 | +} | ||
220 | + | ||
217 | export default { | 221 | export default { |
218 | init(uid) { | 222 | init(uid) { |
219 | _initCoin(uid); // 初始化有货币 | 223 | _initCoin(uid); // 初始化有货币 |
220 | _initCoupon(uid); // 初始化优惠券 | 224 | _initCoupon(uid); // 初始化优惠券 |
225 | + _initRedEnvelope(uid); // 初始化红包 | ||
221 | } | 226 | } |
222 | }; | 227 | }; |
-
Please register or login to post a comment