diff --git a/2.0 app.wxss b/2.0 app.wxss new file mode 100644 index 0000000..b4d4a98 --- /dev/null +++ b/2.0 app.wxss @@ -0,0 +1,42 @@ +/* 全局样式 */ +page { + background-color: #f0f0f0; + font-family: Arial, sans-serif; +} + +button { + background-color: #1aad19; + color: white; + border: none; + padding: 10px 20px; + border-radius: 5px; + font-size: 16px; +} + +button:active { + background-color: #1a9d18; +} + +input { + border: 1px solid #ccc; + border-radius: 5px; + padding: 10px; + margin: 10px 0; + width: 80%; + font-size: 16px; +} + +.container { + display: flex; + flex-direction: column; + align-items: center; + justify-content: center; + padding: 20px; +} + +.student { + display: flex; + justify-content: space-between; + width: 100%; + margin-bottom: 10px; +} \ No newline at end of file