/* pages/test4/test4.wxss */ .container { display: grid; flex-direction: column; justify-content: center; height: 100%; padding: 20px; background-image: url(https://bpic.51yuansu.com/backgd/cover/00/42/93/5bef7dee1ca61.jpg?x-oss-process=image/resize,w_780); background-repeat: no-repeat; background-size: 100% 100%; background-position: center; } .back-button { display: flex; background-color: #ff000000; color: gray; padding: 4px; font-size: 18px; } .record-text { width: 100%; color: rgba(255, 255, 255, 0.623); font-size: 50px; font-weight: bold; display: flex; justify-content: center; margin-top: 10%; } .table { display: flex; align-items: center; flex-direction: column; justify-content: center; border: 0px solid darkgray; margin-top: 10%; } .tr-w { display: flex; width: 100%; padding: 3px 13px; background-color: rgba(0, 255, 255, 0.144); align-items: center; justify-content: center; } .tr-g { display: flex; width: 100%; padding: 7px 13px; background-color: rgba(5, 238, 238, 0.13); align-items: center; justify-content: center; } .th { display: flex; width: 100%; justify-content: center; color: white; display: flex; align-items: center; } .td { width: 100%; border-radius: 5px; display: flex; color: gray; justify-content: center; text-align: center; } .scroll-table { height: 300px; /* 设置滚动区域的高度 */ overflow-y: scroll; /* 允许垂直滚动 */ border: 1px solid #ccc; /* 可选,为滚动视图添加边框 */ } .refresh-button { width: 100%; background-color: #7ac7bdc0; padding: 10px; border-radius: 5px; font-size: 16px; color: white; } .load-button{ width: 100%; background-color: #7ac7bdc0; padding: 10px; border-radius: 5px; font-size: 16px; color: white; }