[关闭]
@caijinlin 2015-11-13T08:54:26.000000Z 字数 3236 阅读 507

筹款与清华

lingxi


基础信息:

1.结束时间
2.收款账户
3.问题答疑
4.项目进度
5.其它设置=》支持者名单

筹款设置:

1.分档筹款 =》 限购
2.收集支持者信息
3.支持者导入 **
4.其它设置

反馈设置:

1.支持者付款成功后显示....
url or page
2.支付者成功收到....
邮件反馈
微信反馈
短信反馈
3.管理员通知
有新筹款通知

捐款页面:
一个按钮

字段名字,沟通,功能,前台显示

重写display:

crowdfunding: 众筹
tuef1994
them1
default
fundraising:普通筹款(表单)
tuef1994
them1
default
together:一起捐
tuef1994
them1
default

options字段:

option_keys:
type: crowdfunding, together

projects里面增加:
type: crowfunding,together

后台添加筹款:url(type)

微信反馈模板

导入联系人

问题答疑:project_qa
项目进度:project_process

D("FormFills")->syncToContact($fill_id);
CfFormfill _saveDonateToContact




{:form_blocks(columns,form, 'is_auto_contact', 'is_auto_contact')}

联系人关联活动





                                <if condition="$contact_roles">
                                        <tr id="trrelated_role">
                                            <td class="item-label">标记联系人分类为</td>
                                            <td>
                                                <foreach name="contact_roles" item="one">
                                                    <label class="checkbox-inline" for="role_{$one['id']}">
                                                        <?php
                                                        $checked = '';
                                                    if(in_array($one['id'], $form['contact_roles'])) {
                                                        $checked = 'checked';
                                                        }
                                                        ?>
                                                        <input type="checkbox" id="role_{$one['id']}" name="contact_roles[]" value="{$one['id']}" {$checked}> {$one['display_name']}
                                                    </label>&nbsp;&nbsp;
                                                </foreach>
                                            </td>
                                        </tr>
                                    </if>
                                </table>
                            </div>
                            <div role="tabpanel" class="tab-pane fade" id="setting-limit" aria-labelledby="setting-limit-tab">
                                <table class="table table-dashed ">
                                    {:form_blocks($columns, $form, 'start_time', 'end_submit_tip')}
                            </table>
                        </div>
                        <div role="tabpanel" class="tab-pane fade" id="setting-style" aria-labelledby="setting-style-tab">
                            <include file="form_style"/>
                        </div>

                        <div role="tabpanel" class="tab-pane fade" id="setting-email" aria-labelledby="setting-email-tab">
                            <table class="table table-dashed ">
                                {:form_blocks($columns, $form, 'notify_email', 'notify_email')}
                                <!-- 邮件回执部分 -->
                                <tr id="trauto_reply_subject">
                                    <tr>
                                        <td colspan="2" style="position: relative;">
                                            <i class="gi gi-circle_question_mark" style="position: absolute;top: 27px;left: 25px;"></i>
                                            <div style="padding: 10px 0px 4px 40px;line-height: 22px;">
                                                {$columns['auto_reply_body']['param']['append_tip']}
                                                    <?php $columns['auto_reply_body']['param']['append_tip']=''; ?>
                                            </div>
                                        </td>
                                    </tr>
                                    <td class="item-label" nowrap>{$columns['auto_reply_subject']['display_name']}</td>
                                        <td><input type="text" value="{$form['auto_reply_subject']}" id="auto_reply_subject" name="auto_reply_subject" style="width: 65%;">
                                            <select type="text" class="select2 mar-top-1px" id="template" name="auto_reply_template_id" onchange="javascript:choose_mail_template(this)" style="width: 34%;">
                                                <option value="0" id="sub-0">- {$Think.lang.select_email_template} -</option>
                                                <foreach name="mail_subjects" item="v">
                                                    <option value="{$key}" id="sub-{$key}" <if condition="$form['auto_reply_template_id'] eq $v['id']">selected</if>>{$v.subject}</option>
                                                </foreach>
                                            </select>
                                        </td>
                                    </tr>
                                    <tr id='editor-html' style="display: <if condition='$did || !$form.auto_reply_template_id'>
                                        none;
                                    </if> ">
                                    <td class="item-label">邮件回执内容</td>
                                    <td>
                                        <input type="hidden" value="" id="tid" name="tid"/>
                                        <p style='margin-top:0;'>该邮件为拖拽生成,<a href="/drag_templates/index?id={$tid}&did={$did}&form=send" id="edit_drag_template" target='_blank'>去编辑</a>,预览图如下:</p>
                                        <div class="wrap"></div>
                                    </td>
                                </tr>
                                {:form_blocks($columns, $form, 'auto_reply_body', 'auto_reply_body')}
                        </table>
                    </div>

页面优化

jquery.plugin.cf.css 180kb
swipper.jquery.js 138kb
swipper.jquery.css 14.7kb

http:内容压缩
Content-Encoding:gzip




{:select_option(columns[relatedeventid][options],form['related_event_id'])}

联系人关联标签
请在下方输入标签进行搜索,不存在的标签将自动创建


添加新批注
在作者公开此批注前,只有你和作者可见。
回复批注