HDphp框架评论、关注、私信的制作教程

WBOY
Freigeben: 2016-07-29 09:03:29
Original
993 Leute haben es durchsucht

php控制器方法部分

ajax前台页面使用的方法

<code><span>public</span><span><span>function</span><span>attention</span><span>()</span>{</span><span>//验证是否登录不登录返回0不关注</span><span>if</span>(!<span>isset</span>(<span>$_SESSION</span>[<span>'uid'</span>]) || !<span>isset</span>(<span>$_SESSION</span>[<span>'username'</span>]))View::ajax(<span>0</span>);
    <span>//获取uid</span><span>$uid</span>=(int)<span>$_SESSION</span>[<span>'uid'</span>];
    <span>//获取项目id</span><span>$roid</span>=Q(<span>'post.roid'</span>,<span>0</span>,<span>'intval'</span>);
    <span>//添加关注</span><span>$user_attion</span> = <span>new</span> \Common\Model\userAttion;
    <span>//判断是否有</span><span>$pd</span>=Db::table(<span>'user_attion'</span>)->where(<span>"user_uid={$uid} and project_roid={$roid}"</span>)->count();
    <span>if</span>(!<span>empty</span>(<span>$pd</span>)){
        <span>//有就修改</span><span>$user_attion</span>->where(<span>"user_uid={$uid} and project_roid={$roid}"</span>)->save(<span>array</span>(<span>'user_uid'</span>=><span>$uid</span>,<span>'project_roid'</span>=><span>$roid</span>));
    }<span>else</span>{
        <span>//没有就添加</span><span>$user_attion</span>->add(<span>array</span>(<span>'user_uid'</span>=><span>$uid</span>,<span>'project_roid'</span>=><span>$roid</span>));
    }
    <span>//查询现有条数</span><span>$data</span>=Db::table(<span>'user_attion'</span>)->where(<span>"project_roid={$roid}"</span>)->count();
    <span>//返回ajax</span><span>echo</span> json_encode(<span>array</span>(<span>'count'</span>=><span>$data</span>));<span>exit</span>;
}

<span>//评论数据</span><span>public</span><span><span>function</span><span>comment</span><span>()</span>{</span><span>//验证是否登录不登录返回0</span><span>if</span>(!<span>isset</span>(<span>$_SESSION</span>[<span>'uid'</span>]) || !<span>isset</span>(<span>$_SESSION</span>[<span>'username'</span>]))View::ajax(<span>0</span>);

    <span>//获取uid</span><span>$uid</span>=(int)<span>$_SESSION</span>[<span>'uid'</span>];

    <span>//获取roid</span><span>$roid</span>=Q(<span>'post.project_roid'</span>,<span>'0'</span>,<span>'intval'</span>);

    <span>//添加评论</span><span>$comModel</span> = <span>new</span> \Common\Model\Comment;

    <span>if</span>(IS_POST){
        <span>//提交数据</span><span>if</span>(!<span>$comModel</span>->store()) View::error(<span>$comModel</span>->getError());

        <span>//查询最新的那条</span><span>$data</span>=<span>$comModel</span>->join(<span>'user'</span>,<span>'uid'</span>,<span>'='</span>,<span>'user_uid'</span>)->where(<span>"user_uid={$uid} and project_roid={$roid}"</span>)->limit(<span>1</span>)->orderBy(<span>'addtime'</span>,<span>'DESC'</span>)->find();

        <span>//返回ajax</span><span>echo</span> json_encode(<span>$data</span>);<span>exit</span>;
    }
}

<span>//判断是否登录</span><span>public</span><span><span>function</span><span>login</span><span>()</span>{</span><span>//验证是否登录不登录返回0</span><span>if</span>(!<span>isset</span>(<span>$_SESSION</span>[<span>'uid'</span>]) || !<span>isset</span>(<span>$_SESSION</span>[<span>'username'</span>]))View::ajax(<span>0</span>);
}

<span>public</span><span><span>function</span><span>reply</span><span>()</span>{</span><span>//验证是否登录不登录返回0</span><span>if</span>(!<span>isset</span>(<span>$_SESSION</span>[<span>'uid'</span>]) || !<span>isset</span>(<span>$_SESSION</span>[<span>'username'</span>])) View::ajax(<span>array</span>(<span>'code'</span>=><span>0</span>,<span>'data'</span>=><span>''</span>));

    <span>//获得数据cmid</span><span>$cmid</span>=Q(<span>'post.cmid'</span>,<span>0</span>,<span>'intval'</span>);

    <span>//实例化评论模型</span><span>$comModel</span> = <span>new</span> \Common\Model\Comment;

    <span>//查询cmid的对应数据</span><span>$data</span>=<span>$comModel</span>->where(<span>"cmid={$cmid}"</span>)->find();

    <span>//返回ajax</span>
    View::ajax(<span>array</span>(<span>'code'</span>=><span>1</span>,<span>'data'</span>=><span>$data</span>));

}

<span>//私信数据</span><span>public</span><span><span>function</span><span>letter</span><span>()</span>{</span><span>//添加评论</span><span>$letModel</span> = <span>new</span> \Common\Model\Letter;

    <span>if</span>(IS_POST){
        <span>//提交数据</span><span>if</span>(!<span>$letModel</span>->store()) View::error(<span>$letModel</span>->getError());
        <span>//返回</span>
        View::ajax(<span>1</span>);
    }

}</code>
Nach dem Login kopieren

ajax异步请求部分

代码片段

<code><span><span><span>html</span>></span><span>head</span>></span><span>meta</span><span>charset</span>=<span>"utf-8"</span>><span>title</span>><span>{{$<span>data</span>['<span>title</span>']}}</span><span><span><span>title</span>></span><span>meta</span><span>name</span>=<span>"keywords"</span><span>content</span>=<span>"高新科技项目众筹,智能产品创业融资"</span>/></span><span>meta</span><span>name</span>=<span>"description"</span><span>content</span>=<span>"众筹科技频道是专业介绍智能家居、智能穿戴设备、极客产品、儿童高科技教育产品、车联网、移动应用等产品的项目众筹平台,为投资人提供优质融资项目,选择您支持喜欢的科技众筹项目,让投资的您和创业者实现共赢!"</span>/><span>link</span><span>rel</span>=<span>"shortcut icon"</span><span>type</span>=<span>"image/png"</span><span>href</span>=<span>"Public/Home/img/icon.png"</span>/><span>link</span><span>rel</span>=<span>"stylesheet"</span><span>type</span>=<span>"text/css"</span><span>href</span>=<span>"Public/Home/css/header.css"</span>/><span>link</span><span>rel</span>=<span>"stylesheet"</span><span>type</span>=<span>"text/css"</span><span>href</span>=<span>"Public/Home/css/content.css"</span>/><span>link</span><span>rel</span>=<span>"stylesheet"</span><span>type</span>=<span>"text/css"</span><span>href</span>=<span>"Public/Home/css/footer.css"</span>/><span>script</span><span>src</span>=<span>"Public/Home/js/jquery-1.8.2.min.js"</span><span>type</span>=<span>"text/javascript"</span><span>charset</span>=<span>"utf-8"</span>><span><span>script</span>></span><span>script</span><span>src</span>=<span>"Public/Home/js/header.js"</span><span>type</span>=<span>"text/javascript"</span>><span><span>script</span>></span><span>script</span><span>src</span>=<span>"Public/Home/js/content.js"</span><span>type</span>=<span>"text/javascript"</span><span>charset</span>=<span>"utf-8"</span>><span><span>script</span>></span><span>script</span><span>type</span>=<span>"text/javascript"</span>><span>
            $(<span><span>function</span><span>()</span>{</span><span>//关注数据</span>
                $(<span>".attention"</span>).click(<span><span>function</span><span>()</span>{</span><span>var</span> roid= $(<span>this</span>).attr(<span>'roid'</span>);
                    $.ajax({
                            type:<span>'post'</span>,
                            url:<span>"</span></span><span>{{<span>U</span>('<span>attention</span>')}}</span><span><span><span>",
                            data:{roid:roid},
                            dataType:'json',
                            success:function(phpData){
                                if(phpData!=0){
                                    spec = "</span><span>";
                                    //循环数组
                                    $.each(phpData, function(k,v){
                                        spec +='<ihljs-string>"><span>关注('+v+')</span>';
                                    })
                                    //替换数字
                                    $('.attention').html(spec);
                                }else{
                                    //背景效果
                                    $("</ihljs-string></span>.jsbg<span>").fadeIn(100);
                                    //登录框
                                    $("</span>.loginy<span>").fadeIn(500);
                                }
                            }
                        });
                });

                //加入评论回复输入框
                $('.pinlun').click(function(){
                    var cmid=$(this).attr('cmid');
                    var _this = $(this);

                    $.ajax({
                        type:"</span>post<span>",
                        url:"</span></span></span><span>{{<span>U</span>('<span>reply</span>')}}</span><span><span><span>",
                        data:{cmid:cmid},
                        dataType:'json',
                        success:function(phpData){
                                if(phpData.code==0){
                                    //背景效果
                                    $("</span>.jsbg<span>").fadeIn(100);
                                    //登录框
                                    $("</span>.loginy<span>").fadeIn(500);
                               }else{
                                    reply='<divhljs-string>" >'
                                            +'<input type="</span>hidden<span>" value="</span><span>'+phpData.data.user_uid+'</span><span>" name="</span>hf_uid<span>">'
                                            +'<input type="</span>hidden<span>" value="</span><span>'+phpData.data.cmid+'</span><span>" name="</span>cpid<span>">'
                                            +'<input type="</span>hidden<span>" value="</span><span>'+phpData.data.project_roid+'</span><span>" name="</span>project_roid<span>">'
                                            +'<input type="</span>submit<span>" value="</span>发布<span>" hljs-string>"/>'
                                        +''

                                    $(_this).parents('.pls-li').find('.plforms').show();   
                                    //添加
                                    $(_this).parents('.pls-li').find('.plforms .btnbox').html(reply);
                                }
                        }
                    });            
                })

                //评论数据
                $('.pl-box form').submit(function(){
                    //获取表单数据
                    var comData= $(this).serialize();
                    //发送异步
                    $.ajax({
                        type:"</divhljs-string></span>post<span>",
                        url:"</span></span></span><span>{{<span>U</span>('<span>comment</span>')}}</span><span><span><span>",
                        data:comData,
                        dataType:'json',
                        success:function(phpData){
                            if(phpData==0){
                                //背景效果
                                $("</span>.jsbg<span>").fadeIn(100);
                                //登录框
                                $("</span>.loginy<span>").fadeIn(500);
                            }else{
                                spec ='<!--评论开始-->'
                                        +'<divhljs-string>">'
                                            +'<divhljs-string>">'
                                                +'<a href="</span><span>"><img  src="</span><span>'+phpData.portrait+'</span><span>" alt="HDphp框架评论、关注、私信的制作教程" > </a>'
                                            +''
                                            +'<a href="</span><span>" hljs-string>">'+phpData.name+'</a>'
                                            +'<phljs-string>">'+phpData.content+''
                                            +'<divhljs-string>">'
                                                +'<span>8秒前</span>'
                                                +'<a href="</span>javascript:;<span>" hljs-string>" cmid="</a></divhljs-string></phljs-string></divhljs-string></divhljs-string></span><span>'+phpData.cmid+'</span><span>">评论(0)'
                                            +''
                                        +''
                                        +'<!--评论结束-->'

                                    //添加
                                    $('.pls-box').prepend(spec);
                            }
                       }
                    });
                    //阻止表单提交
                    return false;
                });

                //验证联系人登录数据
                $("</span>.people .islogin<span>").click(function(){
                    var isLogin= $(this).attr('isLogin');
                    $.ajax({
                            type:'post',
                            url:"</span></span></span><span>{{<span>U</span>('<span>login</span>')}}</span><span><span><span>",
                            data:{isLogin:isLogin},
                            dataType:'json',
                            success:function(phpData){
                                if(phpData!=0){
                                    //背景效果
                                    $("</span>.jsbg<span>").fadeIn(100);
                                    //显示输入框
                                    $('.siteSiXinBox').fadeIn(500);
                                }else{
                                    //背景效果
                                    $("</span>.jsbg<span>").fadeIn(100);
                                    //登录框
                                    $("</span>.loginy<span>").fadeIn(500);
                                }
                            }
                        });
                });

                //私信数据发送
                $('.siteSiXinBox form').submit(function(){
                    //获取表单数据
                    var leterData= $(this).serialize();
                    //发送异步
                    $.ajax({
                        type:"</span>post<span>",
                        url:"</span></span></span><span>{{<span>U</span>('<span>letter</span>')}}</span><span><span><span>",
                        data:leterData,
                        dataType:'json',
                        success:function(phpData){

                            //判断是否发送成功
                            if(phpData=1){
                                //背景效果
                                $("</span>.jsbg<span>").fadeOut(500);
                                //输入框
                                $("</span>.siteSiXinBox<span>").fadeOut(100);
                                //清空输入框
                                $("</span>.sxTextArea<span>").val("</span><span>");
                            }

                        }
                    });
                    //阻止表单提交
                    return false;
                });
            });
        </span></span><span><span>script</span>></span><span><span>head</span>></span><span>body</span>></span><span>{{<span>include</span><span>file</span>=<span>"VIEW_PATH/Common/header.php"</span>}}</span><span><span><!--私信开始--></span><span>div</span><span>class</span>=<span>"siteSiXinBox"</span>></span><span>div</span><span>class</span>=<span>"sxHeader"</span>>发送私信<span>a</span><span>href</span>=<span>"javascript:;"</span><span>class</span>=<span>"closeA btn_ALink"</span>><span><span>a</span>></span><span><span>div</span>></span><span>div</span><span>class</span>=<span>"sxCont"</span>><span>form</span><span>action</span>=<span>""</span><span>method</span>=<span>"post"</span><span>autocomplete</span>=<span>"off"</span>><span>input</span><span>type</span>=<span>"hidden"</span><span>name</span>=<span>"guid"</span><span>value</span>=<span>"</span><span>{{$<span>data</span>['<span>user</span>_<span>uid</span>']}}</span><span><span><span>"</span>></span><span>p</span><span>class</span>=<span>"sxTo_p"</span>></span>收件人:<span>{{$<span>data</span>['<span>author</span>']}}</span><span><span><span>p</span>></span><span>div</span><span>class</span>=<span>"sxTextBox sitePHBox"</span>></span><span>span</span>><span>textarea</span><span>name</span>=<span>"lecontent"</span><span>class</span>=<span>"sxTextArea sitePHInput"</span><span>placeholder</span>=<span>"你想向TA说些什么呢~(最多300字)"</span><span>maxlength</span>=<span>"300"</span>><span><span>textarea</span>></span><span><!--<span>你想向TA说些什么呢~(最多300字)</span>--></span><span><span>span</span>></span><span><span>div</span>></span><span>p</span><span>class</span>=<span>"errorP"</span>><span><span>p</span>></span><span>div</span><span>class</span>=<span>"sxBtnBox siteIlB_box"</span>><span>input</span><span>type</span>=<span>"submit"</span><span>class</span>=<span>"submitBtn"</span><span>value</span>=<span>"发送"</span>><span>input</span><span>type</span>=<span>"button"</span><span>class</span>=<span>"cancelBtn"</span><span>value</span>=<span>"取消"</span>><span><span>div</span>></span><span><span>form</span>></span><span><span>div</span>></span><span><span>div</span>></span><span><!--私信结束--></span><span><!--内容部分开始--></span><span>div</span><span>class</span>=<span>"content-box"</span>><span>div</span><span>class</span>=<span>"content-minbox"</span>><span><!--展示部分开始--></span><span>div</span><span>class</span>=<span>"cotzs"</span>><span><!--标题开始--></span><span>div</span><span>class</span>=<span>"cotle"</span>><span>a</span><span>href</span>=<span>""</span><span>target</span>=<span>"_blank"</span>><span>img</span><span>src</span>=<span>"</span><span>{{$<span>authData</span>['<span>portrait</span>']}}</span><span><span><span>"</span><span>alt</span>=<span>"</span></span></span><span>{{$<span>authData</span>['<span>name</span>']}}</span><span><span><span>的个性头像"</span><span>class</span>=<span>"conuser"</span>/></span><span><span>a</span>></span><span>div</span><span>class</span>=<span>"context"</span>></span><span>div</span><span>class</span>=<span>"contitle"</span>><span>div</span><span>class</span>=<span>"th3"</span>><span>h3</span>><span>{{$<span>data</span>['<span>title</span>']}}</span><span><span><span>h3</span>></span><span><span>div</span>></span><span><span>div</span>></span><span>div</span><span>class</span>=<span>"people"</span>></span><span>span</span><span>class</span>=<span>"text1"</span>>发起人<span><span>span</span>></span><span>span</span><span>class</span>=<span>"text2"</span>><span>a</span><span>href</span>=<span>""</span>><span>{{$<span>data</span>['<span>author</span>']}}</span><span><span><span>a</span>></span><span><span>span</span>></span><span>span</span><span>class</span>=<span>"icon"</span>></span><span><span>span</span>></span><span>span</span><span>class</span>=<span>"lianxi islogin"</span><span>isLogin</span>=<span>"1"</span>>联系我<span><span>span</span>></span><span><span>div</span>></span><span><span>div</span>></span><span>div</span><span>class</span>=<span>"share"</span>><span>div</span><span>class</span>=<span>"show"</span>><span>i</span>><span><span>i</span>></span><span>span</span>>分享(n+)<span><span>span</span>></span><span><span>div</span>></span><span>div</span><span>class</span>=<span>"showlist bdsharebuttonbox"</span>><span>a</span><span>href</span>=<span>"#"</span><span>class</span>=<span>"weixin"</span><span>data-cmd</span>=<span>"weixin"</span><span>title</span>=<span>"分享到微信"</span>><span><span>a</span>></span><span>a</span><span>href</span>=<span>"#"</span><span>class</span>=<span>"qzone"</span><span>data-cmd</span>=<span>"qzone"</span><span>title</span>=<span>"分享到QQ空间"</span>><span><span>a</span>></span><span>a</span><span>href</span>=<span>"#"</span><span>class</span>=<span>"sina"</span><span>data-cmd</span>=<span>"tsina"</span><span>title</span>=<span>"分享到微博"</span>><span><span>a</span>></span><span><span>div</span>></span><span><span>div</span>></span><span>div</span><span>class</span>=<span>"attention"</span><span>roid</span>=<span>"</span><span>{{$<span>data</span>['<span>roid</span>']}}</span><span><span><span>"</span>></span><span>i</span><span>class</span>=<span>"guanzhu </span></span><span>{{<span><span>if</span></span><span>value</span>=<span>"!empty($data['usat'])"</span>}}</span><span><span><span> now</span></span></span><span>{{<span>endif</span>}}</span><span><span><span>"</span>></span><span><span>i</span>></span><span>span</span>></span>关注(<span>{{$<span>data</span>['<span>atnum</span>']}}</span><span>)<span><span>span</span>></span><span><span>div</span>></span><span><span>div</span>></span><span><!--标题结束--></span><span><!--项目图片展示部分开始--></span><span>div</span><span>class</span>=<span>"coinfo"</span>></span><span>div</span><span>class</span>=<span>"henfu ordering"</span>><span><span>div</span>></span><span>div</span><span>class</span>=<span>"siteimg"</span>><span>{{<span><span>if</span></span><span>value</span>=<span>"!empty($data['thumb'])"</span>}}</span><span><span>img</span><span>src</span>=<span>"</span></span><span>{{$<span>data</span>['<span>thumb</span>']}}</span><span><span><span>"</span><span>alt</span>=<span>"项目封面"</span><span>width</span>=<span>"534"</span><span>height</span>=<span>"400"</span>/></span></span><span>{{<span><span>else</span></span>}}</span><span><span>img</span><span>src</span>=<span>"Public/Home/img/lazy1.png"</span><span>alt</span>=<span>""</span><span>width</span>=<span>"534"</span><span>height</span>=<span>"400"</span>/></span><span>{{<span>endif</span>}}</span><span><span><span>div</span>></span><span>div</span><span>class</span>=<span>"desc"</span>></span><span>div</span><span>class</span>=<span>"zcData"</span>><span>div</span><span>class</span>=<span>"Data"</span>><span>p</span><span>class</span>=<span>"st"</span>><span>{{$<span>data</span>['<span>support</span>']}}</span><span><span><span>p</span>></span><span>p</span><span>class</span>=<span>"sp"</span>></span>支持数<span><span>p</span>></span><span><span>div</span>></span><span>div</span><span>class</span>=<span>"Data"</span>><span>p</span><span>class</span>=<span>"st"</span>>¥<span>{{$<span>data</span>['<span>money</span>']}}</span><span><span><span>p</span>></span><span>p</span><span>class</span>=<span>"sp"</span>></span>已筹款<span><span>p</span>></span><span><span>div</span>></span><span><span>div</span>></span><span>div</span><span>class</span>=<span>"rainfo"</span>><span>p</span><span>class</span>=<span>"st"</span>><span>{{<span>round</span>($<span>data</span>['<span>money</span>']/$<span>data</span>['<span>target</span>_<span>fund</span>']*100,0)}}</span><span>%<span><span>p</span>></span><span>div</span><span>class</span>=<span>"radio"</span>></span><span>div</span><span>class</span>=<span>"leng"</span><span>style</span>=<span>"width:</span><span>{{$<span>data</span>['<span>money</span>']/$<span>data</span>['<span>target</span>_<span>fund</span>']*100}}</span><span><span><span>%;</span></span></span><span>{{<span><span>if</span></span><span>value</span>=<span>"$data['money']/$data['target_fund']>=1"</span>}}</span><span><span><span>background:red;</span></span></span><span>{{<span>endif</span>}}</span><span><span><span>"</span>></span><span><span>div</span>></span><span><span>div</span>></span><span>div</span><span>class</span>=<span>"text"</span>></span><span>div</span><span>class</span>=<span>"leftext"</span>><span>p</span>>剩余<span><span>p</span>></span><span>span</span>><span>{{$<span>data</span>['<span>target</span>_<span>period</span>']}}</span><span>天<span><span>span</span>></span><span><span>div</span>></span><span>div</span><span>class</span>=<span>"rightext"</span>></span><span>p</span>>目标筹资<span><span>p</span>></span><span>span</span>>¥<span>{{$<span>data</span>['<span>target</span>_<span>fund</span>']}}</span><span><span><span>span</span>></span><span><span>div</span>></span><span><span>div</span>></span><span><span>div</span>></span><span>div</span><span>class</span>=<span>"btbox"</span>></span><span>a</span><span>href</span>=<span>"javascript:;"</span><span>class</span>=<span>"sta"</span>>立即支持<span><span>a</span>></span><span>div</span><span>class</span>=<span>"info"</span>><span>div</span><span>class</span>=<span>"infobox"</span>><span>span</span><span>class</span>=<span>"cat"</span>><span>a</span><span>href</span>=<span>""</span>><span>{{$<span>data</span>['<span>cname</span>']}}</span><span><span><span>a</span>></span><span><span>span</span>></span><span>span</span><span>class</span>=<span>"pos"</span>></span><span>{{$<span>data</span>['<span>detail</span>_<span>address</span>']}}</span><span><span><span>span</span>></span><span>span</span><span>class</span>=<span>"tag"</span>></span><span>{{<span>foreach</span><span>from</span>=<span>"$data['tag']"</span><span>value</span>=<span>"$v"</span>}}</span><span><span>a</span><span>href</span>=<span>""</span>></span><span>{{$<span>v</span>['<span>tname</span>']}}</span><span><span><span>a</span>></span></span><span>{{<span>endforeach</span>}}</span><span><span><span>span</span>></span><span><span>div</span>></span><span><span>div</span>></span><span><span>div</span>></span><span><span>div</span>></span><span><span>div</span>></span><span><!--项目图片展示部分结束--></span><span><!--选项卡开始--></span><span>div</span><span>class</span>=<span>"tab-box"</span>></span><span>div</span><span>class</span>=<span>"tab-header"</span>><span>div</span><span>class</span>=<span>"tab-xq"</span>><span>ul</span><span>class</span>=<span>"left"</span>><span>li</span><span>class</span>=<span>"xz"</span>>项目详情<span><span>li</span>></span><span>li</span>>项目进展<span><span>li</span>></span><span>li</span>>评论<span>span</span>>(36)<span><span>span</span>></span><span><span>li</span>></span><span>li</span>>支持记录<span>span</span>>(90)<span><span>span</span>></span><span><span>li</span>></span><span><span>ul</span>></span><span>div</span><span>class</span>=<span>"right"</span>><span>a</span><span>href</span>=<span>"javascript:;"</span>><span>i</span>><span><span>i</span>></span>
                                        邀请朋友支持
                                    <span><span>a</span>></span><span><span>div</span>></span><span><span>div</span>></span><span><span>div</span>></span><span><span>div</span>></span><span><!--选项卡结束--></span><span><!--详细主题内容开始--></span><span>div</span><span>class</span>=<span>"xq-box"</span>><span>div</span><span>class</span>=<span>"xq-mainbox"</span>><span><!--左边--></span><span>div</span><span>class</span>=<span>"xq-left"</span>><span>div</span><span>class</span>=<span>"xq-info"</span>><span>div</span><span>class</span>=<span>"desc"</span>><span>span</span><span>class</span>=<span>"prev"</span>><span><span>span</span>></span><span>p</span>><span>{{$<span>data</span>['<span>objective</span>']}}</span><span><span><span>p</span>></span><span>span</span><span>class</span>=<span>"next"</span>></span><span><span>span</span>></span><span><span>div</span>></span><span><span>div</span>></span><span><!--用户信息--></span><span>div</span><span>class</span>=<span>"userinfo"</span>><span>div</span><span>class</span>=<span>"userimg"</span>><span>a</span><span>href</span>=<span>""</span>><span>img</span><span>src</span>=<span>"</span><span>{{$<span>authData</span>['<span>portrait</span>']}}</span><span><span><span>"</span><span>alt</span>=<span>"</span></span></span><span>{{$<span>authData</span>['<span>name</span>']}}</span><span><span><span>的个性头像"</span> /></span><span><span>a</span>></span><span><span>div</span>></span><span>div</span><span>class</span>=<span>"username"</span>></span><span>p</span><span>class</span>=<span>"tp"</span>><span>a</span><span>href</span>=<span>""</span>><span>{{$<span>data</span>['<span>author</span>']}}</span><span><span><span>a</span>></span><span><span>p</span>></span><span>p</span><span>class</span>=<span>"sp"</span>></span>身份证/产品实物图片<span><span>p</span>></span><span><span>div</span>></span><span><span>div</span>></span><span><!--详情页--></span><span>div</span><span>class</span>=<span>"xq-pag"</span>><span>div</span><span>class</span>=<span>"xq-tbox"</span>><span>{{<span><span>if</span></span><span>value</span>=<span>"!empty($data['ftitle'])"</span>}}</span><span><span>p</span><span>class</span>=<span>"xian"</span>></span><span><span>p</span>></span><span>div</span><span>class</span>=<span>"title"</span>><span>h2</span>><span>{{$<span>data</span>['<span>ftitle</span>']}}</span><span><span><span>h2</span>></span><span><span>div</span>></span></span><span>{{<span>endif</span>}}</span><span><span><span>div</span>></span><span>p</span>></span><span>{{$<span>data</span>['<span>digest</span>']}}</span><span><span><span>p</span>></span></span><span>{{$<span>data</span>['<span>content</span>']}}</span><span><span>div</span><span>class</span>=<span>"xq-tbox"</span>></span><span>p</span><span>class</span>=<span>"xian"</span>><span><span>p</span>></span><span>div</span><span>class</span>=<span>"title"</span>><span>h2</span>>最新进展<span><span>h2</span>></span><span><span>div</span>></span><span><span>div</span>></span><span>div</span><span>class</span>=<span>"zxjz-box"</span>><span>div</span><span>class</span>=<span>"zxjz-ul"</span>><span>div</span><span>class</span>=<span>"jz-li"</span>><span>p</span><span>class</span>=<span>"text"</span>>新项目“Fiitvr虚拟现实VR眼镜 手机一秒变3D私人影院 沉浸式游戏体验 IMAX”上线了。我们的项目必须在 2016年01月13日之前,筹集到10000才可成功,希望您能给予支持,持续关注我们的项目<span><span>p</span>></span><span>div</span><span>class</span>=<span>"xiant"</span>><span><span>div</span>></span><span>div</span><span>class</span>=<span>"left"</span>><span>p</span><span>class</span>=<span>"time"</span>>2016-1-6<span><span>p</span>></span><span>i</span><span>class</span>=<span>"tz"</span>><span><span>i</span>></span><span><span>div</span>></span><span><span>div</span>></span><span><span>div</span>></span><span><span>div</span>></span><span>div</span><span>class</span>=<span>"xq-tbox"</span>><span>p</span><span>class</span>=<span>"xian"</span>><span><span>p</span>></span><span>div</span><span>class</span>=<span>"title"</span>><span>h2</span>>评论<span><span>h2</span>></span><span><span>div</span>></span><span><span>div</span>></span><span><!--评论开始--></span><span><!--发布评论开始--></span><span>div</span><span>class</span>=<span>"pl-box"</span><span>isLogin</span>=<span>"1"</span>><span>form</span><span>action</span>=<span>""</span><span>method</span>=<span>"post"</span> ><span>div</span><span>class</span>=<span>"userimg"</span>><span>a</span><span>href</span>=<span>""</span>><span>{{<span><span>if</span></span><span>value</span>=<span>"!empty($userData)"</span>}}</span><span><span>img</span><span>src</span>=<span>"</span></span><span>{{$<span>userData</span>['<span>portrait</span>']}}</span><span><span><span>"</span><span>width</span>=<span>"54"</span><span>height</span>=<span>"54"</span><span>alt</span>=<span>"</span></span></span><span>{{$<span>userData</span>['<span>name</span>']}}</span><span><span><span>的个性头像"</span>/></span></span><span>{{<span><span>else</span></span>}}</span><span><span>img</span><span>src</span>=<span>"Public/Home/img/defult_user.png"</span><span>width</span>=<span>"54"</span><span>height</span>=<span>"54"</span><span>alt</span>=<span>"默认用户头像"</span> /></span><span>{{<span>endif</span>}}</span><span><span><span>a</span>></span><span><span>div</span>></span><span>div</span><span>class</span>=<span>"text"</span>></span><span>input</span><span>type</span>=<span>"hidden"</span><span>name</span>=<span>"project_roid"</span><span>value</span>=<span>"</span><span>{{$<span>data</span>['<span>roid</span>']}}</span><span><span><span>"</span> /></span><span>textarea</span><span>name</span>=<span>"content"</span><span>rows</span>=<span>""</span><span>cols</span>=<span>""</span><span>placeholder</span>=<span>"可以说点什么,也没关系!"</span>></span><span><span>textarea</span>></span><span><span>div</span>></span><span>div</span><span>class</span>=<span>"btnbox"</span>><span>a</span><span>href</span>=<span>"javascript:;"</span><span>class</span>=<span>"upimg"</span>>选择图片<span><span>a</span>></span><span>span</span>>最多5张<span><span>span</span>></span><span>input</span><span>type</span>=<span>"submit"</span><span>value</span>=<span>"发布"</span><span>class</span>=<span>"fabu"</span>/><span><span>div</span>></span><span><span>form</span>></span><span><span>div</span>></span><span><!--发布评论结束--></span><span><!--评论列表--></span><span>div</span><span>class</span>=<span>"pls-box"</span>><span><!--评论开始--></span><span>div</span><span>class</span>=<span>"pls-li"</span>><span>div</span><span>class</span>=<span>"userimg"</span>><span>a</span><span>href</span>=<span>""</span>><span>img</span><span>src</span>=<span>"Public/Home/img/user3.jpg"</span>/><span><span>a</span>></span><span><span>div</span>></span><span>a</span><span>href</span>=<span>""</span><span>class</span>=<span>"name"</span>>用户名123<span><span>a</span>></span><span>p</span><span>class</span>=<span>"plcon"</span>>时间这么快!一开机一天就用完了!程序员的日子!<span><span>p</span>></span><span>div</span><span>class</span>=<span>"plft"</span>><span>span</span>>8秒前<span><span>span</span>></span><span>a</span><span>href</span>=<span>"javascript:;"</span><span>class</span>=<span>"pinlun"</span><span>cmid</span>=<span>"25"</span> >评论(0)<span><span>a</span>></span><span><span>div</span>></span><span><!--发布评论框开始--></span><span>form</span><span>action</span>=<span>""</span><span>method</span>=<span>"post"</span><span>class</span>=<span>"plforms"</span><span>style</span>=<span>"display:none;"</span>><span>div</span><span>class</span>=<span>"text"</span> ><span>textarea</span><span>name</span>=<span>"comment"</span><span>rows</span>=<span>""</span><span>cols</span>=<span>""</span><span>placeholder</span>=<span>"可以说点什么,也没关系!"</span>><span><span>textarea</span>></span><span><span>div</span>></span><span>div</span><span>class</span>=<span>"btnbox"</span> ><span>input</span><span>type</span>=<span>"hidden"</span><span>value</span>=<span>""</span><span>name</span>=<span>"hf_uid"</span>/><span>input</span><span>type</span>=<span>"hidden"</span><span>value</span>=<span>""</span><span>name</span>=<span>"cpid"</span>/><span>input</span><span>type</span>=<span>"hidden"</span><span>value</span>=<span>""</span><span>name</span>=<span>"project_roid"</span>/><span>input</span><span>type</span>=<span>"submit"</span><span>value</span>=<span>"发布"</span><span>class</span>=<span>"fabu"</span>/><span><span>div</span>></span><span><span>form</span>></span><span><!--发布评论框结束--></span><span><span>div</span>></span><span><!--评论结束--></span><span><!--评论开始--></span><span>div</span><span>class</span>=<span>"pls-li"</span>><span>div</span><span>class</span>=<span>"userimg"</span>><span>a</span><span>href</span>=<span>""</span>><span>img</span><span>src</span>=<span>"Public/Home/img/user3.jpg"</span>/><span><span>a</span>></span><span><span>div</span>></span><span>a</span><span>href</span>=<span>""</span><span>class</span>=<span>"name"</span>>用户名123<span><span>a</span>></span><span>p</span><span>class</span>=<span>"plcon"</span>>时间这么快!一开机一天就用完了!程序员的日子!<span><span>p</span>></span><span>div</span><span>class</span>=<span>"plft"</span>><span>span</span>>8秒前<span><span>span</span>></span><span>a</span><span>href</span>=<span>"javascript:;"</span><span>class</span>=<span>"pinlun "</span><span>cmid</span>=<span>"23"</span>>评论(0)<span><span>a</span>></span><span><span>div</span>></span><span><!--隐藏的发布框开始--></span><span>form</span><span>action</span>=<span>""</span><span>method</span>=<span>"post"</span><span>class</span>=<span>"plforms"</span><span>style</span>=<span>"display: none;"</span>><span>div</span><span>class</span>=<span>"text"</span> ><span>textarea</span><span>name</span>=<span>"comment"</span><span>rows</span>=<span>""</span><span>cols</span>=<span>""</span><span>placeholder</span>=<span>"可以说点什么,也没关系!"</span>><span><span>textarea</span>></span><span><span>div</span>></span><span>div</span><span>class</span>=<span>"btnbox"</span> ><span>input</span><span>type</span>=<span>"submit"</span><span>value</span>=<span>"发布"</span><span>class</span>=<span>"fabu"</span>/><span><span>div</span>></span><span><span>form</span>></span><span><!--隐藏的发布框结束--></span><span>div</span><span>class</span>=<span>"hf-box"</span>><span><!--回复开始--></span><span>div</span><span>class</span>=<span>"hf-lis"</span>><span>div</span><span>class</span>=<span>"hf-left"</span>><span>a</span><span>href</span>=<span>""</span><span>class</span>=<span>"name"</span>>用户名2528:<span><span>a</span>></span><span>p</span><span>class</span>=<span>"con"</span>>你好楼主<span><span>p</span>></span><span>span</span><span>class</span>=<span>"addtime"</span>>53分钟前<span><span>span</span>></span><span><span>div</span>></span><span>a</span><span>href</span>=<span>"javascript:;"</span><span>class</span>=<span>"hf-del"</span>>删除<span><span>a</span>></span><span><span>div</span>></span><span><!--回复结束--></span><span><!--回复的二回复开始--></span><span>div</span><span>class</span>=<span>"hf-lis"</span>><span>div</span><span>class</span>=<span>"hf-left"</span>><span>a</span><span>href</span>=<span>""</span><span>class</span>=<span>"name"</span>>用户名25<span><span>a</span>></span><span>span</span><span>class</span>=<span>"ts"</span>>回复了<span><span>span</span>></span><span>a</span><span>href</span>=<span>""</span><span>class</span>=<span>"name"</span><span>style</span>=<span>"margin-left:5px;"</span>>用户名2528:<span><span>a</span>></span><span>p</span><span>class</span>=<span>"con"</span>>你好楼主<span><span>p</span>></span><span>span</span><span>class</span>=<span>"addtime"</span>>53分钟前<span><span>span</span>></span><span><span>div</span>></span><span>a</span><span>href</span>=<span>"javascript:;"</span><span>class</span>=<span>"hf-del"</span>>删除<span><span>a</span>></span><span><span>div</span>></span><span><!--回复的二回复结束--></span><span><span>div</span>></span><span><span>div</span>></span><span><!--评论结束--></span><span><!--页码开始--></span><span>div</span><span>class</span>=<span>"pagr-box"</span>><span>div</span><span>class</span>=<span>"pager-ul"</span>><span>div</span><span>class</span>=<span>"pagr-li"</span>><span>a</span><span>href</span>=<span>""</span><span>class</span>=<span>"prev"</span>>上一页<span><span>a</span>></span><span>a</span><span>href</span>=<span>""</span><span>class</span>=<span>"pag cur"</span>>1<span><span>a</span>></span><span>a</span><span>href</span>=<span>""</span><span>class</span>=<span>"pag"</span>>2<span><span>a</span>></span><span>a</span><span>href</span>=<span>""</span><span>class</span>=<span>"next"</span>>下一页<span><span>a</span>></span><span><span>div</span>></span><span><span>div</span>></span><span><span>div</span>></span><span><!--页码结束--></span><span><!--标题开始--></span><span>div</span><span>class</span>=<span>"xq-tbox"</span>><span>p</span><span>class</span>=<span>"xian"</span>><span><span>p</span>></span><span>div</span><span>class</span>=<span>"title"</span>><span>h2</span>>支持记录<span><span>h2</span>></span><span><span>div</span>></span><span><span>div</span>></span><span><!--标题结束--></span><span><!--支持记录开始--></span><span>div</span><span>class</span>=<span>"table"</span>><span>table</span><span>class</span>=<span>"table-box"</span>><span>colgroup</span>><span>col</span><span>width</span>=<span>"80px"</span>><span>col</span><span>width</span>=<span>"220px"</span>><span>col</span><span>width</span>=<span>"80px"</span>><span>col</span><span>width</span>=<span>"140px"</span>><span>col</span><span>width</span>=<span>"auto"</span>><span><span>colgroup</span>></span><span>thead</span>><span>tr</span>><span>th</span>>订单序号<span><span>th</span>></span><span>th</span>>支持者<span><span>th</span>></span><span>th</span>>支持项<span><span>th</span>></span><span>th</span>>数量(90)<span><span>th</span>></span><span>th</span>>支持时间<span><span>th</span>></span><span><span>tr</span>></span><span><span>thead</span>></span><span>tbody</span>><span>tr</span>><span>td</span><span>class</span>=<span>"numBold"</span>>88<span><span>td</span>></span><span>td</span><span>class</span>=<span>"numBold"</span>><span>a</span><span>target</span>=<span>"_blank"</span><span>href</span>=<span>"/home/id-735301"</span>>137****0798<span><span>a</span>></span><span><span>td</span>></span><span>td</span><span>class</span>=<span>"numBold"</span>><span>p</span><span>class</span>=<span>"yelBold"</span>>¥99<span><span>p</span>></span><span><span>td</span>></span><span>td</span><span>class</span>=<span>"numBig"</span>>1<span><span>td</span>></span><span>td</span><span>class</span>=<span>"numBig"</span>><span>p</span>>2016-01-06<span><span>p</span>></span><span>p</span>>03:07:59<span><span>p</span>></span><span><span>td</span>></span><span><span>tr</span>></span><span><span>tbody</span>></span><span><span>table</span>></span><span><!--分页开始--></span><span>div</span><span>class</span>=<span>"pagr-box"</span>><span>div</span><span>class</span>=<span>"pager-ul"</span>><span>div</span><span>class</span>=<span>"pagr-li"</span>><span>a</span><span>href</span>=<span>""</span><span>class</span>=<span>"prev"</span>>上一页<span><span>a</span>></span><span>a</span><span>href</span>=<span>""</span><span>class</span>=<span>"pag"</span>>1<span><span>a</span>></span><span>a</span><span>href</span>=<span>""</span><span>class</span>=<span>"pag cur"</span>>2<span><span>a</span>></span><span>a</span><span>href</span>=<span>""</span><span>class</span>=<span>"next"</span>>下一页<span><span>a</span>></span><span><span>div</span>></span><span><span>div</span>></span><span><span>div</span>></span><span><!--分页结束--></span><span><span>div</span>></span><span><!--支持记录结束--></span><span><!--支持支付开始--></span><span>div</span><span>class</span>=<span>"zczFooterBox"</span>><span>div</span><span>class</span>=<span>"zczFootData"</span>><span>p</span><span>class</span>=<span>"ftP"</span>>¥<span>{{$<span>data</span>['<span>money</span>']}}</span><span><span><span>p</span>></span><span>p</span><span>class</span>=<span>"scP"</span>></span>已筹款<span><span>p</span>></span><span><span>div</span>></span><span>div</span><span>class</span>=<span>"zczFootData"</span>><span>p</span><span>class</span>=<span>"ftP"</span>><span>{{$<span>data</span>['<span>support</span>']}}</span><span><span><span>p</span>></span><span>p</span><span>class</span>=<span>"scP"</span>></span>支持数<span><span>p</span>></span><span><span>div</span>></span><span>div</span><span>class</span>=<span>"zczFootData"</span>><span>p</span><span>class</span>=<span>"ftP"</span>><span>{{$<span>data</span>['<span>target</span>_<span>period</span>']}}</span><span>天<span><span>p</span>></span><span>p</span><span>class</span>=<span>"scP"</span>></span>剩余时间<span><span>p</span>></span><span><span>div</span>></span><span>a</span><span>href</span>=<span>""</span><span>target</span>=<span>"_self"</span><span>class</span>=<span>"zczFoot"</span>>立即支持<span><span>a</span>></span><span><span>div</span>></span><span><!--支持支付结束--></span><span><!--抽奖规则开始--></span><span>div</span><span>class</span>=<span>"lottery-rules"</span><span>id</span>=<span>"LotteryRules"</span>><span>div</span><span>class</span>=<span>"lottery-rules-tit clearfix"</span>><span>h2</span>>抽奖规则<span><span>h2</span>></span><span>a</span><span>href</span>=<span>"javascript:"</span><span>onclick</span>=<span>"wx.alert('还未参加过此项目的抽奖')"</span>><span>i</span>><span><span>i</span>></span>查看我的抽奖号<span><span>a</span>></span><span><span>div</span>></span><span>ul</span><span>class</span>=<span>"lottery-rules-con"</span>><span>li</span>><span>span</span>>获得抽奖号<span><span>span</span>></span><span>p</span>>购买抽奖回报项时按购买顺序产生抽奖号。<span><span>p</span>></span><span><span>li</span>></span><span>li</span>><span>span</span>>开奖日期<span><span>span</span>></span><span>p</span>>项目成功结束后的下一个周一开奖。如遇周一为非工作日,则延至周一后的第一个工作日开奖。<span><span>p</span>></span><span><span>li</span>></span><span>li</span><span>class</span>=<span>"asterisk"</span>><span>span</span>>中奖号计算方法:<span><span>span</span>></span><span>p</span>><span>em</span>>*<span><span>em</span>></span>开奖日收盘时的上证指数6位数字 & 收盘时的深证成指7位数字,两组数字排列得到的13位数;<span><span>p</span>></span><span>p</span>><span>em</span>>*<span><span>em</span>></span>将此13位数整除以项目结束时总抽奖号个数,得到的余数加1。即得到该项目的中奖号码。<span><span>p</span>></span><span>p</span>><span>em</span>>*<span><span>em</span>></span>如果项目开多个奖,则以项目公示“ 每X个参与者抽取1名中奖用户”中的X作为基数,第N个中奖号
                                                        码=第一个中奖号码+(N-1)*X<span><span>p</span>></span><span>p</span>><span>em</span>>*<span><span>em</span>></span>如果加值后抽奖号码超过了总抽奖号个数,则将抽奖号码减去抽奖号个数得到新的中奖号码。<span><span>p</span>></span><span>p</span>><span>em</span>>*<span><span>em</span>></span>每个抽奖号只有一次中奖机会,如果抽奖号重复中奖,则将该抽奖号码+1得到新的中奖号码。<span><span>p</span>></span><span>p</span>><span>em</span>>*<span><span>em</span>></span>如遇周末节假日等股市休市情况,收盘指数以上一个交易日数据为准。<span><span>p</span>></span><span><span>li</span>></span><span>li</span><span>class</span>=<span>"example"</span>><span>span</span>>例:<span><span>span</span>></span><span>p</span>>
                                                        某项目的抽奖规则为每500个参与者抽取1名中奖用户,项目成功结束时共发放4597个抽奖号。<span>br</span>>
                                                        2015-07-30收盘时的上证指数是 2927.08,<span>br</span>>
                                                        2015-07-30收盘时的深证成指是 12926.61,<span>br</span>>
                                                        将这两组数字排列得到的13位数为 2927081292661,<span>br</span>>
                                                        以2927081292661整除以4597,商为636737283,余数为2710,<span>br</span>>
                                                        用2710+1=2711,第一个中奖号即为2711;第二个中奖号 2711+(2-1)*500=3211;第三个中奖号 2711+(3-1)*500=3711......
                                                    <span><span>p</span>></span><span><span>li</span>></span><span><span>ul</span>></span><span><span>div</span>></span><span><!--抽奖规则结束--></span><span><span>div</span>></span><span><!--评论列表结束--></span><span><span>div</span>></span><span><span>div</span>></span><span><!--右边--></span><span>div</span><span>class</span>=<span>"xq-right"</span>><span>div</span><span>class</span>=<span>"xq-ch"</span>><span>div</span><span>class</span>=<span>"xq-fch"</span><span>id</span>=<span>"rightfix-ch"</span>><span>div</span><span>class</span>=<span>"xq-fch1"</span><span>id</span>=<span>"rightfix-ch1"</span>><span>div</span><span>class</span>=<span>"xq-zqbox"</span>><span><!--卡片开始--></span><span>div</span><span>class</span>=<span>"xq-li"</span>><span>h3</span><span>class</span>=<span>"xq-h3"</span>>感谢您的支持<span>b</span>>1人已支持<span><span>b</span>></span><span><span>h3</span>></span><span>p</span><span>class</span>=<span>"text"</span>>感谢您的支持,您将收到我们寄出的信件或贺卡,这份支持将助我们的梦想飞的更高更远。<span><span>p</span>></span><span>div</span><span>class</span>=<span>"zczj"</span>><span>a</span><span>href</span>=<span>""</span><span>class</span>=<span>"zj"</span>>¥1<span><span>a</span>></span><span>a</span><span>href</span>=<span>""</span><span>class</span>=<span>"zj"</span>>¥5<span><span>a</span>></span><span>a</span><span>href</span>=<span>""</span><span>class</span>=<span>"zj"</span>>¥10<span><span>a</span>></span><span><span>div</span>></span><span>div</span><span>class</span>=<span>"inp-box"</span>><span>lable</span>>其他¥<span><span>lable</span>></span><span>input</span><span>type</span>=<span>"text"</span><span>name</span>=<span>""</span><span>class</span>=<span>"wsinp"</span><span>id</span>=<span>""</span><span>value</span>=<span>""</span> /><span><span>div</span>></span><span>input</span><span>type</span>=<span>"button"</span><span>class</span>=<span>"subm"</span><span>value</span>=<span>"立即支持"</span>/><span><span>div</span>></span><span><!--卡片结束--></span><span>{{<span>foreach</span><span>from</span>=<span>"$data['returns']"</span><span>value</span>=<span>"$v"</span>}}</span><span><span><!--卡片开始--></span><span>div</span><span>class</span>=<span>"xq-lis"</span>></span><span>h3</span><span>class</span>=<span>"mxq-zh3 blue"</span>>¥<span>{{$<span>v</span>['<span>rmoney</span>']}}</span><span><span>b</span>></span><span>{{$<span>v</span>['<span>rpeople</span>']}}</span><span>人已支持/限制</span><span>{{$<span>v</span>['<span>rlimit</span>']}}</span><span>人<span><span>b</span>></span><span><span>h3</span>></span><span>div</span><span>class</span>=<span>"zcje_title"</span>></span><span>{{$<span>v</span>['<span>rtitle</span>']}}</span><span><span><span>div</span>></span><span>p</span><span>class</span>=<span>"text"</span>></span><span>{{$<span>v</span>['<span>rcontent</span>']}}</span><span><span><span>p</span>></span></span><span>{{<span><span>if</span></span><span>value</span>=<span>"!empty($v['rthumb'])"</span>}}</span><span><span>div</span><span>class</span>=<span>"zsimg"</span>></span><span>div</span><span>class</span>=<span>"zsimgbox"</span>><span>img</span><span>src</span>=<span>"</span><span>{{$<span>v</span>['<span>rthumb</span>']}}</span><span><span><span>"</span><span>width</span>=<span>"42"</span><span>height</span>=<span>"42"</span>/></span><span><span>div</span>></span><span><span>div</span>></span></span><span>{{<span>endif</span>}}</span><span><span>div</span><span>class</span>=<span>"zsfooter"</span>></span><span>p</span>>已发放抽奖号:<span>b</span>><span>{{$<span>v</span>['<span>rpeople</span>']}}</span><span><span><span>b</span>></span>个<span><span>p</span>></span><span>p</span>></span>预计奖品发送时间:<span>b</span>>开奖后<span>{{$<span>v</span>['<span>rtime</span>']}}</span><span>天内<span><span>b</span>></span><span><span>p</span>></span><span><span>div</span>></span></span><span>{{<span><span>if</span></span><span>value</span>=<span>"$v['rpeople']>=$v['rlimit']"</span>}}</span><span><span>div</span><span>class</span>=<span>"zsgaizi"</span>></span><span>a</span><span>href</span>=<span>""</span><span>class</span>=<span>"max"</span>><span>span</span>>已满额<span><span>span</span>></span><span><span>a</span>></span><span><span>div</span>></span><span>{{<span><span>else</span></span>}}</span><span><span>div</span><span>class</span>=<span>"zsgaizi"</span>></span><span>span</span>><span><span>span</span>></span><span>a</span><span>href</span>=<span>""</span><span>class</span>=<span>"nomax"</span>><span><span>a</span>></span><span><span>div</span>></span><span>{{<span>endif</span>}}</span><span><span><span>div</span>></span><span><!--卡片结束--></span></span><span>{{<span>endforeach</span>}}</span><span><span><span>div</span>></span><span><!--常见问题开始--></span><span>div</span><span>class</span>=<span>"xq-cques"</span>></span><span>h3</span><span>class</span>=<span>"xq-cjwt"</span>>常见问题<span>a</span><span>href</span>=<span>""</span>>查看更多<span><span>a</span>></span><span><span>h3</span>></span><span>div</span><span>class</span>=<span>"xq-cjlis"</span>><span>div</span><span>class</span>=<span>"xq-cjli"</span>><span>div</span><span>class</span>=<span>"title"</span>>如何支持项目?(可理解为赞助或投资)<span><span>div</span>></span><span>div</span><span>class</span>=<span>"info"</span>>进入项目详情页后,选择适合的支持选项,点击进行支付。可通过网银、支付宝、微信、易宝等进行付款,为保证资金的安全,支付的款项会进入第三方支付账户,不会直接进入发起人账户或者众筹网账户。<span><span>div</span>></span><span><span>div</span>></span><span>div</span><span>class</span>=<span>"xq-cjli"</span>><span>div</span><span>class</span>=<span>"title"</span>>项目失败如何退款?<span><span>div</span>></span><span>div</span><span>class</span>=<span>"info"</span>>项目失败后,众筹网将为您办理退款,资金将原路返回到您的支付宝或银行账户中,您将于7-15个工作日收到退款。<span><span>div</span>></span><span><span>div</span>></span><span>div</span><span>class</span>=<span>"xq-cjli"</span>><span>div</span><span>class</span>=<span>"title"</span>>什么时间可以收到回报?<span><span>div</span>></span><span>div</span><span>class</span>=<span>"info"</span>>项目回报会在项目结束后发起方承诺的期间内发放,具体时间在项目页的每个回报项下显示。<span><span>div</span>></span><span><span>div</span>></span><span><span>div</span>></span><span><span>div</span>></span><span><!--常见问题结束--></span><span><!--支持此项目开始--></span><span>a</span><span>href</span>=<span>"javascript:;"</span><span>class</span>=<span>"xq-zcxm"</span>>支持此项目<span><span>a</span>></span><span><!--支持此项目结束--></span><span><span>div</span>></span><span>div</span><span>class</span>=<span>"gar"</span><span>id</span>=<span>"gdr"</span>><span><span>div</span>></span><span><span>div</span>></span><span><span>div</span>></span><span><span>div</span>></span><span><span>div</span>></span><span><span>div</span>></span><span><!--详细主题内容结束--></span><span><span>div</span>></span><span><!--展示部分结束--></span><span>script</span><span>src</span>=<span>"Public/Home/js/fch.js"</span><span>type</span>=<span>"text/javascript"</span><span>charset</span>=<span>"utf-8"</span>><span><span>script</span>></span><span><!--热门推荐开始--></span><span>div</span><span>class</span>=<span>"hot-box"</span>><span><span><?php </span><span>$htproData</span>=Db::table(<span>'project'</span>)->join(<span>'cate'</span>,<span>'cate_cid'</span>,<span>'='</span>,<span>'cid'</span>)->join(<span>'project_data'</span>,<span>'roid'</span>,<span>'='</span>,<span>'project_roid'</span>)->where(<span>"is_recycl</span></span></span></code>
Nach dem Login kopieren
Verwandte Etiketten:
Quelle:php.cn
Erklärung dieser Website
Der Inhalt dieses Artikels wird freiwillig von Internetnutzern beigesteuert und das Urheberrecht liegt beim ursprünglichen Autor. Diese Website übernimmt keine entsprechende rechtliche Verantwortung. Wenn Sie Inhalte finden, bei denen der Verdacht eines Plagiats oder einer Rechtsverletzung besteht, wenden Sie sich bitte an admin@php.cn
Beliebte Tutorials
Mehr>
Neueste Downloads
Mehr>
Web-Effekte
Quellcode der Website
Website-Materialien
Frontend-Vorlage
Über uns Haftungsausschluss Sitemap
Chinesische PHP-Website:Online-PHP-Schulung für das Gemeinwohl,Helfen Sie PHP-Lernenden, sich schnell weiterzuentwickeln!