我尝试过的:
超文本标记语言
<input type="datetime-local" >
Run Code Online (Sandbox Code Playgroud)
我想将日历的背景颜色(当我们选择日历图标时显示..当前为白色)更改为另一种颜色。
可以改变颜色吗?谁能帮我这个吗?
谢谢..!!
我正在创建一个 Spring Boot WAR 文件并在 Tomcat 10 webapps 中部署。当我运行 Tomcat 服务器时,WAR 文件没有运行。
POM文件:
<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
http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.demo</groupId>
<artifactId>Demo</artifactId>
<version>0.0.1-SNAPSHOT</version>
<packaging>war</packaging>
<properties>
<java.version>1.8</java.version>
</properties>
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>1.5.4.RELEASE</version>
</parent>
<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-jdbc</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-tomcat</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.oracle</groupId>
<artifactId>ojdbc6</artifactId>
<version>11.2.0.3</version>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
</plugin>
</plugins>
</build>
</parent>
Run Code Online (Sandbox Code Playgroud)
Java文件:
@SpringBootApplication
public class DemoApplication extends SpringBootServletInitializer{
@Override
protected SpringApplicationBuilder configure(SpringApplicationBuilder application) {
return application.sources(DemoApplication.class);
}
public static void main(String[] …Run Code Online (Sandbox Code Playgroud) 我的桌子:
<mat-table [dataSource]="dataSource" >
<!-- Position Column -->
<ng-container matColumnDef="Customer">
<mat-header-cell *matHeaderCellDef > CUSTOMER </mat-header-cell>
<mat-cell *matCellDef="let element" > {{element.Customer}} </mat-cell>
</ng-container>
<!-- Name Column -->
<ng-container matColumnDef="Origin">
<mat-header-cell *matHeaderCellDef> ORIGIN </mat-header-cell>
<mat-cell *matCellDef="let element"> {{element.Origin}} </mat-cell>
</ng-container>
<ng-container matColumnDef="Destination">
<mat-header-cell *matHeaderCellDef> DESTINATION </mat-header-cell>
<mat-cell *matCellDef="let element"> {{element.Destination}} </mat-cell>
</ng-container>
<mat-header-row *matHeaderRowDef="displayedColumns;sticky: true"></mat-header-row>
<mat-row *matRowDef="let row; columns: displayedColumns;" ></mat-row>
</mat-table>
Run Code Online (Sandbox Code Playgroud)
CSS:
.mat-table {
border-collapse: separate;
border-spacing:04px;
}
Run Code Online (Sandbox Code Playgroud)
我得到什么:
[---MAT-ROW---]
[---MAT-ROW---]
[---MAT-ROW---]
[---MAT-ROW---]
Run Code Online (Sandbox Code Playgroud)
我需要的:
[---MAT-ROW---]
[---MAT-ROW---]
[---MAT-ROW---]
Run Code Online (Sandbox Code Playgroud)
尝试向 mat-table 添加边框间距...还添加边框折叠...仍然不起作用。
谁能帮我这个。谢谢...!