• 免费分享一套SpringBoot+Vue农产品在线销售(在线商城)管理系统【论文+源码+SQL脚本】,帅呆了~~


    大家好,我是java1234_小锋老师,看到一个不错的SpringBoot+Vue农产品在线销售(在线商城)管理系统,分享下哈。

    项目介绍

    如今社会上各行各业,都喜欢用自己行业的专属软件工作,互联网发展到这个时候,人们已经发现离不开了互联网。新技术的产生,往往能解决一些老技术的弊端问题。因为传统农产品销售系统信息管理难度大,容错率低,管理人员处理数据费工费时,所以专门为解决这个难题开发了一个农产品销售系统管理系统,可以解决许多问题。

    农产品销售系统管理系统按照操作主体分为管理员和用户。管理员的功能包括收货地址管理、购物车管理、字典管理、交流论坛管理、公告信息管理、农产品管理、农产品收藏管理、农产品评价管理、农产品订单管理、商家管理、用户管理、管理员管理。用户的功能等。该系统采用了Mysql数据库,Java语言,Spring Boot框架等技术进行编程实现。

    农产品销售系统管理系统可以提高农产品销售系统信息管理问题的解决效率,优化农产品销售系统信息处理流程,保证农产品销售系统信息数据的安全,它是一个非常可靠,非常安全的应用程序。

    项目视频演示

    【免费】SpringBoot+Vue农产品在线销售(在线商城)管理系统 Java毕业设计_哔哩哔哩_bilibili

    系统展示

    部分代码

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

    源码下载

    链接: https://pan.baidu.com/s/1UCPf6u_Xdjh65CYRelcO-g
    提取码:1234

  • 相关阅读:
    Nginx模块开发之http handler实现流量统计(入门篇)
    Python中拟合线性方程(最小二乘法)
    小程序开发.微信小程序.组件.视图容器
    python sklearn 多输出回归
    456-C++函数重载机制(汇编层面分析)
    【Java笔试强训】Day2(OR62 倒置字符串,排序子序列)
    流辰信息助力企业数字化转型
    RxJs使用指北
    Day697.Spring框架中的设计模式 -深入拆解 Tomcat & Jetty
    移动无线点餐客户端的研究与实现(Java+Android)
  • 原文地址:https://blog.csdn.net/caoli201314/article/details/140294005