Git Product home page Git Product logo

youhaoquan's Introduction

有好券小程序

基于Taro3.0开发的一款搜索淘宝优惠券的小程序

// 安装依赖
npm install
// 开发
npm run dev:weapp
// 打包
npm run build:weapp

页面截图

首页


目录结构

src
├── app.config.js // 小程序配置
├── app.js // 入口文件
├── app.scss
├── colorui // 样式
   ├── icon.wxss
   └── main.wxss
├── components // 组件
   ├── CardGoodsItem // 商品card样式
      └── index.jsx
   ├── Custom // 自定义头部
      └── index.jsx
   ├── Footer // 底部加载
      └── index.jsx
   ├── GoodsItem // 默认商品
      └── index.jsx
   ├── GoodsList // 商品列表
      └── index.jsx
   ├── Layout // layout布局
      └── index.jsx
   ├── ScrollView // 自定义滚动
      └── index.jsx
   ├── Search // 搜索头部
      └── index.jsx
   ├── SegmentedControl // 轮播控件
      └── index.jsx
   └── TabSwiper // tab轮播
       ├── index.jsx
       └── tabSwiper.scss
├── index.html
├── models
   └── GoodsList.js // 商品列表
├── pages
   ├── detail
      ├── index.config.js
      └── index.jsx
   ├── discover
      ├── index.config.js
      └── index.jsx
   ├── home
      ├── index.config.js
      └── index.jsx
   ├── hot
      ├── index.config.js
      └── index.jsx
   └── search
       ├── index.config.js
       └── index.jsx
├── state
   └── GoodsListState.js // 商品数据
├── tabbar
   ├── discover.png
   ├── discover_select.png
   ├── home.png
   ├── home_select.png
   ├── hot.png
   └── hot_select.png
└── utils
    ├── appInfo.js // app信息
    ├── cache.js // 缓存
    ├── config.js // 默认配置信息
    ├── http.js // 接口请求
    └── tool.js // 工具函数

youhaoquan's People

Contributors

gwt9502 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.