Convert Figma logo to code with AI

newbee-ltd logonewbee-mall-vue3-app

🔥 🎉Vue3 全家桶 + Vant 搭建大型单页面商城项目,新蜂商城 Vue3.2 版本,技术栈为 Vue3.2 + Vue-Router4.x + Pinia + Vant4.x。

6,272
1,537
6,272
9

Top Related Projects

19,639

又一个小商城。litemall = Spring Boot后端 + Vue管理员前端 + 微信小程序用户前端 + Vue用户移动端

🔥 🎉newbee-mall是一套电商系统,包括基础版本(Spring Boot+Thymeleaf)、前后端分离版本(Spring Boot+Vue 3+Element-Plus+Vue-Router 4+Pinia+Vant 4) 、秒杀版本、Go语言版本、微服务版本(Spring Cloud Alibaba+Nacos+Sentinel+Seata+Spring Cloud Gateway+OpenFeign+ELK)。 前台商城系统包含首页门户、商品分类、新品上线、首页轮播、商品推荐、商品搜索、商品展示、购物车、订单结算、订单流程、个人订单管理、会员中心、帮助中心等模块。 后台管理系统包含数据面板、轮播图管理、商品管理、订单管理、会员管理、分类管理、设置等模块。

16,723

基于Spring+SpringMVC+Mybatis分布式敏捷开发系统架构,提供整套公共微服务服务模块:集中权限管理(单点登录)、内容管理、支付中心、用户管理(支持第三方登录)、微信平台、存储系统、配置中心、日志分析、任务和通知等,支持服务治理、监控和追踪,努力为中小型企业打造全方位J2EE企业级开发解决方案。

mall-admin-web是一个电商后台管理系统的前端项目,基于Vue+Element实现。 主要包括商品管理、订单管理、会员管理、促销管理、运营管理、内容管理、统计报表、财务管理、权限管理、设置等功能。

7,205

基于SOA架构的分布式电商购物商城 前后端分离 前台商城:Vue全家桶 后台管理系统:Dubbo/SSM/Elasticsearch/Redis/MySQL/ActiveMQ/Shiro/Zookeeper等

Quick Overview

NewBee Mall Vue3 App is a modern e-commerce mobile application built using Vue 3 and Vant UI components. It serves as the front-end for the NewBee Mall project, providing a responsive and user-friendly interface for online shopping experiences.

Pros

  • Built with Vue 3, leveraging the latest features and performance improvements
  • Utilizes Vant UI components for a consistent and mobile-friendly design
  • Implements Vue Router for efficient navigation and state management
  • Includes comprehensive e-commerce features such as product browsing, cart management, and order processing

Cons

  • Limited documentation, which may make it challenging for new developers to understand and contribute to the project
  • Dependency on specific backend APIs, potentially limiting flexibility for integration with other systems
  • Lack of internationalization support, restricting its use to primarily Chinese-speaking markets
  • Some components and pages could benefit from additional optimization for performance

Code Examples

  1. Using Vant components for product display:
<template>
  <div class="product-card">
    <van-card
      :price="product.price"
      :title="product.name"
      :thumb="product.image"
    >
      <template #footer>
        <van-button size="mini" @click="addToCart">Add to Cart</van-button>
      </template>
    </van-card>
  </div>
</template>
  1. Implementing Vue Router navigation:
import { createRouter, createWebHistory } from 'vue-router'

const router = createRouter({
  history: createWebHistory(),
  routes: [
    { path: '/', component: Home },
    { path: '/product/:id', component: ProductDetail },
    { path: '/cart', component: Cart }
  ]
})
  1. Making API calls using Axios:
import axios from 'axios'

export const getProducts = async () => {
  try {
    const response = await axios.get('/api/products')
    return response.data
  } catch (error) {
    console.error('Error fetching products:', error)
    return []
  }
}

Getting Started

To set up and run the NewBee Mall Vue3 App:

  1. Clone the repository:

    git clone https://github.com/newbee-ltd/newbee-mall-vue3-app.git
    
  2. Install dependencies:

    cd newbee-mall-vue3-app
    npm install
    
  3. Start the development server:

    npm run serve
    
  4. Open your browser and navigate to http://localhost:8080 to view the application.

Competitor Comparisons

19,639

又一个小商城。litemall = Spring Boot后端 + Vue管理员前端 + 微信小程序用户前端 + Vue用户移动端

Pros of litemall

  • More comprehensive e-commerce solution with both frontend and backend components
  • Supports multiple platforms including Vue, React Native, and WeChat Mini Program
  • Includes advanced features like data statistics and automated testing

Cons of litemall

  • Less focused on modern Vue 3 development compared to newbee-mall-vue3-app
  • May have a steeper learning curve due to its broader scope and multiple technologies

Code Comparison

litemall (Java backend):

@RestController
@RequestMapping("/wx/goods")
public class WxGoodsController {
    @GetMapping("/list")
    public Object list(@RequestParam(defaultValue = "1") Integer page,
                       @RequestParam(defaultValue = "10") Integer limit) {
        // ... implementation
    }
}

newbee-mall-vue3-app (Vue 3 frontend):

<script setup>
import { ref, onMounted } from 'vue'
import { getGoodsList } from '@/api/goods'

const goodsList = ref([])
onMounted(async () => {
  goodsList.value = await getGoodsList()
})
</script>

The code snippets highlight the different focus areas of the two projects. litemall showcases a Java backend controller for handling goods listing, while newbee-mall-vue3-app demonstrates a Vue 3 composition API approach for fetching and displaying goods on the frontend.

🔥 🎉newbee-mall是一套电商系统,包括基础版本(Spring Boot+Thymeleaf)、前后端分离版本(Spring Boot+Vue 3+Element-Plus+Vue-Router 4+Pinia+Vant 4) 、秒杀版本、Go语言版本、微服务版本(Spring Cloud Alibaba+Nacos+Sentinel+Seata+Spring Cloud Gateway+OpenFeign+ELK)。 前台商城系统包含首页门户、商品分类、新品上线、首页轮播、商品推荐、商品搜索、商品展示、购物车、订单结算、订单流程、个人订单管理、会员中心、帮助中心等模块。 后台管理系统包含数据面板、轮播图管理、商品管理、订单管理、会员管理、分类管理、设置等模块。

Pros of newbee-mall

  • More comprehensive backend implementation with Java Spring Boot
  • Larger community and more stars on GitHub
  • Includes both admin and user interfaces

Cons of newbee-mall

  • Older technology stack, potentially less modern development experience
  • More complex setup due to separate frontend and backend components
  • Steeper learning curve for developers new to Java ecosystem

Code Comparison

newbee-mall (Java):

@RestController
@Api(value = "v1", tags = "后台管理系统商品分类模块接口")
@RequestMapping("/manage-api/v1")
public class NewBeeMallGoodsCategoryController {
    @Resource
    private NewBeeMallCategoryService newBeeMallCategoryService;
    // ...
}

newbee-mall-vue3-app (Vue 3):

<script setup>
import { ref, onMounted } from 'vue'
import { getHome } from '@/service/home'
import { showLoadingToast, showToast } from 'vant'
import 'vant/es/toast/style'

const carouselList = ref([])
const newGoodses = ref([])
// ...
</script>

The newbee-mall repository uses Java Spring Boot for the backend, providing a robust and scalable solution. In contrast, newbee-mall-vue3-app focuses on the frontend using Vue 3, offering a more modern and reactive user interface. The Vue 3 version likely provides a smoother development experience for frontend developers, while the Java version offers more comprehensive backend functionality.

16,723

基于Spring+SpringMVC+Mybatis分布式敏捷开发系统架构,提供整套公共微服务服务模块:集中权限管理(单点登录)、内容管理、支付中心、用户管理(支持第三方登录)、微信平台、存储系统、配置中心、日志分析、任务和通知等,支持服务治理、监控和追踪,努力为中小型企业打造全方位J2EE企业级开发解决方案。

Pros of zheng

  • More comprehensive and feature-rich, offering a complete enterprise development platform
  • Supports microservices architecture, enhancing scalability and modularity
  • Includes a wider range of technologies and frameworks, providing more flexibility

Cons of zheng

  • Higher complexity and steeper learning curve due to its extensive feature set
  • Less focused on a specific application type, potentially requiring more customization
  • May be overkill for smaller projects or specific e-commerce applications

Code Comparison

zheng (Java):

@Service
@Transactional
public class UserServiceImpl implements UserService {
    @Autowired
    private UserMapper userMapper;
    
    @Override
    public UserDto getUserById(Long id) {
        return userMapper.selectByPrimaryKey(id);
    }
}

newbee-mall-vue3-app (Vue 3):

<script setup>
import { ref, onMounted } from 'vue'
import { getDetail } from '@/service/good'

const goodsId = ref(0)
const detail = ref({})

onMounted(() => {
  getDetail(goodsId.value).then(res => {
    detail.value = res
  })
})
</script>

The code snippets highlight the different focus areas of the two projects. zheng demonstrates a backend service implementation, while newbee-mall-vue3-app showcases a frontend component for fetching and displaying product details.

mall-admin-web是一个电商后台管理系统的前端项目,基于Vue+Element实现。 主要包括商品管理、订单管理、会员管理、促销管理、运营管理、内容管理、统计报表、财务管理、权限管理、设置等功能。

Pros of mall-admin-web

  • More comprehensive e-commerce management features, including order management, product management, and marketing tools
  • Extensive documentation and detailed setup instructions
  • Larger community with more stars and forks, potentially indicating better support and maintenance

Cons of mall-admin-web

  • Uses older Vue 2 framework, while newbee-mall-vue3-app utilizes the more modern Vue 3
  • More complex setup process due to its comprehensive nature
  • Steeper learning curve for beginners due to its extensive feature set

Code Comparison

mall-admin-web (Vue 2):

import Vue from 'vue'
import Router from 'vue-router'
import Login from '@/views/login/index'

Vue.use(Router)

export const constantRouterMap = [
  {path: '/login', component: Login, hidden: true}
]

newbee-mall-vue3-app (Vue 3):

import { createRouter, createWebHashHistory } from 'vue-router'
import Home from '@/views/Home.vue'

const router = createRouter({
  history: createWebHashHistory(),
  routes: [
    { path: '/', name: 'home', component: Home },
  ]
})

The code comparison highlights the difference in routing setup between Vue 2 and Vue 3, with mall-admin-web using the older Vue Router syntax and newbee-mall-vue3-app utilizing the newer composition API style routing.

7,205

基于SOA架构的分布式电商购物商城 前后端分离 前台商城:Vue全家桶 后台管理系统:Dubbo/SSM/Elasticsearch/Redis/MySQL/ActiveMQ/Shiro/Zookeeper等

Pros of xmall

  • More comprehensive e-commerce solution with both front-end and back-end components
  • Larger community with more stars and forks on GitHub
  • Includes additional features like a content management system (CMS)

Cons of xmall

  • Older technology stack (Vue 2) compared to newbee-mall-vue3-app's Vue 3
  • Less frequent updates and potentially outdated dependencies
  • More complex setup due to its full-stack nature

Code Comparison

xmall (Vue 2 component):

<template>
  <div class="product-item">
    <img :src="product.image" :alt="product.name">
    <h3>{{ product.name }}</h3>
    <p>{{ product.price }}</p>
  </div>
</template>

newbee-mall-vue3-app (Vue 3 component):

<template>
  <div class="product-card">
    <img :src="product.coverImg" :alt="product.name">
    <h4>{{ product.name }}</h4>
    <p>{{ product.sellingPrice }}</p>
  </div>
</template>

The code comparison shows similar structure but different naming conventions and Vue versions. newbee-mall-vue3-app uses more modern Vue 3 syntax and potentially better performance optimizations.

Overall, xmall offers a more complete e-commerce solution but with an older tech stack, while newbee-mall-vue3-app focuses on a modern, Vue 3-based front-end implementation. The choice between them depends on specific project requirements and preferences for technology stack.

Convert Figma logo designs to code with AI

Visual Copilot

Introducing Visual Copilot: A new AI model to turn Figma designs to high quality code using your components.

Try Visual Copilot

README

Build Status Version 3.0.0 License

newbee-mall 项目是一套电商系统,包括 newbee-mall 商城系统及 newbee-mall-admin 商城后台管理系统,基于 Spring Boot 和 Vue 以及相关技术栈开发。 前台商城系统包含首页门户、商品分类、新品上线、首页轮播、商品推荐、商品搜索、商品展示、购物车、订单结算、订单流程、个人订单管理、会员中心、帮助中心等模块。 后台管理系统包含数据面板、轮播图管理、商品管理、订单管理、会员管理、分类管理、设置等模块。

本仓库中的源码为新蜂商城前后端分离版本的 Vue 项目(Vue 版本为 3.x),主要面向前端开发人员,后端 API 源码在另外一个仓库 newbee-mall-api。

新蜂商城 Vue3 版本线上预览地址:http://vue3-app.newbee.ltd,账号可自行注册,建议使用手机模式打开。

newbee-mall (新蜂商城)系列项目概览

newbee-mall-course-2023

项目名称仓库地址备注
newbee-mallnewbee-mall in GitHub
newbee-mall in Gitee
初始版本、Spring Boot、Thymeleaf、MyBatis、MySQL
newbee-mall-plusnewbee-mall-plus in GitHub
newbee-mall-plus in Gitee
升级版本、优惠券、秒杀、支付、Spring Boot、Thymeleaf、MyBatis、MySQL、Redis
newbee-mall-cloudnewbee-mall-cloud in GitHub
newbee-mall-cloud in Gitee
微服务版本、分布式事务、Spring Cloud Alibaba、Nacos、Sentinel、OpenFeign、Seata
newbee-mall-apinewbee-mall-api in GitHub
newbee-mall-api in Gitee
前后端分离、Spring Boot、MyBatis、Swagger、MySQL
newbee-mall-api-gonewbee-mall-api-go in GitHub
newbee-mall-api-go in Gitee
前后端分离、Go、Gin、MySQL
newbee-mall-vue-appnewbee-mall-vue-app in GitHub
newbee-mall-vue-app in Gitee
前后端分离、Vue2、Vant
newbee-mall-vue3-appnewbee-mall-vue3-app in GitHub
newbee-mall-vue3-app in Gitee
前后端分离、Vue3、Vue-Router4、Pinia、Vant4
vue3-adminvue3-admin in GitHub
vue3-admin in Gitee
前后端分离、Vue3、Element-Plus、Vue-Router4、Vite

坚持不易,如果觉得项目还不错的话可以给项目一个 Star 吧,也是对我一直更新代码的一种鼓励啦,谢谢各位的支持。

开发及部署文档

联系作者

大家有任何问题或者建议都可以在 issues 中反馈给我,我会慢慢完善这个项目。

  • 我的邮箱:2449207463@qq.com
  • QQ技术交流群:932227898 552142710

关注公众号:程序员十三,回复"勾搭"进群交流。

wx-gzh

软件著作权

本系统已申请软件著作权,受国家版权局知识产权以及国家计算机软件著作权保护!

页面展示

以下为新蜂商城 Vue3 版本的页面预览:

  • 登录页

  • 首页

  • 商品搜索

  • 商品详情页

  • 购物车

  • 生成订单

  • 地址管理

  • 订单列表

  • 订单详情

感谢