• 免费分享一套SpringBoot+Vue家政服务管理平台管理系统,帅呆了~~


    大家好,我是java1234_小锋老师,看到一个不错的SpringBoot+Vue家政服务管理平台管理系统,分享下哈。

    项目视频演示

    【免费】SpringBoot+Vue家政服务管理平台系统 Java毕业设计_哔哩哔哩_bilibili【免费】SpringBoot+Vue家政服务管理平台系统 Java毕业设计项目来自互联网,免费开源分享,严禁商业。更多毕业设源码:http://www.java1234.com/a/bysj/javaweb/, 视频播放量 122、弹幕量 1、点赞数 4、投硬币枚数 2、收藏人数 2、转发人数 1, 视频作者 java1234官方, 作者简介 公众号:java1234 微信:java9266,相关视频:打造前后端分离 权限系统 基于SpringBoot2+SpringSecurity+Vue3.2+Element Plus 视频教程 (火爆连载更新中..),避坑计算机毕设,这个人不要去找,我用 SpringBoot + Vue 复刻了一个B站作为毕设项目,微信小程序(java后端无废话版)视频教程,Gateway微服务网关视频教程(无废话版),PyQt6图书管理系统视频教程 Python桌面开发 Python入门级项目实战 (无废话版) 火爆连载更新中~,uniapp微信小程序投票系统实战课程 (SpringBoot2+vue3.2+element plus ) ( 火爆连载更新中... ),2024版 PyQt6 Python桌面开发 视频教程(无废话版) 玩命更新中~,手把手教你从0搭建springboot+vue+mysql前后端分离毕设项目,【免费】微信小程序扫码点餐(订餐)系统(uni-app+SpringBoot后端+Vue管理端技术实现) Java毕业设计,非常好的源码icon-default.png?t=N7T8https://www.bilibili.com/video/BV1g1421R7yh/

    项目介绍

    随着家政服务行业的不断发展,家政服务在现实生活中的使用和普及,家政服务行业成为近年内出现的一个新行业,并且能够成为大众广为认可和接受的行为和选择。设计家政服务管理平台的目的就是借助计算机让复杂的销售操作变简单,变高效。

    家政服务管理平台采用了B/S结构,JAVA作为开发语言,数据库采用了B/S结构,Mysql数据库进行开发。该系统包括前台操作和后台管理两个部分,一方面,为用户提供首页、服务信息、公告信息、留言反馈、个人中心、后台管理等功能;另一方面,为管理员提供首页、个人中心、用户管理、服务人员管理、服务信息管理、服务类型管理、服务预约管理、服务取消管理、服务分配管理、服务进度管理、评价信息管理、留言反馈、系统管理等功能。

    系统展示

    部分代码

    1. package com.controller;
    2. import java.util.Arrays;
    3. import java.util.Calendar;
    4. import java.util.Date;
    5. import java.util.Map;
    6. import javax.servlet.http.HttpServletRequest;
    7. import org.springframework.beans.factory.annotation.Autowired;
    8. import org.springframework.stereotype.Controller;
    9. import org.springframework.web.bind.annotation.GetMapping;
    10. import org.springframework.web.bind.annotation.PathVariable;
    11. import org.springframework.web.bind.annotation.PostMapping;
    12. import org.springframework.web.bind.annotation.RequestBody;
    13. import org.springframework.web.bind.annotation.RequestMapping;
    14. import org.springframework.web.bind.annotation.RequestParam;
    15. import org.springframework.web.bind.annotation.ResponseBody;
    16. import org.springframework.web.bind.annotation.RestController;
    17. import com.annotation.IgnoreAuth;
    18. import com.baomidou.mybatisplus.mapper.EntityWrapper;
    19. import com.entity.TokenEntity;
    20. import com.entity.UserEntity;
    21. import com.service.TokenService;
    22. import com.service.UserService;
    23. import com.utils.CommonUtil;
    24. import com.utils.MPUtil;
    25. import com.utils.PageUtils;
    26. import com.utils.R;
    27. import com.utils.ValidatorUtils;
    28. /**
    29. * 登录相关
    30. */
    31. @RequestMapping("users")
    32. @RestController
    33. public class UserController{
    34. @Autowired
    35. private UserService userService;
    36. @Autowired
    37. private TokenService tokenService;
    38. /**
    39. * 登录
    40. */
    41. @IgnoreAuth
    42. @PostMapping(value = "/login")
    43. public R login(String username, String password, String captcha, HttpServletRequest request) {
    44. UserEntity user = userService.selectOne(new EntityWrapper().eq("username", username));
    45. if(user==null || !user.getPassword().equals(password)) {
    46. return R.error("账号或密码不正确");
    47. }
    48. String token = tokenService.generateToken(user.getId(),username, "users", user.getRole());
    49. return R.ok().put("token", token);
    50. }
    51. /**
    52. * 注册
    53. */
    54. @IgnoreAuth
    55. @PostMapping(value = "/register")
    56. public R register(@RequestBody UserEntity user){
    57. // ValidatorUtils.validateEntity(user);
    58. if(userService.selectOne(new EntityWrapper().eq("username", user.getUsername())) !=null) {
    59. return R.error("用户已存在");
    60. }
    61. userService.insert(user);
    62. return R.ok();
    63. }
    64. /**
    65. * 退出
    66. */
    67. @GetMapping(value = "logout")
    68. public R logout(HttpServletRequest request) {
    69. request.getSession().invalidate();
    70. return R.ok("退出成功");
    71. }
    72. /**
    73. * 密码重置
    74. */
    75. @IgnoreAuth
    76. @RequestMapping(value = "/resetPass")
    77. public R resetPass(String username, HttpServletRequest request){
    78. UserEntity user = userService.selectOne(new EntityWrapper().eq("username", username));
    79. if(user==null) {
    80. return R.error("账号不存在");
    81. }
    82. user.setPassword("123456");
    83. userService.update(user,null);
    84. return R.ok("密码已重置为:123456");
    85. }
    86. /**
    87. * 列表
    88. */
    89. @RequestMapping("/page")
    90. public R page(@RequestParam Map params,UserEntity user){
    91. EntityWrapper ew = new EntityWrapper();
    92. PageUtils page = userService.queryPage(params, MPUtil.sort(MPUtil.between(MPUtil.allLike(ew, user), params), params));
    93. return R.ok().put("data", page);
    94. }
    95. /**
    96. * 列表
    97. */
    98. @RequestMapping("/list")
    99. public R list( UserEntity user){
    100. EntityWrapper ew = new EntityWrapper();
    101. ew.allEq(MPUtil.allEQMapPre( user, "user"));
    102. return R.ok().put("data", userService.selectListView(ew));
    103. }
    104. /**
    105. * 信息
    106. */
    107. @RequestMapping("/info/{id}")
    108. public R info(@PathVariable("id") String id){
    109. UserEntity user = userService.selectById(id);
    110. return R.ok().put("data", user);
    111. }
    112. /**
    113. * 获取用户的session用户信息
    114. */
    115. @RequestMapping("/session")
    116. public R getCurrUser(HttpServletRequest request){
    117. Long id = (Long)request.getSession().getAttribute("userId");
    118. UserEntity user = userService.selectById(id);
    119. return R.ok().put("data", user);
    120. }
    121. /**
    122. * 保存
    123. */
    124. @PostMapping("/save")
    125. public R save(@RequestBody UserEntity user){
    126. if(userService.selectOne(new EntityWrapper().eq("username", user.getUsername())) !=null) {
    127. return R.error("用户已存在");
    128. }
    129. userService.insert(user);
    130. return R.ok();
    131. }
    132. /**
    133. * 修改
    134. */
    135. @RequestMapping("/update")
    136. public R update(@RequestBody UserEntity user){
    137. // ValidatorUtils.validateEntity(user);
    138. UserEntity u = userService.selectOne(new EntityWrapper().eq("username", user.getUsername()));
    139. if(u!=null && u.getId()!=user.getId() && u.getUsername().equals(user.getUsername())) {
    140. return R.error("用户名已存在。");
    141. }
    142. userService.updateById(user);//全部更新
    143. return R.ok();
    144. }
    145. /**
    146. * 删除
    147. */
    148. @RequestMapping("/delete")
    149. public R delete(@RequestBody Long[] ids){
    150. userService.deleteBatchIds(Arrays.asList(ids));
    151. return R.ok();
    152. }
    153. }
    1. <template>
    2. <div>
    3. <div class="container loginIn">
    4. <div :class="2 == 1 ? 'left' : 2 == 2 ? 'left center' : 'left right'">
    5. <el-form class="login-form" label-position="left" :label-width="2 == 3 || 2 == 2 ? '30px': '0px'">
    6. <div class="title-container"><h3 class="title">家政服务管理平台登录h3>div>
    7. <el-form-item :style='{"padding":"0","boxShadow":"0 0 6px rgba(0,0,0,0)","margin":"0 auto 12px","borderColor":"rgba(0,0,0,0)","backgroundColor":"rgba(0,0,0,0)","borderRadius":"0","borderWidth":"0","width":"80%","borderStyle":"solid","height":"auto"}' :label="2 == 3 ? '用户名' : ''" :class="'style'+2">
    8. <span v-if="2 != 3" class="svg-container" style="
    9. color:#333;
    10. line-height:40px;
    11. font-size:14px;
    12. width:30px;
    13. padding:0;
    14. margin:0;
    15. radius:8px 0 0 8px;
    16. border-width:0;
    17. border-style:solid;
    18. border-color:rgba(0,0,0,0);
    19. background-color:rgba(255, 255, 255, 1);
    20. box-shadow:0 0 6px rgba(0,0,0,0);
    21. }"><svg-icon icon-class="user" />span>
    22. <el-input placeholder="请输入用户名" name="username" type="text" v-model="rulesForm.username" />
    23. el-form-item>
    24. <el-form-item :style='{"padding":"0","boxShadow":"0 0 6px rgba(0,0,0,0)","margin":"0 auto 12px","borderColor":"rgba(0,0,0,0)","backgroundColor":"rgba(0,0,0,0)","borderRadius":"0","borderWidth":"0","width":"80%","borderStyle":"solid","height":"auto"}' :label="2 == 3 ? '密码' : ''" :class="'style'+2">
    25. <span v-if="2 != 3" class="svg-container" style="color:#333;
    26. line-height:40px;
    27. font-size:14px;
    28. width:30px;
    29. padding:0;
    30. margin:0;
    31. radius:8px 0 0 8px;
    32. border-width:0;
    33. border-style:solid;
    34. border-color:rgba(0,0,0,0);
    35. background-color:rgba(255, 255, 255, 1);
    36. box-shadow:0 0 6px rgba(0,0,0,0);"><svg-icon icon-class="password" />span>
    37. <el-input placeholder="请输入密码" name="password" type="password" v-model="rulesForm.password" />
    38. el-form-item>
    39. <el-form-item :style='{"padding":"0","boxShadow":"0 0 6px rgba(0,0,0,0)","margin":"0 auto 12px","borderColor":"rgba(0,0,0,0)","backgroundColor":"rgba(0,0,0,0)","borderRadius":"0","borderWidth":"0","width":"80%","borderStyle":"solid","height":"auto"}' v-if="1 == '1'" class="code" :label="2 == 3 ? '验证码' : ''" :class="'style'+2">
    40. <span v-if="2 != 3" class="svg-container" style="color:#333;
    41. line-height:40px;
    42. font-size:14px;
    43. width:30px;
    44. padding:0;
    45. margin:0;
    46. radius:8px 0 0 8px;
    47. border-width:0;
    48. border-style:solid;
    49. border-color:rgba(0,0,0,0);
    50. background-color:rgba(255, 255, 255, 1);
    51. box-shadow:0 0 6px rgba(0,0,0,0);"><svg-icon icon-class="code" />span>
    52. <el-input placeholder="请输入验证码" name="code" type="text" v-model="rulesForm.code" />
    53. <div class="getCodeBt" @click="getRandCode(4)">
    54. <span v-for="(item, index) in codes" :key="index" :style="{color:'rgba(255, 255, 255, 1)',transform:item.rotate,fontSize:'16px'}">{{ item.num }}span>
    55. div>
    56. el-form-item>
    57. <el-form-item v-if="roles.length>1" label="角色" prop="loginInRole" class="role" style="display: flex;align-items: center;">
    58. <el-radio
    59. v-for="item in roles"
    60. v-bind:key="item.roleName"
    61. v-model="rulesForm.role"
    62. :label="item.roleName"
    63. >{{item.roleName}}el-radio>
    64. el-form-item>
    65. <el-form-item v-if="roles.length==1" label=" " prop="loginInRole" class="role" style="display: flex;align-items: center;">
    66. el-form-item>
    67. <el-button type="primary" @click="login()" class="loginInBt">{{'1' == '1' ? '登录' : 'login'}}el-button>
    68. <el-form-item class="setting">
    69. el-form-item>
    70. el-form>
    71. <p style="text-align: center"><a href="http://www.java1234.com/a/bysj/javaweb/" target='_blank'><font color=red>Java1234收藏整理font>a>p>
    72. div>
    73. div>
    74. div>
    75. template>
    76. <script>
    77. import menu from "@/utils/menu";
    78. export default {
    79. data() {
    80. return {
    81. rulesForm: {
    82. username: "",
    83. password: "",
    84. role: "",
    85. code: '',
    86. },
    87. menus: [],
    88. roles: [],
    89. tableName: "",
    90. codes: [{
    91. num: 1,
    92. color: '#000',
    93. rotate: '10deg',
    94. size: '16px'
    95. },{
    96. num: 2,
    97. color: '#000',
    98. rotate: '10deg',
    99. size: '16px'
    100. },{
    101. num: 3,
    102. color: '#000',
    103. rotate: '10deg',
    104. size: '16px'
    105. },{
    106. num: 4,
    107. color: '#000',
    108. rotate: '10deg',
    109. size: '16px'
    110. }],
    111. };
    112. },
    113. mounted() {
    114. let menus = menu.list();
    115. this.menus = menus;
    116. for (let i = 0; i < this.menus.length; i++) {
    117. if (this.menus[i].hasBackLogin=='是') {
    118. this.roles.push(this.menus[i])
    119. }
    120. }
    121. },
    122. created() {
    123. this.getRandCode()
    124. },
    125. methods: {
    126. register(tableName){
    127. this.$storage.set("loginTable", tableName);
    128. this.$router.push({path:'/register'})
    129. },
    130. // 登陆
    131. login() {
    132. let code = ''
    133. for(let i in this.codes) {
    134. code += this.codes[i].num
    135. }
    136. if ('1' == '1' && !this.rulesForm.code) {
    137. this.$message.error("请输入验证码");
    138. return;
    139. }
    140. if ('1' == '1' && this.rulesForm.code.toLowerCase() != code.toLowerCase()) {
    141. this.$message.error("验证码输入有误");
    142. this.getRandCode()
    143. return;
    144. }
    145. if (!this.rulesForm.username) {
    146. this.$message.error("请输入用户名");
    147. return;
    148. }
    149. if (!this.rulesForm.password) {
    150. this.$message.error("请输入密码");
    151. return;
    152. }
    153. if(this.roles.length>1) {
    154. if (!this.rulesForm.role) {
    155. this.$message.error("请选择角色");
    156. return;
    157. }
    158. let menus = this.menus;
    159. for (let i = 0; i < menus.length; i++) {
    160. if (menus[i].roleName == this.rulesForm.role) {
    161. this.tableName = menus[i].tableName;
    162. }
    163. }
    164. } else {
    165. this.tableName = this.roles[0].tableName;
    166. this.rulesForm.role = this.roles[0].roleName;
    167. }
    168. this.$http({
    169. url: `${this.tableName}/login?username=${this.rulesForm.username}&password=${this.rulesForm.password}`,
    170. method: "post"
    171. }).then(({ data }) => {
    172. if (data && data.code === 0) {
    173. this.$storage.set("Token", data.token);
    174. this.$storage.set("role", this.rulesForm.role);
    175. this.$storage.set("sessionTable", this.tableName);
    176. this.$storage.set("adminName", this.rulesForm.username);
    177. this.$router.replace({ path: "/index/" });
    178. } else {
    179. this.$message.error(data.msg);
    180. }
    181. });
    182. },
    183. getRandCode(len = 4){
    184. this.randomString(len)
    185. },
    186. randomString(len = 4) {
    187. let chars = [
    188. "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k",
    189. "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v",
    190. "w", "x", "y", "z", "A", "B", "C", "D", "E", "F", "G",
    191. "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R",
    192. "S", "T", "U", "V", "W", "X", "Y", "Z", "0", "1", "2",
    193. "3", "4", "5", "6", "7", "8", "9"
    194. ]
    195. let colors = ["0", "1", "2","3", "4", "5", "6", "7", "8", "9", "a", "b", "c", "d", "e", "f"]
    196. let sizes = ['14', '15', '16', '17', '18']
    197. let output = [];
    198. for (let i = 0; i < len; i++) {
    199. // 随机验证码
    200. let key = Math.floor(Math.random()*chars.length)
    201. this.codes[i].num = chars[key]
    202. // 随机验证码颜色
    203. let code = '#'
    204. for (let j = 0; j < 6; j++) {
    205. let key = Math.floor(Math.random()*colors.length)
    206. code += colors[key]
    207. }
    208. this.codes[i].color = code
    209. // 随机验证码方向
    210. let rotate = Math.floor(Math.random()*60)
    211. let plus = Math.floor(Math.random()*2)
    212. if(plus == 1) rotate = '-'+rotate
    213. this.codes[i].rotate = 'rotate('+rotate+'deg)'
    214. // 随机验证码字体大小
    215. let size = Math.floor(Math.random()*sizes.length)
    216. this.codes[i].size = sizes[size]+'px'
    217. }
    218. },
    219. }
    220. };
    221. script>
    222. <style lang="scss" scoped>
    223. .loginIn {
    224. min-height: 100vh;
    225. position: relative;
    226. background-repeat: no-repeat;
    227. background-position: center center;
    228. background-size: cover;
    229. background-image: url(http://codegen.caihongy.cn/20220122/234cf3c38dfa40fd94ff06d18f1f8781.png);
    230. .loginInBt {
    231. width: 128px;
    232. height: 128px;
    233. line-height: 128px;
    234. margin: 0 auto 0;
    235. padding: 0;
    236. color: rgba(0, 0, 0, 1);
    237. font-size: 34px;
    238. border-radius: 50%;
    239. border-width: 10px;
    240. border-style: solid;
    241. border-color: rgba(109, 109, 148, 1);
    242. background-color: rgba(255, 255, 255, 1);
    243. box-shadow: 0 0 0px rgba(255,0,0,.1);
    244. }
    245. .register {
    246. width: auto;
    247. height: 24px;
    248. line-height: 24px;
    249. margin: 0 12px;
    250. padding: 0;
    251. color: rgba(130, 130, 130, 1);
    252. font-size: 14px;
    253. border-radius: 0;
    254. border-width: 0;
    255. border-style: solid;
    256. border-color: rgba(64, 158, 255, 1);
    257. background-color: rgba(255, 255, 255, 0);
    258. box-shadow: 0 0 6px rgba(255,0,0,0);
    259. cursor: pointer;
    260. }
    261. .reset {
    262. width: auto;
    263. height: 24px;
    264. line-height: 24px;
    265. margin: 0 12px;
    266. padding: 0;
    267. color: rgba(130, 130, 130, 1);
    268. font-size: 14px;
    269. border-radius: 0;
    270. border-width: 0;
    271. border-style: solid;
    272. border-color: rgba(64, 158, 255, 1);
    273. background-color: rgba(255, 255, 255, 0);
    274. box-shadow: 0 0 6px rgba(255,0,0,0);
    275. }
    276. .left {
    277. position: absolute;
    278. left: 0;
    279. top: 0;
    280. box-sizing: border-box;
    281. width: 550px;
    282. height: auto;
    283. margin: 0;
    284. padding: 20px 0;
    285. border-radius: 60px 60px 90px 90px;
    286. border-width: 10px;
    287. border-style: solid;
    288. border-color: rgba(109, 109, 148, 1);
    289. background-color: rgba(219, 244, 255, 1);
    290. box-shadow: 0 0 0px rgba(30, 144, 255, .8);
    291. .login-form {
    292. background-color: transparent;
    293. width: 100%;
    294. right: inherit;
    295. padding: 0;
    296. box-sizing: border-box;
    297. display: flex;
    298. position: initial;
    299. justify-content: center;
    300. flex-direction: column;
    301. }
    302. .title-container {
    303. text-align: center;
    304. font-size: 24px;
    305. .title {
    306. width: 120%;
    307. line-height: 30px;
    308. margin: 16px 0 16px -10%;
    309. padding: 10px 0;
    310. color: rgba(0, 0, 0, 1);
    311. font-size: 28px;
    312. border-radius: 36px;
    313. border-width: 10px;
    314. border-style: solid;
    315. border-color: rgba(109, 109, 148, 1);
    316. background-color: rgba(219, 244, 255, 1);
    317. box-shadow: 0 0 6px rgba(0,0,0,0);
    318. }
    319. }
    320. .el-form-item {
    321. position: relative;
    322. & /deep/ .el-form-item__content {
    323. line-height: initial;
    324. }
    325. & /deep/ .el-radio__label {
    326. width: auto;
    327. height: 14px;
    328. line-height: 14px;
    329. margin: 0;
    330. padding: 0 0 0 10px;
    331. color: rgba(162, 162, 162, 1);
    332. font-size: 14px;
    333. border-radius: 0;
    334. border-width: 0;
    335. border-style: solid;
    336. border-color: rgba(255, 255, 255, 0);
    337. background-color: rgba(255, 255, 255, 0);
    338. box-shadow: 0 0 6px rgba(255,0,0,0);
    339. text-align: left;
    340. }
    341. & /deep/ .el-radio.is-checked .el-radio__label {
    342. width: auto;
    343. height: 14px;
    344. line-height: 14px;
    345. margin: 0;
    346. padding: 0 0 0 10px;
    347. color: rgba(0, 0, 0, 1);
    348. font-size: 14px;
    349. border-radius: 0;
    350. border-width: 0;
    351. border-style: solid;
    352. border-color: rgba(255, 255, 255, 0);
    353. background-color: rgba(255, 255, 255, 0);
    354. box-shadow: 0 0 6px rgba(255,0,0,0);
    355. text-align: left;
    356. }
    357. & /deep/ .el-radio__inner {
    358. width: 14px;
    359. height: 14px;
    360. margin: 0;
    361. padding: 0;
    362. border-radius: 100%;
    363. border-width: 1px;
    364. border-style: solid;
    365. border-color: #dcdfe6;
    366. background-color: rgba(255, 255, 255, 1);
    367. box-shadow: 0 0 6px rgba(255,0,0,0);
    368. }
    369. & /deep/ .el-radio.is-checked .el-radio__inner {
    370. width: 14px;
    371. height: 14px;
    372. margin: 0;
    373. padding: 0;
    374. border-radius: 100%;
    375. border-width: 1px;
    376. border-style: solid;
    377. border-color: rgba(0, 0, 0, 1);
    378. background-color: rgba(0, 0, 0, 1);
    379. box-shadow: 0 0 6px rgba(255,0,0,0);
    380. }
    381. .svg-container {
    382. padding: 6px 5px 6px 15px;
    383. color: #889aa4;
    384. vertical-align: middle;
    385. display: inline-block;
    386. position: absolute;
    387. left: 0;
    388. top: 0;
    389. z-index: 1;
    390. padding: 0;
    391. line-height: 40px;
    392. width: 30px;
    393. text-align: center;
    394. }
    395. .el-input {
    396. display: inline-block;
    397. // height: 40px;
    398. width: 100%;
    399. & /deep/ input {
    400. background: transparent;
    401. border: 0px;
    402. -webkit-appearance: none;
    403. padding: 0 15px 0 30px;
    404. color: #fff;
    405. height: 40px;
    406. width: 100%;
    407. height: 40px;
    408. line-height: 40px;
    409. margin: 0;
    410. padding: 0 30px;
    411. color: rgba(0, 0, 0, 1);
    412. font-size: 16px;
    413. border-radius: 0 8px 8px 0;
    414. border-width: 0;
    415. border-style: solid;
    416. border-color: rgba(0,0,0,0);
    417. background-color: rgba(255, 255, 255, 1);
    418. box-shadow: 0 0 6px rgba(255,0,0,0);
    419. }
    420. }
    421. }
    422. }
    423. .center {
    424. position: absolute;
    425. left: 50%;
    426. top: 50%;
    427. transform: translate3d(-50%,-50%,0);
    428. }
    429. .right {
    430. position: absolute;
    431. left: inherit;
    432. right: 0;
    433. top: 0;
    434. }
    435. .code {
    436. .el-form-item__content {
    437. position: relative;
    438. .getCodeBt {
    439. position: absolute;
    440. right: 0;
    441. top: 50%;
    442. transform: translate3d(0, -50%, 0);
    443. line-height: 40px;
    444. width: 100px;
    445. background-color: rgba(51,51,51,0.4);
    446. color: #fff;
    447. text-align: center;
    448. border-radius: 0 4px 4px 0;
    449. height: 40px;
    450. overflow: hidden;
    451. padding: 0;
    452. margin: 0;
    453. width: 100px;
    454. height: 40px;
    455. line-height: 40px;
    456. border-radius: 0 8px 8px 0;
    457. border-width: 0;
    458. border-style: solid;
    459. border-color: rgba(64, 158, 255, 1);
    460. background-color: rgba(51, 51, 51, 0.4);
    461. box-shadow: 0 0 6px rgba(255,0,0,0);
    462. span {
    463. padding: 0 5px;
    464. display: inline-block;
    465. font-size: 16px;
    466. font-weight: 600;
    467. }
    468. }
    469. .el-input {
    470. & /deep/ input {
    471. padding: 0 130px 0 30px;
    472. }
    473. }
    474. }
    475. }
    476. .setting {
    477. & /deep/ .el-form-item__content {
    478. // padding: 0 15px;
    479. box-sizing: border-box;
    480. line-height: 32px;
    481. height: 32px;
    482. font-size: 14px;
    483. color: #999;
    484. margin: 0 !important;
    485. display: flex;
    486. .register {
    487. // float: left;
    488. // width: 50%;
    489. text-align: center;
    490. }
    491. .reset {
    492. float: right;
    493. width: 50%;
    494. text-align: right;
    495. }
    496. }
    497. }
    498. .style2 {
    499. padding-left: 30px;
    500. .svg-container {
    501. left: -30px !important;
    502. }
    503. .el-input {
    504. & /deep/ input {
    505. padding: 0 15px !important;
    506. }
    507. }
    508. }
    509. .code.style2, .code.style3 {
    510. .el-input {
    511. & /deep/ input {
    512. padding: 0 115px 0 15px;
    513. }
    514. }
    515. }
    516. .style3 {
    517. & /deep/ .el-form-item__label {
    518. padding-right: 6px;
    519. height: 40px;
    520. line-height: 40px;
    521. }
    522. .el-input {
    523. & /deep/ input {
    524. padding: 0 15px !important;
    525. }
    526. }
    527. }
    528. & /deep/ .el-form-item__label {
    529. width: 30px;
    530. height: 40px;
    531. line-height: 40px;
    532. margin: 0;
    533. padding: 0;
    534. color: #333;
    535. font-size: 14px;
    536. border-radius: 8px 0 0 8px;
    537. border-width: 0;
    538. border-style: solid;
    539. border-color: rgba(0,0,0,0);
    540. background-color: rgba(255, 255, 255, 1);
    541. box-shadow: 0 0 6px rgba(0,0,0,0);
    542. }
    543. .role {
    544. & /deep/ .el-form-item__label {
    545. width: 56px !important;
    546. height: 38px;
    547. line-height: 38px;
    548. margin: 0 0 0 50px;
    549. padding: 0;
    550. color: rgba(81, 81, 81, 1);
    551. font-size: 14px;
    552. border-radius: 0;
    553. border-width: 0;
    554. border-style: solid;
    555. border-color: rgba(64, 158, 255, 1);
    556. background-color: rgba(255, 255, 255, 0);
    557. box-shadow: 0 0 6px rgba(255,0,0,0);
    558. text-align: left;
    559. }
    560. & /deep/ .el-radio {
    561. margin-right: 12px;
    562. }
    563. }
    564. }
    565. style>

    源码下载

    CSDN 1积分下载:https://download.csdn.net/download/caofeng891102/89213941

    或者免费领取加小锋老师wx:java9266

    热门推荐

    免费分享一套SpringBoot+Vue敬老院(养老院)管理系统,帅呆了~~-CSDN博客

    免费分享一套SpringBoot+Vue校园失物招领网站系统,帅呆了~~-CSDN博客

    免费分享一套SpringBoot+Vue旅游管理系统,帅呆了~~_免费的spring boot+vue开源项目-CSDN博客

    免费分享一套微信小程序扫码点餐(订餐)系统(uni-app+SpringBoot后端+Vue管理端技术实现) ,帅呆了~~_uniapp微信点餐-CSDN博客

    免费分享一套SpringBoot+Vue药店(药房)管理系统,帅呆了~~_基于sprintboot+vue的药店管理系统-CSDN博客

  • 相关阅读:
    vue 使用MD5加密
    Docker Desktop -WSL kernel version too low
    HDU 6514 - Monitor(前缀和与差分)
    ARM接口编程—RTC(exynos 4412平台)
    【react】慎用useLayoutEffect转而使用useEffect
    大一新生HTML期末作业,网页制作作业——明星介绍易烊千玺网站HTML+CSS
    【无标题】积鼎CFD VirtualFlow:航空及汽车燃油晃动流体仿真计算及试验对比
    【个人成长】001- 4 个步骤提升你的复盘能力
    arcgis js api 4.x通过TileLayer类加载arcgis server10.2发布的切片服务跨域问题的解决办法
    6.WPF属性
  • 原文地址:https://blog.csdn.net/caoli201314/article/details/138152536