mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2025-02-17 13:20:52 +08:00
chore: remove useless codes in playground
This commit is contained in:
parent
673e794d74
commit
5d52800c00
@ -1,7 +0,0 @@
|
||||
<!-- <n-text depth="tertiary">
|
||||
A <a ref="noopener noreferer" href="https://www.tusimple.com" target="_blank" class="link">
|
||||
<n-text>
|
||||
Tusimple
|
||||
</n-text>
|
||||
</a> Project ·
|
||||
</n-text> -->
|
@ -1,34 +0,0 @@
|
||||
/* stylelint-disable */
|
||||
:export {
|
||||
primaryColor: #7fe7c4;
|
||||
primaryHoverColor: #63e2b7;
|
||||
primaryActiveColor: #5acea7;
|
||||
infoColor: #8acbec;
|
||||
infoHoverColor: #70C0E8;
|
||||
infoActiveColor: #66afd3;
|
||||
successColor: #7ee7c4;
|
||||
successHoverColor: #64e3b8;
|
||||
successActiveColor: #5acea7;
|
||||
errorColor: #e98b8b;
|
||||
errorHoverColor: #e88080;
|
||||
errorActiveColor: #e57272;
|
||||
warningColor: #f5d599;
|
||||
warningHoverColor: #f2c97d;
|
||||
warningActiveColor: #e6c260;
|
||||
primaryTextColor: rgba(255, 255, 255, 0.9);
|
||||
secondaryTextColor: rgba(255, 255, 255, 0.75);
|
||||
tertiaryTextColor: rgba(255, 255, 255, 0.45);
|
||||
disabledTextColor: rgba(255, 255, 255, 0.3);
|
||||
popoverBackgroundColor: #595d77;
|
||||
dialogBackgroundColor: #464b63;
|
||||
cardBackgroundColor: #1e2437;
|
||||
bodyBackgroundColor: #12182a;
|
||||
closeColor: rgba(255, 255, 255, 0.45);
|
||||
dividerColor: #33384e;
|
||||
dividerOverlayColor: rgba(255, 255, 255, 0.14);
|
||||
borderColor: #2e3449;
|
||||
borderOverlayColor: rgba(255, 255, 255, 0.12);
|
||||
easeInOutCubicBezier: cubic-bezier(0.4, 0, 0.2, 1);
|
||||
}
|
||||
|
||||
/*# sourceMappingURL=jsIndex.css.map */
|
@ -1 +0,0 @@
|
||||
{"version":3,"sourceRoot":"","sources":["../styles/themes/dark/jsIndex.scss","../styles/themes/dark/darkColors.scss"],"names":[],"mappings":"AAIA;AACA;EACE,cC2Bc;ED1Bd,mBC2Bc;ED1Bd,oBC2Bc;ED1Bd,WC4CW;ED3CX,gBC4CW;ED3CX,iBC4CW;ED3CX,cC+Bc;ED9Bd,mBC+Bc;ED9Bd,oBC+Bc;ED9Bd,YC0DY;EDzDZ,iBC0DY;EDzDZ,kBC0DY;EDzDZ,cC6Cc;ED5Cd,mBC6Cc;ED5Cd,oBC6Cc;ED5Cd,kBCpBW;EDqBX,oBCpBW;EDqBX,mBCpBW;EDqBX;EACA,wBCXc;EDYd,uBCVc;EDWd,qBCLc;EDMd,qBCLe;EDMf,YC1BW;ED2BX,cCXc;EDYd,qBCtBc;EDuBd,aCZc;EDad,oBCvBc;EDwBd","file":"jsIndex.css"}
|
@ -1,40 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<style>@import url("https://unpkg.com/element-ui@2.13.0/lib/theme-chalk/index.css");</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id="app">
|
||||
<template>
|
||||
<el-select v-model="value" placeholder="请选择" multiple>
|
||||
<el-option
|
||||
v-for="item in options"
|
||||
:key="item.value"
|
||||
:label="item.label"
|
||||
:value="item.value">
|
||||
</el-option>
|
||||
</el-select>
|
||||
</template>
|
||||
</div>
|
||||
|
||||
<script src="https://unpkg.com/vue/dist/vue.js"></script>
|
||||
<script src="https://unpkg.com/element-ui@2.13.0/lib/index.js"></script>
|
||||
<script>var Main = {
|
||||
data() {
|
||||
var options = []
|
||||
for (let i = 0; i < 2500; ++i) {
|
||||
options.push({
|
||||
label: String(i),
|
||||
value: i
|
||||
})
|
||||
}
|
||||
return {
|
||||
options,
|
||||
value: ''
|
||||
}
|
||||
}
|
||||
}
|
||||
var Ctor = Vue.extend(Main)
|
||||
new Ctor().$mount('#app')</script>
|
||||
</body>
|
||||
</html>
|
@ -1,28 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<style>
|
||||
.fixed-el {
|
||||
position: fixed;
|
||||
left: 0;
|
||||
top: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
background-color: red;
|
||||
}
|
||||
.test-el {
|
||||
position: absolute;
|
||||
left: 400px;
|
||||
top: 200px;
|
||||
height: 100px;
|
||||
width: 100px;
|
||||
background-color: yellowgreen;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="fixed-el">123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890-12345678901234567890123456789012345678901234567890
|
||||
<div class="test-el"></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
@ -1,3 +0,0 @@
|
||||
import theme from '../src/styles/light/base.js'
|
||||
|
||||
console.log(theme.derived)
|
@ -1,4 +0,0 @@
|
||||
import o from '../styles/themes/light/jsIndex.scss'
|
||||
|
||||
const y = o
|
||||
document.bbb(y)
|
Loading…
Reference in New Issue
Block a user