/* pages/sendCreatorCode/index.wxss */ page { padding: 10px; } .container { display: flex; flex-direction: column; align-items: center; border-radius: 8px; background-color: #fff; text-align: center; padding-top: 52px; height: 520px; color: #333; } .index { padding: 30rpx; } .content { padding: 20rpx; } .input-list { display: flex; align-items: center; } .input-item { width: 0rpx; } .code-list { width: 100%; display: flex; align-items: center; justify-content: space-between; } .code-item { position: relative; width: 60px; height: 60px; text-align: center; line-height: 60px; border: 1rpx solid #eee; border-radius: 10rpx; } .code-item:not(:nth-child(4)) { margin-right: 12px; } .phone-item { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30rpx; } .get-code { text-align: center; width: 170rpx; font-size: 26rpx; border-radius: 50rpx; padding: 10rpx 0rpx; background: #3c9cff; color: #fff; } .phone-input { width: calc(100% - 240rpx); padding: 16rpx; border-bottom: 1rpx solid #eee; } .focusLine { position: absolute; width: 2px; height: 30px; left: 50%; top: 50%; transform: translate(-50%, -50%); background-color: var(--color-ysd); animation: change 1s infinite; } @keyframes change { 0% { opacity: 1; } 100% { opacity: 0; } }