Git Product home page Git Product logo

lingla's Introduction

#领啦项目框架

##1.项目页面

构建好的架构一共分为5个页面,分别为

index.html:主页

invite.html:邀请好友

mine.html:我的领啦

task.html:任务

try.html:试用

##2.页面接口

以index.html为例:

index.html->prd/libs(引用库)
          ->src/scripts/index-app.js(js接口)
          ->src/styles/usage/page/index-app.scss(css接口)

##3.css接口

以index-app.scss为例:

index-app.scss->common->common.scss(公共样式)
              ->module->m-index.scss(模块样式)

##4.js接口

以index-app.js为例:

index-app.js->tpls(htnl页面)
            ->utils(公共js)
            ->views(视图样式)

##5.mock接口

分类api:'/api/FenLei.php'
商品信息api:'/api/commodity.php'
用户信息api:'/api/User.php'
任务信息api:'/api/renWu.php'

lingla's People

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.