/* components/servicemodal/servicemodal.wxss */ view.bg { background-color: rgba(0, 0, 0, 0.9); width: 100%; height: 100%; position: fixed; top: 0; left: 0; text-align: center; } view.box { width: 640rpx; height: 80%; margin: 100rpx auto; border-radius: 30rpx; background-image: linear-gradient(0deg, #8b8986 0%, #414141 36%, #414141 92%, #515151 100%); } view.imagebox { width: 500rpx; height: 500rpx; background: white; border-radius: 25rpx; padding: 20rpx; display: inline-block; margin: 150rpx auto 0 auto; } view.imagebox image { width: 100%; height: 100%; } view.text { margin-top: 50rpx; font-size: 37rpx; color: #eee; }