variables.scss 763 B

12345678910111213141516171819
  1. // For information on how to create your own theme, please see:
  2. // http://ionicframework.com/docs/theming/
  3. ion-button {
  4. border-radius: 12px; /* 按钮圆角 */
  5. --background: #99ffcc; /* 设置背景色为 #99ffcc */
  6. color: #333; /* 按钮中文字的颜色 */
  7. font-weight: bold; /* 按钮字体加粗 */
  8. text-align: center; /* 确保按钮文字水平居中 */
  9. display: flex; /* 使用 flexbox 布局 */
  10. justify-content: center; /* 水平居中 */
  11. align-items: center; /* 垂直居中 */
  12. }
  13. .bg-color{
  14. background-image: url('https://app.fmode.cn/dev/jxnu/202226701038/bg.jpg'); /* 背景图片路径 */
  15. background-size: cover; /* 背景图片覆盖整个区域 */
  16. background-repeat: no-repeat; /* 禁止重复 */
  17. }