微信小程序开发 Day08

今天是实训倒数第三天,最后几天的任务是做一个类似于美团外卖的点餐小程序,将之前的搜索栏功能还有侧栏滑动功能加进去,并且有了跳转功能。在自己制作中主要的问题是制作跳转的模板调控比较繁琐。

任务:1、综合排序这一栏上拉后固定在顶部(搜索栏下面);

           2、把首页的列表做出来(可swiper或横向滚动)。

     1、综合排序这一栏上拉后固定在顶部(搜索栏下面);

      2、把首页的列表做出来(可swiper或横向滚动)

wxml源代码:

    
        

            
                {{item.category}}
            

            

                
                    

                    
                        
                            
                                
                                已售罄
                            

                            
                                {{item.title}}

                                
                                    ¥{{item.price}}
                                    
                            
                                {{item.num}}
                            
                        

                                
                            

                        
                    

                
            

        

    
    
    
        
            
                
            

            

                
                    {{item.title}}

                    
                        

                        {{item.num}}
                        
                    

                

            
        

        
            
                
                    {{sumNum}}
                
                ¥ {{sumMon}}
            

            
        
    

wxss源代码:

page{background:#f0f0f0;font-family: "微软雅黑",Helvetica, Arial, "Hiragino Sans GB", "Source Han Sans CN", "PingFang SC", Roboto,  "Heiti SC", "Microsoft Yahei", sans-serif;background:#fff;}
.swiper-tab{ margin-top:10px;height:20px;padding:10px 0;background:#fff;display:flex;font-size:17px;line-height:20px;border-bottom:1px solid #e6e6e6;}
.swiper-tab-list{flex:1;text-align:center;position:relative;color:#787878;}
.swiper-tab-list:first-of-type{border-right:1px solid #c8c8c8;}
.swiper-tab-list.on{color:#fa4b22;}
.swiper-tab-list.on::after{ content:"";height:2px;width:100px;background:#fa4b22;position:absolute;left:50%;margin-left:-50px;bottom:-10px;}
.book-box,.order-box{width:100%;position:relative;box-sizing:border-box;}
.swiper-vertical-box{width:100%;padding-left:100px;box-sizing:border-box;}
.order-box{background:#fff;}
/*.swiper-vertical-tab{width:100px;position:absolute;left:0px;top:0;min-height:100%;}*/
.swiper-vertical-tab{width:100px;position:absolute;left:0px;top:0;}
.swiper-vertical-tab view{height:50px;font-size:16px;color:#505050;text-align:center;box-sizing:border-box;padding-top:20px;}
.swiper-vertical-tab{background:#eee;}
.swiper-vertical-tab view.on{background:#fff;}
.swiper-vertical-box .vertical-list{height:100%;}
.swiper-vertical-box .vertical-list .title{height:40px;padding-left:20px;background:#f5f5f5;color:#646464;line-height:40px;font-size:16px;display:block;}
.type-detail{background:#fff;padding-bottom:10px;}
.type-detail>view{border-top:1px solid #E5E5E5;border-bottom:1px solid #E5E5E5;margin-left:10px;overflow:hidden;padding-left:80px;box-sizing:border-box;position:relative;height:92px;width:100%;margin-bottom:-1px;}
.type-detail view image{width:70px;height:70px;border-radius:6px;margin-top:10px;border:1px solid #ccc;float:left;margin-bottom:10px;position:absolute;left:0;top:0;}
.book-detail{float:left;width:100%;}
.book-detail>text{font-size:16px;color:#505050;margin-top:16px;display:block;}
.book-detail button,.book-result-detail button{float:left;width:27px;height:28px;border-radius:14px;}
.book-detail>view text{float:left;}
.book-detail>view view{float:left;}
.book-detail>view{margin-top:5px;width:100%;overflow:hidden;position:relative;height:28px;}
.book-detail button.reduce,.book-result-detail button.reduce{background:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADYAAAA2CAYAAACMRWrdAAAAAXNSR0IArs4c6QAAAARnQU1BAACx jwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAAAZdEVYdFNvZnR3YXJlAEFkb2JlIEltYWdlUmVh ZHlxyWU8AAADcWlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78i IGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9i ZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS41LWMwMTQgNzkuMTUxNDgxLCAy MDEzLzAzLzEzLTEyOjA5OjE1ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93 d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2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iNawGygFxugd9Yfb29upnJGgCW2AVp3v2hQYA0rG w8PDsr2+vi7hTgtoQROgsVhJPtQYcDGStyxAV1dX5cZ2rWGSixY0oU07uzB+fByCJwd00P4zj0Mo aXqAhYalgX+iLGPwJx85UlgaYM5e92AufwypFKKDKfu+AqbCer9iRDKmcNL8x/p0kIxychsaDUOY 0YZjmvQrj/XZkPsIyX8Qk6dneJGumGTGTRrx4lSkMhVbCqK6OKTHtXtd/kNXTkPFvZZjG7OhlTGZ xKOzmNGlRyUkYkzhUIw1tL6WGogmUeJF96zRI82IKJElwtwCSu5hZ2P+AXZv+gnrC8HdAAAAAElF TkSuQmCC") no-repeat;background-size:100% auto;}
.book-detail button.add,.book-result-detail button.add{background:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADYAAAA2CAYAAACMRWrdAAAAAXNSR0IArs4c6QAAAARnQU1BAACx jwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAAAZdEVYdFNvZnR3YXJlAEFkb2JlIEltYWdlUmVh ZHlxyWU8AAADcWlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78i IGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9i ZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS41LWMwMTQgNzkuMTUxNDgxLCAy MDEzLzAzLzEzLTEyOjA5OjE1ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93 d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJk ZjphYm91dD0iIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIg eG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9S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cqtIgCjFNli5Xm6W8vhGI X8FefxQuzMP0oC2dpV7s6iyudLau3vaOWzrrr4eyKV5YOlTs/Mtx6BPfukXPp38FzvZBk1i6H4jF gElTIKZOt8fjovI6W+QsFt4KcUOtWfJKVewM/AdUxNLkU5R2cAAAAABJRU5ErkJggg== ") no-repeat;background-size:100% auto;}
.book-detail .money{font-size:17px;color:#fa4b22;line-height:27px;}
.book-detail .operations{position:absolute;right:20px;top:0;}
.operations text{line-height:27px;color:#333;width:35px;display:block;text-align:center;}
.Bill-layer{width: 100%;height:100%;background:#000;opacity:0.5;position:fixed;left:0;top:0;z-index:1;}
.Bill{position:fixed;left:0;bottom:0;width:100%;z-index:2;}
.takeBill{height:50px;background:#fff;position:relative;}
.takeBill .box-right{width:120px;height:52px;background:#FA4D22;position:absolute;right:0;top:-1px;border-radius:0;color:#fff;line-height:52px;text-align:center;}
.box-left{margin-left:30px;}
.box-left>view{float:left;}
.box-left .tips{width:30px;position:relative;background:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAYAAAA6/NlyAAAAAXNSR0IArs4c6QAAAARnQU1BAACx jwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAAAZdEVYdFNvZnR3YXJlAEFkb2JlIEltYWdlUmVh ZHlxyWU8AAADcWlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78i IGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9i ZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS41LWMwMTQgNzkuMTUxNDgxLCAy MDEzLzAzLzEzLTEyOjA5OjE1ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93 d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJk ZjphY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/zbFRUVLPUzhpu0o2H/tvgf43SGbdak cVNgfHycvvrBDXKcdubl5dGoHhERwX7KOkTmZRPD+C1IZ2cnnUx8B1c93d3dkJOTw578jsi8EOGG sTZqa2tVC8jBgg4PD1usHZF5cYT3Ydxt4AXEbyw6OjpgZGSE7vybC3yPTdQSIvPiCDe8urrKFNCO SGpqKn1dg3flZ07WfNEnMi+OcMPKLdukpCSmTKSkpDBlOumzhMi8OMIN42Kfs7+/z5QJ5ZwbR1pL iMyLI9xwbm4uUwBDQ0Ows7ND304dHh5CX18fewNWjawi8+L8P0obBf8wxkYsiBr4HN9bU0CReXFs OtMaGxujERQHH+yPODuqrq7WVEBEZF42Mywrwpu07DiZYYB/AGTCksEzMhzoAAAAAElFTkSuQmCC") no-repeat left 12px;background-size:100% auto;height:40px;position:relative;}
.box-left .tips view{position:absolute;right:-5px;top:7px;width:20px;height:20px;background:#F55022;color:#fff;border-radius:10px;text-align:center;line-height:20px;font-size:12px;}
.box-left .money{color:#fa4b22;font-size:17px;margin-left:10px;margin-top:15px;}
.clearCart{height:35px;text-align:right;background:#f5f5f5;}
.clearCart button{background:none;float:right;color:#646464;line-height:35px;font-size:14px;padding-left:16px;background:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAcCAYAAAB/E6/TAAAAAXNSR0IArs4c6QAAAARnQU1BAACx jwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAAAZdEVYdFNvZnR3YXJlAEFkb2JlIEltYWdlUmVh ZHlxyWU8AAADcWlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78i IGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9i ZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS41LWMwMTQgNzkuMTUxNDgxLCAy MDEzLzAzLzEzLTEyOjA5OjE1ICAgICAgICAiPi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3sjWyKI6Z6KlZAAnzzLMjKbLlQOCeGYBOq1DU5RFMs0TTz8DJ7nHevoCnLr 8jynBM7/Hej1vtbRnwkxxshUbHM6RiFce331bXM69zKc5hY6zS10GqMQHlhoKrY5nR8+j0Tr4ziS v4Ko4boueUQKhWFIvq7rS2LDMFANJIoi8oh8R33fQ1mWu597W3BCaZqC7/sUr36JUaxpGmjbFuZ5 5tlj4LiwkziOpQgAwBMNeHlKuzj5HAAAAABJRU5ErkJggg==") no-repeat left center;background-size:13px auto;}
.clearCart button::after{border:0 none;}
.book-result-detail{overflow:hidden;}
.book-result-detail>view{background:#fff;overflow:hidden;height:50px;padding-top:10px;padding-left:15px;box-sizing: border-box;padding-right:10px;border-bottom:1px solid #e6e6e6;}
.book-result-detail>view text{float:left;}
.book-result-detail>view view{float:right;}
.food-detail{overflow:hidden;height:36px;line-height:36px;}
.food-detail>text{float:left;color:#3c3c3c;font-size:16px;display:block;}
.food-detail>view{float:right;}
.food-detail>view text{font-size:15px;color:#999;}
.place{height:5px;width:100%;background:#F0F0F0;}
.order-list{border-top:1px solid #E6E6E6;border-bottom:1px solid #E6E6E6;margin-top:-1px;padding:20px 15px;}
.order-list>text{color:#3c3c3c;font-size:16px;margin-bottom:6px;display:block;}
.order-list .time{color:#999;font-size:13px;text-align:right;}
.bdt{border-top:1px solid #e6e6e6;}

.sale-out{position: absolute;width: 70px;left: 0;bottom: 0;background: #aaa;color: #fff;z-index: 2;text-align: center;border:1px solid #ccc;}

 

你可能感兴趣的:(大学)