123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103 |
- page {
- background: #145A83;
- }
- .page {
- /*width: 100vw;*/
- width: 750rpx;
- height: 100vh;
- overflow: hidden;
- background: url('https://tx.hz-hanghui.com:8088/yx-fyzd/file/upload/imagesnew/static/home/bg.png') no-repeat;
- background-size: 100% 100%;
- background-attachment: fixed;
- position: relative;
- }
- .main {
- /*width: 100vw;*/
- width: 750rpx;
- height: 460rpx;
- margin: auto;
- /* text-align: center; */
- position: relative;
- top: 50%;
- transform: translateY(-50%);
- /* 向上移动自身高度的一半 */
- }
- .portrait-main {
- width: 750rpx;
- height: 460rpx;
- margin: auto;
- /* text-align: center; */
- position: relative;
- top: 50%;
- transform: translateY(-50%);
- /* 向上移动自身高度的一半 */
- }
- .information-sn {
- font-size: 11rpx;
- color: #145A83;
- position: absolute;
- bottom: 13rpx;
- left: 11rpx;
- }
- .logout-btn {
- background-color: #80C269;
- border-radius: 50%;
- font-size: 14rpx;
- color: #fff;
- position: absolute;
- bottom: 3.5rpx;
- right: 107rpx;
- text-align: center;
- padding: 14rpx 9rpx;
- }
- .sure-btn {
- background-color: #13B5B1;
- border-radius: 50%;
- font-size: 14rpx;
- color: #fff;
- position: absolute;
- bottom: 15rpx;
- right: 37rpx;
- text-align: center;
- padding: 20rpx 15rpx;
- }
- .flex {
- display: flex;
- justify-content: center;
- align-items: center;
- }
- .flex1 {
- display: flex;
- justify-content: space-between;
- }
- .flex2 {
- display: flex;
- justify-content: right;
- }
- .magnify {
- transition: transform 0.1s ease;
- /* 平滑过渡效果 */
- transform: scale(1);
- /* 默认大小 */
- }
- .magnify:active {
- transform: scale(1.1);
- /* 点击时放大1.1倍 */
- }
- .magnify-btn:active {
- transform: scale(1.3);
- background-color: #379391 !important;
- }
|