Browse Source

更改样式

kevin.song 6 years ago
parent
commit
34aa666597

+ 0 - 1
examples/pureJS/index.html

@@ -3,7 +3,6 @@
   <head>
     <meta charset="utf-8">
     <title> URTC DEMO PureJS </title>
-    <link type="text/css" rel="stylesheet" href="https://unpkg.com/browse/normalize.css@8.0.1/normalize.css"/>
     <link type="text/css" rel="stylesheet" href="css/index.css"/>
     <link type="text/css" rel="stylesheet" href="css/mediaPlayer.css"/>
   </head>

+ 0 - 1
examples/react/package.json

@@ -6,7 +6,6 @@
     "@testing-library/jest-dom": "^4.2.4",
     "@testing-library/react": "^9.3.2",
     "@testing-library/user-event": "^7.1.2",
-    "normalize.css": "^8.0.1",
     "react": "^16.12.0",
     "react-dom": "^16.12.0",
     "react-scripts": "3.3.0",

+ 0 - 35
examples/react/src/App.css

@@ -6,38 +6,3 @@
   text-align: center;
   color: #2c3e50;
 }
-
-.App-logo {
-  height: 40vmin;
-  pointer-events: none;
-}
-
-@media (prefers-reduced-motion: no-preference) {
-  .App-logo {
-    animation: App-logo-spin infinite 20s linear;
-  }
-}
-
-.App-header {
-  background-color: #282c34;
-  min-height: 100vh;
-  display: flex;
-  flex-direction: column;
-  align-items: center;
-  justify-content: center;
-  font-size: calc(10px + 2vmin);
-  color: white;
-}
-
-.App-link {
-  color: #61dafb;
-}
-
-@keyframes App-logo-spin {
-  from {
-    transform: rotate(0deg);
-  }
-  to {
-    transform: rotate(360deg);
-  }
-}

+ 0 - 1
examples/react/src/index.js

@@ -1,6 +1,5 @@
 import React from 'react';
 import ReactDOM from 'react-dom';
-import 'normalize.css';
 import App from './App';
 
 ReactDOM.render(<App />, document.getElementById('root'));

+ 4 - 4
examples/vue/src/main.js

@@ -1,8 +1,8 @@
-import Vue from 'vue'
-import App from './App.vue'
+import Vue from 'vue';
+import App from './App.vue';
 
-Vue.config.productionTip = false
+Vue.config.productionTip = false;
 
 new Vue({
   render: h => h(App)
-}).$mount('#app')
+}).$mount('#app');