123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133 |
- /* pages/camera/index.wxss */
- .container{
- background: #000;
- overflow: hidden;
- }
- .c_top{
- width: 100%;
- height: 12%;
- position: relative;
- }
- .c_top > view{
- position: fixed;
- left: var(--left);
- top: var(--top);
- height: var(--h);
- width: var(--h);
- font-weight: bold;
- border-radius: 50%;
- background: rgba(255, 255, 255, 0.6);
- }
- .c_top .icon{
- color: #515151;
- font-size: 32rpx;
- transform: translate(-50%,-50%);
- top: 48%;
- left: 48%;
- position: absolute;
- }
- .c_top .icon >text{
- font-size: 30rpx;
- }
- .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,.c_btn > .changePos{
- width: 120rpx;
- height: 80rpx;
- }
- .c_btn .txt{
- font-size: 24rpx;
- color: #D1D1D1;
- display: inline-block;
- width: 100%;
- margin-top: 20rpx;
- }
- .c_btn text{
- font-size: 80rpx;
- }
- .c_btn .iconfanzhuanxiangji1{
- font-size: 80rpx;
- }
- .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;
- }
|