Go to file
dzq 9ff0984fe1 feat(机柜管理): 添加商品绑定功能及API接口
- 新增商品绑定弹窗组件BindGoods,支持选择商品、设置库存和解绑
- 添加机柜商品管理相关API接口:configureGoodsCellsStock、changeGoodsCellsStock、clearGoodsCells
- 扩展商品类型定义,新增ShopGoodsEntity和SearchGoodsDO接口
- 修改机柜页面布局,添加绑定商品按钮和弹窗
- 修复路由守卫中注释掉的isAdmin判断逻辑
2025-06-14 08:09:36 +08:00
.github 初始化 2025-03-05 09:22:29 +08:00
.husky 微信支付 2025-03-17 08:30:57 +08:00
.vscode 配置智能柜锁 2025-03-21 17:00:06 +08:00
public refactor: 更新项目图标和配置并优化界面布局 2025-06-04 09:51:01 +08:00
src feat(机柜管理): 添加商品绑定功能及API接口 2025-06-14 08:09:36 +08:00
tests 初始化 2025-03-05 09:22:29 +08:00
types feat(机柜管理): 添加商品绑定功能及API接口 2025-06-14 08:09:36 +08:00
.editorconfig 初始化 2025-03-05 09:22:29 +08:00
.env refactor: 更新项目图标和配置并优化界面布局 2025-06-04 09:51:01 +08:00
.env.development feat(approval): 优化退货审批流程并添加文件上传功能 2025-04-08 09:22:21 +08:00
.env.production feat(approval): 优化退货审批流程并添加文件上传功能 2025-04-08 09:22:21 +08:00
.env.staging feat(approval): 优化退货审批流程并添加文件上传功能 2025-04-08 09:22:21 +08:00
.gitignore .git 2025-03-05 10:19:50 +08:00
.npmrc 初始化 2025-03-05 09:22:29 +08:00
LICENSE 初始化 2025-03-05 09:22:29 +08:00
README.md refactor: 更新项目图标和配置并优化界面布局 2025-06-04 09:51:01 +08:00
README.zh-CN.md refactor: 更新项目图标和配置并优化界面布局 2025-06-04 09:51:01 +08:00
eslint.config.js 初始化 2025-03-05 09:22:29 +08:00
index.html refactor: 更新项目图标和配置并优化界面布局 2025-06-04 09:51:01 +08:00
package.json feat(图片上传): 添加图片压缩功能以减少上传文件大小 2025-04-19 11:12:02 +08:00
pnpm-lock.yaml feat(图片上传): 添加图片压缩功能以减少上传文件大小 2025-04-19 11:12:02 +08:00
postcss.config.ts 初始化 2025-03-05 09:22:29 +08:00
project.config.json 初始化 2025-03-05 09:22:29 +08:00
project.private.config.json 初始化 2025-03-05 09:22:29 +08:00
tsconfig.json 初始化 2025-03-05 09:22:29 +08:00
uno.config.ts 初始化 2025-03-05 09:22:29 +08:00
vite.config.ts 微信支付 2025-03-17 08:30:57 +08:00

README.md

logo

Mobile + Vue = MobVue

github release github stars gitee stars

English | 中文

Introduction

MobVue is a well-crafted mobile web app template, built with popular technologies such as Vue3, Vite, TypeScript, and Vant

Notifications

[!NOTE] Powered by love! All source code is free and open-source. If you find it helpful, feel free to give a star to support!

[!TIP] Paid services are officially launched! If you dont want to do it yourself but want to remove TS or other modules, try the lazy package! Click to check it out

Usage

Recommended Environment
  • Latest version of Visual Studio Code
  • Install the recommended plugins in the .vscode/extensions.json file
  • node 20.x or 22+
  • pnpm 9.x or 10+
Local Development
# Install dependencies
pnpm i

# Start the development server
pnpm dev
Build
# Build for the staging environment
pnpm build:staging

# Build for the production environment
pnpm build
Local Preview
# Execute the build command first to generate the dist directory, then run the preview command
pnpm preview
Code Check
# Code linting and formatting
pnpm lint

# Unit tests
pnpm test
Commit Guidelines

feat New feature

fix Bug fix

perf Performance improvement

refactor Code refactoring

docs Documentation and comments

types Type-related changes

test Unit tests related

ci Continuous integration, workflows

revert Revert changes

chore Chores (update dependencies, modify configurations, etc)

Online Previewgithub-pages

Documentation and Tutorialslink

Chinese Repositorygitee

Chat Groupcheck how to join

Donationsbuy a coffee for the author

Releases & Changelogreleases

Features

🔥 Latest Syntax, Configuration, Dependencies

📍 Pure Level 1 Route Design - Clear and Cache-Friendly

📱 Mobile Adaptation px2vw - Also Wide-Screen Friendly

🌐 Browser Compatibility @vitejs/plugin-legacy + autoprefixer + browserslist - Compatible with multiple browsers and lower versions

🧩 Layout System - Configurable

🔒 Permission Control Page Level, Button Level

🌗 Theme Mode Dark Mode

🫧 Embrace Atomic CSS

🔧 Components and API Auto Import on Demand

🔎 Husky + lint-staged + ESLint - Code Standardization

💪🏻 Still TypeScript - Strict Mode with No any

👀 More Features - Route Cache, Defensive Watermark, Grayscale and Colorblind Mode, SVG Loader, VConsole, White Screen Loading Animation, Unit Tests

Tech Stack

Vue3: Vue3 + script setup with the latest Vue3 Composition API

VantA lightweight, customizable Vue UI library for mobile web apps

Pinia: The legendary Vuex5

Vite: Really fast

Vue RouterThe routing system

TypeScriptA superset of JavaScript

pnpmA faster, disk-space-saving package manager

ESlintCode linting and formatting

AxiosSends network requests

UnoCSSA high-performance, flexible atomic CSS engine

Project Preview Image

preview

License

MIT License © 2025-PRESENT pany