当前位置: 首页 > news >正文

网站推广排名平台教人如何做吃的网站

网站推广排名平台,教人如何做吃的网站,备案网站内容说明,本地app开发公司电话Vue2项目练手——通用后台管理项目 首页组件布局个人信息展示使用的组件App.vueHome.vue 列表信息展示使用的组件Home.vue 订单统计Home.vue 数据的请求axios的基本使用二次封装文件目录src/api/index.jssrc/utils/request.jsHome.vue 首页组件布局 个人信息展示 使用的组件 … Vue2项目练手——通用后台管理项目 首页组件布局个人信息展示使用的组件App.vueHome.vue 列表信息展示使用的组件Home.vue 订单统计Home.vue 数据的请求axios的基本使用二次封装文件目录src/api/index.jssrc/utils/request.jsHome.vue 首页组件布局 个人信息展示 使用的组件 Layout布局 Card卡片 App.vue templatediv idapprouter-view/router-view/div /templatescriptexport default {name: App, } /scriptstyle langless html,body,h3,p{padding: 0;margin: 0; } /style Home.vue templatedivel-rowel-col :span8el-card classbox-carddiv classuserimg src/assets/user.webp altdiv classuserinfop classnameAdmin/pp classaccess超级管理员/p/div/divdiv classlogin-infop上次登录的时间span2023-08-30/span/pp上次登录的地点span北京/span/p/div/el-card/el-colel-col :span16div classgrid-content bg-purple-light/div/el-col/el-row/div/templatescript export default {name: Home, } /scriptstyle scoped langless .user{display: flex;align-items: center;padding-bottom: 20px;margin-bottom: 20px;border-bottom: 1px solid #ccc;img{margin-right: 40px;width: 150px;height: 150px;border-radius: 50%;}.userinfo{.name{font-size: 32px;margin-bottom: 10px;}.access{color: #999;}} } .login-info{p{line-height: 28px;font-size: 14px;color: #999;span{color: #666;margin-left: 60px;}} } /style 列表信息展示 使用的组件 Home.vue templatedivel-rowel-col :span8el-card classbox-carddiv classuserimg src/assets/user.webp altdiv classuserinfop classnameAdmin/pp classaccess超级管理员/p/div/divdiv classlogin-infop上次登录的时间span2023-08-30/span/pp上次登录的地点span北京/span/p/div/el-cardel-card stylemargin-top: 20px;height: 460px;el-table:datatableDatastylewidth: 100%;el-table-column v-for(val,key) in tableLabel :propkey :labelval //el-table/el-card/el-colel-col :span16div classgrid-content bg-purple-light/div/el-col/el-row/div/templatescript export default {name: Home,data(){return{tableData:[{name: oppo,todayBuy: 100,monthBuy: 300,totalBuy: 800},{name: vivo,todayBuy: 100,monthBuy: 300,totalBuy: 800},{name: 苹果,todayBuy: 100,monthBuy: 300,totalBuy: 800},{name: 小米,todayBuy: 100,monthBuy: 300,totalBuy: 800},{name: 三星,todayBuy: 100,monthBuy: 300,totalBuy: 800},{name: 魅族,todayBuy: 100,monthBuy: 300,totalBuy: 800}],tableLabel:{name:课程,todayBuy:今日购买,monthBuy:本月购买,totalBuy:总共购买}}} } /scriptstyle scoped langless .user{display: flex;align-items: center;padding-bottom: 20px;margin-bottom: 20px;border-bottom: 1px solid #ccc;img{margin-right: 40px;width: 150px;height: 150px;border-radius: 50%;}.userinfo{.name{font-size: 32px;margin-bottom: 10px;}.access{color: #999;}} } .login-info{p{line-height: 28px;font-size: 14px;color: #999;span{color: #666;margin-left: 60px;}} } /style 订单统计 Home.vue el-col :span16div classnumel-card v-foritem in countData :keyitem.name :body-style{display:flex,padding:0}i classicon :classel-icon-${item.icon} :style{background:item.color}/idiv classdetailp classprice{{item.value}}/pp classdesc{{item.name}}/p/div/el-card/div/el-col.num{display: flex;flex-wrap: wrap;justify-content: space-between;.icon{width: 80px;height: 80px;color: #fff;line-height: 80px;text-align: center;font-size: 30px;}.detail{margin-left: 15px;display: flex;flex-direction: column;justify-content: center;.price{font-size: 30px;margin-bottom: 10px;line-height: 30px;}.desc{color: #999;font-size: 14px;text-align: center;}}.el-card{margin-bottom: 20px;width: 32%;} }全部代码 templatedivel-rowel-col :span8el-card classbox-carddiv classuserimg src/assets/user.webp altdiv classuserinfop classnameAdmin/pp classaccess超级管理员/p/div/divdiv classlogin-infop上次登录的时间span2023-08-30/span/pp上次登录的地点span北京/span/p/div/el-cardel-card stylemargin-top: 20px;height: 460px;el-table:datatableDatastylewidth: 100%;el-table-column v-for(val,key) in tableLabel :propkey :labelval //el-table/el-card/el-colel-col :span16div classnumel-card v-foritem in countData :keyitem.name :body-style{display:flex,padding:0}i classicon :classel-icon-${item.icon} :style{background:item.color}/idiv classdetailp classprice{{item.value}}/pp classdesc{{item.name}}/p/div/el-card/div/el-col/el-row/div/templatescript export default {name: Home,data(){return{tableData:[{name: oppo,todayBuy: 100,monthBuy: 300,totalBuy: 800},{name: vivo,todayBuy: 100,monthBuy: 300,totalBuy: 800},{name: 苹果,todayBuy: 100,monthBuy: 300,totalBuy: 800},{name: 小米,todayBuy: 100,monthBuy: 300,totalBuy: 800},{name: 三星,todayBuy: 100,monthBuy: 300,totalBuy: 800},{name: 魅族,todayBuy: 100,monthBuy: 300,totalBuy: 800}],tableLabel:{name:课程,todayBuy:今日购买,monthBuy:本月购买,totalBuy:总共购买},countData:[{name: 今日支付订单,value: 1234,icon: success,color: #2ec7c9,},{name: 今日收藏订单,value: 210,icon: star-on,color: #ffb980,},{name: 今日未支付订单,value: 1234,icon: s-goods,color: #5ab1ef,},{name: 本月支付订单,value: 1234,icon: success,color: #2ec7c9,},{name: 本月收藏订单,value: 210,icon: star-on,color: #ffb980,},{name: 本月未支付订单,value: 1234,icon: s-goods,color: #5ab1ef,},],}} } /scriptstyle scoped langless .user{display: flex;align-items: center;padding-bottom: 20px;margin-bottom: 20px;border-bottom: 1px solid #ccc;img{margin-right: 40px;width: 150px;height: 150px;border-radius: 50%;}.userinfo{.name{font-size: 32px;margin-bottom: 10px;}.access{color: #999;}} } .login-info{p{line-height: 28px;font-size: 14px;color: #999;span{color: #666;margin-left: 60px;}} } .num{display: flex;flex-wrap: wrap;justify-content: space-between;.icon{width: 80px;height: 80px;color: #fff;line-height: 80px;text-align: center;font-size: 30px;}.detail{margin-left: 15px;display: flex;flex-direction: column;justify-content: center;.price{font-size: 30px;margin-bottom: 10px;line-height: 30px;}.desc{color: #999;font-size: 14px;text-align: center;}}.el-card{margin-bottom: 20px;width: 32%;} } /style 数据的请求 axios的基本使用 axios中文文档 二次封装 下载axios npm i axios 文件目录 src/api/index.js import http from /utils/request;//请求首页数据 export const getData(){//返回一个promise对象return http.get(/home/getData) } src/utils/request.js import axios from axios;const httpaxios.create({//通用请求的地址前缀baseURL:/api,timeout: 10000 //超时时间 })// 添加请求拦截器 http.interceptors.request.use(function (config) {// 在发送请求之前做些什么return config; }, function (error) {// 对请求错误做些什么return Promise.reject(error); });// 添加响应拦截器 http.interceptors.response.use(function (response) {// 对响应数据做点什么return response; }, function (error) {// 对响应错误做点什么return Promise.reject(error); });export default http Home.vue templatedivel-rowel-col :span8el-card classbox-carddiv classuserimg src/assets/user.webp altdiv classuserinfop classnameAdmin/pp classaccess超级管理员/p/div/divdiv classlogin-infop上次登录的时间span2023-08-30/span/pp上次登录的地点span北京/span/p/div/el-cardel-card stylemargin-top: 20px;height: 460px;el-table:datatableDatastylewidth: 100%;el-table-column v-for(val,key) in tableLabel :propkey :labelval //el-table/el-card/el-colel-col :span16div classnumel-card v-foritem in countData :keyitem.name :body-style{display:flex,padding:0}i classicon :classel-icon-${item.icon} :style{background:item.color}/idiv classdetailp classprice{{item.value}}/pp classdesc{{item.name}}/p/div/el-card/div/el-col/el-row/div/templatescript import {getData} from /api; export default {name: Home,data(){return{tableData:[{name: oppo,todayBuy: 100,monthBuy: 300,totalBuy: 800},{name: vivo,todayBuy: 100,monthBuy: 300,totalBuy: 800},{name: 苹果,todayBuy: 100,monthBuy: 300,totalBuy: 800},{name: 小米,todayBuy: 100,monthBuy: 300,totalBuy: 800},{name: 三星,todayBuy: 100,monthBuy: 300,totalBuy: 800},{name: 魅族,todayBuy: 100,monthBuy: 300,totalBuy: 800}],tableLabel:{name:课程,todayBuy:今日购买,monthBuy:本月购买,totalBuy:总共购买},countData:[{name: 今日支付订单,value: 1234,icon: success,color: #2ec7c9,},{name: 今日收藏订单,value: 210,icon: star-on,color: #ffb980,},{name: 今日未支付订单,value: 1234,icon: s-goods,color: #5ab1ef,},{name: 本月支付订单,value: 1234,icon: success,color: #2ec7c9,},{name: 本月收藏订单,value: 210,icon: star-on,color: #ffb980,},{name: 本月未支付订单,value: 1234,icon: s-goods,color: #5ab1ef,},],}},mounted(){getData().then((data){console.log(data)})} } /scriptstyle scoped langless .user{display: flex;align-items: center;padding-bottom: 20px;margin-bottom: 20px;border-bottom: 1px solid #ccc;img{margin-right: 40px;width: 150px;height: 150px;border-radius: 50%;}.userinfo{.name{font-size: 32px;margin-bottom: 10px;}.access{color: #999;}} } .login-info{p{line-height: 28px;font-size: 14px;color: #999;span{color: #666;margin-left: 60px;}} } .num{display: flex;flex-wrap: wrap;justify-content: space-between;.icon{width: 80px;height: 80px;color: #fff;line-height: 80px;text-align: center;font-size: 30px;}.detail{margin-left: 15px;display: flex;flex-direction: column;justify-content: center;.price{font-size: 30px;margin-bottom: 10px;line-height: 30px;}.desc{color: #999;font-size: 14px;text-align: center;}}.el-card{margin-bottom: 20px;width: 32%;} } /style
http://www.pierceye.com/news/668039/

相关文章:

  • 动物网站建设wordpress无法跳转正确页面
  • 上海市建设工程 安全协会网站wordpress会员微信支付宝
  • pc网站转换手机网站代码桂林工作网招聘
  • 营销型网站建设的要素怎么建网站赚钱
  • 成都网站建设学习郑州制作网站推荐
  • 网站建设 镇江丹阳php网站开发实例教程代码
  • 佛山外贸网站建设方案专业网站建设系统
  • 做一个网站团队需要哪些人员花钱也可以哪些网站可以做推广广告
  • 各省施工备案网站做动漫网站的素材
  • 新余网站设计网站模板做网站
  • 防止服务器上的网站被进攻app推广兼职
  • 保定电商网站建设国内最好的crm软件
  • 企业网站建设哪家公司好莱芜金点子信息港房产网
  • 个人可以建设网站吗海淀网站建设本溪
  • 宜昌网站建设兼职怎样做自媒体拍视频赚钱
  • 我的世界做视频封面的网站免费的app源码网
  • 网站搭建wordpress参考消息电子版在线阅读
  • 成立一个网站平台要多少钱科技有限公司一般是做什么的
  • 邵阳 网站开发 招聘桂林阳朔楼盘最新价格
  • 如何建设网站导航内链接wordpress 特别慢
  • 蚌埠网站建设文章网站软件定制开发公司
  • 软件通网站建设百度收录网站电话
  • 取消网站备案制度正规的电商平台有哪些
  • 茶叶网站源码php6731官方网站下载
  • 网站建设mfdos 优帮云制作简历哪个网站好
  • 淮南市城乡建设局网站网站seo收费
  • 陕西手机网站制作描述网站开发的广告词
  • 一个网址建多个网站手机网站数据加载
  • 网站视觉分析上海做saas平台网站的公司
  • 沈阳网站设计网站一键制作