<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>汇率转换</title>
<style>
div,
h2,
span,
input {
box-sizing: border-box;
}
.wrapper {
width: 700px;
margin: 50px auto;
}
.wrapper h2 {
text-align: center;
}
.box {
display: flex;
}
.item {
display: flex;
flex-direction: column;
flex: 1;
margin: 15px;
border: 1px solid #eee;
border-radius: 3px;
}
.item span {
width: 100%;
padding: 5px;
background-color: #efefef;
border-bottom: 1px solid #eee;
}
.item input {
padding: 5px 8px;
border: none;
width: 100%;
}
.item input:focus {
outline: none;
}
</style>
</head>
<body>
<div class="wrapper" id="app">
<h2>汇率换算</h2>
<div class="box">
<div class="item">
Vue 实现简易汇率转换
于 2023-11-01 18:19:19 首次发布