/* pages/addPerson/addPerson.wxss */ page { background-color: #f5f5f5; } .wrap { border: 1px solid #eee; border-radius: 10px; background-color: #fff; margin: 10px; } .back { color: #069f99; position: absolute; right: 40rpx; top: 20rpx; } .wx-form-item { padding: 20rpx; } .wx-form-label { margin-bottom: 20rpx; } .wx-form-item .btn-ok{ width: 100%; background: #069f99; color: #fff; font-weight: 400; letter-spacing: 2px; } .wx-form-value input{ border: 1px solid #eee; padding-left: 10px; box-sizing: border-box; height: 30px; border-radius: 4px; } .wx-form-value textarea{ width: 100%; border: 1px solid #eee; padding-left: 10px; box-sizing: border-box; height: 80px; border-radius: 4px; } .hint { color: red; font-size: 24rpx; } .validate::before{ content: '*'; font-size: 18px; color: red; position: absolute; left: 25rpx; }