/* 全局样式文件(styles.css)或组件样式文件 */ ion-img { width: 100%; /* 设置为你想要的宽度 */ height: 350px; /* 设置为你想要的高度 */ object-fit: cover; /* 调整适应方式,保持原始比例并填充容器 */ } .custom-subtitle { color: red; font-size: 22px; font-style: italic; text-align: right; display: inline-block; } .navfooter { width: 100%; height: 120px; } .material-label { display: block; } .input-box { width: 300px; height: 40px; border-radius: 20px; background-color: #f2f2f2; padding: 10px; border: none; outline: none; font-size: 16px; color: #333; box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); } //评论区 .commentbox { p { padding-left: 70px; padding-right: 30px; } .icon-container { color: grey; } } //固定评论输入框 .footer { position: fixed; bottom: 60px; width: 100vw; } .send-container { display: flex; align-items: center; padding: 10px; background-color: #f2f2f2; } .message-input { flex: 1; padding: 8px; border: none; border-radius: 20px; background-color: #fff; } .send-button { padding: 8px 15px; border: none; border-radius: 20px; background-color: #38c1f5; color: white; font-weight: bold; cursor: pointer; margin-left: 10px; }