Commit 1660098a by doszhang

dos

parent 027218c6
...@@ -18,5 +18,5 @@ ...@@ -18,5 +18,5 @@
{:/block} {:/block}
//js 文件导入 //js 文件导入
{:block name="js"} {:block name="js"}
<script src="__CDN__/js/common.js?v=1.9"></script> <script src="__CDN__/js/common.js?v=2.0"></script>
{:/block} {:/block}
\ No newline at end of file
...@@ -80,7 +80,7 @@ ...@@ -80,7 +80,7 @@
{:/if} {:/if}
{:block name='css'}{:/block} {:block name='css'}{:/block}
<link rel="stylesheet" type="text/css" href="__CDN__/css/notify.css?version=1.0.0" media="all" /> <link rel="stylesheet" type="text/css" href="__CDN__/css/notify.css?version=1.0.0" media="all" />
<link rel="stylesheet" type="text/css" href="__CDN__/css/index.css?v=1.2" media="all" /> <link rel="stylesheet" type="text/css" href="__CDN__/css/index.css?v=1.3" media="all" />
</head> </head>
...@@ -102,9 +102,9 @@ ...@@ -102,9 +102,9 @@
window.num = '{:$num}'; window.num = '{:$num}';
var link = location.origin; var link = location.origin;
var friend_title = '责任使命,我愿许下承诺'; var friend_title = '责任使命,为爱守护,我已与'+window.num+'人共同许下承诺!';
var friend_desc = '因为深知保单背后承载的重量,作为保障的“守护着”,我们全力以赴!'; var friend_desc = '因为深知保单背后承载的重量,作为保障的“守护着”,我们全力以赴!';
var timeline_desc = '责任使命,我愿许下承诺'; var timeline_desc = '责任使命,为爱守护,我已与'+window.num+'人共同许下承诺!';
window.wxFriendData = { window.wxFriendData = {
'link': link, 'link': link,
'imgUrl': link + '/Public/static/image2/share.png', 'imgUrl': link + '/Public/static/image2/share.png',
......
...@@ -90,6 +90,7 @@ body { ...@@ -90,6 +90,7 @@ body {
input::-webkit-input-placeholder { input::-webkit-input-placeholder {
/* placeholder颜色 */ /* placeholder颜色 */
color: #c7c7c7; color: #c7c7c7;
font-weight: bolder;
} }
.loading-page .loading-text { .loading-page .loading-text {
...@@ -115,9 +116,10 @@ input::-webkit-input-placeholder { ...@@ -115,9 +116,10 @@ input::-webkit-input-placeholder {
input[name=name], input[name=name],
input[name=business] { input[name=business] {
font-size: 20px; font-size: 30px;
color: #333; color: #333;
line-height: 32px; line-height: 38px;
font-weight: bolder;
text-align: center; text-align: center;
padding: 0 10px; padding: 0 10px;
box-sizing: border-box; box-sizing: border-box;
......
...@@ -263,7 +263,15 @@ function createPoster(name, business) { ...@@ -263,7 +263,15 @@ function createPoster(name, business) {
}); });
let oldPosterIndex = nowPosterIndex; let oldPosterIndex = nowPosterIndex;
nowPosterIndex = RandomNumBoth(1, 3, oldPosterIndex); if (oldPosterIndex == '') {
nowPosterIndex = RandomNumBoth(1, 3, oldPosterIndex);
} else {
nowPosterIndex = nowPosterIndex + 1;
if (nowPosterIndex > 3) {
nowPosterIndex = 1;
}
}
console.log('nowPosterIndex:', nowPosterIndex); console.log('nowPosterIndex:', nowPosterIndex);
$('.poster-canvas canvas').remove(); $('.poster-canvas canvas').remove();
......
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