-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
134 lines (124 loc) · 5.35 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=1.0, minimum-scale=1.0, maximum-scale=1.0">
<meta name="format-detection" content="telephone=no"/>
<meta http-equiv="expires" content="-1"/>
<meta http-equiv="pragma" content="no-cache"/>
<meta http-equiv="cache-control" content="no-cache"/>
<title>互助计划</title>
<script type="text/javascript">
var project = {
ctxPath:"/xhyhz",
staticPath:"/xhyhz/static",
}
</script>
<script type="text/javascript" src="./js/jquery-2.1.4.js" ></script>
<link rel="stylesheet" href="./css/weui.css" />
<link rel="stylesheet" href="./css/example.css" />
<link rel="stylesheet" href="./css/xhyhz.css" />
<link rel="stylesheet" href="./css/swiper-3.3.1.min.css" />
<script type="text/javascript" src="./js//swiper.min.js"></script>
<script src="./js/nebPay.js"></script>
<style>
</style>
</head>
<body style="background-color: #ECECEC;">
<div class="swiper-container" id="swiper-container">
<div class="swiper-wrapper">
<!--
切图时可适当拉高图片,css代码里面设置了最高为200px
-->
<div class="swiper-slide"><img src="./static/img/banner.jpg" alt="" width="100%"></div>
</div>
<!-- 如果需要分页器 -->
<div class="swiper-pagination"></div>
</div>
<!--
以下展示产品列表
-->
<div class="product_list">
<div class="product_img">
<img src="https://nebulas.io/assets/images/medal.png"/>
</div>
<div class="product_desc">
<p class="firTitle fz_1_em">星云众筹计划第一季</p>
<p class="secTitle fz_point8_em">最高可获<span class="fc_05e8d7">20000NAS</span>众筹奖励</p>
<p class="thirdTitle fz_point7_em">时间: 5月7日 00:00 - 7月2日 00:00</p>
<div class="product_btn fz_point7_em">
<div class="left_pat">
<p class="">已有59人加入</p>
<p class="">当前众筹资金池1000NAS</p>
</div>
<div id="joinTo" class="right_pat">
<a href="./join.html" id='attend' class="weui-btn weui-btn_mini weui-btn_primary bc_05e8d7">立即加入</a>
</div>
</div>
</div>
</div>
<div class="product_list">
<div class="product_img">
<img src="https://nebulas.io/assets/images/medal.png"/>
</div>
<div class="product_desc">
<p class="firTitle fz_1_em">亲情保障计划</p>
<p class="secTitle fz_point8_em">最高可获<span class="fc_05e8d7">200NAS</span>保障</p>
<p class="thirdTitle fz_point7_em">保障人群: 1-60周岁</p>
<div class="product_btn fz_point7_em">
<div class="left_pat">
<p class="">已有0人加入</p>
<p class="">星云总余额0NAS</p>
</div>
<div class="right_pat">
<a href="javascript:void(0);" class="weui-btn weui-btn_mini weui_btn_disabled bc_cccccc">即将开始</a>
</div>
</div>
</div>
</div>
<!--与tabbar之间的距离-->
<div style="height: 60px;"> </div>
<div class="weui-tabbar">
<a href="./index.html" class="weui-tabbar__item weui-bar__item_on">
<span style="display: inline-block;position: relative;">
<img src="./static/img/home_on.png" alt="" class="weui-tabbar__icon">
<!-- 有数字提示提示-->
<!--<span class="weui-badge" style="position: absolute;top: -2px;right: -13px;">8</span>-->
</span>
<p class="weui-tabbar__label">Star</p>
</a>
<a href="./myhelp.html" class="weui-tabbar__item">
<img src="./static/img/publicity_off.png" alt="" class="weui-tabbar__icon">
<p class="weui-tabbar__label">My Help</p>
</a>
<a href="./announce.html" class="weui-tabbar__item">
<span style="display: inline-block;position: relative;">
<img src="./static/img/apply_off.png" alt="" class="weui-tabbar__icon">
<!-- 有圆点提示-->
<!--<span class="weui-badge weui-badge_dot" style="position: absolute;top: 0;right: -6px;"></span>-->
</span>
<p class="weui-tabbar__label">Announce</p>
</a>
</div>
<script type="text/javascript" src="./js/main.js"></script>
<script type="text/javascript" src="./js/common.js" ></script>
</body>
<script>
var contractAddress = 'n1oLMWgkoznwPgS3wD9VGFoy4CQmtJwWTLs'
var NebPay = require("nebpay"); //https://github.com/nebulasio/nebPay
var nebPay = new NebPay();
/* $("#attend").click(function(){
var to = contractAddress;
var value = "0";
var callFunction = "addStarPlan"
var defaultV = 10;
var callArgs = "[\"" + defaultV + "\"]";
nebPay.call(to, value, callFunction, callArgs, { //使用nebpay的call接口去调用合约,
listener: cbPush
});
})
function cbPush(resp) {
console.log("response of push: " + resp)
}*/
</script>
</html>