Newer
Older
smart_construction / miniprogram / pages / defineMap copy / defineMap.wxss
dutingting 24 days ago 3 KB newMap
.container {
    width: 100%;
    height: 100%;
    position: relative;
  }
  
  .map-controls {
    position: fixed;
    right: 30rpx;
    top: 45%;
    display: flex;
    flex-direction: column;
    gap: 20rpx;
    z-index: 100;
  }
  
  .control-btn {
    width: 80rpx;
    height: 80rpx;
    border-radius: 40rpx;
    background-color: rgba(255, 255, 255, 0.9);
    border: 1rpx solid #ddd;
    font-size: 48rpx;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2rpx 10rpx rgba(0, 0, 0, 0.1);
    padding: 0;
  }

  .action-sheet-mask {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 200;
  }
  
  .action-sheet {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: white;
    border-top-left-radius: 20rpx;
    border-top-right-radius: 20rpx;
    z-index: 201;
    overflow: hidden;
  }
  
  .action-sheet-title {
    padding: 24rpx;
    text-align: center;
    font-size: 28rpx;
    color: #999;
    background-color: #f8f8f8;
  }
  
  .action-sheet-item {
    padding: 32rpx;
    text-align: center;
    font-size: 32rpx;
    color: #333;
    border-bottom: 1rpx solid #eee;
  }
  
  .action-sheet-cancel {
    padding: 32rpx;
    text-align: center;
    font-size: 32rpx;
    color: #007aff;
    background-color: #f8f8f8;
    margin-top: 10rpx;
  }

  .popup-content {
    padding: 40rpx 30rpx;
    width: 600rpx;
  }
  
  .popup-title {
    display: block;
    text-align: center;
    font-size: 32rpx;
    font-weight: bold;
    margin-bottom: 30rpx;
  }
  
  .btn-group {
    display: flex;
    justify-content: space-around;
    margin-top: 40rpx;
  }
  
  .cancel-btn, .confirm-btn {
    width: 240rpx;
    height: 80rpx;
    line-height: 80rpx;
    text-align: center;
    border-radius: 40rpx;
  }
  
  .cancel-btn {
    border: 1rpx solid #ccc;
    color: #333;
  }
  
  .confirm-btn {
    background-color: #1989fa;
    color: white;
  }

  .custom-callout {
    position: absolute;
    background-color: #616161;
    color: #fff;
    padding: 10px;
    border-radius: 6px;
    font-size: 14px;
    z-index: 100;
  }
  
  .callout-content {
    text-align: left;
  }
  
  .callout-button {
    margin-top: 10px;
  }

  .filter-btn {
    position: fixed;
    right: 30rpx;
    bottom: 80rpx;
    width: 220rpx;
    height: 80rpx;
    background-color: rgba(0, 87, 255, 0.7);
    border-radius: 40rpx;
    box-shadow: 0 2rpx 10rpx rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28rpx;
    font-weight: 600;
    color: #fff;
    z-index: 100;
  }

  
  .create-btn {
    position: fixed;
    right: 30rpx;
    bottom: 180rpx;
    width: 220rpx;
    height: 80rpx;
    background-color: rgba(0, 87, 255, 0.7);
    border-radius: 40rpx;
    box-shadow: 0 2rpx 10rpx rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28rpx;
    font-weight: 600;
    color: #fff;
    z-index: 100;
  }
  
  
  .filter-btn-content {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .filter-icon {
    width: 46rpx;
    height: 46rpx;
    margin-right: 10rpx;
  }