All Projects → pengliheng → vueShop

pengliheng / vueShop

Licence: other
🙂collections

Programming Languages

Vue
7211 projects
HTML
75241 projects
javascript
184084 projects - #8 most used programming language
CSS
56736 projects

Projects that are alternatives of or similar to vueShop

flappy-bird
🐦 A clone of a famous game, the Flappy Bird, made in Javascript and HTML Canvas API.
Stars: ✭ 37 (-48.61%)
Mutual labels:  canvas
snake-game-p5
The Snake Game made with p5.js 🐍🎮.
Stars: ✭ 18 (-75%)
Mutual labels:  canvas
empathy-map
チームでお互いのことを知り、ゴールや目的を共有する。
Stars: ✭ 15 (-79.17%)
Mutual labels:  canvas
fabricjs-image-editor-origin
fabric.js javascript image editor
Stars: ✭ 52 (-27.78%)
Mutual labels:  canvas
canvas-cast
Cast any <canvas> element to an LED Matrix over WebSockets with an Arduino/ESP8266.
Stars: ✭ 39 (-45.83%)
Mutual labels:  canvas
SubmiBot
Plugin do Eclipse para automatização do processo de submissão de tarefas na disciplina de LP2 - Computação@UFCG
Stars: ✭ 16 (-77.78%)
Mutual labels:  canvas
Chart.js
Simple HTML5 Charts using the <canvas> tag
Stars: ✭ 55,646 (+77186.11%)
Mutual labels:  canvas
AndroidZdog
Porting Zdog(Round, flat, designer-friendly pseudo-3D engine for canvas) to Android with kotlin
Stars: ✭ 22 (-69.44%)
Mutual labels:  canvas
NightSky
A way to avoid paying 50 bucks by using some js to generate an image of the night sky at specific time and location. 🌑
Stars: ✭ 49 (-31.94%)
Mutual labels:  canvas
drawing-board
canvas-drawing-board
Stars: ✭ 23 (-68.06%)
Mutual labels:  canvas
canvas2video
canvas2video is a backend solution for creating and rendering dynamic videos.
Stars: ✭ 194 (+169.44%)
Mutual labels:  canvas
shoot game
🎮 It is a game using HTML5 Canvas and Vanilla JavaScript.
Stars: ✭ 35 (-51.39%)
Mutual labels:  canvas
idraw
A simple JavaScript framework for Drawing on the web.(一个面向Web绘图的JavaScript框架)
Stars: ✭ 436 (+505.56%)
Mutual labels:  canvas
downscale
Better image downscale with canvas.
Stars: ✭ 80 (+11.11%)
Mutual labels:  canvas
turkeyvisited
Mark the cities you have visited in Turkey and share the map!
Stars: ✭ 82 (+13.89%)
Mutual labels:  canvas
Three.js
JavaScript 3D Library.
Stars: ✭ 78,237 (+108562.5%)
Mutual labels:  canvas
canvas-merge-video-in-vue
canvas+vue 实现视频碎片合并 比较粗陋,欢迎fork 升级++
Stars: ✭ 21 (-70.83%)
Mutual labels:  canvas
img-clipping
基于Canvas的一个h5移动端图片裁剪demo
Stars: ✭ 81 (+12.5%)
Mutual labels:  canvas
lottery-rotate
适配移动端rem布局的canvas大转盘抽奖插件
Stars: ✭ 15 (-79.17%)
Mutual labels:  canvas
canvas-constructor
An ES6 utility for canvas with built-in functions and chained methods.
Stars: ✭ 96 (+33.33%)
Mutual labels:  canvas

Build Status author Node.js Version Size

前言

为了展示作品

作品

如何缓存用户密码账号 git config credential.helper store

项目目录

项目根目录
├─build                  // webpack配置文件存放目录
  └─project_config
├─config                 // 项目私密信息存放目录
├─dist                   // 打包文件存放目录
  ├─images              // 图片
  ├─mobile              // 移动端目录
    ├─css              // css文件
    └─js               // js文件
  └─pc                  // pc端目录
      ├─css             // css文件
      └─js              // js文件
├─public                 // 存放公共资源,例如上传图片缓存区
├─src                    // 源码存放目录
  ├─assets              // 静态文件
    ├─images           // 图片
  ├─mobile               // 移动端源码入口
    ├─component         // 公共组件
      ├─sell
      ├─set
      └─usercenter
    ├─pages             // 各自项目特有组件
      ├─page1
      └─page2
    ├─router            // 路由存放目录
    ├─store             // vuex存放目录
    └─index.js          // 入口文件
  └─pc                   // pc端源码入口
      ├─component
      ├─pages
      └─router
└─static

TODO

  • issue:淘宝字体大小适配不对

  •   // 建议改为
      @mixin fz(@font-size){ 
         font-size: @font-size; 
         [data-dpr="1"] & { font-size: @font-size / 2; } 
         [data-dpr="3"] & { font-size: @font-size * 1.5; } 
      }

    已改

  •   @include dpr-fz(10px);           // 用于引用自适应字体
      @include flex-center();      // 用于垂直水平居中
  • issue:图片适配

  •   // 建议改为
      @mixin dpr-bk-img($url,$name,$type:".jpg"){
      background-image: url($url+"2x/"+ $name+"@2x"+$type);
      [data-dpr="3"] &{
          background-image: url($url+"3x/"+ $name+"@3x"+$type);
      }   

    已改

  •   // 第三个参数png为默认,可不填,如果是jpg则要填写
      // 参数1:路径
      // 参数2:文件名
      @include dpr-img('../../../assets/images/lufa/','一周恋味', 'png');
    

使用技术栈

  • vue 框架
  • vuex 状态管理
  • vue-router 路由管理
  • mint-ui 移动端-vue-ui框架
  • scss css样式管理,不懂请看文档
  • postcss css兼容性及模块化
  • eslint 语法检查
  • graphql 接口管理
  • restful 接口管理

安装步骤

  • source tree 上面将项目拷贝下来
  • 安装nodejs 8.11
  • 安装编辑器vscode,为后续开发流程统一(可选步骤)
  • 安装yarn,替代npm(可选步骤)
  • 翻墙,由于某些npm包(node-sass)被墙了,会一直无法安装,而安装淘宝镜像,则会导致后期无法顺利npm publish(可选步骤)
  • vscode 内置git,参考配置
    {
        "window.zoomLevel": 1,
        "terminal.integrated.shell.windows": "C:\\Program Files\\Git\\bin\\bash.exe",  // 你的git文件地址
        "explorer.confirmDelete": false,
        "workbench.startupEditor": "newUntitledFile",
        "files.autoSave": "afterDelay",
        "editor.minimap.enabled": true,
        "editor.matchBrackets": true,
        "files.associations": {
            "*.jsp": "html",
            "*.wxml": "xml"
        },
        "workbench.iconTheme": "material-icon-theme",
        "workbench.colorTheme": "Atom One Dark",
        "window.restoreWindows": "all",
        "material-icon-theme.showUpdateMessage": false,
        "explorer.confirmDragAndDrop": false,
        "eslint.autoFixOnSave": true,
        "files.eol": "\n",
    }
  • vscode 安装 prettier和eslint 插件,然后esline --init
  • 命令行步骤(安装项目 - 跑起项目)
    yarn          // 安装所有package
    yarn w        // 运行webpack
    yarn nodemon  // 跑起来项目,具体查看package.json文件
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].