Commit 29aaa217 by doszhang

dos

parent 0b4b81bd
...@@ -99,6 +99,7 @@ ...@@ -99,6 +99,7 @@
<script> <script>
window.base_resource_url = '__CDN__'; window.base_resource_url = '__CDN__';
window.num = '{:$num|default: 1000}';
var link = location.origin; var link = location.origin;
var friend_title = ''; var friend_title = '';
......
...@@ -69,4 +69,28 @@ body { ...@@ -69,4 +69,28 @@ body {
.music { .music {
position: fixed; position: fixed;
}
input::-webkit-input-placeholder {
/* placeholder颜色 */
color: #c7c7c7;
}
input[name=name],
input[name=business] {
font-size: 20px;
color: #333;
line-height: 32px;
text-align: center;
padding: 0 10px;
}
.page1 .num {
font-size: 28px;
color: #fff;
text-align: center;
}
.page1 .num .numbig {
font-size: 40px;
} }
\ No newline at end of file
...@@ -44,9 +44,13 @@ if ($('div').length > 0) { ...@@ -44,9 +44,13 @@ if ($('div').length > 0) {
$('.page1').show(); $('.page1').show();
$('input[name=name]').attr('placeholder', '姓名');
$('input[name=business]').attr('placeholder', '业务号');
$('.page1 .num').html('已有<span class="numbig">' + window.num + '</span>人发起承诺');
preloadimages(preloadImageList, function () {}, function (progress) {}); preloadimages(preloadImageList, function () {}, function (progress) {});
$(document).ready(function () { $(document).ready(function () {
$('.logo').css('top', getTranslateDistance(20));
$('.music').click(function () { $('.music').click(function () {
if ($('#music')[0].paused) { if ($('#music')[0].paused) {
$('#music')[0].play(); $('#music')[0].play();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment