初始化功能大致完成

This commit is contained in:
Hcat1314
2023-12-17 18:20:07 +08:00
parent 907f4cc220
commit 946fe551a1
5 changed files with 92 additions and 81 deletions

View File

@@ -1,12 +1,7 @@
<template>
<div id="input-num">
<p>{{ params.name }}</p>
<input
type="text"
:placeholder="params.placeholder"
@input="handleChange"
:disabled="params.disabled"
/>
<input type="text" :placeholder="params.placeholder" @input="handleChange" :disabled="params.disabled" />
</div>
</template>
@@ -34,6 +29,7 @@ function handleUnmounted() {
<style lang="scss" scoped>
#input-num {
margin: 40px 30px 0px 30px;
P {
width: 130px;
height: 35px;
@@ -42,6 +38,7 @@ function handleUnmounted() {
color: #ffffff;
line-height: 35px;
}
input {
width: 284px;
height: 51px;
@@ -55,6 +52,7 @@ function handleUnmounted() {
padding: 0px 10px;
overflow: hidden;
}
::placeholder {
color: #0f82af;
}