detail.hbs 1.58 KB
<div class="qs-detail-page">
    {{# detail}}
        <div class="error-tip"></div>
        <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>

            <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>