New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

vue-lol

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vue-lol

League of Legends Data project

latest
Source
npmnpm
Version
1.0.1
Version published
Maintainers
1
Created
Source

Vue2.0版英雄联盟助手

vuejs League of Legends project

项目源码 在线地址 (该地址目标暂时有问题,请直接下载项目运行)

Version: 2.0 更新内容:

重写了vuex部分 添加了周免英雄

1. 技术栈

vue-cli + muse-ui 构建,使用 axios 进行数据的请求,使用 vuex 进行状态管理,图片懒加载: vue-lazyload,轮播组件:vue-awesome-swiper,上拉加载: vue-infinite-scroll

2.Build Setup

# install dependencies
npm install

# serve with hot reload at localhost:8888
npm run dev

# build for production with minification
npm run build

# build for production and view the bundle analyzer report
npm run build --report

3. 已经完成的模块

  • Landing page
  • 英雄列表页
  • 英雄详情页
  • 召唤师搜索页面
  • 召唤师详情页(内含战绩列表)
  • 召唤师详情页战绩列表的下拉刷新(还不流畅)
  • 单场比赛对局信息
  • 关于页面
  • 新建新闻页,作为首页
  • 视频页加载iframe卡 (用正则匹配出视频地址)
  • UI优化 (替换成muse-ui)
  • 英雄详情布局
  • 点击返回按钮时tab的正确显示

4. 效果图

5. 待完成与优化

  • 单场比赛信息的完善
  • 完善API文档
  • 召唤师搜索页内容的丰富
  • footerfixed,输入法问题
  • 丰富视频页内容
  • 视频页播放时候是否考虑直接在当前页面弹出层播放,方便关闭
  • 周免
  • 段位图标
  • 英雄的搜索
  • 一些图片请求的bug

6. 结语

在github上看了那么多的vue项目,自己的看过其中的部分,当然肯定也仿过,可是一直没坚持下去。本项目是自己第一个完整的开源小项目,然后会有很多的不足,也是自己第一次使用vuex,希望大家可以多提意见,我也会一直更新这个项目,喜欢的朋友可以star一下。最后感谢带玩游戏平台提供的API!

FAQs

Package last updated on 16 May 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts