@charset "UTF-8"; /** * 这里是uni-app内置的常用样式变量 * * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量 * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App * */ /** * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能 * * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件 */ /* 颜色变量 */ /* 行为相关颜色 */ /* 文字基本颜色 */ /* 背景颜色 */ /* 边框颜色 */ /* 尺寸变量 */ /* 文字尺寸 */ /* 图片尺寸 */ /* Border Radius */ /* 水平间距 */ /* 垂直间距 */ /* 透明度 */ /* 文章场景相关 */ .app { font-size: 35rpx; padding: 0 0 200rpx 0; position: relative; text-align: center; height: 100vh; } .app .center { width: 96%; height: 300rpx; background: #FFFFFF; padding: 30rpx; -webkit-transform: translateY(-20%); transform: translateY(-20%); border-radius: 10rpx; display: flex; flex-wrap: wrap; justify-content: space-around; padding-top: 10rpx; margin: 0 auto; } .app .center .home { width: 39%; height: 240rpx; margin: 20rpx 0; border-radius: 10rpx; } .app .center .home .name { text-align: center; margin: 10rpx 0 0 0; } .app .center .home image { display: block; margin: 20rpx auto; width: 130rpx; height: 130rpx; } .app .service { width: 100rpx; height: 100rpx; position: absolute; top: 40%; right: 10%; } .app .service image { width: 60rpx; height: 60rpx; position: absolute; right: 7rpx; top: 50%; -webkit-transform: translateY(-50%); transform: translateY(-50%); } .app .service .serviceorder { font-size: 32rpx; height: 100rpx; line-height: 100rpx; position: absolute; left: 31rpx; } .app .user { width: 100%; height: 500rpx; position: relative; color: #FFFFFF; font-size: 39rpx; } .app .user .modify { position: absolute; right: 3%; top: 250rpx; font-size: 28rpx; } .app .user .modify image { width: 23rpx; height: 23rpx; padding-left: 10rpx; } .app .user .login { position: absolute; top: 220rpx; left: 35%; font-size: 36rpx; width: 180rpx; line-height: 70rpx; border: 1rpx solid #fff; height: 70rpx; border-radius: 20rpx; } .app .user .nickname { position: absolute; top: 310rpx; left: 35%; font-size: 30rpx; } .app .user .phone { position: absolute; top: 180rpx; left: 35%; } .app .user .bjimg { width: 100%; height: 100%; } .app .user .bjimg image { width: 100%; height: 100%; } .app .user .img { width: 150rpx; height: 150rpx; border-radius: 50%; background: #F6F6F6; position: absolute; top: 180rpx; left: 8%; }