/* packageH/toker/tokerCode/tokerCode.wxss */ .code { margin-top: 101.12rpx; display: flex; justify-content: center; align-items: center; flex-direction: column; } .code .viewbox { width: 350.08rpx; height: 350.08rpx; background-color: #949494; margin-top: 36.16rpx; } .code .viewbox image { width: 100%; height: 100%; }