# yystudy **Repository Path**: chy520/yystudy ## Basic Information - **Project Name**: yystudy - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2018-09-22 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # tbcoupon1 一、首页 header 超值立减优惠券(无返回) components HomePageHeader BackHeader Search 搜索 components SearchBox carousel 轮播图 五个图标: 1.进入页面 9.9 包邮 2.进入所有分类页面 tabs 首页只有四个 components HomePageTabs CategoryTabs listview 商品列表 components ListView 1.进入商品详情页面..... 容器的属性 以下6个属性设置在容器上 flex-direction 设置子view的布局方向,默认是水平方向,起点在左端 flex-wrap 设置子view的换行方式,默认不换行 flex-flow 设置子view的布局方向和换行方式,是flex-direction和flex-wrap的简写形式,默认row nowrap justify-content 设置子view在主轴方向上的对齐方式,默认是左对齐 align-items 设置子view在交叉轴上的对齐方式 align-content 设置子view多根轴线的对齐方式 1.安装mock 2.新建mock -- todolist.jsx 3.复制yystudy中的Fetch.js过去 4.URL中的baseUrl和todolist中的baseUrl对应 5.在main.js中 import '../mock/todolist'; 地址 参数 this 返回值 1 2 3 4 5 ... 100 分页: 1 10 1-10数据 10条 2 10 11-20数据 10条 3 10 3条