| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258 |
- /** 首页量化查询界面样式 **/
- .page {
- height: 100vh;
- box-sizing: border-box;
- padding: 32rpx 32rpx 48rpx;
- background: #f5f6fb;
- }
- .page-title {
- margin-top: 8rpx;
- margin-bottom: 24rpx;
- text-align: center;
- font-size: 32rpx;
- font-weight: 700;
- color: #5d55e8;
- letter-spacing: 4rpx;
- }
- .card {
- background: #ffffff;
- border-radius: 24rpx;
- padding: 32rpx 32rpx 36rpx;
- box-shadow: 0 16rpx 40rpx rgba(37, 52, 94, 0.08);
- margin-bottom: 32rpx;
- }
- .search-card {
- margin-top: 16rpx;
- }
- .card-title {
- display: block;
- font-size: 32rpx;
- font-weight: 600;
- color: #222222;
- margin-bottom: 32rpx;
- }
- .search-row {
- display: flex;
- align-items: center;
- background: #f7f8fc;
- border-radius: 999rpx;
- padding: 0 8rpx 0 32rpx;
- height: 96rpx;
- box-sizing: border-box;
- }
- .search-input {
- flex: 1;
- font-size: 28rpx;
- color: #222222;
- }
- .search-placeholder {
- color: #b4b8c6;
- }
- .search-button {
- width: 96rpx;
- height: 80rpx;
- margin-left: 12rpx;
- border-radius: 999rpx;
- background: linear-gradient(135deg, #5d55e8, #7568ff);
- display: flex;
- align-items: center;
- justify-content: center;
- box-shadow: 0 12rpx 24rpx rgba(93, 85, 232, 0.4);
- }
- .icon-search {
- width: 0;
- height: 0;
- border-radius: 50%;
- border: 10rpx solid #ffffff;
- border-color: #ffffff transparent transparent transparent;
- position: relative;
- }
- .icon-search::after {
- content: '';
- position: absolute;
- width: 24rpx;
- height: 4rpx;
- border-radius: 999rpx;
- background: #ffffff;
- transform: rotate(45deg);
- right: -20rpx;
- bottom: -6rpx;
- }
- .search-tip {
- display: block;
- margin-top: 20rpx;
- font-size: 24rpx;
- color: #9ca2b5;
- }
- .result-card {
- margin-top: 8rpx;
- }
- .result-loading {
- font-size: 26rpx;
- color: #666a7f;
- }
- .result-error {
- font-size: 26rpx;
- color: #ff5b5b;
- }
- .result-header {
- display: flex;
- justify-content: space-between;
- align-items: center;
- margin-bottom: 16rpx;
- }
- .result-name-line {
- display: flex;
- flex-direction: column;
- }
- .result-name {
- font-size: 32rpx;
- font-weight: 600;
- color: #222222;
- }
- .result-code {
- margin-top: 6rpx;
- font-size: 24rpx;
- color: #8187a0;
- }
- .result-market {
- margin-top: 2rpx;
- font-size: 22rpx;
- color: #b0b4c5;
- }
- .result-score-block {
- min-width: 140rpx;
- padding: 12rpx 20rpx;
- border-radius: 20rpx;
- background: linear-gradient(135deg, #5d55e8, #7568ff);
- text-align: right;
- color: #ffffff;
- }
- .result-score {
- font-size: 40rpx;
- font-weight: 700;
- }
- .result-score-label {
- display: block;
- margin-top: 4rpx;
- font-size: 20rpx;
- opacity: 0.9;
- }
- .result-meta {
- margin-top: 10rpx;
- }
- .meta-item {
- font-size: 24rpx;
- color: #666a7f;
- }
- .meta-change {
- margin-left: 10rpx;
- }
- .meta-change.up {
- color: #e53935;
- }
- .meta-change.down {
- color: #1a9b4a;
- }
- .card-header {
- display: flex;
- align-items: center;
- margin-bottom: 24rpx;
- }
- .card-header-title {
- font-size: 30rpx;
- font-weight: 600;
- color: #222222;
- }
- .icon-circle {
- width: 40rpx;
- height: 40rpx;
- border-radius: 50%;
- background: #e7f7ef;
- display: flex;
- align-items: center;
- justify-content: center;
- margin-right: 16rpx;
- }
- .icon-check {
- font-size: 24rpx;
- color: #28a745;
- }
- .advantage-item {
- margin-bottom: 12rpx;
- font-size: 26rpx;
- line-height: 1.6;
- color: #4a4f63;
- }
- .advantage-label {
- font-weight: 600;
- }
- .advantage-desc {
- font-weight: 400;
- }
- .risk-card {
- margin-bottom: 24rpx;
- }
- .icon-warning {
- width: 40rpx;
- height: 40rpx;
- border-radius: 50%;
- background: #ffecef;
- display: flex;
- align-items: center;
- justify-content: center;
- margin-right: 16rpx;
- }
- .icon-warning-text {
- font-size: 26rpx;
- color: #ff5b5b;
- }
- .risk-text {
- display: block;
- font-size: 24rpx;
- line-height: 1.8;
- color: #666a7f;
- }
- .bottom-safe-area {
- height: 80rpx;
- }
|