detail.hbs 2.04 KB
<div class="qs-detail-page">
    {{# detail}}
        <div class="error-tip"></div>
        {{#if ../noLogin}}
            <p class="qs-prompt"><i class="iconfont">&#xe679;</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>请填写有货<br>注册手机号</label>
                    <input type="text" name="mobile" maxlength="15">
                </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>