powy1993 / fullpage

For desktop(ie5.5+) or mobile webApp without jQuery,create full screen pages fast and simple.
http://1.fullpagechris.sinaapp.com/index.html
750 stars 267 forks source link

放置图片超过6P就出现问题了,没有效果显示 #41

Closed fhefh2015 closed 7 years ago

fhefh2015 commented 7 years ago

背景是纯色 没问题 背景是图片且超过6P 就有问题了 测试的时候我放置了8P且背景都是图(每张图片大小60kb左右) 就出bug了

powy1993 commented 7 years ago

你好,有测试链接吗

fhefh2015 commented 7 years ago

@powy1993 http://t.cn/RVezzmA

powy1993 commented 7 years ago

不允许给 page 增加 position: relative 可以在 contain 里面使用相对布局

.page4 {
            background: url(http://mytest.dachuw.com/test/2016/11/test/images/4.jpg) no-repeat center top;
            position: relative;
        }

        .page5 {
            background: url(http://mytest.dachuw.com/test/2016/11/test/images/5.jpg) no-repeat center top;
            position: relative;
        }

        .page6 {
            background: url(http://mytest.dachuw.com/test/2016/11/test/images/6.jpg) no-repeat center top;
            position: relative;
        }

        .page7 {
            background: url(http://mytest.dachuw.com/test/2016/11/test/images/7.jpg) no-repeat center top;
            position: relative;
        }

这里的 position: relative 不能加。

fhefh2015 commented 7 years ago

@powy1993 多谢