Authored by 陈峰

support ufo coupon

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Document</title>
</head>
<body>
<div class="yoho-conpon" data-token="wangdachui233,wangdachui23" data-type="ufo">
<a href="javascript:;">点我领取UFO优惠券</a>
</div>
<script src="https://cdn.staticfile.org/jquery/3.3.1/jquery.min.js"></script>
<script src="../dist/js-sdk/1.3.14/jssdk.js"></script>
</body>
</html>
\ No newline at end of file
... ...
... ... @@ -10,7 +10,8 @@
"scripts": {
"build": "rollup -c --no-treeshake",
"dev": "rollup -c --watch --no-treeshake",
"fix": "eslint --fix src/**/*"
"fix": "eslint --fix src/**/*",
"example": "http-server ./ -p 8081 -d -o"
},
"repository": {
"type": "git",
... ... @@ -23,6 +24,7 @@
"@babel/plugin-external-helpers": "^7.0.0",
"@babel/preset-env": "^7.1.0",
"cssnano": "^4.1.3",
"http-server": "^0.11.1",
"postcss-cssnext": "^3.1.0",
"postcss-nested": "^4.1.0",
"postcss-simple-vars": "^5.0.1",
... ...
This diff could not be displayed because it is too large.