【易购管理系统】项目搭建

初始化

将mysql文件通过xampp中的admin
在这里插入图片描述
点进去
在这里插入图片描述
出现了这个界面,再把我们的sql文件导入进去,这里面我们命名为vue-ego文件
这里面默认了一些与商品相关的数据

后台管理系统

某个后台管理系统,包含商品管理,用户管理,订单信息等等

技术点:
Vue+Vue-router +Vuex+Element-UI+Axios+其他三方库

项目准备

  1. mysql
  2. iconfont

项目搭建

  1. vue create vue-ego
  2. vue-router vuex
  3. axios
  4. vue add element–(按需加载)[在element组件库中将完整组件列表和引入方式引入到项目中的plugins中的element.js]

项目初始化:
1.删除无用的组件home . vue about.vue hello… .
2. css初始化
3. incofont 图标导入
4.删除掉无用的组件

初始化一下css样式

*{
    margin: 0;
    padding: 0;
}
ul{
    list-style: none;
}
a{
    text-decoration: none;
}
img{
    vertical-align: middle;
}
body{
    font-family: '微软雅黑', 'Arial Narrow', Arial, sans-serif;
    font-size: 14px;
    background: #f5f5f5;
}

导入图标文件

@font-face {
    font-family: "iconfont";
    /* Project id 2448847 */
    src: url('//at.alicdn.com/t/font_2448847_4xsojqvt7qt.woff2?t=1629440615015') format('woff2'), url('//at.alicdn.com/t/font_2448847_4xsojqvt7qt.woff?t=1629440615015') format('woff'), url('//at.alicdn.com/t/font_2448847_4xsojqvt7qt.ttf?t=1629440615015') format('truetype');
}

.iconfont {
    font-family: "iconfont" !important;
    font-size: 16px;
    font-style: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.icon-hetongguanli:before {
    content: "\e610";
}

.icon-youxiang:before {
    content: "\e630";
}

.icon-icon_quit:before {
    content: "\e6a7";
}

.icon-icon-service:before {
    content: "\e669";
}

.icon-icon_nav:before {
    content: "\e616";
}

.icon-product:before {
    content: "\e699";
}

.icon-add-circle:before {
    content: "\e664";
}

.icon-tuichu:before {
    content: "\e63d";
}

.icon-shanchu2:before {
    content: "\e614";
}

.icon-add:before {
    content: "\e734";
}

.icon-xiugai:before {
    content: "\e63c";
}

.icon-shanchu1:before {
    content: "\e66e";
}

.icon-user_1:before {
    content: "\e659";
}

.icon-right-indent:before {
    content: "\e805";
}

.icon-left-indent:before {
    content: "\e7b7";
}

最后将css的初始化和iconfont图标都导入到main.js中去
在这里插入图片描述

  • 0
    点赞
  • 3
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 6
    评论
评论 6
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

纵有千堆雪与长街

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值