After Width: | Height: | Size: 66 KiB |
After Width: | Height: | Size: 35 KiB |
After Width: | Height: | Size: 25 KiB |
After Width: | Height: | Size: 26 KiB |
After Width: | Height: | Size: 25 KiB |
After Width: | Height: | Size: 638 KiB |
After Width: | Height: | Size: 58 KiB |
After Width: | Height: | Size: 17 KiB |
After Width: | Height: | Size: 35 KiB |
After Width: | Height: | Size: 30 KiB |
@ -0,0 +1,8 @@
|
|||||||
|
# 默认忽略的文件
|
||||||
|
/shelf/
|
||||||
|
/workspace.xml
|
||||||
|
# 基于编辑器的 HTTP 客户端请求
|
||||||
|
/httpRequests/
|
||||||
|
# Datasource local storage ignored files
|
||||||
|
/dataSources/
|
||||||
|
/dataSources.local.xml
|
@ -0,0 +1,18 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project version="4">
|
||||||
|
<component name="CompilerConfiguration">
|
||||||
|
<annotationProcessing>
|
||||||
|
<profile name="Maven default annotation processors profile" enabled="true">
|
||||||
|
<sourceOutputDir name="target/generated-sources/annotations" />
|
||||||
|
<sourceTestOutputDir name="target/generated-test-sources/test-annotations" />
|
||||||
|
<outputRelativeToContentRoot value="true" />
|
||||||
|
<module name="login_01" />
|
||||||
|
</profile>
|
||||||
|
</annotationProcessing>
|
||||||
|
</component>
|
||||||
|
<component name="JavacSettings">
|
||||||
|
<option name="ADDITIONAL_OPTIONS_OVERRIDE">
|
||||||
|
<module name="login_01" options="-parameters" />
|
||||||
|
</option>
|
||||||
|
</component>
|
||||||
|
</project>
|
@ -0,0 +1,6 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project version="4">
|
||||||
|
<component name="Encoding">
|
||||||
|
<file url="file://$PROJECT_DIR$/src/main/java" charset="UTF-8" />
|
||||||
|
</component>
|
||||||
|
</project>
|
@ -0,0 +1,20 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project version="4">
|
||||||
|
<component name="RemoteRepositoriesConfiguration">
|
||||||
|
<remote-repository>
|
||||||
|
<option name="id" value="central" />
|
||||||
|
<option name="name" value="Central Repository" />
|
||||||
|
<option name="url" value="https://repo.maven.apache.org/maven2" />
|
||||||
|
</remote-repository>
|
||||||
|
<remote-repository>
|
||||||
|
<option name="id" value="central" />
|
||||||
|
<option name="name" value="Maven Central repository" />
|
||||||
|
<option name="url" value="https://repo1.maven.org/maven2" />
|
||||||
|
</remote-repository>
|
||||||
|
<remote-repository>
|
||||||
|
<option name="id" value="jboss.community" />
|
||||||
|
<option name="name" value="JBoss Community repository" />
|
||||||
|
<option name="url" value="https://repository.jboss.org/nexus/content/repositories/public/" />
|
||||||
|
</remote-repository>
|
||||||
|
</component>
|
||||||
|
</project>
|
@ -0,0 +1,12 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project version="4">
|
||||||
|
<component name="ExternalStorageConfigurationManager" enabled="true" />
|
||||||
|
<component name="MavenProjectsManager">
|
||||||
|
<option name="originalFiles">
|
||||||
|
<list>
|
||||||
|
<option value="$PROJECT_DIR$/pom.xml" />
|
||||||
|
</list>
|
||||||
|
</option>
|
||||||
|
</component>
|
||||||
|
<component name="ProjectRootManager" version="2" languageLevel="JDK_19" default="true" project-jdk-name="19" project-jdk-type="JavaSDK" />
|
||||||
|
</project>
|
@ -0,0 +1,2 @@
|
|||||||
|
distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.8.6/apache-maven-3.8.6-bin.zip
|
||||||
|
wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.1.0/maven-wrapper-3.1.0.jar
|
@ -0,0 +1,110 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<module org.jetbrains.idea.maven.project.MavenProjectsManager.isMavenModule="true" type="JAVA_MODULE" version="4">
|
||||||
|
<component name="FacetManager">
|
||||||
|
<facet type="web" name="Web">
|
||||||
|
<configuration>
|
||||||
|
<webroots />
|
||||||
|
<sourceRoots>
|
||||||
|
<root url="file://$MODULE_DIR$/src/main/java" />
|
||||||
|
<root url="file://$MODULE_DIR$/src/main/resources" />
|
||||||
|
</sourceRoots>
|
||||||
|
</configuration>
|
||||||
|
</facet>
|
||||||
|
<facet type="Spring" name="Spring">
|
||||||
|
<configuration />
|
||||||
|
</facet>
|
||||||
|
</component>
|
||||||
|
<component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_8">
|
||||||
|
<output url="file://$MODULE_DIR$/target/classes" />
|
||||||
|
<output-test url="file://$MODULE_DIR$/target/test-classes" />
|
||||||
|
<content url="file://$MODULE_DIR$">
|
||||||
|
<sourceFolder url="file://$MODULE_DIR$/src/main/java" isTestSource="false" />
|
||||||
|
<sourceFolder url="file://$MODULE_DIR$/src/main/resources" type="java-resource" />
|
||||||
|
<sourceFolder url="file://$MODULE_DIR$/src/test/java" isTestSource="true" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/target" />
|
||||||
|
</content>
|
||||||
|
<orderEntry type="inheritedJdk" />
|
||||||
|
<orderEntry type="sourceFolder" forTests="false" />
|
||||||
|
<orderEntry type="library" name="Maven: com.baomidou:mybatis-plus-boot-starter:3.5.2" level="project" />
|
||||||
|
<orderEntry type="library" name="Maven: com.baomidou:mybatis-plus:3.5.2" level="project" />
|
||||||
|
<orderEntry type="library" name="Maven: com.baomidou:mybatis-plus-extension:3.5.2" level="project" />
|
||||||
|
<orderEntry type="library" name="Maven: com.baomidou:mybatis-plus-core:3.5.2" level="project" />
|
||||||
|
<orderEntry type="library" name="Maven: com.baomidou:mybatis-plus-annotation:3.5.2" level="project" />
|
||||||
|
<orderEntry type="library" name="Maven: com.github.jsqlparser:jsqlparser:4.4" level="project" />
|
||||||
|
<orderEntry type="library" name="Maven: org.mybatis:mybatis:3.5.10" level="project" />
|
||||||
|
<orderEntry type="library" name="Maven: org.mybatis:mybatis-spring:2.0.7" level="project" />
|
||||||
|
<orderEntry type="library" name="Maven: org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.6.21" level="project" />
|
||||||
|
<orderEntry type="library" name="Maven: org.jetbrains.kotlin:kotlin-stdlib:1.6.21" level="project" />
|
||||||
|
<orderEntry type="library" name="Maven: org.jetbrains.kotlin:kotlin-stdlib-common:1.6.21" level="project" />
|
||||||
|
<orderEntry type="library" name="Maven: org.jetbrains:annotations:13.0" level="project" />
|
||||||
|
<orderEntry type="library" name="Maven: org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.6.21" level="project" />
|
||||||
|
<orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-autoconfigure:2.7.5" level="project" />
|
||||||
|
<orderEntry type="library" name="Maven: org.springframework.boot:spring-boot:2.7.5" level="project" />
|
||||||
|
<orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-starter-jdbc:2.7.5" level="project" />
|
||||||
|
<orderEntry type="library" name="Maven: com.zaxxer:HikariCP:4.0.3" level="project" />
|
||||||
|
<orderEntry type="library" name="Maven: org.springframework:spring-jdbc:5.3.23" level="project" />
|
||||||
|
<orderEntry type="library" name="Maven: org.springframework:spring-tx:5.3.23" level="project" />
|
||||||
|
<orderEntry type="library" name="Maven: com.alibaba:druid-spring-boot-starter:1.2.6" level="project" />
|
||||||
|
<orderEntry type="library" name="Maven: com.alibaba:druid:1.2.6" level="project" />
|
||||||
|
<orderEntry type="library" name="Maven: org.slf4j:slf4j-api:1.7.36" level="project" />
|
||||||
|
<orderEntry type="library" name="Maven: org.projectlombok:lombok:1.18.24" level="project" />
|
||||||
|
<orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-starter-web:2.7.5" level="project" />
|
||||||
|
<orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-starter:2.7.5" level="project" />
|
||||||
|
<orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-starter-logging:2.7.5" level="project" />
|
||||||
|
<orderEntry type="library" name="Maven: ch.qos.logback:logback-classic:1.2.11" level="project" />
|
||||||
|
<orderEntry type="library" name="Maven: ch.qos.logback:logback-core:1.2.11" level="project" />
|
||||||
|
<orderEntry type="library" name="Maven: org.apache.logging.log4j:log4j-to-slf4j:2.17.2" level="project" />
|
||||||
|
<orderEntry type="library" name="Maven: org.apache.logging.log4j:log4j-api:2.17.2" level="project" />
|
||||||
|
<orderEntry type="library" name="Maven: org.slf4j:jul-to-slf4j:1.7.36" level="project" />
|
||||||
|
<orderEntry type="library" name="Maven: jakarta.annotation:jakarta.annotation-api:1.3.5" level="project" />
|
||||||
|
<orderEntry type="library" name="Maven: org.yaml:snakeyaml:1.30" level="project" />
|
||||||
|
<orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-starter-json:2.7.5" level="project" />
|
||||||
|
<orderEntry type="library" name="Maven: com.fasterxml.jackson.core:jackson-databind:2.13.4.2" level="project" />
|
||||||
|
<orderEntry type="library" name="Maven: com.fasterxml.jackson.core:jackson-annotations:2.13.4" level="project" />
|
||||||
|
<orderEntry type="library" name="Maven: com.fasterxml.jackson.core:jackson-core:2.13.4" level="project" />
|
||||||
|
<orderEntry type="library" name="Maven: com.fasterxml.jackson.datatype:jackson-datatype-jdk8:2.13.4" level="project" />
|
||||||
|
<orderEntry type="library" name="Maven: com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.13.4" level="project" />
|
||||||
|
<orderEntry type="library" name="Maven: com.fasterxml.jackson.module:jackson-module-parameter-names:2.13.4" level="project" />
|
||||||
|
<orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-starter-tomcat:2.7.5" level="project" />
|
||||||
|
<orderEntry type="library" name="Maven: org.apache.tomcat.embed:tomcat-embed-core:9.0.68" level="project" />
|
||||||
|
<orderEntry type="library" name="Maven: org.apache.tomcat.embed:tomcat-embed-el:9.0.68" level="project" />
|
||||||
|
<orderEntry type="library" name="Maven: org.apache.tomcat.embed:tomcat-embed-websocket:9.0.68" level="project" />
|
||||||
|
<orderEntry type="library" name="Maven: org.springframework:spring-web:5.3.23" level="project" />
|
||||||
|
<orderEntry type="library" name="Maven: org.springframework:spring-beans:5.3.23" level="project" />
|
||||||
|
<orderEntry type="library" name="Maven: org.springframework:spring-webmvc:5.3.23" level="project" />
|
||||||
|
<orderEntry type="library" name="Maven: org.springframework:spring-aop:5.3.23" level="project" />
|
||||||
|
<orderEntry type="library" name="Maven: org.springframework:spring-context:5.3.23" level="project" />
|
||||||
|
<orderEntry type="library" name="Maven: org.springframework:spring-expression:5.3.23" level="project" />
|
||||||
|
<orderEntry type="library" scope="RUNTIME" name="Maven: com.mysql:mysql-connector-j:8.0.31" level="project" />
|
||||||
|
<orderEntry type="library" scope="TEST" name="Maven: org.springframework.boot:spring-boot-starter-test:2.7.5" level="project" />
|
||||||
|
<orderEntry type="library" scope="TEST" name="Maven: org.springframework.boot:spring-boot-test:2.7.5" level="project" />
|
||||||
|
<orderEntry type="library" scope="TEST" name="Maven: org.springframework.boot:spring-boot-test-autoconfigure:2.7.5" level="project" />
|
||||||
|
<orderEntry type="library" scope="TEST" name="Maven: com.jayway.jsonpath:json-path:2.7.0" level="project" />
|
||||||
|
<orderEntry type="library" scope="TEST" name="Maven: net.minidev:json-smart:2.4.8" level="project" />
|
||||||
|
<orderEntry type="library" scope="TEST" name="Maven: net.minidev:accessors-smart:2.4.8" level="project" />
|
||||||
|
<orderEntry type="library" scope="TEST" name="Maven: org.ow2.asm:asm:9.1" level="project" />
|
||||||
|
<orderEntry type="library" scope="TEST" name="Maven: jakarta.xml.bind:jakarta.xml.bind-api:2.3.3" level="project" />
|
||||||
|
<orderEntry type="library" scope="TEST" name="Maven: jakarta.activation:jakarta.activation-api:1.2.2" level="project" />
|
||||||
|
<orderEntry type="library" scope="TEST" name="Maven: org.assertj:assertj-core:3.22.0" level="project" />
|
||||||
|
<orderEntry type="library" scope="TEST" name="Maven: org.hamcrest:hamcrest:2.2" level="project" />
|
||||||
|
<orderEntry type="library" scope="TEST" name="Maven: org.junit.jupiter:junit-jupiter:5.8.2" level="project" />
|
||||||
|
<orderEntry type="library" scope="TEST" name="Maven: org.junit.jupiter:junit-jupiter-api:5.8.2" level="project" />
|
||||||
|
<orderEntry type="library" scope="TEST" name="Maven: org.opentest4j:opentest4j:1.2.0" level="project" />
|
||||||
|
<orderEntry type="library" scope="TEST" name="Maven: org.junit.platform:junit-platform-commons:1.8.2" level="project" />
|
||||||
|
<orderEntry type="library" scope="TEST" name="Maven: org.apiguardian:apiguardian-api:1.1.2" level="project" />
|
||||||
|
<orderEntry type="library" scope="TEST" name="Maven: org.junit.jupiter:junit-jupiter-params:5.8.2" level="project" />
|
||||||
|
<orderEntry type="library" scope="TEST" name="Maven: org.junit.jupiter:junit-jupiter-engine:5.8.2" level="project" />
|
||||||
|
<orderEntry type="library" scope="TEST" name="Maven: org.junit.platform:junit-platform-engine:1.8.2" level="project" />
|
||||||
|
<orderEntry type="library" scope="TEST" name="Maven: org.mockito:mockito-core:4.5.1" level="project" />
|
||||||
|
<orderEntry type="library" scope="TEST" name="Maven: net.bytebuddy:byte-buddy:1.12.18" level="project" />
|
||||||
|
<orderEntry type="library" scope="TEST" name="Maven: net.bytebuddy:byte-buddy-agent:1.12.18" level="project" />
|
||||||
|
<orderEntry type="library" scope="TEST" name="Maven: org.objenesis:objenesis:3.2" level="project" />
|
||||||
|
<orderEntry type="library" scope="TEST" name="Maven: org.mockito:mockito-junit-jupiter:4.5.1" level="project" />
|
||||||
|
<orderEntry type="library" scope="TEST" name="Maven: org.skyscreamer:jsonassert:1.5.1" level="project" />
|
||||||
|
<orderEntry type="library" scope="TEST" name="Maven: com.vaadin.external.google:android-json:0.0.20131108.vaadin1" level="project" />
|
||||||
|
<orderEntry type="library" name="Maven: org.springframework:spring-core:5.3.23" level="project" />
|
||||||
|
<orderEntry type="library" name="Maven: org.springframework:spring-jcl:5.3.23" level="project" />
|
||||||
|
<orderEntry type="library" scope="TEST" name="Maven: org.springframework:spring-test:5.3.23" level="project" />
|
||||||
|
<orderEntry type="library" scope="TEST" name="Maven: org.xmlunit:xmlunit-core:2.9.0" level="project" />
|
||||||
|
</component>
|
||||||
|
</module>
|
@ -0,0 +1,79 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||||
|
<modelVersion>4.0.0</modelVersion>
|
||||||
|
<parent>
|
||||||
|
<groupId>org.springframework.boot</groupId>
|
||||||
|
<artifactId>spring-boot-starter-parent</artifactId>
|
||||||
|
<version>2.7.5</version>
|
||||||
|
<relativePath/> <!-- lookup parent from repository -->
|
||||||
|
</parent>
|
||||||
|
<groupId>com.example</groupId>
|
||||||
|
<artifactId>login_01</artifactId>
|
||||||
|
<version>0.0.1-SNAPSHOT</version>
|
||||||
|
<name>login_01</name>
|
||||||
|
<description>login_01</description>
|
||||||
|
<properties>
|
||||||
|
<java.version>17</java.version>
|
||||||
|
</properties>
|
||||||
|
<dependencies>
|
||||||
|
|
||||||
|
<!-- Mybatis-plus -->
|
||||||
|
<dependency>
|
||||||
|
<groupId>com.baomidou</groupId>
|
||||||
|
<artifactId>mybatis-plus-boot-starter</artifactId>
|
||||||
|
<version>3.5.2</version>
|
||||||
|
</dependency>
|
||||||
|
|
||||||
|
<!-- druid -->
|
||||||
|
<dependency>
|
||||||
|
<groupId>com.alibaba</groupId>
|
||||||
|
<artifactId>druid-spring-boot-starter</artifactId>
|
||||||
|
<version>1.2.6</version>
|
||||||
|
</dependency>
|
||||||
|
|
||||||
|
<!-- lombok -->
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.projectlombok</groupId>
|
||||||
|
<artifactId>lombok</artifactId>
|
||||||
|
</dependency>
|
||||||
|
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.springframework.boot</groupId>
|
||||||
|
<artifactId>spring-boot-starter-web</artifactId>
|
||||||
|
</dependency>
|
||||||
|
|
||||||
|
<dependency>
|
||||||
|
<groupId>com.mysql</groupId>
|
||||||
|
<artifactId>mysql-connector-j</artifactId>
|
||||||
|
<scope>runtime</scope>
|
||||||
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.springframework.boot</groupId>
|
||||||
|
<artifactId>spring-boot-starter-test</artifactId>
|
||||||
|
<scope>test</scope>
|
||||||
|
</dependency>
|
||||||
|
|
||||||
|
<dependency>
|
||||||
|
<groupId>com.alibaba</groupId>
|
||||||
|
<artifactId>druid-spring-boot-starter</artifactId>
|
||||||
|
<version>1.2.6</version>
|
||||||
|
</dependency>
|
||||||
|
|
||||||
|
<!-- <dependency>-->
|
||||||
|
<!-- <groupId>org.springframework.boot</groupId>-->
|
||||||
|
<!-- <artifactId>spring-boot-devtools</artifactId>-->
|
||||||
|
<!-- <optional>true</optional>-->
|
||||||
|
<!-- </dependency>-->
|
||||||
|
</dependencies>
|
||||||
|
|
||||||
|
<build>
|
||||||
|
<plugins>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.springframework.boot</groupId>
|
||||||
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
||||||
|
</plugin>
|
||||||
|
</plugins>
|
||||||
|
</build>
|
||||||
|
|
||||||
|
</project>
|
@ -0,0 +1,15 @@
|
|||||||
|
package com.iot;
|
||||||
|
|
||||||
|
import org.springframework.boot.SpringApplication;
|
||||||
|
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
||||||
|
|
||||||
|
@SpringBootApplication
|
||||||
|
public class Login01Application {
|
||||||
|
|
||||||
|
public static void main(String[] args) {
|
||||||
|
SpringApplication.run(Login01Application.class, args);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
@ -0,0 +1,93 @@
|
|||||||
|
package com.iot.controller;
|
||||||
|
|
||||||
|
import com.alibaba.druid.support.json.JSONUtils;
|
||||||
|
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
|
||||||
|
import com.iot.controller.util.R;
|
||||||
|
import com.iot.domain.Student;
|
||||||
|
import com.iot.domain.Teacher;
|
||||||
|
import com.iot.domain.User;
|
||||||
|
import com.iot.service.TeacherService;
|
||||||
|
import com.iot.service.impl.StudentServiceImpl;
|
||||||
|
import com.iot.service.impl.UserServiceImpl;
|
||||||
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
|
import org.springframework.web.bind.annotation.*;
|
||||||
|
|
||||||
|
import javax.servlet.http.HttpServletRequest;
|
||||||
|
import javax.servlet.http.HttpSession;
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
@RestController
|
||||||
|
@RequestMapping("students")
|
||||||
|
public class StudentService {
|
||||||
|
|
||||||
|
|
||||||
|
@Autowired
|
||||||
|
private StudentServiceImpl studentService;
|
||||||
|
@Autowired
|
||||||
|
private UserServiceImpl userService;
|
||||||
|
@Autowired
|
||||||
|
private TeacherService teacherService;
|
||||||
|
// 增加
|
||||||
|
@PostMapping
|
||||||
|
public R save(HttpServletRequest request, @RequestBody Student student){
|
||||||
|
// 通过输入的学生学号到 task_user 表格中去找,如果不存在这个人的话,就在前端输出“该学号的学生不存在”
|
||||||
|
|
||||||
|
// 获取登录者的 用户id (其实就是获取老师的id)
|
||||||
|
String userName =(String) request.getSession().getAttribute("userName");
|
||||||
|
|
||||||
|
// 通过 登录的老师的 id 获得 老师所教授的科目
|
||||||
|
// LambdaQueryWrapper<Teacher> teacherLambdaQueryWrapper = new LambdaQueryWrapper<>();
|
||||||
|
// teacherLambdaQueryWrapper.eq(Teacher::getTeacher_username,userName);
|
||||||
|
// if( userName != null) {
|
||||||
|
// Teacher one = teacherService.getOne(teacherLambdaQueryWrapper);
|
||||||
|
// }
|
||||||
|
|
||||||
|
// 通过 userName 获取登录的是那个老师
|
||||||
|
Teacher teacher = teacherService.getTeacherByUserName(userName);
|
||||||
|
// 通过老师对象,获取他的教授科目,并给新增的学生 subjectName 赋值
|
||||||
|
student.setSubjectName(teacher.getTeacherSubject());
|
||||||
|
//完善学生的 TeacherUserName
|
||||||
|
String teacherUsername = teacher.getTeacherUsername();
|
||||||
|
student.setTeacherUsername(teacherUsername);
|
||||||
|
|
||||||
|
// 完善学生姓名
|
||||||
|
String studentUsername = student.getStudentUsername();
|
||||||
|
String Name = studentService.getStudentName(studentUsername);
|
||||||
|
// LambdaQueryWrapper<User> userLambdaQueryWrapper = new LambdaQueryWrapper<>();
|
||||||
|
// userLambdaQueryWrapper.eq(User::getUsername,studentUsername);
|
||||||
|
// User user = userService.getOne(userLambdaQueryWrapper);
|
||||||
|
student.setStudentName(Name);
|
||||||
|
return new R(
|
||||||
|
studentService.save(student)
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
// 删除
|
||||||
|
@DeleteMapping("{id}")
|
||||||
|
public R delectById(@PathVariable String id){
|
||||||
|
return new R(studentService.removeById(id));
|
||||||
|
}
|
||||||
|
|
||||||
|
// 查全部
|
||||||
|
@GetMapping
|
||||||
|
public R selectAll(HttpServletRequest request){
|
||||||
|
String userName =(String) request.getSession().getAttribute("userName");
|
||||||
|
List<Student> list = studentService.getStudentByTeacherUserName(userName);
|
||||||
|
// LambdaQueryWrapper<Student> studentLambdaQueryWrapper = new LambdaQueryWrapper<>();
|
||||||
|
// studentLambdaQueryWrapper.eq(Student::getTeacherUsername,userName);
|
||||||
|
// List<Student> list = studentService.list(studentLambdaQueryWrapper);
|
||||||
|
return new R(true,list);
|
||||||
|
}
|
||||||
|
|
||||||
|
// 修改
|
||||||
|
@PutMapping
|
||||||
|
public R update(@RequestBody Student student){
|
||||||
|
return new R(studentService.updateById(student));
|
||||||
|
}
|
||||||
|
|
||||||
|
@GetMapping("{id}")
|
||||||
|
// 查询单个
|
||||||
|
public R selectById(@PathVariable int id){
|
||||||
|
return new R(true, studentService.getById(id));
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,9 @@
|
|||||||
|
package com.iot.dao;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||||
|
import com.iot.domain.Student;
|
||||||
|
import org.apache.ibatis.annotations.Mapper;
|
||||||
|
|
||||||
|
@Mapper
|
||||||
|
public interface StudentDao extends BaseMapper<Student> {
|
||||||
|
}
|
@ -0,0 +1,9 @@
|
|||||||
|
package com.iot.dao;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||||
|
import com.iot.domain.Teacher;
|
||||||
|
import org.apache.ibatis.annotations.Mapper;
|
||||||
|
|
||||||
|
@Mapper
|
||||||
|
public interface TeacherDao extends BaseMapper<Teacher> {
|
||||||
|
}
|
@ -0,0 +1,11 @@
|
|||||||
|
package com.iot.dao;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||||
|
import com.iot.domain.User;
|
||||||
|
import org.apache.ibatis.annotations.Mapper;
|
||||||
|
|
||||||
|
@Mapper
|
||||||
|
public interface UserDao extends BaseMapper<User> {
|
||||||
|
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,19 @@
|
|||||||
|
package com.iot.domain;
|
||||||
|
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
/*
|
||||||
|
这是一个学生类
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
public class Student {
|
||||||
|
private String id ; // 将id 设置成为主键
|
||||||
|
private String studentName ; // 学生的名字
|
||||||
|
private String studentUsername ; // 学生的学号
|
||||||
|
private String subjectTeacher ; // 具体科目的老师
|
||||||
|
private String teacherUsername ; // 老师的id 账号
|
||||||
|
private String subjectName ; // 科目名字
|
||||||
|
private String subjectPeriod ; // 学时
|
||||||
|
private String subjectCredit ; // 学分
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,16 @@
|
|||||||
|
package com.iot.domain;
|
||||||
|
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
这是一个老师类
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
public class Teacher {
|
||||||
|
|
||||||
|
private String teacherName; // 教师的名字
|
||||||
|
private String teacherUsername; // 教师的id账号
|
||||||
|
private String teacherSubject; // 老师所教授的科目
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,14 @@
|
|||||||
|
package com.iot.service;
|
||||||
|
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.extension.service.IService;
|
||||||
|
import com.iot.domain.Student;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
public interface StudentService extends IService<Student> {
|
||||||
|
|
||||||
|
public String getStudentName(String studentUserName);
|
||||||
|
|
||||||
|
public List<Student> getStudentByTeacherUserName(String teacherUserName);
|
||||||
|
}
|
@ -0,0 +1,9 @@
|
|||||||
|
package com.iot.service;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.extension.service.IService;
|
||||||
|
import com.iot.dao.TeacherDao;
|
||||||
|
import com.iot.domain.Teacher;
|
||||||
|
|
||||||
|
public interface TeacherService extends IService<Teacher> {
|
||||||
|
public Teacher getTeacherByUserName(String userName);
|
||||||
|
}
|
@ -0,0 +1,9 @@
|
|||||||
|
package com.iot.service;
|
||||||
|
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.extension.service.IService;
|
||||||
|
import com.iot.domain.User;
|
||||||
|
|
||||||
|
public interface UserService extends IService<User> {
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,34 @@
|
|||||||
|
package com.iot.service.impl;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
|
||||||
|
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||||
|
import com.iot.dao.StudentDao;
|
||||||
|
import com.iot.domain.Student;
|
||||||
|
import com.iot.domain.User;
|
||||||
|
import com.iot.service.StudentService;
|
||||||
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
|
import org.springframework.stereotype.Service;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
@Service
|
||||||
|
public class StudentServiceImpl extends ServiceImpl<StudentDao, Student> implements StudentService {
|
||||||
|
@Autowired
|
||||||
|
private UserServiceImpl userService;
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String getStudentName(String studentUsername) {
|
||||||
|
LambdaQueryWrapper<User> userLambdaQueryWrapper = new LambdaQueryWrapper<>();
|
||||||
|
userLambdaQueryWrapper.eq(User::getUsername,studentUsername);
|
||||||
|
User user = userService.getOne(userLambdaQueryWrapper);
|
||||||
|
return user.getName();
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public List<Student> getStudentByTeacherUserName(String teacherUserName) {
|
||||||
|
LambdaQueryWrapper<Student> studentLambdaQueryWrapper = new LambdaQueryWrapper<>();
|
||||||
|
studentLambdaQueryWrapper.eq(Student::getTeacherUsername,teacherUserName);
|
||||||
|
List<Student> list = super.list(studentLambdaQueryWrapper);
|
||||||
|
return list;
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,22 @@
|
|||||||
|
package com.iot.service.impl;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
|
||||||
|
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||||
|
import com.iot.dao.TeacherDao;
|
||||||
|
import com.iot.domain.Teacher;
|
||||||
|
import com.iot.service.TeacherService;
|
||||||
|
import org.apache.ibatis.annotations.Mapper;
|
||||||
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
|
import org.springframework.stereotype.Service;
|
||||||
|
|
||||||
|
@Service
|
||||||
|
public class TeacherServiceImpl extends ServiceImpl<TeacherDao,Teacher> implements TeacherService {
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public Teacher getTeacherByUserName(String userName) {
|
||||||
|
LambdaQueryWrapper<Teacher> teacherLambdaQueryWrapper = new LambdaQueryWrapper<>();
|
||||||
|
teacherLambdaQueryWrapper.eq(Teacher::getTeacherUsername,userName);
|
||||||
|
Teacher teacher = this.getOne(teacherLambdaQueryWrapper);
|
||||||
|
return teacher;
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,12 @@
|
|||||||
|
package com.iot.service.impl;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||||
|
|
||||||
|
import com.iot.dao.UserDao;
|
||||||
|
import com.iot.domain.User;
|
||||||
|
import com.iot.service.UserService;
|
||||||
|
import org.springframework.stereotype.Service;
|
||||||
|
|
||||||
|
@Service
|
||||||
|
public class UserServiceImpl extends ServiceImpl<UserDao, User> implements UserService {
|
||||||
|
}
|
@ -0,0 +1,36 @@
|
|||||||
|
server:
|
||||||
|
port: 8080
|
||||||
|
|
||||||
|
spring:
|
||||||
|
|
||||||
|
datasource:
|
||||||
|
druid:
|
||||||
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
||||||
|
url: jdbc:mysql://192.168.254.130:3306/task?serverTimezone=UTC
|
||||||
|
username: root
|
||||||
|
password: 137256
|
||||||
|
|
||||||
|
#mybatis-plus:
|
||||||
|
# global-config:
|
||||||
|
# db-config:
|
||||||
|
# table-prefix: task_
|
||||||
|
# id-type: auto
|
||||||
|
# configuration:
|
||||||
|
# log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
|
||||||
|
#logging:
|
||||||
|
# level:
|
||||||
|
# root: debug
|
||||||
|
|
||||||
|
mybatis-plus:
|
||||||
|
configuration:
|
||||||
|
# address_book ----> AddressBook
|
||||||
|
# user_name ----> userName
|
||||||
|
map-underscore-to-camel-case: true
|
||||||
|
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
|
||||||
|
global-config:
|
||||||
|
db-config:
|
||||||
|
table-prefix: task_
|
||||||
|
id-type: auto
|
||||||
|
#logging:
|
||||||
|
## level:
|
||||||
|
## root: debug
|
@ -0,0 +1,582 @@
|
|||||||
|
html,body {
|
||||||
|
/* overflow-y: scroll; */
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
a {
|
||||||
|
color: #3c8dbc;
|
||||||
|
text-decoration:none;
|
||||||
|
}
|
||||||
|
/* new style */
|
||||||
|
.skin-purple .main-sidebar {
|
||||||
|
background: #fff;
|
||||||
|
}
|
||||||
|
.skin-purple .main-header .logo:hover {
|
||||||
|
background: #0abdfe;
|
||||||
|
}
|
||||||
|
.skin-purple .main-header .navbar .sidebar-toggle:hover {
|
||||||
|
/* background: #0abdfe; */
|
||||||
|
}
|
||||||
|
.skin-purple .main-header {
|
||||||
|
min-height: 70px;
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
.skin-purple .main-header .logo {
|
||||||
|
height: 50px;
|
||||||
|
/* background: #0abdfe; */
|
||||||
|
float: left;
|
||||||
|
padding: 20px 0 0 15px;
|
||||||
|
/* width: 230px; */
|
||||||
|
}
|
||||||
|
.skin-purple .main-header .navbar {
|
||||||
|
height: 70px;
|
||||||
|
background: linear-gradient(to right, #0abdfe, #67f0e0);
|
||||||
|
/* margin-left: 230px; */
|
||||||
|
}
|
||||||
|
.winfo{margin-left: 230px;}
|
||||||
|
.skin-purple .main-header .sidebar-toggle {
|
||||||
|
display: inline-block;
|
||||||
|
padding: 24px 15px;
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
.skin-purple .main-sidebar {
|
||||||
|
padding-top: 75px;
|
||||||
|
}
|
||||||
|
.sidebar-menu > li {
|
||||||
|
line-height: 1.8
|
||||||
|
}
|
||||||
|
.skin-purple .sidebar-menu > li > a {
|
||||||
|
font-size: 16px;
|
||||||
|
color: #666
|
||||||
|
}
|
||||||
|
.skin-purple .sidebar-menu>li:hover>a,
|
||||||
|
.skin-purple .sidebar-menu>li.active>a {
|
||||||
|
background: transparent;
|
||||||
|
color: #666;
|
||||||
|
border-left-color: transparent
|
||||||
|
}
|
||||||
|
.skin-purple .treeview-menu>li>a:hover {
|
||||||
|
color: #fff
|
||||||
|
}
|
||||||
|
.skin-purple .sidebar-menu>li>.treeview-menu {
|
||||||
|
background: #fff;
|
||||||
|
}
|
||||||
|
.sidebar-menu .treeview-menu > li > a {
|
||||||
|
font-size: 16px;
|
||||||
|
padding-left: 35px;
|
||||||
|
color: #999
|
||||||
|
}
|
||||||
|
.sidebar-menu .treeview-menu > li:hover {
|
||||||
|
background: #0abdfe;
|
||||||
|
}
|
||||||
|
@media (min-width: 768px) {
|
||||||
|
.skin-purple .navbar-nav>li>a
|
||||||
|
{
|
||||||
|
padding-top: 25px;
|
||||||
|
padding-bottom: 25px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.modal-body .nav-tabs>li.active>a, .nav-tabs>li.active>a:focus, .nav-tabs>li.active>a:hover {
|
||||||
|
color: #0abdfe
|
||||||
|
}
|
||||||
|
.modal-body .nav-tabs>li>a {
|
||||||
|
color: #555
|
||||||
|
}
|
||||||
|
.bg-olive {
|
||||||
|
background-color: #0abdfe !important;
|
||||||
|
}
|
||||||
|
.dataTable .btn[class*='bg-']:hover {
|
||||||
|
box-shadow: none
|
||||||
|
}
|
||||||
|
.btn-primary {
|
||||||
|
background: #0abdfe;
|
||||||
|
border-color: #0abdfe;
|
||||||
|
}
|
||||||
|
.box-body .nav>li>a {
|
||||||
|
color: #666
|
||||||
|
}
|
||||||
|
.box-body .nav>li.active>a {
|
||||||
|
color: #0abdfe;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/* tab 1*/
|
||||||
|
.double {
|
||||||
|
line-height: 58px;
|
||||||
|
}
|
||||||
|
.title .glyphicon{
|
||||||
|
padding: 3px;
|
||||||
|
font-size: 13px;
|
||||||
|
border-radius: 8px;
|
||||||
|
color: #fff;
|
||||||
|
|
||||||
|
}
|
||||||
|
.data span.arrowup {
|
||||||
|
color: #d88918;
|
||||||
|
}
|
||||||
|
.data span.arrowdown {
|
||||||
|
color: #6bb10a;
|
||||||
|
}
|
||||||
|
.item-blue .glyphicon{
|
||||||
|
background-color: #39a9ea;
|
||||||
|
}
|
||||||
|
.item-green {
|
||||||
|
line-height: 58px;
|
||||||
|
}
|
||||||
|
.item-green .glyphicon{
|
||||||
|
background-color: #6bb10a;
|
||||||
|
line-height: 12px;
|
||||||
|
}
|
||||||
|
.item-orange .glyphicon{
|
||||||
|
background-color:#d88918;
|
||||||
|
}
|
||||||
|
.item-red .glyphicon{
|
||||||
|
background-color: #f14f4f;
|
||||||
|
}
|
||||||
|
.chart .chart-box {
|
||||||
|
margin: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* 数据表格label */
|
||||||
|
.content-wrapper .data-type {
|
||||||
|
/*width: 90%;*/
|
||||||
|
margin: 10px 5px;
|
||||||
|
border:1px solid #d4d4d4;
|
||||||
|
border-radius: 2px;
|
||||||
|
}
|
||||||
|
.data-type .title,
|
||||||
|
.data-type .data {
|
||||||
|
padding: 3px 12px;
|
||||||
|
border-top: 1px solid #d4d4d4;
|
||||||
|
overflow: hidden;
|
||||||
|
height: 42px;
|
||||||
|
}
|
||||||
|
.data-type .title {
|
||||||
|
line-height: 34px;
|
||||||
|
border-right: 1px solid #d4d4d4;
|
||||||
|
}
|
||||||
|
|
||||||
|
.data-type .data:last-child{
|
||||||
|
border-right: 0;
|
||||||
|
}
|
||||||
|
.data-type .title{
|
||||||
|
text-align: center;
|
||||||
|
background: #ececec;
|
||||||
|
}
|
||||||
|
.data-type .data .line{
|
||||||
|
vertical-align: middle;
|
||||||
|
overflow: hidden;
|
||||||
|
padding-bottom: 10px;
|
||||||
|
padding-top: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* label行高度 */
|
||||||
|
.data-type .data > label {
|
||||||
|
line-height:36px;
|
||||||
|
}
|
||||||
|
.data-type .data > .form-group {
|
||||||
|
line-height:36px;
|
||||||
|
}
|
||||||
|
.data-type .data.text {
|
||||||
|
line-height:36px;
|
||||||
|
}
|
||||||
|
/* label行分隔符 */
|
||||||
|
.data-type .data.border-right {
|
||||||
|
border-right: 1px solid #d4d4d4;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* 表格双倍高度 */
|
||||||
|
.data-type .title.rowHeight2x,
|
||||||
|
.data-type .data.rowHeight2x {
|
||||||
|
height:84px;
|
||||||
|
}
|
||||||
|
.data-type .title.rowHeight2x ,
|
||||||
|
.data-type .data.rowHeight2x.text {
|
||||||
|
line-height:78px;
|
||||||
|
}
|
||||||
|
/*.data-type .data.rowHeight2x > label {
|
||||||
|
line-height:78px;
|
||||||
|
}*/
|
||||||
|
.data-type .title.editer,
|
||||||
|
.data-type .data.editer {
|
||||||
|
height:320px;
|
||||||
|
}
|
||||||
|
.data-type .title.editer {
|
||||||
|
line-height:300px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*清除parding*/
|
||||||
|
.padding-clear {
|
||||||
|
padding-right: 0px;
|
||||||
|
padding-left: 0px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* 文件上传 */
|
||||||
|
/*a upload */
|
||||||
|
.a-upload {
|
||||||
|
padding: 4px 10px;
|
||||||
|
height: 35px;
|
||||||
|
line-height: 25px;
|
||||||
|
position: relative;
|
||||||
|
cursor: pointer;
|
||||||
|
color: #888;
|
||||||
|
background: #fafafa;
|
||||||
|
border: 1px solid #ddd;
|
||||||
|
border-radius: 4px;
|
||||||
|
overflow: hidden;
|
||||||
|
display: inline-block;
|
||||||
|
*display: inline;
|
||||||
|
*zoom: 1
|
||||||
|
}
|
||||||
|
.a-upload input {
|
||||||
|
position: absolute;
|
||||||
|
font-size: 100px;
|
||||||
|
right: 0;
|
||||||
|
top: 0;
|
||||||
|
opacity: 0;
|
||||||
|
filter: alpha(opacity=0);
|
||||||
|
cursor: pointer
|
||||||
|
}
|
||||||
|
.a-upload:hover {
|
||||||
|
color: #444;
|
||||||
|
background: #eee;
|
||||||
|
border-color: #ccc;
|
||||||
|
text-decoration: none
|
||||||
|
}
|
||||||
|
/* 医疗 */
|
||||||
|
.search-box {
|
||||||
|
display: inline-block
|
||||||
|
}
|
||||||
|
.input-sm {
|
||||||
|
height: 32px;
|
||||||
|
}
|
||||||
|
.btn-create {
|
||||||
|
margin-left: 10px;
|
||||||
|
background-color: #0abdfe;
|
||||||
|
border-color: #0abdfe;
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
.btn-create:hover,
|
||||||
|
.btn-create:active,
|
||||||
|
.btn-create:focus
|
||||||
|
{
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
.pagination {
|
||||||
|
margin: 0
|
||||||
|
}
|
||||||
|
.medical-modal {
|
||||||
|
position:absolute;
|
||||||
|
top:0%;
|
||||||
|
left:0%;
|
||||||
|
display:none;
|
||||||
|
background:rgba(0,0,0,0.3);
|
||||||
|
width:100%;
|
||||||
|
height:100%;
|
||||||
|
position:fixed;
|
||||||
|
z-index:9999
|
||||||
|
}
|
||||||
|
.medical-modal .content {
|
||||||
|
position: absolute;
|
||||||
|
left: 35%;
|
||||||
|
top: 25%;
|
||||||
|
border-radius: 8px;
|
||||||
|
width: 30%;
|
||||||
|
height: 40%;
|
||||||
|
background-color: #fff;
|
||||||
|
}
|
||||||
|
.pageitems, .jump {
|
||||||
|
margin-left: 15px;
|
||||||
|
display: inline-block;
|
||||||
|
}
|
||||||
|
.jumppage {
|
||||||
|
width: 30px;
|
||||||
|
text-align: center
|
||||||
|
}
|
||||||
|
@media (min-width: 768px) {
|
||||||
|
.subscribe .modal-dialog {
|
||||||
|
width: 900px;
|
||||||
|
margin: 30px auto;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.checklist {
|
||||||
|
margin-top: 10px;
|
||||||
|
}
|
||||||
|
.checklist .input-group {
|
||||||
|
margin-bottom: 10px;
|
||||||
|
}
|
||||||
|
.modal-page {
|
||||||
|
margin-top: 20px;
|
||||||
|
font-size: 12px;
|
||||||
|
}
|
||||||
|
.modal-page .form-control {
|
||||||
|
font-size: 12px;
|
||||||
|
padding: 0;
|
||||||
|
height: 26px;
|
||||||
|
}
|
||||||
|
.table-check {
|
||||||
|
margin: 0;
|
||||||
|
display: inline-block;
|
||||||
|
margin-right: 4px;
|
||||||
|
}
|
||||||
|
.daterange {
|
||||||
|
margin:10px 10px 0;
|
||||||
|
}
|
||||||
|
.daterange .input-group .form-control {
|
||||||
|
width: 20%;
|
||||||
|
}
|
||||||
|
.chart-title {
|
||||||
|
font-size: 16px;
|
||||||
|
font-weight: normal;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
.diaocha {
|
||||||
|
line-height: 2
|
||||||
|
}
|
||||||
|
.diaocha h5{
|
||||||
|
color: #f98d45;
|
||||||
|
background: #f5f7f9;
|
||||||
|
line-height: 2;
|
||||||
|
padding-left: 15px;
|
||||||
|
}
|
||||||
|
.diaocha div {
|
||||||
|
padding: 0 20px;
|
||||||
|
border-bottom: 1px solid #dce1e7;
|
||||||
|
}
|
||||||
|
.diaocha div h5 {
|
||||||
|
color: #555;
|
||||||
|
background: transparent;
|
||||||
|
padding-left: 0;
|
||||||
|
}
|
||||||
|
.diaocha label {
|
||||||
|
font-weight: normal;
|
||||||
|
}
|
||||||
|
.diaocha .form-group {
|
||||||
|
margin-left: 0;
|
||||||
|
margin-right: 0;
|
||||||
|
}
|
||||||
|
.diaocha .options label {
|
||||||
|
margin-right: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.tizhi button{
|
||||||
|
margin-right: 15px;
|
||||||
|
}
|
||||||
|
.innerform {
|
||||||
|
margin-top: 20px;
|
||||||
|
}
|
||||||
|
.fa-search {
|
||||||
|
cursor: pointer
|
||||||
|
}
|
||||||
|
.line {
|
||||||
|
margin-top: 10px;
|
||||||
|
}
|
||||||
|
input[type=radio]:focus {
|
||||||
|
outline: none
|
||||||
|
}
|
||||||
|
input[type="radio"]{
|
||||||
|
appearance: none;
|
||||||
|
-webkit-appearance: none;
|
||||||
|
outline: none;
|
||||||
|
display:none
|
||||||
|
}
|
||||||
|
label input[type="radio"] {
|
||||||
|
content: "\a0";
|
||||||
|
display: inline-block;
|
||||||
|
vertical-align: middle;
|
||||||
|
font-size: 16px;
|
||||||
|
width: 15px;
|
||||||
|
height: 15px;
|
||||||
|
margin-right: .4em;
|
||||||
|
border-radius: 50%;
|
||||||
|
border: 1px solid #c7c6c6;
|
||||||
|
line-height: 1;
|
||||||
|
margin-top: -1px;
|
||||||
|
}
|
||||||
|
label input[type="radio"]:checked {
|
||||||
|
border: 3px solid #0abdfe;
|
||||||
|
}
|
||||||
|
.right-menu {
|
||||||
|
float: right;
|
||||||
|
padding: 18px 30px 0 0;
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
.el-dropdown{color: #fff;}
|
||||||
|
.avatar-wrapper img{width: 30px;height: 30px;border-radius: 15px;vertical-align: middle}
|
||||||
|
.el-popper[x-placement^=bottom]{margin-top: 30px;}
|
||||||
|
.el-dropdown-menu__item--divided{margin: 0;border:0 none;border-bottom: 1px solid #ebeef5}
|
||||||
|
.help{
|
||||||
|
padding: 0 10px;
|
||||||
|
}
|
||||||
|
.help .fa{ margin-right: 5px;}
|
||||||
|
.el-main{
|
||||||
|
background: #ecf0f5;
|
||||||
|
}
|
||||||
|
.el-menu{border: 0 none;}
|
||||||
|
.main{
|
||||||
|
height: 100vh;
|
||||||
|
min-width: 800px;
|
||||||
|
min-height: 600px;
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
.main aside{
|
||||||
|
overflow: visible;
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
|
.main aside.isClossTab{
|
||||||
|
width: 100%;
|
||||||
|
height: 60px;
|
||||||
|
cursor: pointer;
|
||||||
|
font-size: 25px;
|
||||||
|
text-align: center;
|
||||||
|
line-height: 60px;
|
||||||
|
font-weight: bold;
|
||||||
|
border-right: 1px solid #807c7c;
|
||||||
|
box-sizing: border-box;
|
||||||
|
}
|
||||||
|
.main aside .menu{
|
||||||
|
width: 100%;
|
||||||
|
border-right:0;
|
||||||
|
}
|
||||||
|
.el-menu .fa{
|
||||||
|
vertical-align: middle;
|
||||||
|
margin-right: 5px;
|
||||||
|
width: 24px;
|
||||||
|
text-align: center;
|
||||||
|
font-size: 18px;
|
||||||
|
}
|
||||||
|
.el-menu-item a{
|
||||||
|
color: #303133
|
||||||
|
}
|
||||||
|
.el-menu-item:hover,.el-menu-item.is-active {
|
||||||
|
color: #fff;
|
||||||
|
background: #0abdfe;
|
||||||
|
}
|
||||||
|
.el-menu-item:hover a,.el-menu-item.is-active a{
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
.el-submenu__title:hover{background: none;}
|
||||||
|
.main-footer {
|
||||||
|
background: #fff;
|
||||||
|
padding: 15px 0;
|
||||||
|
color: #444;
|
||||||
|
}
|
||||||
|
/* title */
|
||||||
|
.content-header {
|
||||||
|
position: relative;
|
||||||
|
padding: 15px 15px 0 15px;
|
||||||
|
/* margin-top: 70px; */
|
||||||
|
}
|
||||||
|
.content-header > h1 {
|
||||||
|
margin: 0;
|
||||||
|
font-size: 24px;
|
||||||
|
font-weight: normal;
|
||||||
|
}
|
||||||
|
.content-header > h1 > small {
|
||||||
|
font-size: 15px;
|
||||||
|
display: inline-block;
|
||||||
|
padding-left: 4px;
|
||||||
|
font-weight: 300;
|
||||||
|
}
|
||||||
|
.content-header > .breadcrumb {
|
||||||
|
float: right;
|
||||||
|
background: transparent;
|
||||||
|
margin-top: 0;
|
||||||
|
margin-bottom: 0;
|
||||||
|
font-size: 12px;
|
||||||
|
padding: 7px 5px;
|
||||||
|
position: absolute;
|
||||||
|
top: 20px;
|
||||||
|
right: 10px;
|
||||||
|
border-radius: 2px;
|
||||||
|
}
|
||||||
|
/* */
|
||||||
|
.app-container{
|
||||||
|
background: #fff;
|
||||||
|
margin: 15px 30px 15px 15px;
|
||||||
|
|
||||||
|
}
|
||||||
|
.pagiantion{
|
||||||
|
text-align: right;
|
||||||
|
padding: 15px;
|
||||||
|
}
|
||||||
|
.box {
|
||||||
|
position: relative;
|
||||||
|
border-radius: 3px;
|
||||||
|
background: #ffffff;
|
||||||
|
border-top: 3px solid #3c8dbc;
|
||||||
|
padding: 10px;
|
||||||
|
margin-bottom: 20px;
|
||||||
|
width: 100%;
|
||||||
|
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
|
||||||
|
}
|
||||||
|
.filter-container{
|
||||||
|
padding:10px 0 15px 0;
|
||||||
|
}
|
||||||
|
.main-container{margin-top: 70px;}
|
||||||
|
.filter-container .el-button,.filter-container .el-input__inner{
|
||||||
|
padding: 0 15px;
|
||||||
|
height: 34px;
|
||||||
|
line-height: 34px;
|
||||||
|
}
|
||||||
|
.el-aside{overflow: hidden;}
|
||||||
|
.el-submenu .el-menu-item a{
|
||||||
|
display: block;
|
||||||
|
height: 50px;
|
||||||
|
}
|
||||||
|
.el-menu--collapse .el-submenu__icon-arrow{ display: none}
|
||||||
|
/* .el-container{position: relative;} */
|
||||||
|
/* foot */
|
||||||
|
.el-footer{
|
||||||
|
position: absolute;
|
||||||
|
left: 180px;
|
||||||
|
right: 0px;
|
||||||
|
bottom: -80px;
|
||||||
|
}
|
||||||
|
.boxMain .el-upload--text{
|
||||||
|
position:static;
|
||||||
|
}
|
||||||
|
.boxMain >div{
|
||||||
|
display: inline-block;
|
||||||
|
}
|
||||||
|
.excelTitle{
|
||||||
|
text-align: center;
|
||||||
|
overflow: hidden;
|
||||||
|
line-height: 40px;
|
||||||
|
}
|
||||||
|
.excelTitle .el-button{
|
||||||
|
float: left;
|
||||||
|
}
|
||||||
|
.excelTime{
|
||||||
|
padding: 10px 0;
|
||||||
|
text-align: right;
|
||||||
|
}
|
||||||
|
.exceTable{
|
||||||
|
width: 100%;
|
||||||
|
border-right: 1px solid #e6e6e6;
|
||||||
|
border-bottom: 1px solid #e6e6e6;
|
||||||
|
font-size: 14px;
|
||||||
|
color: #333;
|
||||||
|
}
|
||||||
|
.exceTable tr,.exceTable td{
|
||||||
|
border-left: 1px solid #e6e6e6;
|
||||||
|
border-top: 1px solid #e6e6e6;
|
||||||
|
height: 40px;
|
||||||
|
line-height: 40px;
|
||||||
|
padding: 0 10px;
|
||||||
|
}
|
||||||
|
.exceTable .headBody{
|
||||||
|
text-align: center;
|
||||||
|
font-weight: 700;
|
||||||
|
font-size: 14px;
|
||||||
|
}
|
||||||
|
.tabletrBg{
|
||||||
|
background: #fcfcfc;
|
||||||
|
text-align: right;
|
||||||
|
}
|
||||||
|
.textCenter{
|
||||||
|
text-align: center
|
||||||
|
}
|
||||||
|
.checkScrol{
|
||||||
|
height: 277px;
|
||||||
|
overflow-y:scroll; ;
|
||||||
|
}
|
After Width: | Height: | Size: 434 KiB |
@ -0,0 +1,14 @@
|
|||||||
|
function loginApi(data) {
|
||||||
|
return $axios({
|
||||||
|
'url': '/users/login',
|
||||||
|
'method': 'post',
|
||||||
|
data
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
// function logoutApi(){
|
||||||
|
// return $axios({
|
||||||
|
// 'url': '/users/logout',
|
||||||
|
// 'method': 'post',
|
||||||
|
// })
|
||||||
|
// }
|
After Width: | Height: | Size: 1.0 MiB |
@ -0,0 +1,127 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
<title>学生成绩管理系统</title>
|
||||||
|
<link rel="shortcut icon" href="favicon.ico">
|
||||||
|
<!-- 引入样式 -->
|
||||||
|
<link rel="stylesheet" href="../../plugins/element-ui/index.css" />
|
||||||
|
<link rel="stylesheet" href="../../styles/common.css">
|
||||||
|
<link rel="stylesheet" href="../../styles/login.css">
|
||||||
|
<link rel="stylesheet" href="../../styles/icon/iconfont.css" />
|
||||||
|
<style>
|
||||||
|
.body{
|
||||||
|
min-width: 1366px;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body>
|
||||||
|
<div class="login" id="login-app">
|
||||||
|
<div class="login-box">
|
||||||
|
<img src="../../images/login/hzxy.png" alt="">
|
||||||
|
<div class="login-form">
|
||||||
|
<el-form ref="loginForm" :model="loginForm" :rules="loginRules" >
|
||||||
|
<div class="login-form-title">
|
||||||
|
学生成绩管理系统
|
||||||
|
</div>
|
||||||
|
<el-form-item prop="username">
|
||||||
|
<el-input v-model="loginForm.username" type="text" auto-complete="off" placeholder="账号" maxlength="20"
|
||||||
|
prefix-icon="iconfont icon-user" />
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item prop="password">
|
||||||
|
<el-input v-model="loginForm.password" type="password" placeholder="密码" prefix-icon="iconfont icon-lock" maxlength="20"
|
||||||
|
@keyup.enter.native="handleLogin" />
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item style="width:100%;">
|
||||||
|
<el-button :loading="loading" class="login-btn" size="medium" type="primary" style="width:100%;"
|
||||||
|
@click.native.prevent="handleLogin">
|
||||||
|
<span v-if="!loading">登录</span>
|
||||||
|
<span v-else>登录中...</span>
|
||||||
|
</el-button>
|
||||||
|
</el-form-item>
|
||||||
|
</el-form>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- 开发环境版本,包含了有帮助的命令行警告 -->
|
||||||
|
<script src="../../plugins/vue/vue.js"></script>
|
||||||
|
<!-- 引入组件库 -->
|
||||||
|
<script src="../../plugins/element-ui/index.js"></script>
|
||||||
|
<!-- 引入axios -->
|
||||||
|
<script src="../../plugins/axios/axios.min.js"></script>
|
||||||
|
<script src="../../js/request.js"></script>
|
||||||
|
<script src="../../js/validate.js"></script>
|
||||||
|
<script src="../../api/login.js"></script>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
new Vue({
|
||||||
|
el: '#login-app',
|
||||||
|
data() {
|
||||||
|
return {
|
||||||
|
loginForm:{
|
||||||
|
username: 'admin',
|
||||||
|
password: '123456'
|
||||||
|
},
|
||||||
|
loading: false
|
||||||
|
}
|
||||||
|
},
|
||||||
|
computed: {
|
||||||
|
loginRules() {
|
||||||
|
const validateUsername = (rule, value, callback) => {
|
||||||
|
if (value.length < 1 ) {
|
||||||
|
callback(new Error('请输入用户名'))
|
||||||
|
} else {
|
||||||
|
callback()
|
||||||
|
}
|
||||||
|
}
|
||||||
|
const validatePassword = (rule, value, callback) => {
|
||||||
|
if (value.length < 6 ) {
|
||||||
|
callback(new Error('密码为六位数'))
|
||||||
|
} else {
|
||||||
|
callback()
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return {
|
||||||
|
'username': [{ 'validator': validateUsername, 'trigger': 'blur' }],
|
||||||
|
'password': [{ 'validator': validatePassword, 'trigger': 'blur' }]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
created() {
|
||||||
|
},
|
||||||
|
methods: {
|
||||||
|
async handleLogin() {
|
||||||
|
this.$refs.loginForm.validate(async (valid) => {
|
||||||
|
if (valid) {
|
||||||
|
this.loading = true
|
||||||
|
let res = await loginApi(this.loginForm)
|
||||||
|
if (String(res.code) === '1' && res.data.type == '0' ) {
|
||||||
|
localStorage.setItem('userInfo',JSON.stringify(res.data))
|
||||||
|
window.location.href= '../../../account_view/pages/account.html'
|
||||||
|
}
|
||||||
|
if (String(res.code) === '1' && res.data.type == '1' ) {
|
||||||
|
localStorage.setItem('userInfo',JSON.stringify(res.data))
|
||||||
|
window.location.href= '../../../student_view/pages/student.html'
|
||||||
|
}
|
||||||
|
if (String(res.code) === '1' && res.data.type == '2' ) {
|
||||||
|
localStorage.setItem('userInfo',JSON.stringify(res.data))
|
||||||
|
window.location.href= '../../../teacher_view/pages/teacher.html'
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
this.$message.error(res.msg)
|
||||||
|
this.loading = false
|
||||||
|
}
|
||||||
|
}
|
||||||
|
})
|
||||||
|
}
|
||||||
|
}
|
||||||
|
})
|
||||||
|
</script>
|
||||||
|
</body>
|
||||||
|
|
||||||
|
</html>
|
@ -0,0 +1,539 @@
|
|||||||
|
/* Logo 字体 */
|
||||||
|
@font-face {
|
||||||
|
font-family: "iconfont logo";
|
||||||
|
src: url('https://at.alicdn.com/t/font_985780_km7mi63cihi.eot?t=1545807318834');
|
||||||
|
src: url('https://at.alicdn.com/t/font_985780_km7mi63cihi.eot?t=1545807318834#iefix') format('embedded-opentype'),
|
||||||
|
url('https://at.alicdn.com/t/font_985780_km7mi63cihi.woff?t=1545807318834') format('woff'),
|
||||||
|
url('https://at.alicdn.com/t/font_985780_km7mi63cihi.ttf?t=1545807318834') format('truetype'),
|
||||||
|
url('https://at.alicdn.com/t/font_985780_km7mi63cihi.svg?t=1545807318834#iconfont') format('svg');
|
||||||
|
}
|
||||||
|
|
||||||
|
.logo {
|
||||||
|
font-family: "iconfont logo";
|
||||||
|
font-size: 160px;
|
||||||
|
font-style: normal;
|
||||||
|
-webkit-font-smoothing: antialiased;
|
||||||
|
-moz-osx-font-smoothing: grayscale;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* tabs */
|
||||||
|
.nav-tabs {
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
|
||||||
|
.nav-tabs .nav-more {
|
||||||
|
position: absolute;
|
||||||
|
right: 0;
|
||||||
|
bottom: 0;
|
||||||
|
height: 42px;
|
||||||
|
line-height: 42px;
|
||||||
|
color: #666;
|
||||||
|
}
|
||||||
|
|
||||||
|
#tabs {
|
||||||
|
border-bottom: 1px solid #eee;
|
||||||
|
}
|
||||||
|
|
||||||
|
#tabs li {
|
||||||
|
cursor: pointer;
|
||||||
|
width: 100px;
|
||||||
|
height: 40px;
|
||||||
|
line-height: 40px;
|
||||||
|
text-align: center;
|
||||||
|
font-size: 16px;
|
||||||
|
border-bottom: 2px solid transparent;
|
||||||
|
position: relative;
|
||||||
|
z-index: 1;
|
||||||
|
margin-bottom: -1px;
|
||||||
|
color: #666;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
#tabs .active {
|
||||||
|
border-bottom-color: #f00;
|
||||||
|
color: #222;
|
||||||
|
}
|
||||||
|
|
||||||
|
.tab-container .content {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* 页面布局 */
|
||||||
|
.main {
|
||||||
|
padding: 30px 100px;
|
||||||
|
width: 960px;
|
||||||
|
margin: 0 auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
.main .logo {
|
||||||
|
color: #333;
|
||||||
|
text-align: left;
|
||||||
|
margin-bottom: 30px;
|
||||||
|
line-height: 1;
|
||||||
|
height: 110px;
|
||||||
|
margin-top: -50px;
|
||||||
|
overflow: hidden;
|
||||||
|
*zoom: 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
.main .logo a {
|
||||||
|
font-size: 160px;
|
||||||
|
color: #333;
|
||||||
|
}
|
||||||
|
|
||||||
|
.helps {
|
||||||
|
margin-top: 40px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.helps pre {
|
||||||
|
padding: 20px;
|
||||||
|
margin: 10px 0;
|
||||||
|
border: solid 1px #e7e1cd;
|
||||||
|
background-color: #fffdef;
|
||||||
|
overflow: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
.icon_lists {
|
||||||
|
width: 100% !important;
|
||||||
|
overflow: hidden;
|
||||||
|
*zoom: 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
.icon_lists li {
|
||||||
|
width: 100px;
|
||||||
|
margin-bottom: 10px;
|
||||||
|
margin-right: 20px;
|
||||||
|
text-align: center;
|
||||||
|
list-style: none !important;
|
||||||
|
cursor: default;
|
||||||
|
}
|
||||||
|
|
||||||
|
.icon_lists li .code-name {
|
||||||
|
line-height: 1.2;
|
||||||
|
}
|
||||||
|
|
||||||
|
.icon_lists .icon {
|
||||||
|
display: block;
|
||||||
|
height: 100px;
|
||||||
|
line-height: 100px;
|
||||||
|
font-size: 42px;
|
||||||
|
margin: 10px auto;
|
||||||
|
color: #333;
|
||||||
|
-webkit-transition: font-size 0.25s linear, width 0.25s linear;
|
||||||
|
-moz-transition: font-size 0.25s linear, width 0.25s linear;
|
||||||
|
transition: font-size 0.25s linear, width 0.25s linear;
|
||||||
|
}
|
||||||
|
|
||||||
|
.icon_lists .icon:hover {
|
||||||
|
font-size: 100px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.icon_lists .svg-icon {
|
||||||
|
/* 通过设置 font-size 来改变图标大小 */
|
||||||
|
width: 1em;
|
||||||
|
/* 图标和文字相邻时,垂直对齐 */
|
||||||
|
vertical-align: -0.15em;
|
||||||
|
/* 通过设置 color 来改变 SVG 的颜色/fill */
|
||||||
|
fill: currentColor;
|
||||||
|
/* path 和 stroke 溢出 viewBox 部分在 IE 下会显示
|
||||||
|
normalize.css 中也包含这行 */
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
|
||||||
|
.icon_lists li .name,
|
||||||
|
.icon_lists li .code-name {
|
||||||
|
color: #666;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* markdown 样式 */
|
||||||
|
.markdown {
|
||||||
|
color: #666;
|
||||||
|
font-size: 14px;
|
||||||
|
line-height: 1.8;
|
||||||
|
}
|
||||||
|
|
||||||
|
.highlight {
|
||||||
|
line-height: 1.5;
|
||||||
|
}
|
||||||
|
|
||||||
|
.markdown img {
|
||||||
|
vertical-align: middle;
|
||||||
|
max-width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.markdown h1 {
|
||||||
|
color: #404040;
|
||||||
|
font-weight: 500;
|
||||||
|
line-height: 40px;
|
||||||
|
margin-bottom: 24px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.markdown h2,
|
||||||
|
.markdown h3,
|
||||||
|
.markdown h4,
|
||||||
|
.markdown h5,
|
||||||
|
.markdown h6 {
|
||||||
|
color: #404040;
|
||||||
|
margin: 1.6em 0 0.6em 0;
|
||||||
|
font-weight: 500;
|
||||||
|
clear: both;
|
||||||
|
}
|
||||||
|
|
||||||
|
.markdown h1 {
|
||||||
|
font-size: 28px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.markdown h2 {
|
||||||
|
font-size: 22px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.markdown h3 {
|
||||||
|
font-size: 16px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.markdown h4 {
|
||||||
|
font-size: 14px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.markdown h5 {
|
||||||
|
font-size: 12px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.markdown h6 {
|
||||||
|
font-size: 12px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.markdown hr {
|
||||||
|
height: 1px;
|
||||||
|
border: 0;
|
||||||
|
background: #e9e9e9;
|
||||||
|
margin: 16px 0;
|
||||||
|
clear: both;
|
||||||
|
}
|
||||||
|
|
||||||
|
.markdown p {
|
||||||
|
margin: 1em 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.markdown>p,
|
||||||
|
.markdown>blockquote,
|
||||||
|
.markdown>.highlight,
|
||||||
|
.markdown>ol,
|
||||||
|
.markdown>ul {
|
||||||
|
width: 80%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.markdown ul>li {
|
||||||
|
list-style: circle;
|
||||||
|
}
|
||||||
|
|
||||||
|
.markdown>ul li,
|
||||||
|
.markdown blockquote ul>li {
|
||||||
|
margin-left: 20px;
|
||||||
|
padding-left: 4px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.markdown>ul li p,
|
||||||
|
.markdown>ol li p {
|
||||||
|
margin: 0.6em 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.markdown ol>li {
|
||||||
|
list-style: decimal;
|
||||||
|
}
|
||||||
|
|
||||||
|
.markdown>ol li,
|
||||||
|
.markdown blockquote ol>li {
|
||||||
|
margin-left: 20px;
|
||||||
|
padding-left: 4px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.markdown code {
|
||||||
|
margin: 0 3px;
|
||||||
|
padding: 0 5px;
|
||||||
|
background: #eee;
|
||||||
|
border-radius: 3px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.markdown strong,
|
||||||
|
.markdown b {
|
||||||
|
font-weight: 600;
|
||||||
|
}
|
||||||
|
|
||||||
|
.markdown>table {
|
||||||
|
border-collapse: collapse;
|
||||||
|
border-spacing: 0px;
|
||||||
|
empty-cells: show;
|
||||||
|
border: 1px solid #e9e9e9;
|
||||||
|
width: 95%;
|
||||||
|
margin-bottom: 24px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.markdown>table th {
|
||||||
|
white-space: nowrap;
|
||||||
|
color: #333;
|
||||||
|
font-weight: 600;
|
||||||
|
}
|
||||||
|
|
||||||
|
.markdown>table th,
|
||||||
|
.markdown>table td {
|
||||||
|
border: 1px solid #e9e9e9;
|
||||||
|
padding: 8px 16px;
|
||||||
|
text-align: left;
|
||||||
|
}
|
||||||
|
|
||||||
|
.markdown>table th {
|
||||||
|
background: #F7F7F7;
|
||||||
|
}
|
||||||
|
|
||||||
|
.markdown blockquote {
|
||||||
|
font-size: 90%;
|
||||||
|
color: #999;
|
||||||
|
border-left: 4px solid #e9e9e9;
|
||||||
|
padding-left: 0.8em;
|
||||||
|
margin: 1em 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.markdown blockquote p {
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.markdown .anchor {
|
||||||
|
opacity: 0;
|
||||||
|
transition: opacity 0.3s ease;
|
||||||
|
margin-left: 8px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.markdown .waiting {
|
||||||
|
color: #ccc;
|
||||||
|
}
|
||||||
|
|
||||||
|
.markdown h1:hover .anchor,
|
||||||
|
.markdown h2:hover .anchor,
|
||||||
|
.markdown h3:hover .anchor,
|
||||||
|
.markdown h4:hover .anchor,
|
||||||
|
.markdown h5:hover .anchor,
|
||||||
|
.markdown h6:hover .anchor {
|
||||||
|
opacity: 1;
|
||||||
|
display: inline-block;
|
||||||
|
}
|
||||||
|
|
||||||
|
.markdown>br,
|
||||||
|
.markdown>p>br {
|
||||||
|
clear: both;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
.hljs {
|
||||||
|
display: block;
|
||||||
|
background: white;
|
||||||
|
padding: 0.5em;
|
||||||
|
color: #333333;
|
||||||
|
overflow-x: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-comment,
|
||||||
|
.hljs-meta {
|
||||||
|
color: #969896;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-string,
|
||||||
|
.hljs-variable,
|
||||||
|
.hljs-template-variable,
|
||||||
|
.hljs-strong,
|
||||||
|
.hljs-emphasis,
|
||||||
|
.hljs-quote {
|
||||||
|
color: #df5000;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-keyword,
|
||||||
|
.hljs-selector-tag,
|
||||||
|
.hljs-type {
|
||||||
|
color: #a71d5d;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-literal,
|
||||||
|
.hljs-symbol,
|
||||||
|
.hljs-bullet,
|
||||||
|
.hljs-attribute {
|
||||||
|
color: #0086b3;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-section,
|
||||||
|
.hljs-name {
|
||||||
|
color: #63a35c;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-tag {
|
||||||
|
color: #333333;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-title,
|
||||||
|
.hljs-attr,
|
||||||
|
.hljs-selector-id,
|
||||||
|
.hljs-selector-class,
|
||||||
|
.hljs-selector-attr,
|
||||||
|
.hljs-selector-pseudo {
|
||||||
|
color: #795da3;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-addition {
|
||||||
|
color: #55a532;
|
||||||
|
background-color: #eaffea;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-deletion {
|
||||||
|
color: #bd2c00;
|
||||||
|
background-color: #ffecec;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hljs-link {
|
||||||
|
text-decoration: underline;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* 代码高亮 */
|
||||||
|
/* PrismJS 1.15.0
|
||||||
|
https://prismjs.com/download.html#themes=prism&languages=markup+css+clike+javascript */
|
||||||
|
/**
|
||||||
|
* prism.js default theme for JavaScript, CSS and HTML
|
||||||
|
* Based on dabblet (http://dabblet.com)
|
||||||
|
* @author Lea Verou
|
||||||
|
*/
|
||||||
|
code[class*="language-"],
|
||||||
|
pre[class*="language-"] {
|
||||||
|
color: black;
|
||||||
|
background: none;
|
||||||
|
text-shadow: 0 1px white;
|
||||||
|
font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
|
||||||
|
text-align: left;
|
||||||
|
white-space: pre;
|
||||||
|
word-spacing: normal;
|
||||||
|
word-break: normal;
|
||||||
|
word-wrap: normal;
|
||||||
|
line-height: 1.5;
|
||||||
|
|
||||||
|
-moz-tab-size: 4;
|
||||||
|
-o-tab-size: 4;
|
||||||
|
tab-size: 4;
|
||||||
|
|
||||||
|
-webkit-hyphens: none;
|
||||||
|
-moz-hyphens: none;
|
||||||
|
-ms-hyphens: none;
|
||||||
|
hyphens: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
pre[class*="language-"]::-moz-selection,
|
||||||
|
pre[class*="language-"] ::-moz-selection,
|
||||||
|
code[class*="language-"]::-moz-selection,
|
||||||
|
code[class*="language-"] ::-moz-selection {
|
||||||
|
text-shadow: none;
|
||||||
|
background: #b3d4fc;
|
||||||
|
}
|
||||||
|
|
||||||
|
pre[class*="language-"]::selection,
|
||||||
|
pre[class*="language-"] ::selection,
|
||||||
|
code[class*="language-"]::selection,
|
||||||
|
code[class*="language-"] ::selection {
|
||||||
|
text-shadow: none;
|
||||||
|
background: #b3d4fc;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media print {
|
||||||
|
|
||||||
|
code[class*="language-"],
|
||||||
|
pre[class*="language-"] {
|
||||||
|
text-shadow: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Code blocks */
|
||||||
|
pre[class*="language-"] {
|
||||||
|
padding: 1em;
|
||||||
|
margin: .5em 0;
|
||||||
|
overflow: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
:not(pre)>code[class*="language-"],
|
||||||
|
pre[class*="language-"] {
|
||||||
|
background: #f5f2f0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Inline code */
|
||||||
|
:not(pre)>code[class*="language-"] {
|
||||||
|
padding: .1em;
|
||||||
|
border-radius: .3em;
|
||||||
|
white-space: normal;
|
||||||
|
}
|
||||||
|
|
||||||
|
.token.comment,
|
||||||
|
.token.prolog,
|
||||||
|
.token.doctype,
|
||||||
|
.token.cdata {
|
||||||
|
color: slategray;
|
||||||
|
}
|
||||||
|
|
||||||
|
.token.punctuation {
|
||||||
|
color: #999;
|
||||||
|
}
|
||||||
|
|
||||||
|
.namespace {
|
||||||
|
opacity: .7;
|
||||||
|
}
|
||||||
|
|
||||||
|
.token.property,
|
||||||
|
.token.tag,
|
||||||
|
.token.boolean,
|
||||||
|
.token.number,
|
||||||
|
.token.constant,
|
||||||
|
.token.symbol,
|
||||||
|
.token.deleted {
|
||||||
|
color: #905;
|
||||||
|
}
|
||||||
|
|
||||||
|
.token.selector,
|
||||||
|
.token.attr-name,
|
||||||
|
.token.string,
|
||||||
|
.token.char,
|
||||||
|
.token.builtin,
|
||||||
|
.token.inserted {
|
||||||
|
color: #690;
|
||||||
|
}
|
||||||
|
|
||||||
|
.token.operator,
|
||||||
|
.token.entity,
|
||||||
|
.token.url,
|
||||||
|
.language-css .token.string,
|
||||||
|
.style .token.string {
|
||||||
|
color: #9a6e3a;
|
||||||
|
background: hsla(0, 0%, 100%, .5);
|
||||||
|
}
|
||||||
|
|
||||||
|
.token.atrule,
|
||||||
|
.token.attr-value,
|
||||||
|
.token.keyword {
|
||||||
|
color: #07a;
|
||||||
|
}
|
||||||
|
|
||||||
|
.token.function,
|
||||||
|
.token.class-name {
|
||||||
|
color: #DD4A68;
|
||||||
|
}
|
||||||
|
|
||||||
|
.token.regex,
|
||||||
|
.token.important,
|
||||||
|
.token.variable {
|
||||||
|
color: #e90;
|
||||||
|
}
|
||||||
|
|
||||||
|
.token.important,
|
||||||
|
.token.bold {
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
|
.token.italic {
|
||||||
|
font-style: italic;
|
||||||
|
}
|
||||||
|
|
||||||
|
.token.entity {
|
||||||
|
cursor: help;
|
||||||
|
}
|
@ -0,0 +1,43 @@
|
|||||||
|
@font-face {
|
||||||
|
font-family: "iconfont"; /* Project id 2552591 */
|
||||||
|
src: url('iconfont.woff2?t=1621231825060') format('woff2'),
|
||||||
|
url('iconfont.woff?t=1621231825060') format('woff'),
|
||||||
|
url('iconfont.ttf?t=1621231825060') format('truetype');
|
||||||
|
}
|
||||||
|
|
||||||
|
.iconfont {
|
||||||
|
font-family: "iconfont" !important;
|
||||||
|
font-size: 16px;
|
||||||
|
font-style: normal;
|
||||||
|
-webkit-font-smoothing: antialiased;
|
||||||
|
-moz-osx-font-smoothing: grayscale;
|
||||||
|
}
|
||||||
|
|
||||||
|
.icon-category:before {
|
||||||
|
content: "\e606";
|
||||||
|
}
|
||||||
|
|
||||||
|
.icon-member:before {
|
||||||
|
content: "\e607";
|
||||||
|
}
|
||||||
|
|
||||||
|
.icon-user:before {
|
||||||
|
content: "\e608";
|
||||||
|
}
|
||||||
|
|
||||||
|
.icon-order:before {
|
||||||
|
content: "\e609";
|
||||||
|
}
|
||||||
|
|
||||||
|
.icon-combo:before {
|
||||||
|
content: "\e60a";
|
||||||
|
}
|
||||||
|
|
||||||
|
.icon-lock:before {
|
||||||
|
content: "\e60b";
|
||||||
|
}
|
||||||
|
|
||||||
|
.icon-food:before {
|
||||||
|
content: "\e60c";
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,58 @@
|
|||||||
|
{
|
||||||
|
"id": "2552591",
|
||||||
|
"name": "rjwm",
|
||||||
|
"font_family": "iconfont",
|
||||||
|
"css_prefix_text": "icon-",
|
||||||
|
"description": "",
|
||||||
|
"glyphs": [
|
||||||
|
{
|
||||||
|
"icon_id": "21641541",
|
||||||
|
"name": "category",
|
||||||
|
"font_class": "category",
|
||||||
|
"unicode": "e606",
|
||||||
|
"unicode_decimal": 58886
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"icon_id": "21641542",
|
||||||
|
"name": "member",
|
||||||
|
"font_class": "member",
|
||||||
|
"unicode": "e607",
|
||||||
|
"unicode_decimal": 58887
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"icon_id": "21641545",
|
||||||
|
"name": "user",
|
||||||
|
"font_class": "user",
|
||||||
|
"unicode": "e608",
|
||||||
|
"unicode_decimal": 58888
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"icon_id": "21641546",
|
||||||
|
"name": "order",
|
||||||
|
"font_class": "order",
|
||||||
|
"unicode": "e609",
|
||||||
|
"unicode_decimal": 58889
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"icon_id": "21641547",
|
||||||
|
"name": "combo",
|
||||||
|
"font_class": "combo",
|
||||||
|
"unicode": "e60a",
|
||||||
|
"unicode_decimal": 58890
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"icon_id": "21641548",
|
||||||
|
"name": "lock",
|
||||||
|
"font_class": "lock",
|
||||||
|
"unicode": "e60b",
|
||||||
|
"unicode_decimal": 58891
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"icon_id": "21641611",
|
||||||
|
"name": "food",
|
||||||
|
"font_class": "food",
|
||||||
|
"unicode": "e60c",
|
||||||
|
"unicode_decimal": 58892
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
@ -0,0 +1,333 @@
|
|||||||
|
.app-wrapper {
|
||||||
|
position: relative;
|
||||||
|
height: 100%;
|
||||||
|
width: 100%;
|
||||||
|
overflow-y: hidden;
|
||||||
|
min-width: 1366px;
|
||||||
|
overflow-x: auto;
|
||||||
|
display: flex;
|
||||||
|
}
|
||||||
|
.drawer-bg {
|
||||||
|
background: #000;
|
||||||
|
opacity: 0.3;
|
||||||
|
width: 100%;
|
||||||
|
top: 0;
|
||||||
|
height: 100%;
|
||||||
|
position: absolute;
|
||||||
|
z-index: 999;
|
||||||
|
}
|
||||||
|
.main-container {
|
||||||
|
height: 100%;
|
||||||
|
background: #f3f4f7;
|
||||||
|
position: relative;
|
||||||
|
width: calc(100% - 190px);
|
||||||
|
}
|
||||||
|
.sidebar-container {
|
||||||
|
transition: width 0.28s;
|
||||||
|
width: 190px !important;
|
||||||
|
height: 100%;
|
||||||
|
z-index: 1001;
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
.hideSidebar .main-container {
|
||||||
|
margin-left: 54px;
|
||||||
|
}
|
||||||
|
.hideSidebar .sidebar-container {
|
||||||
|
width: 54px !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sidebar-container .horizontal-collapse-transition {
|
||||||
|
transition: 0s width ease-in-out, 0s padding-left ease-in-out,
|
||||||
|
0s padding-right ease-in-out;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sidebar-container .scrollbar-wrapper {
|
||||||
|
overflow-x: hidden !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sidebar-container .el-scrollbar__view {
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sidebar-container .el-scrollbar__bar.is-vertical {
|
||||||
|
right: 0px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sidebar-container .el-scrollbar__bar.is-horizontal {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.navbar {
|
||||||
|
height: 64px;
|
||||||
|
overflow: hidden;
|
||||||
|
position: relative;
|
||||||
|
background: #fff;
|
||||||
|
box-shadow: 0 1px 4px rgba(0, 21, 41, 0.08);
|
||||||
|
}
|
||||||
|
.navbar .hamburger-container {
|
||||||
|
line-height: 46px;
|
||||||
|
height: 100%;
|
||||||
|
float: left;
|
||||||
|
padding: 0 15px;
|
||||||
|
cursor: pointer;
|
||||||
|
transition: background 0.3s;
|
||||||
|
-webkit-tap-highlight-color: transparent;
|
||||||
|
}
|
||||||
|
.navbar .hamburger-container:hover {
|
||||||
|
background: rgba(0, 0, 0, 0.025);
|
||||||
|
}
|
||||||
|
.navbar .breadcrumb-container {
|
||||||
|
float: left;
|
||||||
|
}
|
||||||
|
.navbar .right-menu {
|
||||||
|
float: right;
|
||||||
|
display: flex;
|
||||||
|
margin-right: 34px;
|
||||||
|
height: 100%;
|
||||||
|
line-height: 64px;
|
||||||
|
color: #333333;
|
||||||
|
font-size: 14px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.navbar .right-menu .logout {
|
||||||
|
margin-left: 20px;
|
||||||
|
width: 28px;
|
||||||
|
font-size: 14px;
|
||||||
|
color: #ffc200;
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
|
||||||
|
.navbar .right-menu img {
|
||||||
|
margin-top: 20px;
|
||||||
|
margin-left: 10px;
|
||||||
|
width: 25px;
|
||||||
|
height: 25px;
|
||||||
|
}
|
||||||
|
.navbar .right-menu .outLogin {
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
.navbar .right-menu:focus {
|
||||||
|
outline: none;
|
||||||
|
}
|
||||||
|
.navbar .right-menu .right-menu-item {
|
||||||
|
display: inline-block;
|
||||||
|
padding: 0 8px;
|
||||||
|
height: 100%;
|
||||||
|
font-size: 18px;
|
||||||
|
color: #5a5e66;
|
||||||
|
vertical-align: text-bottom;
|
||||||
|
}
|
||||||
|
.navbar .right-menu .right-menu-item.hover-effect {
|
||||||
|
cursor: pointer;
|
||||||
|
transition: background 0.3s;
|
||||||
|
}
|
||||||
|
.navbar .right-menu .right-menu-item.hover-effect:hover {
|
||||||
|
background: rgba(0, 0, 0, 0.025);
|
||||||
|
}
|
||||||
|
.navbar .right-menu .avatar-container {
|
||||||
|
margin-right: 30px;
|
||||||
|
}
|
||||||
|
.navbar .right-menu .avatar-container .avatar-wrapper {
|
||||||
|
margin-top: 5px;
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
.navbar .right-menu .avatar-container .avatar-wrapper .user-avatar {
|
||||||
|
cursor: pointer;
|
||||||
|
width: 40px;
|
||||||
|
height: 40px;
|
||||||
|
border-radius: 10px;
|
||||||
|
}
|
||||||
|
.navbar .right-menu .avatar-container .avatar-wrapper .el-icon-caret-bottom {
|
||||||
|
cursor: pointer;
|
||||||
|
position: absolute;
|
||||||
|
right: -20px;
|
||||||
|
top: 25px;
|
||||||
|
font-size: 12px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.navbar .head-lable {
|
||||||
|
/* position: absolute; */
|
||||||
|
/* background: #fff; */
|
||||||
|
color: #333333;
|
||||||
|
height: 64px;
|
||||||
|
font-size: 16px;
|
||||||
|
width: 300px;
|
||||||
|
padding-left: 22px;
|
||||||
|
line-height: 64px;
|
||||||
|
font-weight: 700;
|
||||||
|
/* top: 0px;
|
||||||
|
left: 0px; */
|
||||||
|
opacity: 0;
|
||||||
|
float: left;
|
||||||
|
animation: opacity 500ms ease-out 800ms forwards;
|
||||||
|
}
|
||||||
|
.navbar .head-lable .goBack {
|
||||||
|
border-right: solid 1px #d8dde3;
|
||||||
|
padding-right: 14px;
|
||||||
|
margin-right: 14px;
|
||||||
|
font-size: 16px;
|
||||||
|
color: #333333;
|
||||||
|
cursor: pointer;
|
||||||
|
font-weight: 400;
|
||||||
|
}
|
||||||
|
.navbar .head-lable .goBack img {
|
||||||
|
position: relative;
|
||||||
|
top: 24px;
|
||||||
|
margin-right: 5px;
|
||||||
|
width: 18px;
|
||||||
|
height: 18px;
|
||||||
|
float: left;
|
||||||
|
}
|
||||||
|
@keyframes opacity {
|
||||||
|
0% {
|
||||||
|
opacity: 0;
|
||||||
|
left: 80px;
|
||||||
|
}
|
||||||
|
100% {
|
||||||
|
opacity: 1;
|
||||||
|
left: 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.logo {
|
||||||
|
text-align: center;
|
||||||
|
background-color: rgb(52, 55, 68);
|
||||||
|
/* height: 100px;
|
||||||
|
line-height: 100px;
|
||||||
|
padding: 12px 5px; */
|
||||||
|
padding: 46px 37px 67px 36px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.img {
|
||||||
|
display: inline-block;
|
||||||
|
}
|
||||||
|
|
||||||
|
.el-scrollbar {
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.el-menu {
|
||||||
|
border: none;
|
||||||
|
height: 100%;
|
||||||
|
width: 100% !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.el-submenu.is-active > .el-submenu__title {
|
||||||
|
color: #f4f4f5 !important;
|
||||||
|
}
|
||||||
|
.el-submenu > .el-submenu__title,
|
||||||
|
.el-submenu .el-menu-item {
|
||||||
|
min-width: 190px !important;
|
||||||
|
background-color: #272a36 !important;
|
||||||
|
}
|
||||||
|
/* .el-submenu > .el-submenu__title:hover, .el-submenu .el-menu-item:hover {
|
||||||
|
background-color: #0e132b !important;
|
||||||
|
color: #FF903D !important;
|
||||||
|
}
|
||||||
|
.el-menu-item.is-active {
|
||||||
|
color: #FF903D !important;
|
||||||
|
} */
|
||||||
|
|
||||||
|
.el-menu .el-menu-item {
|
||||||
|
color: #aeb5c4;
|
||||||
|
height: 42px;
|
||||||
|
line-height: 42px;
|
||||||
|
}
|
||||||
|
.el-menu .el-menu-item {
|
||||||
|
padding: 0 0 0 32px !important;
|
||||||
|
margin: 0 34px 20px 0;
|
||||||
|
border-radius: 0 21px 21px 0 !important;
|
||||||
|
}
|
||||||
|
.el-menu .el-menu-item:hover {
|
||||||
|
color: #ffffff !important;
|
||||||
|
background-color: transparent !important;
|
||||||
|
}
|
||||||
|
.el-menu .el-menu-item:hover span {
|
||||||
|
color: #ffffff !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.el-menu .el-menu-item:active {
|
||||||
|
color: #333333 !important;
|
||||||
|
background-color: transparent !important;
|
||||||
|
}
|
||||||
|
.el-menu .el-menu-item:active span {
|
||||||
|
color: #333333 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.el-menu .el-menu-item.is-active {
|
||||||
|
background-color: #ffc200 !important;
|
||||||
|
color: #333333 !important;
|
||||||
|
border-radius: 0 21px 21px 0 !important;
|
||||||
|
}
|
||||||
|
.el-menu .el-menu-item.is-active span {
|
||||||
|
color: #333333 !important;
|
||||||
|
font-weight: 500 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.el-menu-item i {
|
||||||
|
color: inherit;
|
||||||
|
font-size: 20px;
|
||||||
|
margin-right: 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.simple-mode.first-level .submenu-title-noDropdown {
|
||||||
|
padding: 0 !important;
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
.simple-mode.first-level .submenu-title-noDropdown .el-tooltip {
|
||||||
|
padding: 0 !important;
|
||||||
|
}
|
||||||
|
.simple-mode.first-level .el-submenu {
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
.simple-mode.first-level .el-submenu > .el-submenu__title {
|
||||||
|
padding: 0px !important;
|
||||||
|
}
|
||||||
|
.simple-mode.first-level
|
||||||
|
.el-submenu
|
||||||
|
> .el-submenu__title
|
||||||
|
.el-submenu__icon-arrow {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
.simple-mode.first-level .el-submenu > .el-submenu__title > span {
|
||||||
|
visibility: hidden;
|
||||||
|
}
|
||||||
|
.el-icon-arrow-down:before {
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
.el-submenu__title {
|
||||||
|
font-size: 16px !important;
|
||||||
|
position: relative;
|
||||||
|
z-index: 9;
|
||||||
|
}
|
||||||
|
.el-submenu__title svg {
|
||||||
|
margin-right: 5px !important;
|
||||||
|
width: 28px !important;
|
||||||
|
height: 28px !important;
|
||||||
|
}
|
||||||
|
.el-menu-item {
|
||||||
|
position: relative;
|
||||||
|
font-size: 14px !important;
|
||||||
|
padding-left: 52px !important;
|
||||||
|
}
|
||||||
|
.el-menu-item::before {
|
||||||
|
/* position: absolute;
|
||||||
|
left: 26px;
|
||||||
|
top: -24px;
|
||||||
|
content: '';
|
||||||
|
width: 15px;
|
||||||
|
height: 50px;
|
||||||
|
border-left: dotted 1px #7b7e88;
|
||||||
|
border-bottom: dotted 1px #7b7e88; */
|
||||||
|
}
|
||||||
|
|
||||||
|
.c_iframe {
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
border: 0;
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hide {
|
||||||
|
display: hide;
|
||||||
|
}
|
@ -0,0 +1,101 @@
|
|||||||
|
.login {
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
height: 100%;
|
||||||
|
background-color: #333;
|
||||||
|
}
|
||||||
|
.login-box {
|
||||||
|
width: 1000px;
|
||||||
|
height: 474.38px;
|
||||||
|
border-radius: 8px;
|
||||||
|
display: flex;
|
||||||
|
}
|
||||||
|
|
||||||
|
.login-box img {
|
||||||
|
width: 60%;
|
||||||
|
height: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
.title {
|
||||||
|
margin: 0px auto 30px auto;
|
||||||
|
text-align: center;
|
||||||
|
color: #707070;
|
||||||
|
}
|
||||||
|
.login-form {
|
||||||
|
background: #ffffff;
|
||||||
|
width: 40%;
|
||||||
|
border-radius: 0px 8px 8px 0px;
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
.login-form .el-form {
|
||||||
|
width: 214px;
|
||||||
|
height: 307px;
|
||||||
|
}
|
||||||
|
.login-form .el-form-item {
|
||||||
|
margin-bottom: 30px;
|
||||||
|
}
|
||||||
|
.login-form .el-form-item.is-error .el-input__inner {
|
||||||
|
border: 0 !important;
|
||||||
|
border-bottom: 1px solid #fd7065 !important;
|
||||||
|
background: #fff !important;
|
||||||
|
}
|
||||||
|
.login-form .input-icon {
|
||||||
|
height: 32px;
|
||||||
|
width: 18px;
|
||||||
|
margin-left: -2px;
|
||||||
|
}
|
||||||
|
.login-form .el-input__inner {
|
||||||
|
border: 0;
|
||||||
|
border-bottom: 1px solid #e9e9e8;
|
||||||
|
border-radius: 0;
|
||||||
|
font-size: 14px;
|
||||||
|
font-weight: 400;
|
||||||
|
color: #333333;
|
||||||
|
height: 32px;
|
||||||
|
line-height: 32px;
|
||||||
|
}
|
||||||
|
.login-form .el-input__prefix {
|
||||||
|
left: 0;
|
||||||
|
}
|
||||||
|
.login-form .el-input--prefix .el-input__inner {
|
||||||
|
padding-left: 26px;
|
||||||
|
}
|
||||||
|
.login-form .el-input__inner::placeholder {
|
||||||
|
color: #aeb5c4;
|
||||||
|
}
|
||||||
|
.login-form .el-form-item--medium .el-form-item__content {
|
||||||
|
line-height: 32px;
|
||||||
|
}
|
||||||
|
.login-form .el-input--medium .el-input__icon {
|
||||||
|
line-height: 32px;
|
||||||
|
}
|
||||||
|
.login-btn {
|
||||||
|
border-radius: 17px;
|
||||||
|
padding: 11px 20px !important;
|
||||||
|
margin-top: 10px;
|
||||||
|
font-weight: 500;
|
||||||
|
font-size: 14px;
|
||||||
|
border: 0;
|
||||||
|
background-color: #ffc200;
|
||||||
|
}
|
||||||
|
.login-btn:hover,
|
||||||
|
.login-btn:focus {
|
||||||
|
/* background: #FFC200; */
|
||||||
|
/* color: #ffffff; */
|
||||||
|
}
|
||||||
|
.login-form-title {
|
||||||
|
height: 36px;
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
margin-bottom: 40px;
|
||||||
|
}
|
||||||
|
.login-form-title .title-label {
|
||||||
|
font-weight: 500;
|
||||||
|
font-size: 20px;
|
||||||
|
color: #333333;
|
||||||
|
margin-left: 10px;
|
||||||
|
}
|
@ -0,0 +1,191 @@
|
|||||||
|
.dashboard-container {
|
||||||
|
padding: 20px;
|
||||||
|
}
|
||||||
|
.dashboard-container .container {
|
||||||
|
background: #fff;
|
||||||
|
position: relative;
|
||||||
|
z-index: 1;
|
||||||
|
padding: 30px 28px;
|
||||||
|
border-radius: 4px;
|
||||||
|
}
|
||||||
|
.dashboard-container .container .tableBar {
|
||||||
|
display: flex;
|
||||||
|
margin-bottom: 20px;
|
||||||
|
justify-content: space-between;
|
||||||
|
}
|
||||||
|
.dashboard-container .container .tableBox {
|
||||||
|
width: 100%;
|
||||||
|
border: solid 2px #f3f4f7;
|
||||||
|
border-radius: 2px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.dashboard-container .container .tableBox .el-image img {
|
||||||
|
width: 40px;
|
||||||
|
border-radius: 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.dashboard-container .container .pageList {
|
||||||
|
text-align: center;
|
||||||
|
margin-top: 30px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.dashboard-container .container .tableLab .span-btn {
|
||||||
|
cursor: pointer;
|
||||||
|
display: inline-block;
|
||||||
|
font-size: 14px;
|
||||||
|
padding: 0 20px;
|
||||||
|
color: #818693;
|
||||||
|
border-right: solid 1px #d8dde3;
|
||||||
|
}
|
||||||
|
|
||||||
|
.dashboard-container .container .tableLab .el-button {
|
||||||
|
margin-left: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.el-table-column--selection .cell {
|
||||||
|
padding-left: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* 添加 */
|
||||||
|
.addBrand-container .avatar-uploader .el-upload {
|
||||||
|
border: 1px dashed #d9d9d9;
|
||||||
|
border-radius: 6px;
|
||||||
|
cursor: pointer;
|
||||||
|
position: relative;
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
.addBrand-container .avatar-uploader .el-upload:hover {
|
||||||
|
border-color: #409eff;
|
||||||
|
}
|
||||||
|
.addBrand-container .avatar-uploader-icon {
|
||||||
|
font-size: 28px;
|
||||||
|
color: #8c939d;
|
||||||
|
width: 200px;
|
||||||
|
height: 160px;
|
||||||
|
line-height: 160px;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
.addBrand-container .avatar {
|
||||||
|
width: 160px;
|
||||||
|
height: 160px;
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
.addBrand-container .el-form--inline .el-form-item__content {
|
||||||
|
width: 293px;
|
||||||
|
}
|
||||||
|
.addBrand-container .el-input {
|
||||||
|
width: 293px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.addBrand-container {
|
||||||
|
margin: 30px;
|
||||||
|
}
|
||||||
|
.addBrand-container .container {
|
||||||
|
position: relative;
|
||||||
|
z-index: 1;
|
||||||
|
background: #fff;
|
||||||
|
padding: 30px;
|
||||||
|
border-radius: 4px;
|
||||||
|
min-height: 500px;
|
||||||
|
}
|
||||||
|
.addBrand-container .container .subBox {
|
||||||
|
padding-top: 30px;
|
||||||
|
text-align: center;
|
||||||
|
border-top: solid 1px #f3f4f7;
|
||||||
|
}
|
||||||
|
|
||||||
|
.flavorBox {
|
||||||
|
width: 777px;
|
||||||
|
}
|
||||||
|
.flavorBox .addBut {
|
||||||
|
background: #ffc200;
|
||||||
|
display: inline-block;
|
||||||
|
padding: 0px 20px;
|
||||||
|
border-radius: 3px;
|
||||||
|
line-height: 40px;
|
||||||
|
cursor: pointer;
|
||||||
|
border-radius: 4px;
|
||||||
|
color: #333333;
|
||||||
|
font-weight: 500;
|
||||||
|
}
|
||||||
|
.flavorBox .flavor {
|
||||||
|
border: solid 1px #dfe2e8;
|
||||||
|
border-radius: 3px;
|
||||||
|
padding: 15px;
|
||||||
|
background: #fafafb;
|
||||||
|
}
|
||||||
|
.flavorBox .flavor .title {
|
||||||
|
color: #606168;
|
||||||
|
}
|
||||||
|
.flavorBox .flavor .cont .items {
|
||||||
|
display: flex;
|
||||||
|
margin: 10px 0;
|
||||||
|
}
|
||||||
|
.flavorBox .flavor .cont .items .itTit {
|
||||||
|
width: 150px;
|
||||||
|
margin-right: 15px;
|
||||||
|
}
|
||||||
|
.flavorBox .flavor .cont .items .itTit input {
|
||||||
|
width: 100%;
|
||||||
|
line-height: 40px;
|
||||||
|
border-radius: 3px;
|
||||||
|
padding: 0 10px;
|
||||||
|
}
|
||||||
|
.flavorBox .flavor .cont .items .labItems {
|
||||||
|
flex: 1;
|
||||||
|
display: flex;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
border-radius: 3px;
|
||||||
|
min-height: 39px;
|
||||||
|
border: solid 1px #d8dde3;
|
||||||
|
background: #fff;
|
||||||
|
padding: 0 5px;
|
||||||
|
}
|
||||||
|
.flavorBox .flavor .cont .items .labItems span {
|
||||||
|
display: inline-block;
|
||||||
|
color: #f19c59;
|
||||||
|
margin: 5px;
|
||||||
|
line-height: 26px;
|
||||||
|
height: 26px;
|
||||||
|
padding: 0 10px;
|
||||||
|
background: #fdf4eb;
|
||||||
|
border-radius: 3px;
|
||||||
|
border: solid 1px #fae2cd;
|
||||||
|
}
|
||||||
|
.flavorBox .flavor .cont .items .labItems span i {
|
||||||
|
cursor: pointer;
|
||||||
|
font-style: normal;
|
||||||
|
}
|
||||||
|
.flavorBox .flavor .cont .items .labItems .inputBox {
|
||||||
|
display: inline-block;
|
||||||
|
width: 100%;
|
||||||
|
height: 36px;
|
||||||
|
line-height: 36px;
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
.flavorBox .flavor .cont .items .delFlavor {
|
||||||
|
display: inline-block;
|
||||||
|
padding: 0 10px;
|
||||||
|
color: #f19c59;
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
|
||||||
|
.addBrand-container .address .el-form-item__content {
|
||||||
|
width: 777px !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.el-button--text {
|
||||||
|
font-weight: 400 !important;
|
||||||
|
font-size: 13px !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.el-table td {
|
||||||
|
font-size: 13px !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.el-table .cell,
|
||||||
|
.el-table th div,
|
||||||
|
.el-table--border td:first-child .cell,
|
||||||
|
.el-table--border th:first-child .cell {
|
||||||
|
padding-left: 12px;
|
||||||
|
}
|
@ -0,0 +1,582 @@
|
|||||||
|
html,body {
|
||||||
|
/* overflow-y: scroll; */
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
a {
|
||||||
|
color: #3c8dbc;
|
||||||
|
text-decoration:none;
|
||||||
|
}
|
||||||
|
/* new style */
|
||||||
|
.skin-purple .main-sidebar {
|
||||||
|
background: #fff;
|
||||||
|
}
|
||||||
|
.skin-purple .main-header .logo:hover {
|
||||||
|
background: #0abdfe;
|
||||||
|
}
|
||||||
|
.skin-purple .main-header .navbar .sidebar-toggle:hover {
|
||||||
|
/* background: #0abdfe; */
|
||||||
|
}
|
||||||
|
.skin-purple .main-header {
|
||||||
|
min-height: 70px;
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
.skin-purple .main-header .logo {
|
||||||
|
height: 50px;
|
||||||
|
/* background: #0abdfe; */
|
||||||
|
float: left;
|
||||||
|
padding: 20px 0 0 15px;
|
||||||
|
/* width: 230px; */
|
||||||
|
}
|
||||||
|
.skin-purple .main-header .navbar {
|
||||||
|
height: 70px;
|
||||||
|
background: linear-gradient(to right, #0abdfe, #67f0e0);
|
||||||
|
/* margin-left: 230px; */
|
||||||
|
}
|
||||||
|
.winfo{margin-left: 230px;}
|
||||||
|
.skin-purple .main-header .sidebar-toggle {
|
||||||
|
display: inline-block;
|
||||||
|
padding: 24px 15px;
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
.skin-purple .main-sidebar {
|
||||||
|
padding-top: 75px;
|
||||||
|
}
|
||||||
|
.sidebar-menu > li {
|
||||||
|
line-height: 1.8
|
||||||
|
}
|
||||||
|
.skin-purple .sidebar-menu > li > a {
|
||||||
|
font-size: 16px;
|
||||||
|
color: #666
|
||||||
|
}
|
||||||
|
.skin-purple .sidebar-menu>li:hover>a,
|
||||||
|
.skin-purple .sidebar-menu>li.active>a {
|
||||||
|
background: transparent;
|
||||||
|
color: #666;
|
||||||
|
border-left-color: transparent
|
||||||
|
}
|
||||||
|
.skin-purple .treeview-menu>li>a:hover {
|
||||||
|
color: #fff
|
||||||
|
}
|
||||||
|
.skin-purple .sidebar-menu>li>.treeview-menu {
|
||||||
|
background: #fff;
|
||||||
|
}
|
||||||
|
.sidebar-menu .treeview-menu > li > a {
|
||||||
|
font-size: 16px;
|
||||||
|
padding-left: 35px;
|
||||||
|
color: #999
|
||||||
|
}
|
||||||
|
.sidebar-menu .treeview-menu > li:hover {
|
||||||
|
background: #0abdfe;
|
||||||
|
}
|
||||||
|
@media (min-width: 768px) {
|
||||||
|
.skin-purple .navbar-nav>li>a
|
||||||
|
{
|
||||||
|
padding-top: 25px;
|
||||||
|
padding-bottom: 25px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.modal-body .nav-tabs>li.active>a, .nav-tabs>li.active>a:focus, .nav-tabs>li.active>a:hover {
|
||||||
|
color: #0abdfe
|
||||||
|
}
|
||||||
|
.modal-body .nav-tabs>li>a {
|
||||||
|
color: #555
|
||||||
|
}
|
||||||
|
.bg-olive {
|
||||||
|
background-color: #0abdfe !important;
|
||||||
|
}
|
||||||
|
.dataTable .btn[class*='bg-']:hover {
|
||||||
|
box-shadow: none
|
||||||
|
}
|
||||||
|
.btn-primary {
|
||||||
|
background: #0abdfe;
|
||||||
|
border-color: #0abdfe;
|
||||||
|
}
|
||||||
|
.box-body .nav>li>a {
|
||||||
|
color: #666
|
||||||
|
}
|
||||||
|
.box-body .nav>li.active>a {
|
||||||
|
color: #0abdfe;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/* tab 1*/
|
||||||
|
.double {
|
||||||
|
line-height: 58px;
|
||||||
|
}
|
||||||
|
.title .glyphicon{
|
||||||
|
padding: 3px;
|
||||||
|
font-size: 13px;
|
||||||
|
border-radius: 8px;
|
||||||
|
color: #fff;
|
||||||
|
|
||||||
|
}
|
||||||
|
.data span.arrowup {
|
||||||
|
color: #d88918;
|
||||||
|
}
|
||||||
|
.data span.arrowdown {
|
||||||
|
color: #6bb10a;
|
||||||
|
}
|
||||||
|
.item-blue .glyphicon{
|
||||||
|
background-color: #39a9ea;
|
||||||
|
}
|
||||||
|
.item-green {
|
||||||
|
line-height: 58px;
|
||||||
|
}
|
||||||
|
.item-green .glyphicon{
|
||||||
|
background-color: #6bb10a;
|
||||||
|
line-height: 12px;
|
||||||
|
}
|
||||||
|
.item-orange .glyphicon{
|
||||||
|
background-color:#d88918;
|
||||||
|
}
|
||||||
|
.item-red .glyphicon{
|
||||||
|
background-color: #f14f4f;
|
||||||
|
}
|
||||||
|
.chart .chart-box {
|
||||||
|
margin: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* 数据表格label */
|
||||||
|
.content-wrapper .data-type {
|
||||||
|
/*width: 90%;*/
|
||||||
|
margin: 10px 5px;
|
||||||
|
border:1px solid #d4d4d4;
|
||||||
|
border-radius: 2px;
|
||||||
|
}
|
||||||
|
.data-type .title,
|
||||||
|
.data-type .data {
|
||||||
|
padding: 3px 12px;
|
||||||
|
border-top: 1px solid #d4d4d4;
|
||||||
|
overflow: hidden;
|
||||||
|
height: 42px;
|
||||||
|
}
|
||||||
|
.data-type .title {
|
||||||
|
line-height: 34px;
|
||||||
|
border-right: 1px solid #d4d4d4;
|
||||||
|
}
|
||||||
|
|
||||||
|
.data-type .data:last-child{
|
||||||
|
border-right: 0;
|
||||||
|
}
|
||||||
|
.data-type .title{
|
||||||
|
text-align: center;
|
||||||
|
background: #ececec;
|
||||||
|
}
|
||||||
|
.data-type .data .line{
|
||||||
|
vertical-align: middle;
|
||||||
|
overflow: hidden;
|
||||||
|
padding-bottom: 10px;
|
||||||
|
padding-top: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* label行高度 */
|
||||||
|
.data-type .data > label {
|
||||||
|
line-height:36px;
|
||||||
|
}
|
||||||
|
.data-type .data > .form-group {
|
||||||
|
line-height:36px;
|
||||||
|
}
|
||||||
|
.data-type .data.text {
|
||||||
|
line-height:36px;
|
||||||
|
}
|
||||||
|
/* label行分隔符 */
|
||||||
|
.data-type .data.border-right {
|
||||||
|
border-right: 1px solid #d4d4d4;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* 表格双倍高度 */
|
||||||
|
.data-type .title.rowHeight2x,
|
||||||
|
.data-type .data.rowHeight2x {
|
||||||
|
height:84px;
|
||||||
|
}
|
||||||
|
.data-type .title.rowHeight2x ,
|
||||||
|
.data-type .data.rowHeight2x.text {
|
||||||
|
line-height:78px;
|
||||||
|
}
|
||||||
|
/*.data-type .data.rowHeight2x > label {
|
||||||
|
line-height:78px;
|
||||||
|
}*/
|
||||||
|
.data-type .title.editer,
|
||||||
|
.data-type .data.editer {
|
||||||
|
height:320px;
|
||||||
|
}
|
||||||
|
.data-type .title.editer {
|
||||||
|
line-height:300px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*清除parding*/
|
||||||
|
.padding-clear {
|
||||||
|
padding-right: 0px;
|
||||||
|
padding-left: 0px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* 文件上传 */
|
||||||
|
/*a upload */
|
||||||
|
.a-upload {
|
||||||
|
padding: 4px 10px;
|
||||||
|
height: 35px;
|
||||||
|
line-height: 25px;
|
||||||
|
position: relative;
|
||||||
|
cursor: pointer;
|
||||||
|
color: #888;
|
||||||
|
background: #fafafa;
|
||||||
|
border: 1px solid #ddd;
|
||||||
|
border-radius: 4px;
|
||||||
|
overflow: hidden;
|
||||||
|
display: inline-block;
|
||||||
|
*display: inline;
|
||||||
|
*zoom: 1
|
||||||
|
}
|
||||||
|
.a-upload input {
|
||||||
|
position: absolute;
|
||||||
|
font-size: 100px;
|
||||||
|
right: 0;
|
||||||
|
top: 0;
|
||||||
|
opacity: 0;
|
||||||
|
filter: alpha(opacity=0);
|
||||||
|
cursor: pointer
|
||||||
|
}
|
||||||
|
.a-upload:hover {
|
||||||
|
color: #444;
|
||||||
|
background: #eee;
|
||||||
|
border-color: #ccc;
|
||||||
|
text-decoration: none
|
||||||
|
}
|
||||||
|
/* 医疗 */
|
||||||
|
.search-box {
|
||||||
|
display: inline-block
|
||||||
|
}
|
||||||
|
.input-sm {
|
||||||
|
height: 32px;
|
||||||
|
}
|
||||||
|
.btn-create {
|
||||||
|
margin-left: 10px;
|
||||||
|
background-color: #0abdfe;
|
||||||
|
border-color: #0abdfe;
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
.btn-create:hover,
|
||||||
|
.btn-create:active,
|
||||||
|
.btn-create:focus
|
||||||
|
{
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
.pagination {
|
||||||
|
margin: 0
|
||||||
|
}
|
||||||
|
.medical-modal {
|
||||||
|
position:absolute;
|
||||||
|
top:0%;
|
||||||
|
left:0%;
|
||||||
|
display:none;
|
||||||
|
background:rgba(0,0,0,0.3);
|
||||||
|
width:100%;
|
||||||
|
height:100%;
|
||||||
|
position:fixed;
|
||||||
|
z-index:9999
|
||||||
|
}
|
||||||
|
.medical-modal .content {
|
||||||
|
position: absolute;
|
||||||
|
left: 35%;
|
||||||
|
top: 25%;
|
||||||
|
border-radius: 8px;
|
||||||
|
width: 30%;
|
||||||
|
height: 40%;
|
||||||
|
background-color: #fff;
|
||||||
|
}
|
||||||
|
.pageitems, .jump {
|
||||||
|
margin-left: 15px;
|
||||||
|
display: inline-block;
|
||||||
|
}
|
||||||
|
.jumppage {
|
||||||
|
width: 30px;
|
||||||
|
text-align: center
|
||||||
|
}
|
||||||
|
@media (min-width: 768px) {
|
||||||
|
.subscribe .modal-dialog {
|
||||||
|
width: 900px;
|
||||||
|
margin: 30px auto;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.checklist {
|
||||||
|
margin-top: 10px;
|
||||||
|
}
|
||||||
|
.checklist .input-group {
|
||||||
|
margin-bottom: 10px;
|
||||||
|
}
|
||||||
|
.modal-page {
|
||||||
|
margin-top: 20px;
|
||||||
|
font-size: 12px;
|
||||||
|
}
|
||||||
|
.modal-page .form-control {
|
||||||
|
font-size: 12px;
|
||||||
|
padding: 0;
|
||||||
|
height: 26px;
|
||||||
|
}
|
||||||
|
.table-check {
|
||||||
|
margin: 0;
|
||||||
|
display: inline-block;
|
||||||
|
margin-right: 4px;
|
||||||
|
}
|
||||||
|
.daterange {
|
||||||
|
margin:10px 10px 0;
|
||||||
|
}
|
||||||
|
.daterange .input-group .form-control {
|
||||||
|
width: 20%;
|
||||||
|
}
|
||||||
|
.chart-title {
|
||||||
|
font-size: 16px;
|
||||||
|
font-weight: normal;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
.diaocha {
|
||||||
|
line-height: 2
|
||||||
|
}
|
||||||
|
.diaocha h5{
|
||||||
|
color: #f98d45;
|
||||||
|
background: #f5f7f9;
|
||||||
|
line-height: 2;
|
||||||
|
padding-left: 15px;
|
||||||
|
}
|
||||||
|
.diaocha div {
|
||||||
|
padding: 0 20px;
|
||||||
|
border-bottom: 1px solid #dce1e7;
|
||||||
|
}
|
||||||
|
.diaocha div h5 {
|
||||||
|
color: #555;
|
||||||
|
background: transparent;
|
||||||
|
padding-left: 0;
|
||||||
|
}
|
||||||
|
.diaocha label {
|
||||||
|
font-weight: normal;
|
||||||
|
}
|
||||||
|
.diaocha .form-group {
|
||||||
|
margin-left: 0;
|
||||||
|
margin-right: 0;
|
||||||
|
}
|
||||||
|
.diaocha .options label {
|
||||||
|
margin-right: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.tizhi button{
|
||||||
|
margin-right: 15px;
|
||||||
|
}
|
||||||
|
.innerform {
|
||||||
|
margin-top: 20px;
|
||||||
|
}
|
||||||
|
.fa-search {
|
||||||
|
cursor: pointer
|
||||||
|
}
|
||||||
|
.line {
|
||||||
|
margin-top: 10px;
|
||||||
|
}
|
||||||
|
input[type=radio]:focus {
|
||||||
|
outline: none
|
||||||
|
}
|
||||||
|
input[type="radio"]{
|
||||||
|
appearance: none;
|
||||||
|
-webkit-appearance: none;
|
||||||
|
outline: none;
|
||||||
|
display:none
|
||||||
|
}
|
||||||
|
label input[type="radio"] {
|
||||||
|
content: "\a0";
|
||||||
|
display: inline-block;
|
||||||
|
vertical-align: middle;
|
||||||
|
font-size: 16px;
|
||||||
|
width: 15px;
|
||||||
|
height: 15px;
|
||||||
|
margin-right: .4em;
|
||||||
|
border-radius: 50%;
|
||||||
|
border: 1px solid #c7c6c6;
|
||||||
|
line-height: 1;
|
||||||
|
margin-top: -1px;
|
||||||
|
}
|
||||||
|
label input[type="radio"]:checked {
|
||||||
|
border: 3px solid #0abdfe;
|
||||||
|
}
|
||||||
|
.right-menu {
|
||||||
|
float: right;
|
||||||
|
padding: 18px 30px 0 0;
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
.el-dropdown{color: #fff;}
|
||||||
|
.avatar-wrapper img{width: 30px;height: 30px;border-radius: 15px;vertical-align: middle}
|
||||||
|
.el-popper[x-placement^=bottom]{margin-top: 30px;}
|
||||||
|
.el-dropdown-menu__item--divided{margin: 0;border:0 none;border-bottom: 1px solid #ebeef5}
|
||||||
|
.help{
|
||||||
|
padding: 0 10px;
|
||||||
|
}
|
||||||
|
.help .fa{ margin-right: 5px;}
|
||||||
|
.el-main{
|
||||||
|
background: #ecf0f5;
|
||||||
|
}
|
||||||
|
.el-menu{border: 0 none;}
|
||||||
|
.main{
|
||||||
|
height: 100vh;
|
||||||
|
min-width: 800px;
|
||||||
|
min-height: 600px;
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
.main aside{
|
||||||
|
overflow: visible;
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
|
.main aside.isClossTab{
|
||||||
|
width: 100%;
|
||||||
|
height: 60px;
|
||||||
|
cursor: pointer;
|
||||||
|
font-size: 25px;
|
||||||
|
text-align: center;
|
||||||
|
line-height: 60px;
|
||||||
|
font-weight: bold;
|
||||||
|
border-right: 1px solid #807c7c;
|
||||||
|
box-sizing: border-box;
|
||||||
|
}
|
||||||
|
.main aside .menu{
|
||||||
|
width: 100%;
|
||||||
|
border-right:0;
|
||||||
|
}
|
||||||
|
.el-menu .fa{
|
||||||
|
vertical-align: middle;
|
||||||
|
margin-right: 5px;
|
||||||
|
width: 24px;
|
||||||
|
text-align: center;
|
||||||
|
font-size: 18px;
|
||||||
|
}
|
||||||
|
.el-menu-item a{
|
||||||
|
color: #303133
|
||||||
|
}
|
||||||
|
.el-menu-item:hover,.el-menu-item.is-active {
|
||||||
|
color: #fff;
|
||||||
|
background: #0abdfe;
|
||||||
|
}
|
||||||
|
.el-menu-item:hover a,.el-menu-item.is-active a{
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
.el-submenu__title:hover{background: none;}
|
||||||
|
.main-footer {
|
||||||
|
background: #fff;
|
||||||
|
padding: 15px 0;
|
||||||
|
color: #444;
|
||||||
|
}
|
||||||
|
/* title */
|
||||||
|
.content-header {
|
||||||
|
position: relative;
|
||||||
|
padding: 15px 15px 0 15px;
|
||||||
|
/* margin-top: 70px; */
|
||||||
|
}
|
||||||
|
.content-header > h1 {
|
||||||
|
margin: 0;
|
||||||
|
font-size: 24px;
|
||||||
|
font-weight: normal;
|
||||||
|
}
|
||||||
|
.content-header > h1 > small {
|
||||||
|
font-size: 15px;
|
||||||
|
display: inline-block;
|
||||||
|
padding-left: 4px;
|
||||||
|
font-weight: 300;
|
||||||
|
}
|
||||||
|
.content-header > .breadcrumb {
|
||||||
|
float: right;
|
||||||
|
background: transparent;
|
||||||
|
margin-top: 0;
|
||||||
|
margin-bottom: 0;
|
||||||
|
font-size: 12px;
|
||||||
|
padding: 7px 5px;
|
||||||
|
position: absolute;
|
||||||
|
top: 20px;
|
||||||
|
right: 10px;
|
||||||
|
border-radius: 2px;
|
||||||
|
}
|
||||||
|
/* */
|
||||||
|
.app-container{
|
||||||
|
background: #fff;
|
||||||
|
margin: 15px 30px 15px 15px;
|
||||||
|
|
||||||
|
}
|
||||||
|
.pagiantion{
|
||||||
|
text-align: right;
|
||||||
|
padding: 15px;
|
||||||
|
}
|
||||||
|
.box {
|
||||||
|
position: relative;
|
||||||
|
border-radius: 3px;
|
||||||
|
background: #ffffff;
|
||||||
|
border-top: 3px solid #3c8dbc;
|
||||||
|
padding: 10px;
|
||||||
|
margin-bottom: 20px;
|
||||||
|
width: 100%;
|
||||||
|
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
|
||||||
|
}
|
||||||
|
.filter-container{
|
||||||
|
padding:10px 0 15px 0;
|
||||||
|
}
|
||||||
|
.main-container{margin-top: 70px;}
|
||||||
|
.filter-container .el-button,.filter-container .el-input__inner{
|
||||||
|
padding: 0 15px;
|
||||||
|
height: 34px;
|
||||||
|
line-height: 34px;
|
||||||
|
}
|
||||||
|
.el-aside{overflow: hidden;}
|
||||||
|
.el-submenu .el-menu-item a{
|
||||||
|
display: block;
|
||||||
|
height: 50px;
|
||||||
|
}
|
||||||
|
.el-menu--collapse .el-submenu__icon-arrow{ display: none}
|
||||||
|
/* .el-container{position: relative;} */
|
||||||
|
/* foot */
|
||||||
|
.el-footer{
|
||||||
|
position: absolute;
|
||||||
|
left: 180px;
|
||||||
|
right: 0px;
|
||||||
|
bottom: -80px;
|
||||||
|
}
|
||||||
|
.boxMain .el-upload--text{
|
||||||
|
position:static;
|
||||||
|
}
|
||||||
|
.boxMain >div{
|
||||||
|
display: inline-block;
|
||||||
|
}
|
||||||
|
.excelTitle{
|
||||||
|
text-align: center;
|
||||||
|
overflow: hidden;
|
||||||
|
line-height: 40px;
|
||||||
|
}
|
||||||
|
.excelTitle .el-button{
|
||||||
|
float: left;
|
||||||
|
}
|
||||||
|
.excelTime{
|
||||||
|
padding: 10px 0;
|
||||||
|
text-align: right;
|
||||||
|
}
|
||||||
|
.exceTable{
|
||||||
|
width: 100%;
|
||||||
|
border-right: 1px solid #e6e6e6;
|
||||||
|
border-bottom: 1px solid #e6e6e6;
|
||||||
|
font-size: 14px;
|
||||||
|
color: #333;
|
||||||
|
}
|
||||||
|
.exceTable tr,.exceTable td{
|
||||||
|
border-left: 1px solid #e6e6e6;
|
||||||
|
border-top: 1px solid #e6e6e6;
|
||||||
|
height: 40px;
|
||||||
|
line-height: 40px;
|
||||||
|
padding: 0 10px;
|
||||||
|
}
|
||||||
|
.exceTable .headBody{
|
||||||
|
text-align: center;
|
||||||
|
font-weight: 700;
|
||||||
|
font-size: 14px;
|
||||||
|
}
|
||||||
|
.tabletrBg{
|
||||||
|
background: #fcfcfc;
|
||||||
|
text-align: right;
|
||||||
|
}
|
||||||
|
.textCenter{
|
||||||
|
text-align: center
|
||||||
|
}
|
||||||
|
.checkScrol{
|
||||||
|
height: 277px;
|
||||||
|
overflow-y:scroll; ;
|
||||||
|
}
|
After Width: | Height: | Size: 434 KiB |
@ -0,0 +1,582 @@
|
|||||||
|
html,body {
|
||||||
|
/* overflow-y: scroll; */
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
a {
|
||||||
|
color: #3c8dbc;
|
||||||
|
text-decoration:none;
|
||||||
|
}
|
||||||
|
/* new style */
|
||||||
|
.skin-purple .main-sidebar {
|
||||||
|
background: #fff;
|
||||||
|
}
|
||||||
|
.skin-purple .main-header .logo:hover {
|
||||||
|
background: #0abdfe;
|
||||||
|
}
|
||||||
|
.skin-purple .main-header .navbar .sidebar-toggle:hover {
|
||||||
|
/* background: #0abdfe; */
|
||||||
|
}
|
||||||
|
.skin-purple .main-header {
|
||||||
|
min-height: 70px;
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
.skin-purple .main-header .logo {
|
||||||
|
height: 50px;
|
||||||
|
/* background: #0abdfe; */
|
||||||
|
float: left;
|
||||||
|
padding: 20px 0 0 15px;
|
||||||
|
/* width: 230px; */
|
||||||
|
}
|
||||||
|
.skin-purple .main-header .navbar {
|
||||||
|
height: 70px;
|
||||||
|
background: linear-gradient(to right, #0abdfe, #67f0e0);
|
||||||
|
/* margin-left: 230px; */
|
||||||
|
}
|
||||||
|
.winfo{margin-left: 230px;}
|
||||||
|
.skin-purple .main-header .sidebar-toggle {
|
||||||
|
display: inline-block;
|
||||||
|
padding: 24px 15px;
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
.skin-purple .main-sidebar {
|
||||||
|
padding-top: 75px;
|
||||||
|
}
|
||||||
|
.sidebar-menu > li {
|
||||||
|
line-height: 1.8
|
||||||
|
}
|
||||||
|
.skin-purple .sidebar-menu > li > a {
|
||||||
|
font-size: 16px;
|
||||||
|
color: #666
|
||||||
|
}
|
||||||
|
.skin-purple .sidebar-menu>li:hover>a,
|
||||||
|
.skin-purple .sidebar-menu>li.active>a {
|
||||||
|
background: transparent;
|
||||||
|
color: #666;
|
||||||
|
border-left-color: transparent
|
||||||
|
}
|
||||||
|
.skin-purple .treeview-menu>li>a:hover {
|
||||||
|
color: #fff
|
||||||
|
}
|
||||||
|
.skin-purple .sidebar-menu>li>.treeview-menu {
|
||||||
|
background: #fff;
|
||||||
|
}
|
||||||
|
.sidebar-menu .treeview-menu > li > a {
|
||||||
|
font-size: 16px;
|
||||||
|
padding-left: 35px;
|
||||||
|
color: #999
|
||||||
|
}
|
||||||
|
.sidebar-menu .treeview-menu > li:hover {
|
||||||
|
background: #0abdfe;
|
||||||
|
}
|
||||||
|
@media (min-width: 768px) {
|
||||||
|
.skin-purple .navbar-nav>li>a
|
||||||
|
{
|
||||||
|
padding-top: 25px;
|
||||||
|
padding-bottom: 25px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.modal-body .nav-tabs>li.active>a, .nav-tabs>li.active>a:focus, .nav-tabs>li.active>a:hover {
|
||||||
|
color: #0abdfe
|
||||||
|
}
|
||||||
|
.modal-body .nav-tabs>li>a {
|
||||||
|
color: #555
|
||||||
|
}
|
||||||
|
.bg-olive {
|
||||||
|
background-color: #0abdfe !important;
|
||||||
|
}
|
||||||
|
.dataTable .btn[class*='bg-']:hover {
|
||||||
|
box-shadow: none
|
||||||
|
}
|
||||||
|
.btn-primary {
|
||||||
|
background: #0abdfe;
|
||||||
|
border-color: #0abdfe;
|
||||||
|
}
|
||||||
|
.box-body .nav>li>a {
|
||||||
|
color: #666
|
||||||
|
}
|
||||||
|
.box-body .nav>li.active>a {
|
||||||
|
color: #0abdfe;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/* tab 1*/
|
||||||
|
.double {
|
||||||
|
line-height: 58px;
|
||||||
|
}
|
||||||
|
.title .glyphicon{
|
||||||
|
padding: 3px;
|
||||||
|
font-size: 13px;
|
||||||
|
border-radius: 8px;
|
||||||
|
color: #fff;
|
||||||
|
|
||||||
|
}
|
||||||
|
.data span.arrowup {
|
||||||
|
color: #d88918;
|
||||||
|
}
|
||||||
|
.data span.arrowdown {
|
||||||
|
color: #6bb10a;
|
||||||
|
}
|
||||||
|
.item-blue .glyphicon{
|
||||||
|
background-color: #39a9ea;
|
||||||
|
}
|
||||||
|
.item-green {
|
||||||
|
line-height: 58px;
|
||||||
|
}
|
||||||
|
.item-green .glyphicon{
|
||||||
|
background-color: #6bb10a;
|
||||||
|
line-height: 12px;
|
||||||
|
}
|
||||||
|
.item-orange .glyphicon{
|
||||||
|
background-color:#d88918;
|
||||||
|
}
|
||||||
|
.item-red .glyphicon{
|
||||||
|
background-color: #f14f4f;
|
||||||
|
}
|
||||||
|
.chart .chart-box {
|
||||||
|
margin: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* 数据表格label */
|
||||||
|
.content-wrapper .data-type {
|
||||||
|
/*width: 90%;*/
|
||||||
|
margin: 10px 5px;
|
||||||
|
border:1px solid #d4d4d4;
|
||||||
|
border-radius: 2px;
|
||||||
|
}
|
||||||
|
.data-type .title,
|
||||||
|
.data-type .data {
|
||||||
|
padding: 3px 12px;
|
||||||
|
border-top: 1px solid #d4d4d4;
|
||||||
|
overflow: hidden;
|
||||||
|
height: 42px;
|
||||||
|
}
|
||||||
|
.data-type .title {
|
||||||
|
line-height: 34px;
|
||||||
|
border-right: 1px solid #d4d4d4;
|
||||||
|
}
|
||||||
|
|
||||||
|
.data-type .data:last-child{
|
||||||
|
border-right: 0;
|
||||||
|
}
|
||||||
|
.data-type .title{
|
||||||
|
text-align: center;
|
||||||
|
background: #ececec;
|
||||||
|
}
|
||||||
|
.data-type .data .line{
|
||||||
|
vertical-align: middle;
|
||||||
|
overflow: hidden;
|
||||||
|
padding-bottom: 10px;
|
||||||
|
padding-top: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* label行高度 */
|
||||||
|
.data-type .data > label {
|
||||||
|
line-height:36px;
|
||||||
|
}
|
||||||
|
.data-type .data > .form-group {
|
||||||
|
line-height:36px;
|
||||||
|
}
|
||||||
|
.data-type .data.text {
|
||||||
|
line-height:36px;
|
||||||
|
}
|
||||||
|
/* label行分隔符 */
|
||||||
|
.data-type .data.border-right {
|
||||||
|
border-right: 1px solid #d4d4d4;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* 表格双倍高度 */
|
||||||
|
.data-type .title.rowHeight2x,
|
||||||
|
.data-type .data.rowHeight2x {
|
||||||
|
height:84px;
|
||||||
|
}
|
||||||
|
.data-type .title.rowHeight2x ,
|
||||||
|
.data-type .data.rowHeight2x.text {
|
||||||
|
line-height:78px;
|
||||||
|
}
|
||||||
|
/*.data-type .data.rowHeight2x > label {
|
||||||
|
line-height:78px;
|
||||||
|
}*/
|
||||||
|
.data-type .title.editer,
|
||||||
|
.data-type .data.editer {
|
||||||
|
height:320px;
|
||||||
|
}
|
||||||
|
.data-type .title.editer {
|
||||||
|
line-height:300px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*清除parding*/
|
||||||
|
.padding-clear {
|
||||||
|
padding-right: 0px;
|
||||||
|
padding-left: 0px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* 文件上传 */
|
||||||
|
/*a upload */
|
||||||
|
.a-upload {
|
||||||
|
padding: 4px 10px;
|
||||||
|
height: 35px;
|
||||||
|
line-height: 25px;
|
||||||
|
position: relative;
|
||||||
|
cursor: pointer;
|
||||||
|
color: #888;
|
||||||
|
background: #fafafa;
|
||||||
|
border: 1px solid #ddd;
|
||||||
|
border-radius: 4px;
|
||||||
|
overflow: hidden;
|
||||||
|
display: inline-block;
|
||||||
|
*display: inline;
|
||||||
|
*zoom: 1
|
||||||
|
}
|
||||||
|
.a-upload input {
|
||||||
|
position: absolute;
|
||||||
|
font-size: 100px;
|
||||||
|
right: 0;
|
||||||
|
top: 0;
|
||||||
|
opacity: 0;
|
||||||
|
filter: alpha(opacity=0);
|
||||||
|
cursor: pointer
|
||||||
|
}
|
||||||
|
.a-upload:hover {
|
||||||
|
color: #444;
|
||||||
|
background: #eee;
|
||||||
|
border-color: #ccc;
|
||||||
|
text-decoration: none
|
||||||
|
}
|
||||||
|
/* 医疗 */
|
||||||
|
.search-box {
|
||||||
|
display: inline-block
|
||||||
|
}
|
||||||
|
.input-sm {
|
||||||
|
height: 32px;
|
||||||
|
}
|
||||||
|
.btn-create {
|
||||||
|
margin-left: 10px;
|
||||||
|
background-color: #0abdfe;
|
||||||
|
border-color: #0abdfe;
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
.btn-create:hover,
|
||||||
|
.btn-create:active,
|
||||||
|
.btn-create:focus
|
||||||
|
{
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
.pagination {
|
||||||
|
margin: 0
|
||||||
|
}
|
||||||
|
.medical-modal {
|
||||||
|
position:absolute;
|
||||||
|
top:0%;
|
||||||
|
left:0%;
|
||||||
|
display:none;
|
||||||
|
background:rgba(0,0,0,0.3);
|
||||||
|
width:100%;
|
||||||
|
height:100%;
|
||||||
|
position:fixed;
|
||||||
|
z-index:9999
|
||||||
|
}
|
||||||
|
.medical-modal .content {
|
||||||
|
position: absolute;
|
||||||
|
left: 35%;
|
||||||
|
top: 25%;
|
||||||
|
border-radius: 8px;
|
||||||
|
width: 30%;
|
||||||
|
height: 40%;
|
||||||
|
background-color: #fff;
|
||||||
|
}
|
||||||
|
.pageitems, .jump {
|
||||||
|
margin-left: 15px;
|
||||||
|
display: inline-block;
|
||||||
|
}
|
||||||
|
.jumppage {
|
||||||
|
width: 30px;
|
||||||
|
text-align: center
|
||||||
|
}
|
||||||
|
@media (min-width: 768px) {
|
||||||
|
.subscribe .modal-dialog {
|
||||||
|
width: 900px;
|
||||||
|
margin: 30px auto;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.checklist {
|
||||||
|
margin-top: 10px;
|
||||||
|
}
|
||||||
|
.checklist .input-group {
|
||||||
|
margin-bottom: 10px;
|
||||||
|
}
|
||||||
|
.modal-page {
|
||||||
|
margin-top: 20px;
|
||||||
|
font-size: 12px;
|
||||||
|
}
|
||||||
|
.modal-page .form-control {
|
||||||
|
font-size: 12px;
|
||||||
|
padding: 0;
|
||||||
|
height: 26px;
|
||||||
|
}
|
||||||
|
.table-check {
|
||||||
|
margin: 0;
|
||||||
|
display: inline-block;
|
||||||
|
margin-right: 4px;
|
||||||
|
}
|
||||||
|
.daterange {
|
||||||
|
margin:10px 10px 0;
|
||||||
|
}
|
||||||
|
.daterange .input-group .form-control {
|
||||||
|
width: 20%;
|
||||||
|
}
|
||||||
|
.chart-title {
|
||||||
|
font-size: 16px;
|
||||||
|
font-weight: normal;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
.diaocha {
|
||||||
|
line-height: 2
|
||||||
|
}
|
||||||
|
.diaocha h5{
|
||||||
|
color: #f98d45;
|
||||||
|
background: #f5f7f9;
|
||||||
|
line-height: 2;
|
||||||
|
padding-left: 15px;
|
||||||
|
}
|
||||||
|
.diaocha div {
|
||||||
|
padding: 0 20px;
|
||||||
|
border-bottom: 1px solid #dce1e7;
|
||||||
|
}
|
||||||
|
.diaocha div h5 {
|
||||||
|
color: #555;
|
||||||
|
background: transparent;
|
||||||
|
padding-left: 0;
|
||||||
|
}
|
||||||
|
.diaocha label {
|
||||||
|
font-weight: normal;
|
||||||
|
}
|
||||||
|
.diaocha .form-group {
|
||||||
|
margin-left: 0;
|
||||||
|
margin-right: 0;
|
||||||
|
}
|
||||||
|
.diaocha .options label {
|
||||||
|
margin-right: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.tizhi button{
|
||||||
|
margin-right: 15px;
|
||||||
|
}
|
||||||
|
.innerform {
|
||||||
|
margin-top: 20px;
|
||||||
|
}
|
||||||
|
.fa-search {
|
||||||
|
cursor: pointer
|
||||||
|
}
|
||||||
|
.line {
|
||||||
|
margin-top: 10px;
|
||||||
|
}
|
||||||
|
input[type=radio]:focus {
|
||||||
|
outline: none
|
||||||
|
}
|
||||||
|
input[type="radio"]{
|
||||||
|
appearance: none;
|
||||||
|
-webkit-appearance: none;
|
||||||
|
outline: none;
|
||||||
|
display:none
|
||||||
|
}
|
||||||
|
label input[type="radio"] {
|
||||||
|
content: "\a0";
|
||||||
|
display: inline-block;
|
||||||
|
vertical-align: middle;
|
||||||
|
font-size: 16px;
|
||||||
|
width: 15px;
|
||||||
|
height: 15px;
|
||||||
|
margin-right: .4em;
|
||||||
|
border-radius: 50%;
|
||||||
|
border: 1px solid #c7c6c6;
|
||||||
|
line-height: 1;
|
||||||
|
margin-top: -1px;
|
||||||
|
}
|
||||||
|
label input[type="radio"]:checked {
|
||||||
|
border: 3px solid #0abdfe;
|
||||||
|
}
|
||||||
|
.right-menu {
|
||||||
|
float: right;
|
||||||
|
padding: 18px 30px 0 0;
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
.el-dropdown{color: #fff;}
|
||||||
|
.avatar-wrapper img{width: 30px;height: 30px;border-radius: 15px;vertical-align: middle}
|
||||||
|
.el-popper[x-placement^=bottom]{margin-top: 30px;}
|
||||||
|
.el-dropdown-menu__item--divided{margin: 0;border:0 none;border-bottom: 1px solid #ebeef5}
|
||||||
|
.help{
|
||||||
|
padding: 0 10px;
|
||||||
|
}
|
||||||
|
.help .fa{ margin-right: 5px;}
|
||||||
|
.el-main{
|
||||||
|
background: #ecf0f5;
|
||||||
|
}
|
||||||
|
.el-menu{border: 0 none;}
|
||||||
|
.main{
|
||||||
|
height: 100vh;
|
||||||
|
min-width: 800px;
|
||||||
|
min-height: 600px;
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
.main aside{
|
||||||
|
overflow: visible;
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
|
.main aside.isClossTab{
|
||||||
|
width: 100%;
|
||||||
|
height: 60px;
|
||||||
|
cursor: pointer;
|
||||||
|
font-size: 25px;
|
||||||
|
text-align: center;
|
||||||
|
line-height: 60px;
|
||||||
|
font-weight: bold;
|
||||||
|
border-right: 1px solid #807c7c;
|
||||||
|
box-sizing: border-box;
|
||||||
|
}
|
||||||
|
.main aside .menu{
|
||||||
|
width: 100%;
|
||||||
|
border-right:0;
|
||||||
|
}
|
||||||
|
.el-menu .fa{
|
||||||
|
vertical-align: middle;
|
||||||
|
margin-right: 5px;
|
||||||
|
width: 24px;
|
||||||
|
text-align: center;
|
||||||
|
font-size: 18px;
|
||||||
|
}
|
||||||
|
.el-menu-item a{
|
||||||
|
color: #303133
|
||||||
|
}
|
||||||
|
.el-menu-item:hover,.el-menu-item.is-active {
|
||||||
|
color: #fff;
|
||||||
|
background: #0abdfe;
|
||||||
|
}
|
||||||
|
.el-menu-item:hover a,.el-menu-item.is-active a{
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
.el-submenu__title:hover{background: none;}
|
||||||
|
.main-footer {
|
||||||
|
background: #fff;
|
||||||
|
padding: 15px 0;
|
||||||
|
color: #444;
|
||||||
|
}
|
||||||
|
/* title */
|
||||||
|
.content-header {
|
||||||
|
position: relative;
|
||||||
|
padding: 15px 15px 0 15px;
|
||||||
|
/* margin-top: 70px; */
|
||||||
|
}
|
||||||
|
.content-header > h1 {
|
||||||
|
margin: 0;
|
||||||
|
font-size: 24px;
|
||||||
|
font-weight: normal;
|
||||||
|
}
|
||||||
|
.content-header > h1 > small {
|
||||||
|
font-size: 15px;
|
||||||
|
display: inline-block;
|
||||||
|
padding-left: 4px;
|
||||||
|
font-weight: 300;
|
||||||
|
}
|
||||||
|
.content-header > .breadcrumb {
|
||||||
|
float: right;
|
||||||
|
background: transparent;
|
||||||
|
margin-top: 0;
|
||||||
|
margin-bottom: 0;
|
||||||
|
font-size: 12px;
|
||||||
|
padding: 7px 5px;
|
||||||
|
position: absolute;
|
||||||
|
top: 20px;
|
||||||
|
right: 10px;
|
||||||
|
border-radius: 2px;
|
||||||
|
}
|
||||||
|
/* */
|
||||||
|
.app-container{
|
||||||
|
background: #fff;
|
||||||
|
margin: 15px 30px 15px 15px;
|
||||||
|
|
||||||
|
}
|
||||||
|
.pagiantion{
|
||||||
|
text-align: right;
|
||||||
|
padding: 15px;
|
||||||
|
}
|
||||||
|
.box {
|
||||||
|
position: relative;
|
||||||
|
border-radius: 3px;
|
||||||
|
background: #ffffff;
|
||||||
|
border-top: 3px solid #3c8dbc;
|
||||||
|
padding: 10px;
|
||||||
|
margin-bottom: 20px;
|
||||||
|
width: 100%;
|
||||||
|
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
|
||||||
|
}
|
||||||
|
.filter-container{
|
||||||
|
padding:10px 0 15px 0;
|
||||||
|
}
|
||||||
|
.main-container{margin-top: 70px;}
|
||||||
|
.filter-container .el-button,.filter-container .el-input__inner{
|
||||||
|
padding: 0 15px;
|
||||||
|
height: 34px;
|
||||||
|
line-height: 34px;
|
||||||
|
}
|
||||||
|
.el-aside{overflow: hidden;}
|
||||||
|
.el-submenu .el-menu-item a{
|
||||||
|
display: block;
|
||||||
|
height: 50px;
|
||||||
|
}
|
||||||
|
.el-menu--collapse .el-submenu__icon-arrow{ display: none}
|
||||||
|
/* .el-container{position: relative;} */
|
||||||
|
/* foot */
|
||||||
|
.el-footer{
|
||||||
|
position: absolute;
|
||||||
|
left: 180px;
|
||||||
|
right: 0px;
|
||||||
|
bottom: -80px;
|
||||||
|
}
|
||||||
|
.boxMain .el-upload--text{
|
||||||
|
position:static;
|
||||||
|
}
|
||||||
|
.boxMain >div{
|
||||||
|
display: inline-block;
|
||||||
|
}
|
||||||
|
.excelTitle{
|
||||||
|
text-align: center;
|
||||||
|
overflow: hidden;
|
||||||
|
line-height: 40px;
|
||||||
|
}
|
||||||
|
.excelTitle .el-button{
|
||||||
|
float: left;
|
||||||
|
}
|
||||||
|
.excelTime{
|
||||||
|
padding: 10px 0;
|
||||||
|
text-align: right;
|
||||||
|
}
|
||||||
|
.exceTable{
|
||||||
|
width: 100%;
|
||||||
|
border-right: 1px solid #e6e6e6;
|
||||||
|
border-bottom: 1px solid #e6e6e6;
|
||||||
|
font-size: 14px;
|
||||||
|
color: #333;
|
||||||
|
}
|
||||||
|
.exceTable tr,.exceTable td{
|
||||||
|
border-left: 1px solid #e6e6e6;
|
||||||
|
border-top: 1px solid #e6e6e6;
|
||||||
|
height: 40px;
|
||||||
|
line-height: 40px;
|
||||||
|
padding: 0 10px;
|
||||||
|
}
|
||||||
|
.exceTable .headBody{
|
||||||
|
text-align: center;
|
||||||
|
font-weight: 700;
|
||||||
|
font-size: 14px;
|
||||||
|
}
|
||||||
|
.tabletrBg{
|
||||||
|
background: #fcfcfc;
|
||||||
|
text-align: right;
|
||||||
|
}
|
||||||
|
.textCenter{
|
||||||
|
text-align: center
|
||||||
|
}
|
||||||
|
.checkScrol{
|
||||||
|
height: 277px;
|
||||||
|
overflow-y:scroll; ;
|
||||||
|
}
|