Showing
2 changed files
with
37 additions
and
35 deletions
1 | - | ||
2 | - | ||
3 | <div class="product-status"> | 1 | <div class="product-status"> |
4 | -{{#isEqualOr status 0}} | ||
5 | - <div class="btn cancel" >活动结束</div> | ||
6 | -{{/isEqualOr}} | ||
7 | - | ||
8 | -{{#isEqualOr status 1}} | ||
9 | - <div class="btn cancel" >即将开始</div> | ||
10 | -{{/isEqualOr}} | 2 | + {{#isEqualOr status 0}} |
3 | + <div class="btn cancel">活动结束</div> | ||
4 | + {{/isEqualOr}} | ||
11 | 5 | ||
12 | -{{#isEqualOr status 2}} | ||
13 | - <a class="btn ok js-join" data-id="{{id}}">参加抽奖</a> | ||
14 | -{{/isEqualOr}} | 6 | + {{#isEqualOr status 1}} |
7 | + <div class="btn cancel">即将开始</div> | ||
8 | + {{/isEqualOr}} | ||
15 | 9 | ||
16 | -{{#isEqualOr status 3 4}} | ||
17 | - <div class="btn cancel">活动结束</div> | ||
18 | -{{/isEqualOr}} | 10 | + {{#isEqualOr status 2}} |
11 | + <a class="btn ok js-join" data-id="{{id}}">参加抽奖</a> | ||
12 | + {{/isEqualOr}} | ||
13 | + {{#isEqualOr status 3}} | ||
14 | + <div class="btn cancel">等待开奖中</div> | ||
15 | + {{/isEqualOr}} | ||
16 | + {{#isEqualOr status 4}} | ||
17 | + <div class="btn cancel">活动结束</div> | ||
18 | + {{/isEqualOr}} | ||
19 | 19 | ||
20 | -{{#isEqualOr status 5}} | ||
21 | - <div class="btn cancel">等待开奖中</div> | ||
22 | -{{/isEqualOr}} | 20 | + {{#isEqualOr status 5}} |
21 | + <div class="btn cancel">等待开奖中</div> | ||
22 | + {{/isEqualOr}} | ||
23 | </div> | 23 | </div> |
1 | - | ||
2 | - | ||
3 | <div class="product-status"> | 1 | <div class="product-status"> |
4 | -{{#is-equal-or status 0}} | ||
5 | - <div class="btn cancel" >活动结束</div> | ||
6 | -{{/is-equal-or}} | 2 | + {{#is-equal-or status 0}} |
3 | + <div class="btn cancel">活动结束</div> | ||
4 | + {{/is-equal-or}} | ||
5 | + | ||
6 | + {{#is-equal-or status 1}} | ||
7 | + <div class="btn cancel">即将开始</div> | ||
8 | + {{/is-equal-or}} | ||
7 | 9 | ||
8 | -{{#is-equal-or status 1}} | ||
9 | - <div class="btn cancel" >即将开始</div> | ||
10 | -{{/is-equal-or}} | 10 | + {{#is-equal-or status 2}} |
11 | + <a class="btn ok js-join" data-id="{{id}}">参加抽奖</a> | ||
12 | + {{/is-equal-or}} | ||
11 | 13 | ||
12 | -{{#is-equal-or status 2}} | ||
13 | - <a class="btn ok js-join" data-id="{{id}}">参加抽奖</a> | ||
14 | -{{/is-equal-or}} | 14 | + {{#is-equal-or status 3}} |
15 | + <div class="btn cancel">等待开奖中</div> | ||
16 | + {{/is-equal-or}} | ||
15 | 17 | ||
16 | -{{#is-equal-or status 3 4}} | ||
17 | - <div class="btn cancel">活动结束</div> | ||
18 | -{{/is-equal-or}} | 18 | + {{#is-equal-or status 4}} |
19 | + <div class="btn cancel">活动结束</div> | ||
20 | + {{/is-equal-or}} | ||
19 | 21 | ||
20 | -{{#is-equal-or status 5}} | ||
21 | - <div class="btn cancel">等待开奖中</div> | ||
22 | -{{/is-equal-or}} | 22 | + {{#is-equal-or status 5}} |
23 | + <div class="btn cancel">等待开奖中</div> | ||
24 | + {{/is-equal-or}} | ||
23 | </div> | 25 | </div> |
-
Please register or login to post a comment