.header{ position: fixed; display: flex; justify-content: space-between; width: 100%; height: 2.25rem; background: #fff; padding: 0px .8rem; box-sizing: border-box; align-items: center; border-bottom: 1px solid #f5f5f5; z-index: 999; overflow: hidden; } .back a{ font-size: .75rem; color: #333; } .header p{ font-size: .9rem; color: #000; font-weight: 600; } html,body{ height: 100%; } .content{ height: 100%; scroll-padding-left: .8rem; scroll-padding-right: .8rem; padding-top: 3.2rem; padding-bottom: 3.2rem; } .content ul{ padding-left: .8rem; padding-right: .8rem; box-sizing: border-box; } .content ul li{ position: relative; width: 8.05rem; float: left; margin-right: 1rem; margin-bottom: .5rem; text-align: center; } .content ul li:nth-child(2n){ margin-right: 0px; } .content li a{ width: 100%; } .content li a img{ width: 8.05rem; height: 10.75rem; border-radius: .4rem; } .content li p{ font-size: .8rem; color: #000; } .content li .clear{ position: absolute; width: 3rem; height: 1.5rem; background: #00000063; top: 10px; right: 10px; } .content li .clear p{ text-align: center; line-height: 30px; font-size: 17px; color: red; } .shadow{ width: 100%; height: 100%; position: fixed; z-index: 9999; top: 0; background: #00000073; display: none; } .actionsheet{ position: fixed; bottom: 0; width: 100%; box-sizing: border-box; padding: 0 .8rem; } .cancel{ width: 100%; height: 2.2rem; border-radius: .4rem; text-align: center; line-height: 2.2rem; color: #000; background: #fff; } .delete{ margin-top: 10px; width: 100%; height: 2.2rem; border-radius: .4rem; text-align: center; line-height: 2.2rem; color: red; background: #fff; }