- 博客(7)
- 收藏
- 关注
原创 【Vue&ElementUI】登录页面
1.main.js引入elementuiimport ElementUI from 'element-ui'import 'element-ui/lib/theme-chalk/index.css'Vue.use(ElementUI);2.实际效果3.代码<template> <div class="login-box"> <div class="welcome">欢迎登录</div> &
2022-04-01 23:03:44 283
原创 【Vue&ElementUI学习】创建项目
检查脚手架安装vue -V@vue/cli 5.0.4创建项目vue create vue-manage安装elementuinpm i element-ui -S
2022-04-01 00:14:20 792
原创 【Vue&ElementUI学习】根据不同tab项,显示不同页
3个vue页面main.vue, sim.vue, qube.vuemain.vue可点击不同tab项,右侧显示不同页按学习使用route实现1. index.js引入vue文件,并配置路由import Vue from 'vue'import Router from 'vue-router'import Login from '../pages/Login'import Main from '../pages/Main'import Sim from '../pages/
2022-03-30 23:53:53 1215
原创 【Vue&ElementUI学习】axios获取后端数据并展示到页面
效果图:1. main.jsimport axios from 'axios'Vue.prototype.axios = axios2.sim.vue<script> export default { name: 'Sim', beforeRouteEnter: (to, from, next) => { console.log('进入SIM页面') next(vm => { vm.getData.
2022-03-30 23:09:57 1957
原创 【Vue&ElementUI学习】表格序号
<el-table-column fixed label="序号" width="50"> <!--序号--> <template slot-scope="scope"> {{scope.$index+1}} </template></el-table-column>
2022-03-30 23:00:58 255
原创 SQL26 计算25岁以上和以下的用户数量
题目:现在运营想要将用户划分为25岁以下和25岁及以上两个年龄段,分别查看这两个年龄段用户数量本题注意:age为null 也记为 25岁以下示例:user_profile根据示例,你的查询应返回以下结果:此题考查条件查询一:select age_cut,count(device_id)as numberfrom(Select if(age>=25,'25岁及以上','25岁以下' )as age_cut,device_idFrom user_pro..
2022-02-19 00:48:55 130
原创 SQL25 查找山东大学或者性别为男生的信息
题目:现在运营想要分别查看学校为山东大学或者性别为男性的用户的device_id、gender、age和gpa数据,请取出相应结果,结果不去重。示例:user_profile根据示例,你的查询应返回以下结果(注意输出的顺序,先输出学校为山东大学再输出性别为男生的信息):此题考查组合查询+不去重SELECTdevice_id,gender,age,gpaFROMuser_profileWHEREuniversity="山东大学"UNIONALL...
2022-02-19 00:29:44 483
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人