| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101 |
- /* 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: 30rpx;
- color: #fff;
- }
- .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: 0;
- left: 0;
- }
- .c_bottom{
- color: #fff;
- height: 25%;
- text-align: center;
- margin-top: 20rpx;
- position: relative;
- width: 100%;
- }
- .c_btn{
- display: flex;
- align-items: center;
- justify-content: space-around;
- position: absolute;
- width: 100%;
- bottom: 40%;
- left: 0;
- }
- .c_btn > .preview{
- width: 60rpx;
- height: 60rpx;
- }
- .c_btn text{
- font-size: 60rpx;
- }
- .c_btn > .take_photo{
- font-size: 120rpx;
- }
- .handle_img{
- width: 100%;
- height: 100rpx;
- background: #1D1D1D;
- display: flex;
- align-items: center;
- justify-content: space-between;
- position: absolute;
- 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;
- }
|