点击进入知科官方网站
查看: 1292  |  回复: 3
 
 
ask
积分:170
注册时间:2012-07-25
最后登录:2012-08-17
发送短消息
发表于 2012-08-16 18:46
如何修改建站页面价格
 
 
Official服务
积分:16745
注册时间:2012-01-02
最后登录:2015-09-24
发送短消息
回复于 2012-08-16 18:47
1楼
一、打开/JZ/index.aspx 文件
搜索</asp:Panel> 
 
将其改成 </asp:Panel><script>
                        function _jz_self()
                        {
                            var obj=document.getElementById("Panel1");
                            var objs=obj.getElementsByTagName("strong");                                                       
                            for(var i=0;i<objs.length;i++)
                            {
                                objs[i].innerHTML=(parseInt(objs[i].innerHTML)+500).toString()+".00";
                            }                           
                        }
                        _jz_self();
                    </script>
 
 
Official服务
积分:16745
注册时间:2012-01-02
最后登录:2015-09-24
发送短消息
回复于 2012-08-16 18:48
2楼
二、打开/JZ/detailed.aspx 文件
搜索 </asp:Panel> 
将其改成
</asp:Panel>
                    
                    <script>
                        function _jz_self()
                        {
                            var obj=document.getElementById("Panel1");
                            var objs=obj.getElementsByTagName("strong");                                                       
                            for(var i=0;i<objs.length;i++)
                            {
                                objs[i].innerHTML=(parseInt(objs[i].innerHTML)+500).toString()+".00";
                            }                           
                            objs=obj.getElementsByTagName("span");
                            objs[0].innerHTML=(parseInt(objs[0].innerHTML)+500).toString()+".00";                                                      
                        }
                        _jz_self();
                    </script>                    
                   
 
 
Official服务
积分:16745
注册时间:2012-01-02
最后登录:2015-09-24
发送短消息
回复于 2012-08-16 18:49
3楼
 
 改后的效果:http://demo4.hbzkwl.com/jz/
 
 
代码中的 500 就是加价幅度
回复帖子