.@{wii-prefix}-location-wrap {
  display: flex;
  flex-wrap: wrap;
  width: 158px;
  border: 1px solid @border-color-base;
  border-radius: @border-radius-base;
}
.@{wii-prefix}-location-cell {
  z-index: 1;
  display: grid;
  box-sizing: border-box;
  width: 52px;
  height: 52px;
  text-align: center;
  cursor: pointer;
  place-items: center;

  &:nth-child(3n) {
    border-left: 1px dashed @border-color-base;
  }

  &:nth-child(3n-1) {
    border-left: 1px dashed @border-color-base;
  }

  &:nth-child(n) {
    border-bottom: 1px dashed @border-color-base;
  }
  //最后三个元素
  &:nth-last-child(-n + 3) {
    border-bottom: none;
  }

  /* 第1、4、7个子元素 */
  &:nth-child(3n + 1) {
    margin-left: 0;
  }

  /* 前三个子元素 */
  &:nth-child(-n + 3) {
    margin-top: 0;
  }

  &.active {
    background: #cde2ff;
  }

  .@{wii-prefix}-cell-dot {
    display: inline-block;
    width: 16px;
    height: 16px;
    background: @primary-color;
    border-radius: @border-radius-base;
  }
}
