detail.hbs
2.06 KB
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
<div class="qs-detail-page">
{{# detail}}
<div class="error-tip"></div>
{{#if ../noLogin}}
<p class="qs-prompt"><i class="iconfont"></i>为了您能正常获取参与问卷调研的返利,请正确填写您在有货注册的联系方式</p>
{{/if}}
<div class="detail-wrap">
<p class="sub-title">{{title}}</p>
<p class="guide-tip">{{description}}</p>
<div id="qs-wrap" class="qs-wrap" data-id="{{id}}" data-cid="{{uid}}" data-title="{{share.title}}" data-desc="{{share.subtitle}}" data-img="{{share.imgUrl}}">
{{# questions}}
{{> question/item}}
{{#if hasSub}}
<div class="sub-qs-wrap">
{{# questionContents}}
{{# jumpQuestion}}
{{> question/item}}
{{/ jumpQuestion}}
{{/ questionContents}}
</div>
{{/if}}
{{/ questions}}
</div>
{{#if ../noLogin}}
<div class="user-mobile">
<label>手机号</label>
<input type="text" name="mobile" maxlength="15" placeholder="请填写有货注册手机号">
</div>
{{/if}}
<div class="submit">
<button class="submit-btn">提交</button>
</div>
</div>
{{/ detail}}
<div class="qs-err">
<p class="err-text">{{{errText}}}</p>
<a href="/3party/questionnaire">去做问卷</a>
</div>
<div id="tip-dialog" class="tip-dialog hide">
<div class="dg-wrap">
<div class="dg-content"><p>您的问卷还没有成功提交哦!<br>是否立刻返回!</p></div>
<div class="dg-btns clearfix">
<span class="back-btn">返回</span>
<span class="close-btn continue-btn">继续填写</span>
</div>
</div>
</div>
</div>