/* pagesA/selectFace/selectFace.wxss */ page{ background: #000; height: 100%; } .d-position-fixed{ position: fixed; width: 100%; box-shadow: 10px 10px 10px #4e4e4e; bottom: 0; left: 0; } .operate{ box-sizing: border-box; z-index: 99; } .operate button{ width: 100%; } .center-box{ left: 50%; top: 50%; transform: translateX(-50%) translateY(-50%); z-index: 98 } .box-frame{ background: linear-gradient(to top, #26aad1, #26aad1) left top no-repeat, linear-gradient(to right, #26aad1, #26aad1) left top no-repeat, linear-gradient(to left, #26aad1, #26aad1) right top no-repeat, linear-gradient(to bottom, #26aad1, #26aad1) right top no-repeat, linear-gradient(to left, #26aad1, #26aad1) left bottom no-repeat, linear-gradient(to bottom, #26aad1, #26aad1) left bottom no-repeat, linear-gradient(to top, #26aad1, #26aad1) right bottom no-repeat, linear-gradient(to left, #26aad1, #26aad1) right bottom no-repeat; background-size: 2px 10px, 10px 2px, 2px 10px, 10px 2px; /* height: 200px; width: 150px; */ position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); } movable-area { height: 100%; width: 100%; background-color: black; overflow: hidden; } movable-view { position: absolute; } image{ width: 100%; height: 100%; } canvas{ width: 100%; height: 100%; position: fixed; left: 0; bottom: 120rpx; } .bottom{ width: 100%; box-sizing: border-box; background: black; opacity: 0.5; height: 120rpx; position:fixed; bottom: 0; left: 0; display: flex; align-items: center; justify-content: space-between; } .button::after{ border: 0 } .button{ height: 100rpx; width: 25%; line-height: 100rpx; font-size: 32rpx; color: white; text-align: center; opacity: 1; } .button:first-child{ text-align: left; margin-left: 5%; } .button:last-child{ text-align: right; margin-right: 5%; }