资源简介

仿360商城写的demo,完成度较高。对web初学者还是很有学习意义的奥!!  主要功能及技术点:购物车的增删改查、商品详情页的分页效果、登录注册逻辑的实现、二级菜单、吸顶、首页的楼梯效果、ajax、跨域、轮播图、选项卡、代码封装、css3悬浮效果、放大镜并根据用户习惯去完善细节等;

代码片段和文件信息

header(‘Content-type: application/json‘);
//获取回调函数名
$jsoncallback = htmlspecialchars($_REQUEST [‘jsoncallback‘]);
//json数据
$json_data = ‘[

{
    “title“:“轻轻地我来了“
            “price“:“100“

            “url“:“http://p9.qhimg.com/dr/180_180_/t01e8955fa90a996e82.png“

            “date“:“ 07-20上新“
}
{
    “title“:“正如我轻轻地走“
            “price“:“100“
            “url“:“http://img.zcool.cn/community/031e72e57735ccf0000012e7e4fa9fe.jpg@250w_188h_1c_1e_2o“

            “date“:“ 07-20上新“
}
{
    “title“:“我轻轻地招手“
            “price“:“100“
            “url“:“http://img.zcool.cn/community/03118ee5773285b0000012e7e13e7cc.jpg@250w_188h_1c_1e_2o“

            “date“:“ 07-20上新“
}

{
    “title“:“作别西天的云彩“
            “price“:“100“
            “url“:“http://img.zcool.cn/community/0314f9

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

    .......       281  2016-09-27 13:41  360Mall-master\.idea\360Mall.iml

    .......       159  2016-09-27 13:41  360Mall-master\.idea\encodings.xml

     文件        266  2018-07-23 09:13  360Mall-master\.idea\modules.xml

    .......       180  2016-09-27 13:41  360Mall-master\.idea\vcs.xml

     文件      82129  2018-07-23 11:58  360Mall-master\.idea\workspace.xml

    .......      3914  2016-09-27 13:41  360Mall-master\dist\css\basefd.css

    .......      3852  2016-09-27 13:41  360Mall-master\dist\css\detail.css

    .......     23965  2016-09-27 13:41  360Mall-master\dist\css\other.css

     文件      17082  2018-07-23 09:21  360Mall-master\dist\css\style.css

    .......     15248  2016-09-27 13:41  360Mall-master\dist\data\goodsList.json

    .......      6187  2016-09-27 13:41  360Mall-master\dist\data\kuayu.php

    .......       429  2016-09-27 13:41  360Mall-master\dist\data\p0.json

     文件       8898  2018-07-22 14:28  360Mall-master\dist\html\carts.html

     文件      10820  2018-07-22 14:28  360Mall-master\dist\html\detail.html

     文件       5856  2018-07-22 14:29  360Mall-master\dist\html\footer.html

     文件       7601  2018-07-22 14:29  360Mall-master\dist\html\goodsList.html

     文件      26365  2018-07-22 14:30  360Mall-master\dist\html\header.html

     文件      10156  2018-07-22 14:30  360Mall-master\dist\html\index-p.html

     文件      51799  2018-07-22 14:30  360Mall-master\dist\html\index.html

     文件      13841  2018-07-22 14:27  360Mall-master\dist\html\login.html

     文件        293  2018-07-22 14:31  360Mall-master\dist\html\pay.html

     文件       7649  2018-07-23 09:15  360Mall-master\dist\html\register.html

    .......     13583  2016-09-27 13:41  360Mall-master\dist\images\1.jpg

    .......    230309  2016-09-27 13:41  360Mall-master\dist\images\2.jpg

    .......    220027  2016-09-27 13:41  360Mall-master\dist\images\3.jpg

    .......     92620  2016-09-27 13:41  360Mall-master\dist\images\4.jpg

    .......    195072  2016-09-27 13:41  360Mall-master\dist\images\5.jpg

    .......    974239  2016-09-27 13:41  360Mall-master\dist\images\6.jpg

    .......     91424  2016-09-27 13:41  360Mall-master\dist\images\b1.jpg

    .......     30985  2016-09-27 13:41  360Mall-master\dist\images\b2.jpg

............此处省略104个文件信息

评论

共有 条评论