123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114 |
- /* pages/camera/index.wxss */
- .container{
- background: #000;
- overflow: hidden;
- }
- .c_top{
- width: 100%;
- height: 12%;
- position: relative;
- }
- .c_top text{
- position: absolute;
- left: 40rpx;
- bottom: 60rpx;
- font-size: 24rpx;
- font-weight: bold;
- color: #333;
- padding: 10rpx;
- border-radius: 50%;
- background: rgba(255, 255, 255, 0.9);
- }
- .c_cam{
- width: 100%;
- height: 63%;
- position: relative;
- overflow: hidden;
- }
- .c_cam > camera{
- width: 100%;
- height: 100%;
- }
- .c_cam > image{
- width: 100%;
- min-height: 100%;
- }
- .c_cam > .mask{
- position: absolute;
- width: 100%;
- height: 100%;
- top: 50%;
- transform: translate(-50%,-50%);
- left: 50%;
- }
- .c_bottom{
- color: #fff;
- height: 25%;
- text-align: center;
- margin-top: 20rpx;
- position: relative;
- width: 100%;
- }
- .c_bottom > text{
- font-size: 28rpx;
- }
- .c_btn{
- display: flex;
- align-items: center;
- justify-content: center;
- position: absolute;
- width: 100%;
- bottom: 40%;
- left: 0;
- }
- .c_btn > .preview{
- width: 80rpx;
- height: 80rpx;
- }
- .c_btn text{
- font-size: 80rpx;
- }
- .c_btn .iconfanzhuanxiangji1{
- font-size: 90rpx;
- }
- .c_btn > .take_photo{
- font-size: 120rpx;
- margin: 0 80rpx;
- }
- .handle_img{
- width: 100%;
- height: 100rpx;
- background: #1D1D1D;
- display: flex;
- align-items: center;
- justify-content: space-between;
- position: fixed;
- width: 100%;
- bottom: var(--bottom);
- left: 0;
- font-size: 0;
- }
- .handle_img > text{
- font-size: 32rpx;
- display: inline-block;
- margin: 0 40rpx;
- color: rgba(255, 255, 255, 0.7);
- }
- .handle_img > text:last-of-type{
- color: #fff;
- }
|