Coder Social home page Coder Social logo

card-manager's Introduction

ME Card Manager

ME card manager

介绍

这是一个用来辅助计算 ME 卡牌收益的 Web app,添加或导入卡牌激活记录程序会自动计算出每天的收益产出、未产出等数据。

使用方法

点击卡牌激活记录模块的 新增 按钮,然后设置对应的日期、卡牌数量即可看到其他模块的数据实时更新。同时,也可以使用批量导入功能,导入如下格式的 json 文件:

{
"arData": [//卡牌激活记录
  {
    "date": "2021-12-04",//激活时间
    "cards": [//卡牌类型与数量
      {"type": '白羊+射手', "amount": 10},
      {"type": '双子+水平', "amount": 0},
      {"type": '巨蟹+双鱼', "amount": 0},
      {"type": '金牛+摩羯', "amount": 0},
      {"type": '天秤+天蝎', "amount": 0},
      {"type": '狮子+天蝎', "amount": 0},
      {"type": '处女+天秤', "amount": 0},
      {"type": '白羊', "amount": 0},
      {"type": '金牛', "amount": 0},
      {"type": '双子', "amount": 0},
      {"type": '巨蟹', "amount": 0},
      {"type": '狮子', "amount": 0},
      {"type": '处女', "amount": 0},
      {"type": '天秤', "amount": 0},
      {"type": '天蝎', "amount": 0},
      {"type": '射手', "amount": 0},
      {"type": '摩羯', "amount": 0},
      {"type": '水平', "amount": 0},
      {"type": '双鱼', "amount": 0},
    ]
  },
  ......
],
}

运行项目

Development

终端输入:

  • npm install
  • npm run serve

Build

  1. 创建 Vue.config.js 文件:
module.exports = {
    publicPath: './',
}
  1. 终端输入:
  • npm install
  • npm run build
  1. 打开 dist 文件夹中的 index.html

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.