当前位置:   article > 正文

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

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

源码下载

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

本文内容由网友自发贡献,转载请注明出处:【wpsshop博客】
推荐阅读
相关标签
  

闽ICP备14008679号