| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301 |
- .page-rank {
- display: flex;
- flex-direction: column;
- background: #f5f6fb;
- height: 100vh;
- }
- .scroll-view {
- flex: 1;
- height: 0;
- }
- .content-wrapper {
- padding: 32rpx;
- min-height: 100%;
- }
- /* 上证指数卡片 */
- .index-card {
- display: flex;
- align-items: center;
- justify-content: space-between;
- background: #ffffff;
- border-radius: 24rpx;
- padding: 32rpx;
- margin-bottom: 24rpx;
- box-shadow: 0 8rpx 24rpx rgba(37, 52, 94, 0.08);
- }
- .index-left {
- display: flex;
- flex-direction: column;
- }
- .index-price-row {
- display: flex;
- align-items: baseline;
- margin-bottom: 8rpx;
- }
- .index-price {
- font-size: 48rpx;
- font-weight: 700;
- margin-right: 16rpx;
- }
- .index-change {
- font-size: 28rpx;
- font-weight: 600;
- }
- .index-name-row {
- display: flex;
- align-items: center;
- }
- .index-name {
- font-size: 26rpx;
- color: #666666;
- margin-right: 12rpx;
- }
- .index-percent {
- font-size: 26rpx;
- font-weight: 600;
- }
- .index-up {
- color: #FF3B30;
- }
- .index-down {
- color: #34C759;
- }
- /* 切换按钮 */
- .view-switch {
- display: flex;
- justify-content: flex-end;
- margin-bottom: 16rpx;
- }
- .switch-btn {
- width: 64rpx;
- height: 64rpx;
- background: #ffffff;
- border-radius: 12rpx;
- display: flex;
- align-items: center;
- justify-content: center;
- box-shadow: 0 4rpx 12rpx rgba(37, 52, 94, 0.08);
- }
- .switch-btn:active {
- background: #f5f6fb;
- }
- .switch-icon {
- font-size: 28rpx;
- }
- /* 隐藏空列表 */
- .hidden-list {
- display: none !important;
- }
- /* 股票列表 */
- .stock-list {
- display: flex;
- flex-direction: column;
- background: #ffffff;
- border-radius: 24rpx;
- padding: 0 32rpx;
- box-shadow: 0 8rpx 24rpx rgba(37, 52, 94, 0.08);
- }
- /* 表格视图 */
- .stock-table {
- background: #ffffff;
- border-radius: 24rpx;
- padding: 0 24rpx;
- box-shadow: 0 8rpx 24rpx rgba(37, 52, 94, 0.08);
- }
- .table-header {
- display: flex;
- align-items: center;
- padding: 24rpx 0;
- border-bottom: 1rpx solid #f1f2f6;
- }
- .table-header text {
- font-size: 24rpx;
- color: #999999;
- font-weight: 500;
- }
- .th-name {
- flex: 1;
- }
- .th-date {
- width: 160rpx;
- text-align: center;
- }
- .th-price {
- width: 140rpx;
- text-align: center;
- }
- .th-profit {
- width: 140rpx;
- text-align: right;
- }
- .table-row {
- display: flex;
- align-items: center;
- padding: 24rpx 0;
- border-bottom: 1rpx solid #f1f2f6;
- }
- .table-row:last-child {
- border-bottom: none;
- }
- .td-name {
- flex: 1;
- display: flex;
- flex-direction: column;
- }
- .td-name .stock-name {
- font-size: 28rpx;
- font-weight: 600;
- color: #222222;
- margin-bottom: 4rpx;
- }
- .stock-code-row {
- display: flex;
- align-items: center;
- }
- .stock-tag {
- font-size: 18rpx;
- padding: 2rpx 6rpx;
- border-radius: 4rpx;
- color: #ffffff;
- font-weight: 500;
- margin-right: 8rpx;
- }
- .market-sh {
- background: #FF3B30;
- }
- .market-sz {
- background: #34C759;
- }
- .market-cy {
- background: #FF9500;
- }
- .stock-code {
- font-size: 22rpx;
- color: #9ca2b5;
- }
- .td-date {
- width: 160rpx;
- text-align: center;
- font-size: 24rpx;
- color: #666666;
- }
- .td-price {
- width: 140rpx;
- text-align: center;
- font-size: 26rpx;
- color: #333333;
- }
- .td-profit {
- width: 140rpx;
- text-align: right;
- font-size: 26rpx;
- font-weight: 600;
- }
- .profit-up {
- color: #FF3B30;
- }
- .profit-down {
- color: #34C759;
- }
- /* 空状态 */
- .empty-content {
- display: flex;
- flex-direction: column;
- align-items: center;
- justify-content: center;
- padding: 200rpx 60rpx;
- }
- .empty-icon {
- font-size: 120rpx;
- margin-bottom: 40rpx;
- }
- .empty-text {
- font-size: 32rpx;
- font-weight: 600;
- color: #333333;
- margin-bottom: 16rpx;
- }
- .empty-desc {
- font-size: 26rpx;
- color: #999999;
- text-align: center;
- line-height: 1.6;
- }
- .bottom-safe-area {
- height: 80rpx;
- }
- /* 模糊效果 */
- .blur-content {
- filter: blur(8rpx);
- pointer-events: none;
- }
- /* 登录遮罩层 */
- .login-mask {
- position: fixed;
- top: 0;
- left: 0;
- right: 0;
- bottom: 0;
- background: rgba(0, 0, 0, 0.4);
- display: flex;
- align-items: center;
- justify-content: center;
- z-index: 999;
- }
- .login-prompt {
- width: 560rpx;
- max-width: 560rpx;
- background: #ffffff;
- border-radius: 24rpx;
- padding: 50rpx 40rpx;
- margin: 0 auto;
- text-align: center;
- box-shadow: 0 20rpx 60rpx rgba(0, 0, 0, 0.3);
- box-sizing: border-box;
- }
- .lock-icon {
- font-size: 72rpx;
- margin-bottom: 20rpx;
- }
- .prompt-title {
- display: block;
- font-size: 32rpx;
- font-weight: 600;
- color: #222222;
- margin-bottom: 12rpx;
- }
- .prompt-desc {
- display: block;
- font-size: 24rpx;
- color: #999999;
- line-height: 1.5;
- margin-bottom: 32rpx;
- }
- .login-button-native {
- width: 100%;
- height: 80rpx;
- background: linear-gradient(135deg, #4CAF50, #66BB6A);
- color: #ffffff;
- border-radius: 40rpx;
- font-size: 30rpx;
- font-weight: 600;
- box-shadow: 0 8rpx 24rpx rgba(76, 175, 80, 0.4);
- display: flex;
- align-items: center;
- justify-content: center;
- border: none;
- padding: 0;
- line-height: 80rpx;
- }
- .login-button-native::after {
- border: none;
- }
|