.tradingPage {
  background-color: rgba(255, 255, 255, 1);
  position: relative;
  // overflow: hidden;

  .listBox {
    width: 100%;
    // height: calc(100vh - 100px);
    // height: auto;
    // overflow: auto;
    // overflow-x: hidden;

    .tradingBox1 {
      .searchRow {
        margin: 18px 15px;

        .bd3 {
          width: 87px;
          height: 16px;

          .outer4 {
            width: 16px;
            height: 16px;
            background: url("../../assets/home/titleIcon.png") top center no-repeat;
            background-size: 100%;
          }

          .txt2 {
            width: 65px;
            height: 15px;
            overflow-wrap: break-word;
            color: rgba(64, 77, 116, 1);
            font-size: 15px;
            font-family: PingFangSC-Semibold;
            text-align: left;
            white-space: nowrap;
            line-height: 15px;
            display: block;
          }
        }

        .main5 {
          width: auto;
          cursor: pointer;

          .label2 {
            width: 20px;
            height: 20px;
            margin-right: 5px;
          }
        }
      }

      .pic1 {
        width: 100%;
        height: 2px;
      }

      .bd1 {
        width: 100%;
        height: 108px;
        background: url(../../assets/home/outer.png) no-repeat;
        background-size: 100% 100%;

        .box2 {
          width: 100%;
          height: 100%;

          .TextGroup3 {
            height: 57px;
            width: 48px;

            .group1 {
              width: 48px;
              height: 57px;

              .word4 {
                height: 26px;
                overflow-wrap: break-word;
                color: rgba(223, 94, 76, 1);
                font-size: 22px;
                font-family: Helvetica;
                text-align: center;
                white-space: nowrap;
                line-height: 26px;
                display: block;
              }

              .info1 {
                height: 17px;
                overflow-wrap: break-word;
                color: rgba(135, 135, 166, 1);
                font-size: 12px;
                text-align: center;
                white-space: nowrap;
                line-height: 17px;
                margin-top: 14px;
                display: block;
              }
            }
          }

          .TextGroup4 {
            height: 57px;
            width: 48px;

            .main6 {
              width: 48px;
              height: 57px;

              .word5 {
                height: 26px;
                overflow-wrap: break-word;
                color: rgba(223, 94, 76, 1);
                font-size: 22px;
                font-family: Helvetica;
                text-align: center;
                white-space: nowrap;
                line-height: 26px;
                display: block;
              }

              .word6 {
                height: 17px;
                overflow-wrap: break-word;
                color: rgba(135, 135, 166, 1);
                font-size: 12px;
                text-align: center;
                white-space: nowrap;
                line-height: 17px;
                margin-top: 14px;
                display: block;
              }
            }
          }
        }
      }
    }

    .tradingBox2 {
      width: 100%;

      .section1 {
        background-color: rgba(255, 255, 255, 1);
        margin-top: 1px;
        width: 100%;

        .outer1 {
          width: 100%;

          .bd1 {
            width: 100%;
            height: 15px;

            .layer1 {
              background-color: #FF3456;
              border-radius: 2px;
              width: 4px;
              height: 12px;
              margin-top: 4px;
            }

            .txtBox {
              width: 200px;
              // overflow: auto;

              .txt1 {
                white-space: nowrap;
                color: rgba(64, 77, 116, 1);
                font-size: 15px;
                font-family: PingFangSC-Medium;
                text-align: left;
                line-height: 15px;
                display: block;
                margin: 3px 0 0 6px;
                overflow: hidden;
                text-overflow: ellipsis;
              }
            }

            .layer2 {
              height: 18px;
              background: url("../../assets/trading/powerOff.png") 100% no-repeat;
              background-size: 100%;
              width: 18px;
              margin-left: 30px;

              &.layerLeft {
                margin-left: 5px;
              }

              &.tradingOn {
                background: url("../../assets/trading/powerOn.png") 100% no-repeat;
                background-size: 100%;
              }
            }

            .box4 {
              width: 24px;
              height: 20px;
              background: url("../../assets/trading/alarm.png") 100% no-repeat;
            }
          }

          .txt1 {
            width: 100%;
            color: rgba(64, 77, 116, 1);
            font-size: 14px;
            display: flex;
            align-items: center;
          }

          .contentBottomCon {
            .van-button--primary {
              background-color: #FF3456;
              width: 50px;
              padding: 0 0;
              margin: 0 8px 0 0;
              height: 30px !important;
            }

            .pic1 {
              width: 100%;
              height: 2px;
              margin-top: 19px;
            }

            .layer2 {
              width: 100%;
            }

            .layer3 {
              width: 100%;
              display: flex;
              align-items: center;

              .word1 {
                text-overflow: ellipsis;
                width: 100%;
                font-size: 14px;
              }

              .word2 {
                width: 100%;
                padding: 0 0;

                .van-field__control {
                  border: 0.5px solid #ccc;
                  /* 添加边框 */
                }
              }

              .word3 {
                color: rgba(64, 77, 116, 1);
                width: 70%;
              }

              .editIcon {
                color: #FF3456;
                padding: 0 0 0px 5px;
              }
            }

            .word4 {
              width: 100%;
              overflow-wrap: break-word;
              color: rgba(64, 77, 116, 1);
              font-size: 14px;
              text-align: left;
              white-space: nowrap;
              line-height: 14px;
            }

            .clickable-link {
              text-decoration: underline;
              cursor: pointer;
              font-size: 14px;
              width: 85%;
            }

            // .clickable-link:active {
            //   color: rgb(26, 49, 117);
            // }
            .replenishment {
              text-decoration: underline;
              cursor: pointer;
              font-size: 14px;
              color: #FF3456;
            }

            .layer5 {
              width: 100%;

              .word5 {
                // width: 33.33%;
                overflow-wrap: break-word;
                color: rgba(64, 77, 116, 1);
                font-size: 14px;
                text-align: left;
                line-height: 13px;
                display: block;
              }

              // @media (max-width: 767px) {
              //   .word5 {
              //     width: 100%;
              //     margin-bottom: 16px;
              //   }
              // }

              .word6 {
                // width: 33.33%;
                overflow-wrap: break-word;
                color: rgba(64, 77, 116, 1);
                font-size: 14px;
                line-height: 13px;
                display: block;
              }
            }

            .info1 {
              overflow-wrap: break-word;
              color: rgba(64, 77, 116, 1);
              font-size: 14px;
              text-align: left;
              white-space: nowrap;
              display: block;
            }

            .info2 {
              overflow-wrap: break-word;
              color: rgba(64, 77, 116, 1);
              font-size: 14px;
              text-align: left;
              white-space: nowrap;
              display: block;
            }

            .info3 {
              overflow-wrap: break-word;
              color: rgba(64, 77, 116, 1);
              font-size: 14px;
              text-align: left;
              white-space: nowrap;
            }


            .info4 {
              width: 60%;
            }

            .info5 {
              overflow-wrap: break-word;
              word-wrap: break-word;
              color: rgba(64, 77, 116, 1);
              font-size: 14px;
              text-align: left;
              max-width: 100%;
            }

            .edittradingBtnCon {

              .box2 {
                width: 18px;
                height: 20px;
                background: url("../../assets/order/gotoRight.png") no-repeat;
                background-size: 100%;
                margin-top: 2px;
              }

              .c-text-14 {
                display: inline-block;
                /* 将行内文本转为块级元素 */
                padding: 4px 7px;
                /* 添加内边距 */
                background-color: #df5e4c;
                border-radius: 14px;
                /* 添加圆角效果 */
                color: #fff;
                /* 设置文本颜色 */
                cursor: pointer;
                /* 设置光标样式 */
              }
            }

            .bd8 {
              width: 345px;
              height: 18px;
              margin: 20px 0 0 15px;

              .outer5 {
                background-color: rgba(255, 52, 86, 1);
                border-radius: 2px;
                width: 4px;
                height: 12px;
                margin-top: 4px;
              }

              .txt6 {
                width: 176px;
                height: 13px;
                overflow-wrap: break-word;
                color: rgba(64, 77, 116, 1);
                font-size: 14px;
                font-family: PingFangSC-Medium;
                text-align: left;
                white-space: nowrap;
                line-height: 15px;
                display: block;
                margin: 3px 0 0 6px;
              }

              .outer6 {
                width: 18px;
                height: 18px;
                background: url(https://lanhu.oss-cn-beijing.aliyuncs.com/SketchPng164fc6854bc0badab9c36f9e9751c42ceda02742fc5e78f7662ced4a0f76844c) 100% no-repeat;
                margin-left: 141px;
              }
            }

            .txt7 {
              width: 242px;
              height: 20px;
              overflow-wrap: break-word;
              color: rgba(64, 77, 116, 1);
              font-size: 14px;
              text-align: left;
              white-space: nowrap;
              line-height: 20px;
              display: block;
              margin: 8px 0 0 15px;
            }

            .word8 {
              width: 262px;
              height: 13px;
              overflow-wrap: break-word;
              color: rgba(64, 77, 116, 1);
              font-size: 14px;
              text-align: left;
              white-space: nowrap;
              line-height: 13px;
              display: block;
              margin: 10px 0 0 15px;
            }

            .bd9 {
              width: 61px;
              height: 17px;
              margin: 15px 0 0 157px;

              .txt8 {
                width: 48px;
                height: 17px;
                overflow-wrap: break-word;
                color: rgba(135, 135, 166, 1);
                font-size: 14px;
                text-align: center;
                white-space: nowrap;
                line-height: 17px;
                display: block;
              }

              .block1 {
                width: 10px;
                height: 4px;
                background: url("../../assets/trading/tradingSelect.png") 0px -1px no-repeat;
                margin-top: 7px;
              }
            }

            .bd10 {
              width: 345px;
              height: 1px;
              background: url("../../assets/home/line.png") -1px 0px no-repeat;
              margin: 15px 0 0 15px;
            }

            .bd11 {
              width: 345px;
              height: 18px;
              margin: 20px 0 0 15px;

              .section3 {
                background-color: rgba(255, 52, 86, 1);
                border-radius: 2px;
                width: 4px;
                height: 12px;
                margin-top: 4px;
              }

              .txt9 {
                width: 176px;
                height: 13px;
                overflow-wrap: break-word;
                color: rgba(64, 77, 116, 1);
                font-size: 14px;
                font-family: PingFangSC-Medium;
                text-align: left;
                white-space: nowrap;
                line-height: 15px;
                display: block;
                margin: 3px 0 0 6px;
              }

              .section4 {
                width: 22px;
                height: 15px;
                background: url(https://lanhu-dds-backend.oss-cn-beijing.aliyuncs.com/merge_image/imgs/be1271ed70774869b81ed2d5f43b6a44_mergeImage.png) 100% no-repeat;
                margin: 3px 0 0 111px;
              }

              .section5 {
                height: 18px;
                background: url(https://lanhu-dds-backend.oss-cn-beijing.aliyuncs.com/merge_image/imgs/5723fcdad1574aef9e65c326de33d8b2_mergeImage.png) 100% no-repeat;
                margin-left: 8px;
                width: 18px;

                .box3 {
                  background-color: rgba(255, 255, 255, 1);
                  border-radius: 1px;
                  width: 2px;
                  height: 7px;
                  margin: 2px 0 0 8px;
                }
              }
            }

            .txt10 {
              width: 242px;
              height: 20px;
              overflow-wrap: break-word;
              color: rgba(64, 77, 116, 1);
              font-size: 14px;
              text-align: left;
              white-space: nowrap;
              line-height: 20px;
              display: block;
              margin: 8px 0 0 15px;
            }
          }

          .sugarTxt {
            color: rgba(64, 77, 116, 1);
            font-size: 14px;
            line-height: 13px;
          }

          .bd6 {
            width: 100%;
            border-bottom: 1px solid #eee;

            .info2 {
              overflow-wrap: break-word;
              color: rgb(77, 106, 221);
              font-size: 14px;
              text-align: center;
              white-space: nowrap;
              display: block;
            }

            .group2 {
              width: 10px;
              height: 5px;
              background: url("../../assets/trading/tradingSelect.png") center no-repeat;
              background-size: 100%;

              &.checkType {
                transform: scaleY(-1);
              }
            }
          }
        }
      }
    }

    .group7 {
      height: 50px;
      margin-top: 10px;
      margin-bottom: 10px;
      width: 100%;
      background: rgba(255, 255, 255, 1) url("../../assets/home/line.png") bottom center no-repeat;
      background-color: #fff;


      .main9 {
        width: 100%;
        padding: 2.5px 10px;
        height: 30px;
        display: flex;
        align-items: center;


        .wrap1 {
          width: 100%;
          height: 30px;
          padding: 0 12px 5px;
          align-items: center;

          .ImageText7 {
            height: 18px;
            margin-top: 1px;
            width: 79px;

            .mod5 {
              width: 79px;
              height: 18px;

              .block3 {
                width: 16px;
                height: 18px;
                background: url('../../assets/trading/trade.png') top center no-repeat;
                background-size: 100%;
              }

              .TextGroup7 {
                height: 14px;
                margin-top: 3px;
                width: 56px;

                .info3 {
                  width: 56px;
                  height: 14px;
                  overflow-wrap: break-word;
                  color: rgba(64, 77, 116, 1);
                  font-size: 14px;
                  font-family: PingFangSC-Semibold;
                  text-align: left;
                  white-space: nowrap;
                  line-height: 12px;
                  display: block;
                }
              }
            }
          }

          .ImageText8 {
            height: 18px;
            margin-top: 1px;
            width: 79px;

            .bd3 {
              height: 16px;

              .info4 {
                height: 14px;
                overflow-wrap: break-word;
                color: #FF3456;
                font-size: 14px;
                text-align: center;
                white-space: nowrap;
                line-height: 16px;
                display: block;
              }

              .outer3 {
                width: 16px;
                height: 16px;
                background: url('../../assets/order/gotoRight.png') top center no-repeat;
                background-size: 100%;
              }
            }
          }
        }
      }
    }
    
    .countDown {
      .colon {
        display: inline-block;
        margin: 0 4px;
        color: #1989fa;
      }
      .block {
        display: inline-block;
        width: 22px;
        color: #fff;
        font-size: 12px;
        text-align: center;
        background-color: #1989fa;
      }
    }
    
    .buySellBtn{
      font-size: 18px;
      .van-button {
        border-radius: 8px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
      }
    }

    .buy-box {
      margin: auto;
      margin-top: 1px;
      border-radius: 10px;
      background-color: #fff9f7;
      padding: 15px;
      width: 95%;
      max-width: 600px;
      text-align: center;
      box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2); /* 添加阴影效果 */
      font-family: 'Roboto', sans-serif; /* 设置页面默认字体为Roboto */


      .van-divider {
        margin-top: 5px;
        font-weight: bold;
        color: rgb(125, 205, 5);
      }

      .bold-row .van-col {
        font-weight: bold;
      }
    }

  }
}

.passwordIdx {
  overflow: hidden;
  overflow-y: auto;

  .headerCon {
    .line {
      background-color: #FF3456;
      border-radius: 2px;
      width: 4px;
      height: 16px;
    }
  }
}

.van-button--primary {
  background-color: #FF3456;
  border-color: #FF3456;
}

.van-dropdown-menu__title--active {
  color: #FF3456;
}

.van-dropdown-item__option--active,
.van-dropdown-item__option--active .van-dropdown-item__icon {
  color: #FF3456;
}

.van-dropdown-menu__title {
  color: #FF3456;
}

:root {
  --van-width: auto;
  --van-popover-action-width: var(--van-width);
}